2025-11-21 08:06:05.8395||DEBUG|AccountManagement.Program|init main function 2025-11-21 08:06:10.4721|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()'. 2025-11-21 08:06:10.4847|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()'. 2025-11-21 08:06:10.4847|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()'. 2025-11-21 08:06:10.5147|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 08:06:11.1291|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (15ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT 1 2025-11-21 08:06:11.1513|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (13ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT OBJECT_ID(N'[__EFMigrationsHistory]'); 2025-11-21 08:06:11.1570|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT 1 2025-11-21 08:06:11.1570|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT OBJECT_ID(N'[__EFMigrationsHistory]'); 2025-11-21 08:06:11.1756|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [MigrationId], [ProductVersion] FROM [__EFMigrationsHistory] ORDER BY [MigrationId]; 2025-11-21 08:06:11.1905|20405|INFO|Microsoft.EntityFrameworkCore.Migrations|No migrations were applied. The database is already up to date. 2025-11-21 08:06:11.9529||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. 2025-11-21 08:06:12.1995|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 0 2025-11-21 08:06:12.1995|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 0 2025-11-21 08:06:12.1995|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=491 0 2025-11-21 08:06:12.1994|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 0 2025-11-21 08:06:12.7263|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 08:06:12.7263|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 08:06:12.7263|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 08:06:12.7263|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 08:06:12.7334|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 534.544ms 204 2025-11-21 08:06:12.7334|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 534.5439ms 204 2025-11-21 08:06:12.7334|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 534.5306ms 204 2025-11-21 08:06:12.7334|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 534.6559ms 204 2025-11-21 08:06:12.8926|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 08:06:12.8926|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=491 2025-11-21 08:06:12.8926|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 08:06:12.8926|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 08:06:13.1729|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 08:06:13.1729|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 08:06:13.1729|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 08:06:13.1729|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 08:06:13.1729|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 08:06:13.1729|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 08:06:13.1729|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 08:06:13.1841|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 08:06:13.1841|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 08:06:13.1841|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 08:06:13.1841|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 08:06:13.1841|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 08:06:13.1841|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 08:06:13.1841|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 08:06:13.1841|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 08:06:13.1841|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 08:06:13.2158|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). 2025-11-21 08:06:13.2158|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 08:06:13.2158|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). 2025-11-21 08:06:13.2158|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). 2025-11-21 08:06:13.2158|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). 2025-11-21 08:06:13.2404||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 08:06:13.2470|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 08:06:13.2470|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 08:06:13.4116|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 2025-11-21 08:06:13.4616|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)) 2025-11-21 08:06:13.4616|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)) 2025-11-21 08:06:13.4663|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]]'. 2025-11-21 08:06:13.4663|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]]'. 2025-11-21 08:06:13.4871|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 262.065ms 2025-11-21 08:06:13.4871|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 270.3312ms 2025-11-21 08:06:13.4871||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 08:06:13.4871|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 08:06:13.4871|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 08:06:13.4871||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 08:06:13.4871|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 600.3177ms 200 application/json; charset=utf-8 2025-11-21 08:06:13.4871|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 601.5505ms 200 application/json; charset=utf-8 2025-11-21 08:06:13.4871||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 08:06:13.4999||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 08:06:13.6670||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 08:06:13.6670||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 08:06:13.6888||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 08:06:13.6888||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 08:06:13.6888||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 08:06:13.6888||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 08:06:14.7851||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 08:06:14.7851||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 08:06:14.7851||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 08:06:14.7851||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 08:06:14.7851||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 08:06:14.7936|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]]'. 2025-11-21 08:06:14.7936|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1574.0805ms 2025-11-21 08:06:14.7936|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 08:06:14.7936|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1908.5763ms 200 application/json; charset=utf-8 2025-11-21 08:06:14.8117||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 08:06:14.8117||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 08:06:14.8117||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 08:06:15.8978||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 08:06:15.8978||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 08:06:15.9053||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 08:06:15.9210||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 08:06:15.9210||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 08:06:15.9210||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 08:06:16.9990||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 08:06:16.9990||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 08:06:16.9990||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 08:06:17.0248||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 08:06:17.0248||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 08:06:17.0290||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 08:06:18.0958||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 08:06:18.0958||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 08:06:18.0958||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 08:06:18.1214||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 08:06:18.1214||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 08:06:18.1214||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 08:06:19.2184||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 08:06:19.2184||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 08:06:19.2184||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 08:06:19.2422||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 08:06:19.2422||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 08:06:19.2477||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 08:06:20.3225||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 08:06:20.3225||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 08:06:20.3261||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 08:06:20.3261||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 08:06:20.4272|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; 2025-11-21 08:06:20.4537|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 2025-11-21 08:06:20.4658|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' 2025-11-21 08:06:20.4852|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 08:06:20.4852|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 08:06:20.4852|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 08:06:20.4852|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 08:06:20.5009|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 08:06:20.5168|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' 2025-11-21 08:06:20.5168|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)) 2025-11-21 08:06:20.5168|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 08:06:20.5168|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 08:06:20.5278|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 08:06:20.5278|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 08:06:20.6590|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]]'. 2025-11-21 08:06:20.6735|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 7448.8858ms 2025-11-21 08:06:20.6735|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 08:06:20.6735|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7784.6003ms 200 application/json; charset=utf-8 2025-11-21 08:27:04.5776|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://127.0.0.1:18342/ACCOUNTSERVICES/iisintegration 0 2025-11-21 08:27:04.5776|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4.5438ms 202 2025-11-21 08:32:15.1962||DEBUG|AccountManagement.Program|init main function 2025-11-21 08:32:17.7290|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()'. 2025-11-21 08:32:17.7420|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()'. 2025-11-21 08:32:17.7420|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()'. 2025-11-21 08:32:17.7799|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 08:32:18.0339|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (15ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT 1 2025-11-21 08:32:18.0544|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (12ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT OBJECT_ID(N'[__EFMigrationsHistory]'); 2025-11-21 08:32:18.0544|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT 1 2025-11-21 08:32:18.0544|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT OBJECT_ID(N'[__EFMigrationsHistory]'); 2025-11-21 08:32:18.0763|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [MigrationId], [ProductVersion] FROM [__EFMigrationsHistory] ORDER BY [MigrationId]; 2025-11-21 08:32:18.0903|20405|INFO|Microsoft.EntityFrameworkCore.Migrations|No migrations were applied. The database is already up to date. 2025-11-21 08:32:18.2267||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. 2025-11-21 08:32:18.3843|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 08:32:18.3843|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 08:32:18.3843|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 08:32:18.3843|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=493 2025-11-21 08:32:18.4493|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 08:32:18.4493|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 08:32:18.4493|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 08:32:18.4493|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 08:32:18.4584|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 75.2231ms 204 2025-11-21 08:32:18.4584|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 75.2197ms 204 2025-11-21 08:32:18.4584|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 75.2237ms 204 2025-11-21 08:32:18.4584|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 75.2529ms 204 2025-11-21 08:32:18.4849|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=493 2025-11-21 08:32:18.5102|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 08:32:18.5102|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 08:32:18.5102|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 08:32:18.6265|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 08:32:18.6265|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 08:32:18.6265|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 08:32:18.6265|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 08:32:18.6321|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 08:32:18.6321|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 08:32:18.6321|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 08:32:18.6321|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 08:32:18.6321|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 08:32:18.6321|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 08:32:18.6321|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 08:32:18.6321|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 08:32:18.6321|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 08:32:18.6321|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 08:32:18.6321|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 08:32:18.6321|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 08:32:18.6639|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). 2025-11-21 08:32:18.6639|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 08:32:18.6639|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). 2025-11-21 08:32:18.6639|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). 2025-11-21 08:32:18.6639|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). 2025-11-21 08:32:18.6967||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 08:32:18.6967|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 08:32:18.6967|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 08:32:18.8310|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 2025-11-21 08:32:18.8835|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (24ms) [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)) 2025-11-21 08:32:18.8835|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)) 2025-11-21 08:32:18.8835||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 08:32:18.8835||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 08:32:18.8835|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]]'. 2025-11-21 08:32:18.9013|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]]'. 2025-11-21 08:32:18.9151|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 233.9509ms 2025-11-21 08:32:18.9151|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 08:32:18.9151||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 08:32:18.9151|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 433.6693ms 200 application/json; charset=utf-8 2025-11-21 08:32:18.9151|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 253.6681ms 2025-11-21 08:32:18.9151||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 08:32:18.9151|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 08:32:18.9151|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 415.1626ms 200 application/json; charset=utf-8 2025-11-21 08:32:19.0917||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 08:32:19.0917||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 08:32:19.1180||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 08:32:19.1180||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 08:32:19.1180||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 08:32:19.1180||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 08:32:20.2098||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 08:32:20.2098||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 08:32:20.2098||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 08:32:20.2261||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 08:32:20.2261||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 08:32:20.2261|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]]'. 2025-11-21 08:32:20.2401|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1562.2271ms 2025-11-21 08:32:20.2401|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 08:32:20.2401|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1732.142ms 200 application/json; charset=utf-8 2025-11-21 08:32:20.2401||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 08:32:20.2401||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 08:32:20.2401||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 08:32:21.3351||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 08:32:21.3351||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 08:32:21.3351||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 08:32:21.3599||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 08:32:21.3599||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 08:32:21.3665||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 08:32:22.4481||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 08:32:22.4481||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 08:32:22.4481||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 08:32:22.4695||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 08:32:22.4695||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 08:32:22.4695||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 08:32:23.5565||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 08:32:23.5565||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 08:32:23.5565||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 08:32:23.5856||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 08:32:23.5856||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 08:32:23.5856||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 08:32:24.6626||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 08:32:24.6626||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 08:32:24.6626||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 08:32:24.6926||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 08:32:24.6926||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 08:32:24.6926||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 08:32:25.7743||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 08:32:25.7743||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 08:32:25.7743||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 08:32:25.8090||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 08:32:25.9008|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; 2025-11-21 08:32:25.9327|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 2025-11-21 08:32:25.9502|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' 2025-11-21 08:32:25.9728|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)) 2025-11-21 08:32:25.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' 2025-11-21 08:32:25.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)) 2025-11-21 08:32:25.9990|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' 2025-11-21 08:32:25.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)) 2025-11-21 08:32:26.0050|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 08:32:26.0050|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 08:32:26.0050|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 08:32:26.0050|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 08:32:26.0050|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 08:32:26.0220|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)) 2025-11-21 08:32:26.1418|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]]'. 2025-11-21 08:32:26.1597|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 7482.9381ms 2025-11-21 08:32:26.1618|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 08:32:26.1618|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7654.2484ms 200 application/json; charset=utf-8 2025-11-21 08:33:16.2070|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 08:33:16.2070|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 08:33:16.2070|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 08:33:16.2070|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 08:33:16.2070|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.1899ms 204 2025-11-21 08:33:16.2070|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.3689ms 204 2025-11-21 08:33:16.2514|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 08:33:16.2514|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 08:33:16.2514|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 08:33:16.2514|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 08:33:16.2514|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 08:33:16.2514|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 08:33:16.2675|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 08:33:16.2675|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 08:33:16.2675|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 08:33:16.2675|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 08:33:16.2828|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). 2025-11-21 08:33:16.2828|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). 2025-11-21 08:33:16.2828|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 08:33:16.2828|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 08:33:16.3068|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (4ms) [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] 2025-11-21 08:33:16.3138|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] 2025-11-21 08:33:16.3350|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]]'. 2025-11-21 08:33:16.3350|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 55.952ms 2025-11-21 08:33:16.3350|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 08:33:16.3350|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 92.643ms 200 application/json; charset=utf-8 2025-11-21 08:33:16.3641|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]]'. 2025-11-21 08:33:16.3641|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 86.0956ms 2025-11-21 08:33:16.3641|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 08:33:16.3641|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 120.4442ms 200 application/json; charset=utf-8 2025-11-21 08:35:17.6180|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 08:35:17.6180|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 08:35:17.6180|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 08:35:17.6180|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 08:35:17.6180|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 08:35:17.6180|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 08:35:17.6264|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.5688ms 204 2025-11-21 08:35:17.6264|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.5013ms 204 2025-11-21 08:35:17.6264|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.489ms 204 2025-11-21 08:35:17.8585|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 08:35:17.8585|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 08:35:17.8585|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 08:35:17.8686|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 08:35:17.8686|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 08:35:17.8686|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 08:35:17.8686|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 08:35:17.8686|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 08:35:17.8755|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 08:35:17.8755|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 08:35:17.8755|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 08:35:17.8755|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 08:35:17.8755|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 08:35:17.8755|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 08:35:17.8755|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 08:35:17.8755|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). 2025-11-21 08:35:17.8755|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). 2025-11-21 08:35:17.8755|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). 2025-11-21 08:35:17.8755|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 08:35:17.8755|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 08:35:17.8913||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 08:35:17.8913|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 2025-11-21 08:35:17.8913||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 08:35:17.8913|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)) 2025-11-21 08:35:17.8913|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]]'. 2025-11-21 08:35:17.8913||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 08:35:17.9078|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 19.7899ms 2025-11-21 08:35:17.9078||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 08:35:17.9078|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 08:35:17.9078|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 55.6287ms 200 application/json; charset=utf-8 2025-11-21 08:35:17.9078||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 08:35:17.9315||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 08:35:17.9315||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 08:35:17.9315||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 08:35:17.9315||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 08:35:17.9385||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 08:35:17.9385||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 08:35:19.0431||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 08:35:19.0431||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 08:35:19.0626||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 08:35:19.0656||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 08:35:19.0656|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]]'. 2025-11-21 08:35:19.0656||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 08:35:19.0656|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1181.218ms 2025-11-21 08:35:19.0656|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 08:35:19.0656|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1217.4833ms 200 application/json; charset=utf-8 2025-11-21 08:35:19.0926||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 08:35:19.0976||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 08:35:19.0976||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 08:35:20.1723||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 08:35:20.1723||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 08:35:20.1723||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 08:35:20.1925||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 08:35:20.1925||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 08:35:20.1925||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 08:35:21.2845||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 08:35:21.2845||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 08:35:21.2845||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 08:35:21.3150||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 08:35:21.3150||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 08:35:21.3150||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 08:35:22.4157||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 08:35:22.4157||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 08:35:22.4157||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 08:35:22.4438||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 08:35:22.4493||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 08:35:22.4493||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 08:35:23.5421||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 08:35:23.5421||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 08:35:23.5421||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 08:35:23.5629||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 08:35:23.5629||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 08:35:23.5629||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 08:35:24.6547||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 08:35:24.6547||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 08:35:24.6547||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 08:35:24.6807||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 08:35:24.6962|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; 2025-11-21 08:35:24.7062|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 2025-11-21 08:35:24.7132|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' 2025-11-21 08:35:24.7132|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)) 2025-11-21 08:35:24.7132|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' 2025-11-21 08:35:24.7132|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)) 2025-11-21 08:35:24.7306|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' 2025-11-21 08:35:24.7306|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)) 2025-11-21 08:35:24.7306|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' 2025-11-21 08:35:24.7457|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)) 2025-11-21 08:35:24.7457|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' 2025-11-21 08:35:24.7457|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)) 2025-11-21 08:35:24.7615|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' 2025-11-21 08:35:24.7615|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 08:35:24.8199|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]]'. 2025-11-21 08:35:24.8311|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6944.864ms 2025-11-21 08:35:24.8311|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 08:35:24.8311|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6978.0967ms 200 application/json; charset=utf-8 2025-11-21 08:41:15.3043|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetBanksByCorporate 2025-11-21 08:41:15.3043|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 08:41:15.3093|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4.9552ms 204 2025-11-21 08:41:15.5400|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetBanksByCorporate 2025-11-21 08:41:15.5433|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 08:41:15.5433|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 08:41:15.5433|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 08:41:15.5433|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetBankForCorporateAsync (AccountManagement)' 2025-11-21 08:41:15.5433|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). 2025-11-21 08:41:15.5637|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 08:41:15.6122|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]]'. 2025-11-21 08:41:15.6122|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetBankForCorporateAsync (AccountManagement) in 57.3107ms 2025-11-21 08:41:15.6122|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetBankForCorporateAsync (AccountManagement)' 2025-11-21 08:41:15.6221|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 82.0453ms 200 application/json; charset=utf-8 2025-11-21 08:41:16.4661|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 08:41:16.4661|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 08:41:16.4661|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 08:41:16.4661|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.0075ms 204 2025-11-21 08:41:16.4661|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 08:41:16.4661|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 08:41:16.4661|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 08:41:16.4661|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.0334ms 204 2025-11-21 08:41:16.4661|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4.6217ms 204 2025-11-21 08:41:16.7053|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 08:41:16.7053|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 08:41:16.7053|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 08:41:16.7053|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 08:41:16.7053|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 08:41:16.7053|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 08:41:16.7155|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 08:41:16.7155|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 08:41:16.7155|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 08:41:16.7155|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 08:41:16.7155|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 08:41:16.7155|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 08:41:16.7155|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 08:41:16.7155|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 08:41:16.7155|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 08:41:16.7155|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). 2025-11-21 08:41:16.7155|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). 2025-11-21 08:41:16.7155|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). 2025-11-21 08:41:16.7388|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 08:41:16.7388|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 08:41:16.7388||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 08:41:16.7525||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 08:41:16.7525||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 08:41:16.7616|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 2025-11-21 08:41:16.7616|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]]'. 2025-11-21 08:41:16.7616|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 35.3681ms 2025-11-21 08:41:16.7616|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 08:41:16.7616|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 64.4615ms 200 application/json; charset=utf-8 2025-11-21 08:41:16.7616|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)) 2025-11-21 08:41:16.7774||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 08:41:16.7774||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 08:41:16.7774||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 08:41:16.7774||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 08:41:16.7774||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 08:41:16.8014||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 08:41:16.8014||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 08:41:16.8096||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 08:41:17.8744||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 08:41:17.8744||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 08:41:17.8744|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]]'. 2025-11-21 08:41:17.8863|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1150.2358ms 2025-11-21 08:41:17.8863||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 08:41:17.8863|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 08:41:17.8863|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1185.8285ms 200 application/json; charset=utf-8 2025-11-21 08:41:17.8863||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 08:41:17.8863||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 08:41:17.9123||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 08:41:17.9123||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 08:41:17.9188||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 08:41:18.9965||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 08:41:18.9965||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 08:41:18.9965||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 08:41:19.0193||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 08:41:19.0193||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 08:41:19.0293||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 08:41:20.1226||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 08:41:20.1226||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 08:41:20.1226||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 08:41:20.1530||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 08:41:20.1530||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 08:41:20.1530||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 08:41:21.2490||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 08:41:21.2490||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 08:41:21.2490||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 08:41:21.2717||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 08:41:21.2717||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 08:41:21.2782||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 08:41:22.3544||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 08:41:22.3588||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 08:41:22.3588||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 08:41:22.3775||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 08:41:22.3775||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 08:41:22.3864||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 08:41:23.4664||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 08:41:23.4664||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 08:41:23.4664||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 08:41:23.4867||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 08:41:23.5005|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; 2025-11-21 08:41:23.5005|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 2025-11-21 08:41:23.5178|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' 2025-11-21 08:41:23.5178|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)) 2025-11-21 08:41:23.5299|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' 2025-11-21 08:41:23.5299|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)) 2025-11-21 08:41:23.5448|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' 2025-11-21 08:41:23.5448|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 08:41:23.5448|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 08:41:23.5606|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)) 2025-11-21 08:41:23.5606|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 08:41:23.5606|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 08:41:23.5606|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' 2025-11-21 08:41:23.5790|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)) 2025-11-21 08:41:23.6275|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]]'. 2025-11-21 08:41:23.6275|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6896.2053ms 2025-11-21 08:41:23.6275|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 08:41:23.6275|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6927.73ms 200 application/json; charset=utf-8 2025-11-21 08:58:39.7145|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=492 2025-11-21 08:58:39.7145|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 08:58:39.7145|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6.9142ms 204 2025-11-21 08:58:39.7145|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=492 2025-11-21 08:58:39.7311|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 08:58:39.7311|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 08:58:39.7311|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 08:58:39.7311|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 08:58:39.7488|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). 2025-11-21 08:58:39.7488|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 08:58:39.7654|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 08:58:39.7654|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 08:58:39.7654|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 08:58:39.7654|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)) 2025-11-21 08:58:39.7654|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 08:58:39.7654|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 08:58:39.7654|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 08:58:39.7654|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]]'. 2025-11-21 08:58:39.7760|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.5817ms 204 2025-11-21 08:58:39.7760|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.201ms 204 2025-11-21 08:58:39.7760|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.4314ms 204 2025-11-21 08:58:39.7760|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 30.7529ms 2025-11-21 08:58:39.7760|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 08:58:39.7760|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 08:58:39.7760|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 08:58:39.7760|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 08:58:39.7760|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 08:58:39.7916|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 08:58:39.7916|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 08:58:39.7916|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 67.5573ms 200 application/json; charset=utf-8 2025-11-21 08:58:39.7916|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 08:58:39.7916|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 08:58:39.7916|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 08:58:39.7916|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 08:58:39.7916|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 08:58:39.7916|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 08:58:39.7916|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 08:58:39.8077|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 08:58:39.8077|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 08:58:39.8077|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). 2025-11-21 08:58:39.8077|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). 2025-11-21 08:58:39.8077|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). 2025-11-21 08:58:39.8077||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 08:58:39.8077|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 08:58:39.8077|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 08:58:39.8077|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)) 2025-11-21 08:58:39.8287|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 2025-11-21 08:58:39.8287|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]]'. 2025-11-21 08:58:39.8287||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 08:58:39.8287|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 16.9378ms 2025-11-21 08:58:39.8287||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 08:58:39.8287|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 08:58:39.8287||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 08:58:39.8287|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 52.3938ms 200 application/json; charset=utf-8 2025-11-21 08:58:39.8412||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 08:58:39.8562||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 08:58:39.8562||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 08:58:39.8562||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 08:58:39.8562||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 08:58:39.8562||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 08:58:39.8703||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 08:58:40.9494||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 08:58:40.9494||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 08:58:40.9494||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 08:58:40.9494||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 08:58:40.9494|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]]'. 2025-11-21 08:58:40.9494|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1147.4623ms 2025-11-21 08:58:40.9494||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 08:58:40.9494|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 08:58:40.9659|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1180.6741ms 200 application/json; charset=utf-8 2025-11-21 08:58:40.9659||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 08:58:40.9794||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 08:58:40.9794||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 08:58:42.0590||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 08:58:42.0590||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 08:58:42.0590||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 08:58:42.0860||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 08:58:42.0894||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 08:58:42.0894||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 08:58:43.1873||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 08:58:43.1873||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 08:58:43.1873||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 08:58:43.2076||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 08:58:43.2076||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 08:58:43.2140||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 08:58:44.2948||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 08:58:44.2948||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 08:58:44.2948||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 08:58:44.3179||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 08:58:44.3231||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 08:58:44.3231||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 08:58:45.4168||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 08:58:45.4168||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 08:58:45.4168||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 08:58:45.4406||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 08:58:45.4406||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 08:58:45.4406||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 08:58:46.5290||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 08:58:46.5290||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 08:58:46.5290||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 08:58:46.5517||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 08:58:46.5613|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; 2025-11-21 08:58:46.5613|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 2025-11-21 08:58:46.5750|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' 2025-11-21 08:58:46.5750|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)) 2025-11-21 08:58:46.5750|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' 2025-11-21 08:58:46.5904|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)) 2025-11-21 08:58:46.5904|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 08:58:46.5904|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)) 2025-11-21 08:58:46.5904|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 08:58:46.5904|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 08:58:46.6054|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 08:58:46.6054|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 08:58:46.6054|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 08:58:46.6054|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)) 2025-11-21 08:58:46.6725|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]]'. 2025-11-21 08:58:46.6725|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6860.6009ms 2025-11-21 08:58:46.6725|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 08:58:46.6725|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6892.3659ms 200 application/json; charset=utf-8 2025-11-21 09:02:50.0978|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=493 2025-11-21 09:02:50.0978|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:02:50.0978|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 3.7016ms 204 2025-11-21 09:02:50.3466|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=493 2025-11-21 09:02:50.3466|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 09:02:50.3466|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:02:50.3466|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 09:02:50.3466|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 09:02:50.3599|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). 2025-11-21 09:02:50.3599|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 09:02:50.3599|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)) 2025-11-21 09:02:50.3599|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]]'. 2025-11-21 09:02:50.3599|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 10.4835ms 2025-11-21 09:02:50.3599|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 09:02:50.3735|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 26.9541ms 200 application/json; charset=utf-8 2025-11-21 09:02:50.4043|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 09:02:50.4061|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 09:02:50.4061|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 09:02:50.4061|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:02:50.4061|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:02:50.4061|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:02:50.4061|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.744ms 204 2025-11-21 09:02:50.4061|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.8825ms 204 2025-11-21 09:02:50.4061|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.8078ms 204 2025-11-21 09:02:50.6333|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 09:02:50.6333|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 09:02:50.6333|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 09:02:50.6333|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 09:02:50.6393|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 09:02:50.6393|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 09:02:50.6393|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:02:50.6393|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:02:50.6393|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:02:50.6393|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 09:02:50.6393|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 09:02:50.6393|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 09:02:50.6393|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 09:02:50.6393|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 09:02:50.6393|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 09:02:50.6556|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). 2025-11-21 09:02:50.6556|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). 2025-11-21 09:02:50.6556|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). 2025-11-21 09:02:50.6556|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 09:02:50.6556||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 09:02:50.6556|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 09:02:50.6556|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)) 2025-11-21 09:02:50.6556||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 09:02:50.6704|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 2025-11-21 09:02:50.6704||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 09:02:50.6704||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 09:02:50.6704|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]]'. 2025-11-21 09:02:50.6704||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 09:02:50.6704|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 15.6332ms 2025-11-21 09:02:50.6704|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 09:02:50.6704|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 46.0143ms 200 application/json; charset=utf-8 2025-11-21 09:02:50.6920||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 09:02:50.6920||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 09:02:50.6920||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 09:02:50.6920||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:02:50.6920||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 09:02:50.6920||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 09:02:51.7778||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:02:51.7778||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:02:51.7802||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:02:51.7802||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 09:02:51.7802||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:02:51.7802|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]]'. 2025-11-21 09:02:51.7802|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1123.4881ms 2025-11-21 09:02:51.7802|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 09:02:51.7802|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1151.8002ms 200 application/json; charset=utf-8 2025-11-21 09:02:51.7802||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:02:51.7959||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:02:51.7959||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 09:02:52.8751||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:02:52.8751||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:02:52.8751||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:02:52.8942||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:02:52.8942||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:02:52.8942||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 09:02:53.9820||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:02:53.9868||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:02:53.9868||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:02:54.0034||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:02:54.0034||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:02:54.0034||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 09:02:55.0798||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:02:55.0798||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:02:55.0798||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:02:55.0999||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:02:55.0999||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:02:55.0999||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 09:02:56.1867||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:02:56.1867||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:02:56.1867||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:02:56.2039||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:02:56.2039||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:02:56.2039||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 09:02:57.2952||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:02:57.2952||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:02:57.2952||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:02:57.3196||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:02:57.3325|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; 2025-11-21 09:02:57.3390|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 2025-11-21 09:02:57.3390|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 09:02:57.3390|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)) 2025-11-21 09:02:57.3390|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 09:02:57.3566|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 09:02:57.3566|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 09:02:57.3566|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 09:02:57.3566|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 09:02:57.3566|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 09:02:57.3723|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 09:02:57.3723|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 09:02:57.3723|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 09:02:57.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)) 2025-11-21 09:02:57.4324|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]]'. 2025-11-21 09:02:57.4377|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6778.1661ms 2025-11-21 09:02:57.4377|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 09:02:57.4377|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6809.9059ms 200 application/json; charset=utf-8 2025-11-21 09:23:14.4613|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://127.0.0.1:36225/ACCOUNTSERVICES/iisintegration 0 2025-11-21 09:23:14.4639|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2.5485ms 202 2025-11-21 09:27:25.6802||DEBUG|AccountManagement.Program|init main function 2025-11-21 09:27:28.3188|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()'. 2025-11-21 09:27:28.3299|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()'. 2025-11-21 09:27:28.3299|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()'. 2025-11-21 09:27:28.3554|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 09:27:28.6141|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (14ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT 1 2025-11-21 09:27:28.6344|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (12ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT OBJECT_ID(N'[__EFMigrationsHistory]'); 2025-11-21 09:27:28.6344|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT 1 2025-11-21 09:27:28.6344|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT OBJECT_ID(N'[__EFMigrationsHistory]'); 2025-11-21 09:27:28.6565|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [MigrationId], [ProductVersion] FROM [__EFMigrationsHistory] ORDER BY [MigrationId]; 2025-11-21 09:27:28.6753|20405|INFO|Microsoft.EntityFrameworkCore.Migrations|No migrations were applied. The database is already up to date. 2025-11-21 09:27:28.8247||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. 2025-11-21 09:27:29.0267|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 09:27:29.0267|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 09:27:29.0267|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 09:27:29.0267|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=519 2025-11-21 09:27:29.0889|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:27:29.0889|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:27:29.0889|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:27:29.0889|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:27:29.0889|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 74.2313ms 204 2025-11-21 09:27:29.0889|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 74.2572ms 204 2025-11-21 09:27:29.0889|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 74.2582ms 204 2025-11-21 09:27:29.0889|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 74.2291ms 204 2025-11-21 09:27:29.1106|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=519 2025-11-21 09:27:29.1106|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 09:27:29.1211|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 09:27:29.1211|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 09:27:29.3080|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 09:27:29.3080|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 09:27:29.3080|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 09:27:29.3080|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 09:27:29.3080|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:27:29.3080|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:27:29.3226|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 09:27:29.3226|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 09:27:29.3226|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 09:27:29.3226|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 09:27:29.3226|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:27:29.3226|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:27:29.3226|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 09:27:29.3226|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 09:27:29.3226|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 09:27:29.3354|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 09:27:29.3354|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). 2025-11-21 09:27:29.3549|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 09:27:29.3669|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). 2025-11-21 09:27:29.3669|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). 2025-11-21 09:27:29.3669|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). 2025-11-21 09:27:29.3906|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 09:27:29.3906|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 09:27:29.3906||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 09:27:29.5350|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 2025-11-21 09:27:29.6031||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 09:27:29.6031|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)) 2025-11-21 09:27:29.6031|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (35ms) [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)) 2025-11-21 09:27:29.6031||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 09:27:29.6031|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]]'. 2025-11-21 09:27:29.6281|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]]'. 2025-11-21 09:27:29.6418|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 266.0072ms 2025-11-21 09:27:29.6418|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 290.1988ms 2025-11-21 09:27:29.6418|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 09:27:29.6418|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 09:27:29.6418||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 09:27:29.6418|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 536.2339ms 200 application/json; charset=utf-8 2025-11-21 09:27:29.6418|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 525.5882ms 200 application/json; charset=utf-8 2025-11-21 09:27:29.6481||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 09:27:29.8187||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 09:27:29.8187||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 09:27:29.8443||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 09:27:29.8443||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:27:29.8443||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 09:27:29.8443||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 09:27:30.9339||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:27:30.9339||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:27:30.9339||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 09:27:30.9339||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:27:30.9339|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]]'. 2025-11-21 09:27:30.9339||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:27:30.9479|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1577.184ms 2025-11-21 09:27:30.9479|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 09:27:30.9479|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1839.8985ms 200 application/json; charset=utf-8 2025-11-21 09:27:30.9638||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:27:30.9638||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:27:30.9638||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 09:27:32.0386||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:27:32.0386||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:27:32.0386||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:27:32.0678||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:27:32.0719||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:27:32.0719||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 09:27:33.1550||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:27:33.1550||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:27:33.1550||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:27:33.1785||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:27:33.1813||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:27:33.1813||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 09:27:34.2593||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:27:34.2593||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:27:34.2593||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:27:34.2911||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:27:34.2911||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:27:34.2911||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 09:27:35.3874||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:27:35.3874||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:27:35.3874||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:27:35.4176||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:27:35.4176||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:27:35.4176||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 09:27:36.5127||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:27:36.5127||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:27:36.5127||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:27:36.5447||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:27:36.6401|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; 2025-11-21 09:27:36.6691|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 2025-11-21 09:27:36.6818|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' 2025-11-21 09:27:36.7027|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)) 2025-11-21 09:27:36.7027|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 09:27:36.7124|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 09:27:36.7124|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 09:27:36.7124|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 09:27:36.7124|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 09:27:36.7297|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)) 2025-11-21 09:27:36.7297|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 09:27:36.7297|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)) 2025-11-21 09:27:36.7442|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 09:27:36.7442|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 09:27:36.8561|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]]'. 2025-11-21 09:27:36.8698|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 7501.2406ms 2025-11-21 09:27:36.8698|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 09:27:36.8698|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7751.9674ms 200 application/json; charset=utf-8 2025-11-21 09:27:41.7944|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 09:27:41.7944|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 09:27:41.7944|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 09:27:41.7944|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:27:41.7944|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:27:41.7944|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:27:41.7944|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6.1673ms 204 2025-11-21 09:27:41.7944|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.5206ms 204 2025-11-21 09:27:41.7944|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.8629ms 204 2025-11-21 09:27:41.7944|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 09:27:41.8046|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 09:27:41.8046|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 09:27:41.8046|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 09:27:41.8046|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 09:27:41.8046|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 09:27:41.8046|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:27:41.8046|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:27:41.8046|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:27:41.8046|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 09:27:41.8046|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 09:27:41.8202|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 09:27:41.8202|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 09:27:41.8202|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 09:27:41.8202|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 09:27:41.8202|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). 2025-11-21 09:27:41.8202|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). 2025-11-21 09:27:41.8202|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). 2025-11-21 09:27:41.8202|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 09:27:41.8202|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 09:27:41.8202||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 09:27:41.8369|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 2025-11-21 09:27:41.8369|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]]'. 2025-11-21 09:27:41.8369||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 09:27:41.8369|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)) 2025-11-21 09:27:41.8369|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 14.1116ms 2025-11-21 09:27:41.8369||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 09:27:41.8369|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 09:27:41.8369||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 09:27:41.8524|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 48.4163ms 200 application/json; charset=utf-8 2025-11-21 09:27:41.8524||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 09:27:41.8738||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 09:27:41.8738||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 09:27:41.8738||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 09:27:41.8738||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:27:41.8829||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 09:27:41.8829||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 09:27:42.9840||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:27:42.9840||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:27:42.9840||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:27:42.9840||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 09:27:42.9936||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:27:42.9936|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]]'. 2025-11-21 09:27:42.9936|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1167.875ms 2025-11-21 09:27:42.9936|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 09:27:42.9936|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1195.8462ms 200 application/json; charset=utf-8 2025-11-21 09:27:43.0118||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:27:43.0118||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:27:43.0118||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 09:27:44.1064||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:27:44.1064||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:27:44.1064||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:27:44.1348||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:27:44.1348||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:27:44.1348||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 09:27:45.2285||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:27:45.2285||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:27:45.2285||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:27:45.2570||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:27:45.2621||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:27:45.2621||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 09:27:46.3555||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:27:46.3555||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:27:46.3555||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:27:46.3783||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:27:46.3783||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:27:46.3836||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 09:27:47.4790||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:27:47.4790||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:27:47.4790||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:27:47.5074||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:27:47.5074||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:27:47.5074||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 09:27:48.5842||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:27:48.5891||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:27:48.5891||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:27:48.6102||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:27:48.6235|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; 2025-11-21 09:27:48.6235|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 2025-11-21 09:27:48.6347|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 09:27:48.6347|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 09:27:48.6347|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 09:27:48.6484|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 09:27:48.6484|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 09:27:48.6484|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)) 2025-11-21 09:27:48.6484|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' 2025-11-21 09:27:48.6650|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 09:27:48.6650|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 09:27:48.6650|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 09:27:48.6650|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 09:27:48.6650|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 09:27:48.7352|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]]'. 2025-11-21 09:27:48.7352|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6913.7559ms 2025-11-21 09:27:48.7428|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 09:27:48.7428|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6940.3713ms 200 application/json; charset=utf-8 2025-11-21 09:30:37.2547|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 09:30:37.2547|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 09:30:37.2547|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 09:30:37.2547|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:30:37.2547|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:30:37.2547|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:30:37.2547|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.5055ms 204 2025-11-21 09:30:37.2660|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.4415ms 204 2025-11-21 09:30:37.2660|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.9312ms 204 2025-11-21 09:30:37.2660|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 09:30:37.2660|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 09:30:37.2660|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 09:30:37.2660|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 09:30:37.2660|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 09:30:37.2660|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 09:30:37.2660|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:30:37.2660|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:30:37.2819|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:30:37.2819|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 09:30:37.2819|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 09:30:37.2819|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 09:30:37.2819|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 09:30:37.2819|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 09:30:37.2819|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 09:30:37.2819|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). 2025-11-21 09:30:37.2819|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). 2025-11-21 09:30:37.2819|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). 2025-11-21 09:30:37.2819|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 09:30:37.2819|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 09:30:37.2966||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 09:30:37.2966|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 2025-11-21 09:30:37.2966|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)) 2025-11-21 09:30:37.2966||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 09:30:37.2966|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]]'. 2025-11-21 09:30:37.2966||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 09:30:37.2966|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 15.8989ms 2025-11-21 09:30:37.2966||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 09:30:37.3122|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 09:30:37.3122||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 09:30:37.3122|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 45.1178ms 200 application/json; charset=utf-8 2025-11-21 09:30:37.3352||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 09:30:37.3352||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 09:30:37.3352||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 09:30:37.3352||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:30:37.3352||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 09:30:37.3451||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 09:30:38.4362||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:30:38.4406||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:30:38.4406||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:30:38.4536||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:30:38.4536||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:30:38.4536||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 09:30:38.4536||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:30:38.4536|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]]'. 2025-11-21 09:30:38.4536||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 09:30:38.4536|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1169.661ms 2025-11-21 09:30:38.4536|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 09:30:38.4536|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1194.6431ms 200 application/json; charset=utf-8 2025-11-21 09:30:39.0518|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 09:30:39.0518|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 09:30:39.0518|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:30:39.0518|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:30:39.0518|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.5495ms 204 2025-11-21 09:30:39.0634|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.2965ms 204 2025-11-21 09:30:39.0634|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 09:30:39.0634|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 09:30:39.0634|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 09:30:39.0634|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 09:30:39.0634|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:30:39.0634|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:30:39.0634|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 09:30:39.0781|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 09:30:39.0781|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 09:30:39.0781|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 09:30:39.0781|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). 2025-11-21 09:30:39.0949|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). 2025-11-21 09:30:39.0949|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 09:30:39.0949|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 09:30:39.1172|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] 2025-11-21 09:30:39.1172|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] 2025-11-21 09:30:39.1381|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]]'. 2025-11-21 09:30:39.1430|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 48.5468ms 2025-11-21 09:30:39.1430|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 09:30:39.1430|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 80.3658ms 200 application/json; charset=utf-8 2025-11-21 09:30:39.1650|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]]'. 2025-11-21 09:30:39.1731|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 77.1675ms 2025-11-21 09:30:39.1731|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 09:30:39.1731|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 108.4319ms 200 application/json; charset=utf-8 2025-11-21 09:30:39.5449||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:30:39.5496||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:30:39.5496||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:30:39.5687||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:30:39.5687||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:30:39.5687||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 09:30:40.6576||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:30:40.6576||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:30:40.6576||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:30:40.6796||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:30:40.6796||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:30:40.6796||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 09:30:41.7653||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:30:41.7653||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:30:41.7653||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:30:41.7871||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:30:41.7871||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:30:41.7871||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 09:30:42.8750||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:30:42.8750||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:30:42.8750||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:30:42.8942||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:30:42.8942||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:30:42.8942||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 09:30:43.9864||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:30:43.9864||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:30:43.9864||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:30:44.0109||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:30:44.0254|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; 2025-11-21 09:30:44.0426|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 2025-11-21 09:30:44.0541|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' 2025-11-21 09:30:44.0541|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)) 2025-11-21 09:30:44.0646|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 09:30:44.0646|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 09:30:44.0646|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 09:30:44.0788|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 09:30:44.0788|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 09:30:44.0788|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 09:30:44.0788|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 09:30:44.0984|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)) 2025-11-21 09:30:44.0984|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' 2025-11-21 09:30:44.1100|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)) 2025-11-21 09:30:44.1659|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]]'. 2025-11-21 09:30:44.1659|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6878.6556ms 2025-11-21 09:30:44.1729|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 09:30:44.1729|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6904.3763ms 200 application/json; charset=utf-8 2025-11-21 09:30:46.4113|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 09:30:46.4113|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 09:30:46.4113|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 09:30:46.4113|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:30:46.4113|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:30:46.4113|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:30:46.4113|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.9615ms 204 2025-11-21 09:30:46.4223|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.9441ms 204 2025-11-21 09:30:46.4223|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.8951ms 204 2025-11-21 09:30:46.4223|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 09:30:46.4223|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 09:30:46.4223|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 09:30:46.4223|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 09:30:46.4223|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 09:30:46.4223|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 09:30:46.4223|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:30:46.4223|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:30:46.4223|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:30:46.4384|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 09:30:46.4384|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 09:30:46.4384|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 09:30:46.4384|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 09:30:46.4384|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 09:30:46.4384|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 09:30:46.4384|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). 2025-11-21 09:30:46.4384|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). 2025-11-21 09:30:46.4384|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). 2025-11-21 09:30:46.4384|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 09:30:46.4384||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 09:30:46.4384|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 09:30:46.4553|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)) 2025-11-21 09:30:46.4553||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 09:30:46.4553|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 2025-11-21 09:30:46.4553||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 09:30:46.4553||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 09:30:46.4553|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]]'. 2025-11-21 09:30:46.4553||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 09:30:46.4690|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 19.6241ms 2025-11-21 09:30:46.4690|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 09:30:46.4690|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 44.0244ms 200 application/json; charset=utf-8 2025-11-21 09:30:46.4843||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 09:30:46.4843||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 09:30:46.4843||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 09:30:46.4843||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:30:46.4843||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 09:30:46.4843||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 09:30:47.5840||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:30:47.5840||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:30:47.5840||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:30:47.5840||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 09:30:47.5840||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:30:47.5942|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]]'. 2025-11-21 09:30:47.5942|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1149.3092ms 2025-11-21 09:30:47.5942|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 09:30:47.5942|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1175.1699ms 200 application/json; charset=utf-8 2025-11-21 09:30:47.5942||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:30:47.5942||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:30:47.6100||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 09:30:48.6869||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:30:48.6903||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:30:48.6903||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:30:48.7056||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:30:48.7056||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:30:48.7056||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 09:30:49.7828||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:30:49.7828||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:30:49.7828||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:30:49.8017||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:30:49.8017||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:30:49.8017||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 09:30:50.8944||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:30:50.8944||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:30:50.8944||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:30:50.9194||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:30:50.9238||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:30:50.9238||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 09:30:52.0043||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:30:52.0043||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:30:52.0043||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:30:52.0283||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:30:52.0352||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:30:52.0352||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 09:30:53.1250||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:30:53.1293||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:30:53.1293||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:30:53.1509||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:30:53.1623|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; 2025-11-21 09:30:53.1623|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 2025-11-21 09:30:53.1623|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 09:30:53.1765|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 09:30:53.1765|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 09:30:53.1765|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 09:30:53.1765|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 09:30:53.1765|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 09:30:53.1904|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 09:30:53.1904|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 09:30:53.1904|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 09:30:53.1904|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 09:30:53.1904|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 09:30:53.1904|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 09:30:53.2482|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]]'. 2025-11-21 09:30:53.2513|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6804.2228ms 2025-11-21 09:30:53.2513|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 09:30:53.2513|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6827.0785ms 200 application/json; charset=utf-8 2025-11-21 09:35:48.1006|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=493 2025-11-21 09:35:48.1006|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:35:48.1006|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 3.9556ms 204 2025-11-21 09:35:48.3316|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=493 2025-11-21 09:35:48.3316|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 09:35:48.3316|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:35:48.3413|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 09:35:48.3413|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 09:35:48.3620|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). 2025-11-21 09:35:48.3620|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 09:35:48.3620|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)) 2025-11-21 09:35:48.3749|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]]'. 2025-11-21 09:35:48.3749|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 13.9595ms 2025-11-21 09:35:48.3749|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 09:35:48.3749|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 49.9693ms 200 application/json; charset=utf-8 2025-11-21 09:35:48.6684|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 09:35:48.6700|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 09:35:48.6700|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 09:35:48.6700|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:35:48.6700|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:35:48.6700|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:35:48.6700|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.0793ms 204 2025-11-21 09:35:48.6700|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6.6802ms 204 2025-11-21 09:35:48.6700|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.6422ms 204 2025-11-21 09:35:48.8808|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 09:35:48.8808|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 09:35:48.8808|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:35:48.8883|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 09:35:48.8883|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 09:35:48.8883|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). 2025-11-21 09:35:48.8883|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 09:35:48.8883|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)) 2025-11-21 09:35:48.8883|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 09:35:48.8883|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 09:35:48.8883|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:35:48.8883|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 09:35:48.8883||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 09:35:48.8883|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 09:35:48.9057|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). 2025-11-21 09:35:48.9057||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 09:35:48.9057|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 09:35:48.9057|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 09:35:48.9057|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 09:35:48.9057|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:35:48.9057|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 09:35:48.9057|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 09:35:48.9057|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 2025-11-21 09:35:48.9057|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). 2025-11-21 09:35:48.9057|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]]'. 2025-11-21 09:35:48.9057||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 09:35:48.9192|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 11.7278ms 2025-11-21 09:35:48.9192|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 09:35:48.9192||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 09:35:48.9192||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 09:35:48.9192|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 23.5498ms 200 application/json; charset=utf-8 2025-11-21 09:35:48.9192||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:35:48.9192||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 09:35:48.9192||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 09:35:48.9370||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 09:35:48.9370||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 09:35:48.9370||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 09:35:49.9976||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:35:49.9976||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:35:49.9976||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:35:50.0135||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:35:50.0135||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 09:35:50.0135|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]]'. 2025-11-21 09:35:50.0135||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:35:50.0135|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1107.9475ms 2025-11-21 09:35:50.0135||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:35:50.0135|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 09:35:50.0296|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1122.7619ms 200 application/json; charset=utf-8 2025-11-21 09:35:50.0296||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 09:35:51.1030||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:35:51.1030||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:35:51.1086||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:35:51.1086||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:35:51.1232||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:35:51.1232||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 09:35:52.2005||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:35:52.2005||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:35:52.2005||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:35:52.2198||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:35:52.2198||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:35:52.2198||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 09:35:53.3138||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:35:53.3138||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:35:53.3138||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:35:53.3363||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:35:53.3363||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:35:53.3363||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 09:35:54.4196||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:35:54.4196||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:35:54.4196||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:35:54.4377||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:35:54.4377||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:35:54.4377||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 09:35:55.5280||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:35:55.5329||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:35:55.5329||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:35:55.5509||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:35:55.5509|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; 2025-11-21 09:35:55.5638|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 2025-11-21 09:35:55.5638|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 09:35:55.5638|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 09:35:55.5638|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 09:35:55.5764|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 09:35:55.5930|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' 2025-11-21 09:35:55.5930|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 09:35:55.5930|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 09:35:55.5930|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 09:35:55.5930|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 09:35:55.6077|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 09:35:55.6077|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 09:35:55.6077|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)) 2025-11-21 09:35:55.6734|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]]'. 2025-11-21 09:35:55.6734|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6784.6734ms 2025-11-21 09:35:55.6734|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 09:35:55.6734|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6799.1857ms 200 application/json; charset=utf-8 2025-11-21 09:37:15.8396|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 09:37:15.8396|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 09:37:15.8396|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 09:37:15.8396|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:37:15.8437|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:37:15.8437|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:37:15.8437|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.1103ms 204 2025-11-21 09:37:15.8437|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6.6317ms 204 2025-11-21 09:37:15.8437|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.2036ms 204 2025-11-21 09:37:15.8437|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 09:37:15.8437|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 09:37:15.8437|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 09:37:15.8437|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 09:37:15.8437|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 09:37:15.8437|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 09:37:15.8437|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:37:15.8605|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:37:15.8605|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:37:15.8605|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 09:37:15.8605|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 09:37:15.8605|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 09:37:15.8605|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 09:37:15.8605|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 09:37:15.8605|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 09:37:15.8605|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). 2025-11-21 09:37:15.8605|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). 2025-11-21 09:37:15.8605|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). 2025-11-21 09:37:15.8750|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 09:37:15.8750|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 09:37:15.8750||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 09:37:15.8750|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 2025-11-21 09:37:15.8750|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]]'. 2025-11-21 09:37:15.8750||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 09:37:15.8750|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 10.6625ms 2025-11-21 09:37:15.8750|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 09:37:15.8750||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 09:37:15.8750|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)) 2025-11-21 09:37:15.8901|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 37.871ms 200 application/json; charset=utf-8 2025-11-21 09:37:15.8901||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 09:37:15.8901||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 09:37:15.9077||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 09:37:15.9077||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 09:37:15.9077||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 09:37:15.9077||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 09:37:15.9077||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:37:15.9223||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 09:37:17.0037||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:37:17.0037||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:37:17.0037||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:37:17.0037||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 09:37:17.0037||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:37:17.0037|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]]'. 2025-11-21 09:37:17.0153|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1139.0055ms 2025-11-21 09:37:17.0153|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 09:37:17.0153|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1164.794ms 200 application/json; charset=utf-8 2025-11-21 09:37:17.0153||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:37:17.0153||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:37:17.0153||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 09:37:17.8065|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 09:37:17.8065|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 09:37:17.8065|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:37:17.8137|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:37:17.8137|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.0945ms 204 2025-11-21 09:37:17.8137|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.4073ms 204 2025-11-21 09:37:17.8137|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 09:37:17.8137|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 09:37:17.8137|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 09:37:17.8137|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 09:37:17.8137|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:37:17.8282|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:37:17.8282|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 09:37:17.8282|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 09:37:17.8282|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 09:37:17.8282|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 09:37:17.8282|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). 2025-11-21 09:37:17.8282|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). 2025-11-21 09:37:17.8282|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 09:37:17.8282|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 09:37:17.8282|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] 2025-11-21 09:37:17.8444|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]]'. 2025-11-21 09:37:17.8444|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 9.4563ms 2025-11-21 09:37:17.8444|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] 2025-11-21 09:37:17.8444|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 09:37:17.8444|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 28.4875ms 200 application/json; charset=utf-8 2025-11-21 09:37:17.8444|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]]'. 2025-11-21 09:37:17.8444|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 20.4527ms 2025-11-21 09:37:17.8595|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 09:37:17.8595|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 37.6817ms 200 application/json; charset=utf-8 2025-11-21 09:37:18.1091||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:37:18.1091||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:37:18.1091||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:37:18.1277||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:37:18.1277||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:37:18.1277||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 09:37:19.2157||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:37:19.2210||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:37:19.2210||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:37:19.2391||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:37:19.2391||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:37:19.2391||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 09:37:20.3294||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:37:20.3294||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:37:20.3294||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:37:20.3516||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:37:20.3516||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:37:20.3516||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 09:37:21.4398||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:37:21.4398||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:37:21.4398||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:37:21.4595||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:37:21.4595||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:37:21.4695||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 09:37:22.5440||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:37:22.5472||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:37:22.5472||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:37:22.5635||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:37:22.5635|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; 2025-11-21 09:37:22.5635|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 2025-11-21 09:37:22.5788|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 09:37:22.5788|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 09:37:22.5788|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 09:37:22.5788|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 09:37:22.5788|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 09:37:22.5941|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 09:37:22.5941|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 09:37:22.5941|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 09:37:22.5941|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 09:37:22.6093|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 09:37:22.6093|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' 2025-11-21 09:37:22.6093|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 09:37:22.6670|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]]'. 2025-11-21 09:37:22.6670|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6796.1795ms 2025-11-21 09:37:22.6721|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 09:37:22.6721|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6821.5988ms 200 application/json; charset=utf-8 2025-11-21 09:37:23.4044|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 09:37:23.4044|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 09:37:23.4044|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 09:37:23.4076|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:37:23.4076|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:37:23.4076|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:37:23.4076|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.1952ms 204 2025-11-21 09:37:23.4076|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.2843ms 204 2025-11-21 09:37:23.4076|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.9626ms 204 2025-11-21 09:37:23.4076|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 09:37:23.4076|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 09:37:23.4076|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 09:37:23.4224|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 09:37:23.4224|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 09:37:23.4224|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 09:37:23.4224|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:37:23.4224|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:37:23.4224|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:37:23.4224|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 09:37:23.4224|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 09:37:23.4224|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 09:37:23.4224|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 09:37:23.4376|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 09:37:23.4376|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 09:37:23.4376|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). 2025-11-21 09:37:23.4376|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). 2025-11-21 09:37:23.4376|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). 2025-11-21 09:37:23.4376||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 09:37:23.4376|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 09:37:23.4376|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 09:37:23.4376|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 2025-11-21 09:37:23.4529|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]]'. 2025-11-21 09:37:23.4529||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 09:37:23.4529|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 9.9053ms 2025-11-21 09:37:23.4529|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)) 2025-11-21 09:37:23.4529|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 09:37:23.4529||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 09:37:23.4529|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 42.7895ms 200 application/json; charset=utf-8 2025-11-21 09:37:23.4529||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 09:37:23.4529||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 09:37:23.4777||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 09:37:23.4777||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 09:37:23.4777||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 09:37:23.4849||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 09:37:23.4849||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:37:23.4849||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 09:37:24.5626||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:37:24.5626||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 09:37:24.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]]'. 2025-11-21 09:37:24.5626|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1129.4994ms 2025-11-21 09:37:24.5626|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 09:37:24.5626|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1159.2509ms 200 application/json; charset=utf-8 2025-11-21 09:37:24.5807||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:37:24.5807||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:37:24.5807||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:37:24.6005||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:37:24.6005||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:37:24.6005||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 09:37:25.6855||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:37:25.6855||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:37:25.6855||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:37:25.7080||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:37:25.7080||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:37:25.7080||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 09:37:26.7918||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:37:26.7969||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:37:26.7969||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:37:26.8136||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:37:26.8136||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:37:26.8136||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 09:37:27.9048||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:37:27.9048||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:37:27.9048||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:37:27.9219||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:37:27.9219||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:37:27.9219||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 09:37:28.9983||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:37:28.9983||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:37:28.9983||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:37:29.0226||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:37:29.0226||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:37:29.0319||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 09:37:30.1262||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:37:30.1262||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:37:30.1262||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:37:30.1518||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:37:30.1622|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; 2025-11-21 09:37:30.1622|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 2025-11-21 09:37:30.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' 2025-11-21 09:37:30.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)) 2025-11-21 09:37:30.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' 2025-11-21 09:37:30.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)) 2025-11-21 09:37:30.1860|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' 2025-11-21 09:37:30.1860|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)) 2025-11-21 09:37:30.1860|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 09:37:30.1860|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 09:37:30.2019|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 09:37:30.2019|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 09:37:30.2019|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' 2025-11-21 09:37:30.2019|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 09:37:30.2879|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]]'. 2025-11-21 09:37:30.2879|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6844.6839ms 2025-11-21 09:37:30.2879|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 09:37:30.2942|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6874.2975ms 200 application/json; charset=utf-8 2025-11-21 09:37:32.8453|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=492 2025-11-21 09:37:32.8453|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:37:32.8453|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4.9464ms 204 2025-11-21 09:37:32.8685|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=492 2025-11-21 09:37:32.8685|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 09:37:32.8685|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:37:32.8725|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 09:37:32.8725|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 09:37:32.8725|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). 2025-11-21 09:37:32.8725|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 09:37:32.8725|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 09:37:32.8725|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 09:37:32.8725|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 09:37:32.8725|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)) 2025-11-21 09:37:32.8725|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:37:32.8881|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:37:32.8881|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:37:32.8881|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]]'. 2025-11-21 09:37:32.8881|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.7619ms 204 2025-11-21 09:37:32.8881|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.6441ms 204 2025-11-21 09:37:32.8881|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.1766ms 204 2025-11-21 09:37:32.8881|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 19.2693ms 2025-11-21 09:37:32.8881|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 09:37:32.9034|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 09:37:32.9034|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 35.5956ms 200 application/json; charset=utf-8 2025-11-21 09:37:32.9034|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 09:37:32.9034|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 09:37:32.9034|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 09:37:32.9034|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 09:37:32.9034|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 09:37:32.9034|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:37:32.9034|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:37:32.9034|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:37:32.9034|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 09:37:32.9034|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 09:37:32.9034|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 09:37:32.9034|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 09:37:32.9034|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 09:37:32.9192|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 09:37:32.9192|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). 2025-11-21 09:37:32.9192|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). 2025-11-21 09:37:32.9192|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). 2025-11-21 09:37:32.9192|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 09:37:32.9192|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 09:37:32.9192||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 09:37:32.9192|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 2025-11-21 09:37:32.9192|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)) 2025-11-21 09:37:32.9192||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 09:37:32.9192|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]]'. 2025-11-21 09:37:32.9192||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 09:37:32.9357|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 11.9313ms 2025-11-21 09:37:32.9192||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 09:37:32.9357||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 09:37:32.9357|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 09:37:32.9357|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 38.0808ms 200 application/json; charset=utf-8 2025-11-21 09:37:32.9530||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 09:37:32.9530||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 09:37:32.9530||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 09:37:32.9530||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:37:32.9530||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 09:37:32.9530||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 09:37:34.0304||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:37:34.0304||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:37:34.0304||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:37:34.0304||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:37:34.0304||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 09:37:34.0470|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]]'. 2025-11-21 09:37:34.0470||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:37:34.0470|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1124.9477ms 2025-11-21 09:37:34.0470|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 09:37:34.0470||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:37:34.0470|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1147.8765ms 200 application/json; charset=utf-8 2025-11-21 09:37:34.0470||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 09:37:35.1246||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:37:35.1246||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:37:35.1246||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:37:35.1429||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:37:35.1429||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:37:35.1429||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 09:37:36.2340||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:37:36.2340||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:37:36.2340||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:37:36.2585||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:37:36.2585||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:37:36.2649||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 09:37:37.3420||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:37:37.3420||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:37:37.3420||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:37:37.3603||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:37:37.3603||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:37:37.3603||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 09:37:38.4471||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:37:38.4522||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:37:38.4522||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:37:38.4723||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:37:38.4723||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:37:38.4803||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 09:37:39.3592|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/List?governmentAccountType=2 2025-11-21 09:37:39.3592|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:37:39.3592|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.6712ms 204 2025-11-21 09:37:39.3748|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/List?governmentAccountType=2 2025-11-21 09:37:39.3748|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 09:37:39.3748|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:37:39.3748|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 09:37:39.3748|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchAccounts (AccountManagement)' 2025-11-21 09:37:39.3901|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). 2025-11-21 09:37:39.3901||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 09:37:39.3901||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 09:37:39.4026||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 09:37:39.4253||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 09:37:39.4253||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 09:37:39.4253||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 09:37:39.5573||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:37:39.5620||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:37:39.5620||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:37:39.5853||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:37:39.5965|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; 2025-11-21 09:37:39.5965|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 2025-11-21 09:37:39.6077|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 09:37:39.6077|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)) 2025-11-21 09:37:39.6077|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 09:37:39.6077|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 09:37:39.6077|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 09:37:39.6207|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 09:37:39.6207|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 09:37:39.6207|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 09:37:39.6207|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 09:37:39.6207|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 09:37:39.6363|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 09:37:39.6363|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 09:37:39.6797|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]]'. 2025-11-21 09:37:39.6797|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6759.6202ms 2025-11-21 09:37:39.6843|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 09:37:39.6843|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6782.1192ms 200 application/json; charset=utf-8 2025-11-21 09:37:40.5142||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:37:40.5142||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 09:37:40.5142|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]]'. 2025-11-21 09:37:40.5142|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchAccounts (AccountManagement) in 1134.4798ms 2025-11-21 09:37:40.5278|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchAccounts (AccountManagement)' 2025-11-21 09:37:40.5278|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1154.4776ms 200 application/json; charset=utf-8 2025-11-21 09:37:50.1143|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 09:37:50.1143|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 09:37:50.1143|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 09:37:50.1143|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:37:50.1143|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:37:50.1229|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:37:50.1229|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.8525ms 204 2025-11-21 09:37:50.1229|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 13.1853ms 204 2025-11-21 09:37:50.1229|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 14.1201ms 204 2025-11-21 09:37:50.1229|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 09:37:50.1229|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 09:37:50.1229|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 09:37:50.1404|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 09:37:50.1404|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 09:37:50.1404|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 09:37:50.1404|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:37:50.1404|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:37:50.1404|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:37:50.1404|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 09:37:50.1404|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 09:37:50.1404|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 09:37:50.1404|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 09:37:50.1530|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 09:37:50.1530|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 09:37:50.1530|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). 2025-11-21 09:37:50.1530|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). 2025-11-21 09:37:50.1530|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). 2025-11-21 09:37:50.1530|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 09:37:50.1530||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 09:37:50.1530|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 09:37:50.1530|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)) 2025-11-21 09:37:50.1530||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 09:37:50.1530|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 2025-11-21 09:37:50.1699||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 09:37:50.1530||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 09:37:50.1699|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]]'. 2025-11-21 09:37:50.1699|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 14.8433ms 2025-11-21 09:37:50.1699||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 09:37:50.1699|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 09:37:50.1699|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 43.3536ms 200 application/json; charset=utf-8 2025-11-21 09:37:50.1864||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 09:37:50.1864||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 09:37:50.1864||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 09:37:50.1864||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:37:50.1864||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 09:37:50.1864||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 09:37:51.2771||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:37:51.2771||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:37:51.2771||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:37:51.2771||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:37:51.2771||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 09:37:51.2771|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]]'. 2025-11-21 09:37:51.2771|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1131.0113ms 2025-11-21 09:37:51.2771|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 09:37:51.2771|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1157.9564ms 200 application/json; charset=utf-8 2025-11-21 09:37:51.2961||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:37:51.2961||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:37:51.2961||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 09:37:52.3688||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:37:52.3736||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:37:52.3736||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:37:52.3898||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:37:52.3898||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:37:52.3898||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 09:37:53.4830||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:37:53.4830||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:37:53.4830||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:37:53.5084||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:37:53.5135||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:37:53.5135||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 09:37:54.6062||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:37:54.6062||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:37:54.6062||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:37:54.6264||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:37:54.6264||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:37:54.6264||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 09:37:55.7346||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:37:55.7346||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:37:55.7346||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:37:55.7605||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:37:55.7654||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:37:55.7654||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 09:37:56.8610||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:37:56.8610||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:37:56.8610||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:37:56.8861||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:37:56.8963|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; 2025-11-21 09:37:56.9046|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 2025-11-21 09:37:56.9046|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 09:37:56.9046|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 09:37:56.9046|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 09:37:56.9189|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 09:37:56.9189|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 09:37:56.9189|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 09:37:56.9189|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 09:37:56.9189|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 09:37:56.9189|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 09:37:56.9189|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 09:37:56.9189|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 09:37:56.9346|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 09:37:56.9708|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]]'. 2025-11-21 09:37:56.9708|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6816.8397ms 2025-11-21 09:37:56.9708|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 09:37:56.9708|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6844.8737ms 200 application/json; charset=utf-8 2025-11-21 09:40:30.4754|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 09:40:30.4754|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 09:40:30.4754|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:40:30.4754|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:40:30.4833|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.9744ms 204 2025-11-21 09:40:30.4833|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.978ms 204 2025-11-21 09:40:30.7177|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 09:40:30.7177|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 09:40:30.7177|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 09:40:30.7177|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 09:40:30.7177|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:40:30.7177|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:40:30.7177|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 09:40:30.7332|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 09:40:30.7332|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 09:40:30.7332|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 09:40:30.7332|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). 2025-11-21 09:40:30.7332|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). 2025-11-21 09:40:30.7332|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 09:40:30.7332|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 09:40:30.7332|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] 2025-11-21 09:40:30.7494|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]]'. 2025-11-21 09:40:30.7494|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 9.0779ms 2025-11-21 09:40:30.7494|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] 2025-11-21 09:40:30.7494|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 09:40:30.7494|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 39.11ms 200 application/json; charset=utf-8 2025-11-21 09:40:30.7697|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]]'. 2025-11-21 09:40:30.7697|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 28.8855ms 2025-11-21 09:40:30.7697|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 09:40:30.7697|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 58.1843ms 200 application/json; charset=utf-8 2025-11-21 09:40:31.6210|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 09:40:31.6238|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 09:40:31.6238|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:40:31.6238|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 09:40:31.6238|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:40:31.6238|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.7305ms 204 2025-11-21 09:40:31.6238|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:40:31.6238|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.3766ms 204 2025-11-21 09:40:31.6238|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.2594ms 204 2025-11-21 09:40:31.8524|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 09:40:31.8524|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 09:40:31.8524|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 09:40:31.8577|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:40:31.8577|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 09:40:31.8577|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 09:40:31.8577|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 09:40:31.8577|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 09:40:31.8577|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:40:31.8577|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 09:40:31.8577|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:40:31.8577|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 09:40:31.8733|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). 2025-11-21 09:40:31.8733|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 09:40:31.8733|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 09:40:31.8733|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 09:40:31.8733|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 09:40:31.8733|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). 2025-11-21 09:40:31.8733|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). 2025-11-21 09:40:31.8733|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 09:40:31.8733|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)) 2025-11-21 09:40:31.8892||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 09:40:31.8892|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 2025-11-21 09:40:31.8892|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]]'. 2025-11-21 09:40:31.8892||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 09:40:31.8892|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 10.9579ms 2025-11-21 09:40:31.8892||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 09:40:31.8892|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 09:40:31.8892||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 09:40:31.9049|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 47.5471ms 200 application/json; charset=utf-8 2025-11-21 09:40:31.9049||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 09:40:31.9288||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 09:40:31.9288||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 09:40:31.9288||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 09:40:31.9364||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:40:31.9364||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 09:40:31.9364||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 09:40:33.0343||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:40:33.0343||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:40:33.0343||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:40:33.0343||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:40:33.0469||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 09:40:33.0469|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]]'. 2025-11-21 09:40:33.0469|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1161.1109ms 2025-11-21 09:40:33.0469|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 09:40:33.0469|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1192.7991ms 200 application/json; charset=utf-8 2025-11-21 09:40:33.0469||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:40:33.0469||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:40:33.0469||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 09:40:34.1428||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:40:34.1428||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:40:34.1428||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:40:34.1644||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:40:34.1644||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:40:34.1708||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 09:40:35.2489||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:40:35.2489||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:40:35.2489||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:40:35.2686||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:40:35.2686||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:40:35.2686||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 09:40:36.3573||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:40:36.3608||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:40:36.3608||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:40:36.3765||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:40:36.3765||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:40:36.3765||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 09:40:37.4694||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:40:37.4694||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:40:37.4694||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:40:37.4851||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:40:37.4851||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:40:37.4851||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 09:40:38.5620||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:40:38.5620||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:40:38.5620||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:40:38.5837||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:40:38.5950|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; 2025-11-21 09:40:38.5950|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 2025-11-21 09:40:38.6083|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 09:40:38.6083|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 09:40:38.6083|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 09:40:38.6083|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 09:40:38.6083|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 09:40:38.6083|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 09:40:38.6083|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 09:40:38.6236|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 09:40:38.6236|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 09:40:38.6236|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 09:40:38.6236|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 09:40:38.6402|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 09:40:38.6793|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]]'. 2025-11-21 09:40:38.6793|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6804.8353ms 2025-11-21 09:40:38.6793|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 09:40:38.6857|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6833.2853ms 200 application/json; charset=utf-8 2025-11-21 09:45:19.1183|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=495 2025-11-21 09:45:19.1183|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 09:45:19.1183|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:45:19.1183|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 09:45:19.1183|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 09:45:19.1183|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:45:19.1183|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.0209ms 204 2025-11-21 09:45:19.1183|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:45:19.1183|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:45:19.1337|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.7113ms 204 2025-11-21 09:45:19.1337|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 13.6075ms 204 2025-11-21 09:45:19.1337|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 13.919ms 204 2025-11-21 09:45:19.7308|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=495 2025-11-21 09:45:19.7308|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 09:45:19.7308|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 09:45:19.7308|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 09:45:19.7308|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 09:45:19.7308|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 09:45:19.7308|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 09:45:19.7428|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 09:45:19.7428|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:45:19.7428|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:45:19.7428|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:45:19.7428|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:45:19.7428|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 09:45:19.7428|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 09:45:19.7581|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 09:45:19.7581|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 09:45:19.7581|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 09:45:19.7581|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 09:45:19.7581|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 09:45:19.7581|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 09:45:19.7581|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). 2025-11-21 09:45:19.7581|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). 2025-11-21 09:45:19.7581|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). 2025-11-21 09:45:19.7581|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). 2025-11-21 09:45:19.7581|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 09:45:19.7581||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 09:45:19.7581|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 09:45:19.7739|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 09:45:19.7739|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 2025-11-21 09:45:19.7739|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)) 2025-11-21 09:45:19.7739||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 09:45:19.7739|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]]'. 2025-11-21 09:45:19.7739|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]]'. 2025-11-21 09:45:19.7739||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 09:45:19.7739|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 13.8124ms 2025-11-21 09:45:19.7739|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 17.1483ms 2025-11-21 09:45:19.7894|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 09:45:19.7894|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)) 2025-11-21 09:45:19.7894|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 09:45:19.7894|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 59.9941ms 200 application/json; charset=utf-8 2025-11-21 09:45:19.7894|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 63.511ms 200 application/json; charset=utf-8 2025-11-21 09:45:19.7894||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 09:45:19.7894||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 09:45:19.7894||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 09:45:19.8045||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 09:45:19.8045||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 09:45:19.8045||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 09:45:19.8045||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:45:19.8204||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 09:45:20.8822||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:45:20.8860||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 09:45:20.8860|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]]'. 2025-11-21 09:45:20.8860|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1121.0732ms 2025-11-21 09:45:20.8860|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 09:45:20.8860||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:45:20.8860|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1164.6977ms 200 application/json; charset=utf-8 2025-11-21 09:45:20.9002||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:45:20.9002||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:45:20.9155||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:45:20.9155||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:45:20.9155||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 09:45:21.9943||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:45:21.9943||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:45:21.9943||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:45:22.0178||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:45:22.0178||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:45:22.0265||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 09:45:23.1166||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:45:23.1207||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:45:23.1207||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:45:23.1383||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:45:23.1383||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:45:23.1383||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 09:45:24.2286||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:45:24.2286||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:45:24.2286||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:45:24.2497||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:45:24.2497||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:45:24.2497||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 09:45:25.3355||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:45:25.3355||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:45:25.3355||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:45:25.3567||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:45:25.3567||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:45:25.3567||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 09:45:26.4541||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:45:26.4575||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:45:26.4575||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:45:26.4750||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:45:26.4750|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; 2025-11-21 09:45:26.4877|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 2025-11-21 09:45:26.4877|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 09:45:26.4877|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 09:45:26.4877|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 09:45:26.4877|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 09:45:26.5042|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 09:45:26.5042|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 09:45:26.5042|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 09:45:26.5042|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 09:45:26.5187|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 09:45:26.5187|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)) 2025-11-21 09:45:26.5187|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 09:45:26.5187|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 09:45:26.5687|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]]'. 2025-11-21 09:45:26.5687|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6797.3242ms 2025-11-21 09:45:26.5687|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 09:45:26.5687|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6840.7089ms 200 application/json; charset=utf-8 2025-11-21 09:46:03.6343|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 09:46:03.6343|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 09:46:03.6343|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 09:46:03.6343|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:46:03.6343|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:46:03.6421|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:46:03.6421|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.8731ms 204 2025-11-21 09:46:03.6421|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.9535ms 204 2025-11-21 09:46:03.6421|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.0566ms 204 2025-11-21 09:46:03.6421|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 09:46:03.6421|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 09:46:03.6421|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 09:46:03.6421|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 09:46:03.6421|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 09:46:03.6421|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 09:46:03.6421|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:46:03.6587|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:46:03.6587|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:46:03.6587|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 09:46:03.6587|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 09:46:03.6587|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 09:46:03.6587|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 09:46:03.6587|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 09:46:03.6587|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 09:46:03.6587|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). 2025-11-21 09:46:03.6587|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). 2025-11-21 09:46:03.6587|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). 2025-11-21 09:46:03.6587|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 09:46:03.6587|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 09:46:03.6741||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 09:46:03.6741|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 2025-11-21 09:46:03.6741|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]]'. 2025-11-21 09:46:03.6741|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)) 2025-11-21 09:46:03.6741|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 10.0364ms 2025-11-21 09:46:03.6741||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 09:46:03.6741||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 09:46:03.6741|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 09:46:03.6741||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 09:46:03.6898|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 42.2929ms 200 application/json; charset=utf-8 2025-11-21 09:46:03.6898||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 09:46:03.7070||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 09:46:03.7070||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 09:46:03.7070||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 09:46:03.7070||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 09:46:03.7070||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:46:03.7205||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 09:46:04.8043||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:46:04.8043||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:46:04.8043||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 09:46:04.8043||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:46:04.8043|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]]'. 2025-11-21 09:46:04.8148||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:46:04.8148|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1142.9208ms 2025-11-21 09:46:04.8148|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 09:46:04.8148|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1169.3307ms 200 application/json; charset=utf-8 2025-11-21 09:46:04.8148||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:46:04.8148||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:46:04.8307||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 09:46:05.9095||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:46:05.9095||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:46:05.9095||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:46:05.9306||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:46:05.9306||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:46:05.9306||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 09:46:06.3191|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 09:46:06.3191|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 09:46:06.3191|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:46:06.3191|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:46:06.3298|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.6233ms 204 2025-11-21 09:46:06.3298|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 13.4487ms 204 2025-11-21 09:46:06.3298|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 09:46:06.3298|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 09:46:06.3298|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 09:46:06.3298|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 09:46:06.3298|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:46:06.3298|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:46:06.3471|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 09:46:06.3471|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 09:46:06.3471|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 09:46:06.3471|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 09:46:06.3471|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). 2025-11-21 09:46:06.3471|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). 2025-11-21 09:46:06.3471|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 09:46:06.3471|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 09:46:06.3633|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] 2025-11-21 09:46:06.3633|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]]'. 2025-11-21 09:46:06.3633|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 8.8468ms 2025-11-21 09:46:06.3633|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 09:46:06.3633|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 31.1256ms 200 application/json; charset=utf-8 2025-11-21 09:46:06.3633|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] 2025-11-21 09:46:06.3808|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]]'. 2025-11-21 09:46:06.3808|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 26.1391ms 2025-11-21 09:46:06.3808|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 09:46:06.3808|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 51.1244ms 200 application/json; charset=utf-8 2025-11-21 09:46:07.0159||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:46:07.0189||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:46:07.0189||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:46:07.0332||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:46:07.0332||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:46:07.0332||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 09:46:08.1143||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:46:08.1143||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:46:08.1264||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:46:08.1423||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:46:08.1423||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:46:08.1423||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 09:46:09.2308||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:46:09.2308||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:46:09.2308||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:46:09.2423||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:46:09.2423||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:46:09.2423||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 09:46:10.3099||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:46:10.3099||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:46:10.3165||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:46:10.3165||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:46:10.3335|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; 2025-11-21 09:46:10.3335|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 2025-11-21 09:46:10.3335|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 09:46:10.3335|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 09:46:10.3335|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' 2025-11-21 09:46:10.3461|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)) 2025-11-21 09:46:10.3461|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' 2025-11-21 09:46:10.3461|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)) 2025-11-21 09:46:10.3461|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' 2025-11-21 09:46:10.3461|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)) 2025-11-21 09:46:10.3461|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 09:46:10.3461|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 09:46:10.3623|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 09:46:10.3623|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 09:46:10.4044|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]]'. 2025-11-21 09:46:10.4044|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6734.1592ms 2025-11-21 09:46:10.4044|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 09:46:10.4085|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6759.9776ms 200 application/json; charset=utf-8 2025-11-21 09:46:12.6777|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 09:46:12.6777|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 09:46:12.6777|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 09:46:12.6777|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:46:12.6777|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:46:12.6777|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:46:12.6777|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.8647ms 204 2025-11-21 09:46:12.6777|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.7121ms 204 2025-11-21 09:46:12.6777|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.8731ms 204 2025-11-21 09:46:12.6901|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 09:46:12.6901|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 09:46:12.6901|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 09:46:12.6901|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 09:46:12.6901|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 09:46:12.6901|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:46:12.6901|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 09:46:12.6901|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:46:12.6901|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 09:46:12.6901|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:46:12.6901|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 09:46:12.6901|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 09:46:12.6901|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 09:46:12.6901|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 09:46:12.6901|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). 2025-11-21 09:46:12.6901|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 09:46:12.6901|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). 2025-11-21 09:46:12.6901|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 09:46:12.6901|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). 2025-11-21 09:46:12.7048||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 09:46:12.7048|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 09:46:12.7048|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 2025-11-21 09:46:12.7048||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 09:46:12.7048|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)) 2025-11-21 09:46:12.7048|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]]'. 2025-11-21 09:46:12.7048||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 09:46:12.7048||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 09:46:12.7048|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 7.3369ms 2025-11-21 09:46:12.7048|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 09:46:12.7048||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 09:46:12.7048|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 24.6142ms 200 application/json; charset=utf-8 2025-11-21 09:46:12.7248||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 09:46:12.7248||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 09:46:12.7248||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 09:46:12.7248||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:46:12.7248||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 09:46:12.7248||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 09:46:13.7948||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:46:13.7984||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 09:46:13.7984|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]]'. 2025-11-21 09:46:13.7984||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:46:13.7984|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1096.6668ms 2025-11-21 09:46:13.7984|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 09:46:13.7984||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:46:13.7984|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1113.258ms 200 application/json; charset=utf-8 2025-11-21 09:46:13.7984||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:46:13.8181||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:46:13.8181||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:46:13.8181||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 09:46:14.8905||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:46:14.8934||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:46:14.8934||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:46:14.8934||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:46:14.8934||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:46:14.9083||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 09:46:15.9550||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:46:15.9550||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:46:15.9550||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:46:15.9676||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:46:15.9676||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:46:15.9676||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 09:46:17.0394||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:46:17.0434||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:46:17.0434||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:46:17.0581||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:46:17.0581||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:46:17.0581||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 09:46:18.1633||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:46:18.1633||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:46:18.1690||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:46:18.1690||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:46:18.1861||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:46:18.1861||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 09:46:19.2639||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:46:19.2639||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:46:19.2639||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:46:19.2915||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:46:19.3021|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; 2025-11-21 09:46:19.3107|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 2025-11-21 09:46:19.3107|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' 2025-11-21 09:46:19.3107|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)) 2025-11-21 09:46:19.3257|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 09:46:19.3257|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)) 2025-11-21 09:46:19.3257|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' 2025-11-21 09:46:19.3257|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 09:46:19.3405|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 09:46:19.3405|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)) 2025-11-21 09:46:19.3405|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' 2025-11-21 09:46:19.3405|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 09:46:19.3554|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 09:46:19.3554|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 09:46:19.4279|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]]'. 2025-11-21 09:46:19.4279|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6727.5634ms 2025-11-21 09:46:19.4279|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 09:46:19.4331|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6742.9568ms 200 application/json; charset=utf-8 2025-11-21 09:47:10.3809|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 09:47:10.3809|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 09:47:10.3809|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 09:47:10.3840|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:47:10.3840|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:47:10.3840|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:47:10.3840|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.324ms 204 2025-11-21 09:47:10.3840|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.5996ms 204 2025-11-21 09:47:10.3840|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.9195ms 204 2025-11-21 09:47:10.6372|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 09:47:10.6372|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 09:47:10.6372|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 09:47:10.6372|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 09:47:10.6372|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 09:47:10.6372|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 09:47:10.6372|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:47:10.6507|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:47:10.6507|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:47:10.6507|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 09:47:10.6507|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 09:47:10.6507|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 09:47:10.6507|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 09:47:10.6507|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 09:47:10.6507|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). 2025-11-21 09:47:10.6507|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). 2025-11-21 09:47:10.6507|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 09:47:10.6664|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 09:47:10.6664|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 09:47:10.6664|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). 2025-11-21 09:47:10.6664|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)) 2025-11-21 09:47:10.6664|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 2025-11-21 09:47:10.6664||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 09:47:10.6664|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]]'. 2025-11-21 09:47:10.6664||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 09:47:10.6843|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 16.8644ms 2025-11-21 09:47:10.6843||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 09:47:10.6843||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 09:47:10.6843|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 09:47:10.6843||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 09:47:10.6979|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 60.6812ms 200 application/json; charset=utf-8 2025-11-21 09:47:10.7173||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 09:47:10.7173||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 09:47:10.7173||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 09:47:10.7173||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:47:10.7173||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 09:47:10.7173||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 09:47:11.8047||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:47:11.8073||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:47:11.8073||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 09:47:11.8073||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:47:11.8073|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]]'. 2025-11-21 09:47:11.8073||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:47:11.8073|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1141.5416ms 2025-11-21 09:47:11.8073|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 09:47:11.8073|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1182.6512ms 200 application/json; charset=utf-8 2025-11-21 09:47:11.8277||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:47:11.8277||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:47:11.8277||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 09:47:12.9198||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:47:12.9198||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:47:12.9198||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:47:12.9429||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:47:12.9474||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:47:12.9474||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 09:47:14.0316||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:47:14.0316||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:47:14.0316||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:47:14.0522||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:47:14.0522||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:47:14.0522||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 09:47:15.1498||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:47:15.1498||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:47:15.1498||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:47:15.1702||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:47:15.1702||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:47:15.1766||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 09:47:16.2552||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:47:16.2552||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:47:16.2552||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:47:16.2766||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:47:16.2766||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:47:16.2766||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 09:47:17.3628||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:47:17.3674||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:47:17.3674||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:47:17.3832||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:47:17.3832|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; 2025-11-21 09:47:17.3983|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 2025-11-21 09:47:17.3983|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 09:47:17.3983|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 09:47:17.3983|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 09:47:17.3983|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 09:47:17.4112|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 09:47:17.4112|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 09:47:17.4112|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 09:47:17.4112|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 09:47:17.4112|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 09:47:17.4112|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 09:47:17.4270|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 09:47:17.4270|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 09:47:17.4663|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]]'. 2025-11-21 09:47:17.4663|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6802.7926ms 2025-11-21 09:47:17.4663|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 09:47:17.4663|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6835.2006ms 200 application/json; charset=utf-8 2025-11-21 09:47:26.9931|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 09:47:26.9931|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 09:47:26.9931|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 09:47:26.9931|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:47:26.9931|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:47:26.9931|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:47:26.9931|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.7305ms 204 2025-11-21 09:47:26.9931|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.3406ms 204 2025-11-21 09:47:26.9931|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.094ms 204 2025-11-21 09:47:27.2491|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 09:47:27.2491|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 09:47:27.2491|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 09:47:27.2491|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:47:27.2572|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 09:47:27.2572|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 09:47:27.2572|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 09:47:27.2572|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 09:47:27.2572|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:47:27.2572|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 09:47:27.2572|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). 2025-11-21 09:47:27.2572|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 09:47:27.2572|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:47:27.2572||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 09:47:27.2572|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 09:47:27.2742|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 09:47:27.2742|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). 2025-11-21 09:47:27.2742|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 09:47:27.2742||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 09:47:27.2742|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 09:47:27.2742|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). 2025-11-21 09:47:27.2742||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 09:47:27.2742|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 09:47:27.2888|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)) 2025-11-21 09:47:27.2888|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 2025-11-21 09:47:27.2888|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]]'. 2025-11-21 09:47:27.2888||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 09:47:27.2888|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 7.0515ms 2025-11-21 09:47:27.2888||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 09:47:27.2888|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 09:47:27.2888|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 41.4865ms 200 application/json; charset=utf-8 2025-11-21 09:47:27.3053||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 09:47:27.3053||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 09:47:27.3053||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 09:47:27.3053||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 09:47:27.3053||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:47:27.3208||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 09:47:28.4016||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:47:28.4016||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:47:28.4016||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 09:47:28.4016||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:47:28.4016|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]]'. 2025-11-21 09:47:28.4016||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:47:28.4139|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1143.5782ms 2025-11-21 09:47:28.4139|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 09:47:28.4139|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1170.2688ms 200 application/json; charset=utf-8 2025-11-21 09:47:28.4139||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:47:28.4301||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:47:28.4301||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 09:47:29.5396||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:47:29.5396||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:47:29.5396||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:47:29.5597||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:47:29.5597||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:47:29.5597||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 09:47:30.6472||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:47:30.6515||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:47:30.6515||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:47:30.6700||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:47:30.6700||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:47:30.6700||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 09:47:31.7567||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:47:31.7597||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:47:31.7597||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:47:31.7732||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:47:31.7732||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:47:31.7732||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 09:47:32.8689||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:47:32.8689||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:47:32.8689||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:47:32.8928||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:47:32.8928||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:47:32.9017||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 09:47:33.7042|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 09:47:33.7042|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 09:47:33.7042|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 09:47:33.7042|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:47:33.7131|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:47:33.7131|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:47:33.7131|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 14.2561ms 204 2025-11-21 09:47:33.7131|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 16.5353ms 204 2025-11-21 09:47:33.7131|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 19.7727ms 204 2025-11-21 09:47:33.7273|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 09:47:33.7273|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 09:47:33.7273|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 09:47:33.7273|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() 2025-11-21 09:47:33.7273|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() 2025-11-21 09:47:33.7428|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() 2025-11-21 09:47:33.7794|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'. 2025-11-21 09:47:33.7794|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'. 2025-11-21 09:47:33.7794|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'. 2025-11-21 09:47:33.7794|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:47:33.7794|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:47:33.7794|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:47:33.7890|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2025-11-21 09:47:33.7890|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2025-11-21 09:47:33.7890|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2025-11-21 09:47:33.7890|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2025-11-21 09:47:33.7890|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2025-11-21 09:47:33.7890|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2025-11-21 09:47:33.7890|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 70.0637ms 401 2025-11-21 09:47:33.8043|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 73.6084ms 401 2025-11-21 09:47:33.8043|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 78.6692ms 401 2025-11-21 09:47:33.9637|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 09:47:33.9637|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 09:47:33.9637|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:47:33.9637|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 09:47:33.9637|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 09:47:33.9637||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:47:33.9761|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). 2025-11-21 09:47:33.9761|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 09:47:33.9761||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:47:33.9761|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 2025-11-21 09:47:33.9761|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 09:47:33.9761||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:47:33.9761|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]]'. 2025-11-21 09:47:33.9761|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 09:47:33.9924|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 09:47:33.9924|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 13.9353ms 2025-11-21 09:47:33.9924|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 09:47:33.9924|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:47:33.9924|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 09:47:33.9924|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:47:33.9924|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 09:47:33.9924||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:47:33.9924|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 39.9881ms 200 application/json; charset=utf-8 2025-11-21 09:47:33.9924|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 09:47:33.9924|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 09:47:34.0086|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 09:47:34.0086|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). 2025-11-21 09:47:34.0086|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). 2025-11-21 09:47:34.0086|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; 2025-11-21 09:47:34.0086|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 09:47:34.0086||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 09:47:34.0086|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 2025-11-21 09:47:34.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)) 2025-11-21 09:47:34.0086||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 09:47:34.0086|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 09:47:34.0234||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 09:47:34.0234||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 09:47:34.0234|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 09:47:34.0234||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 09:47:34.0234|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 09:47:34.0234|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 09:47:34.0234|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 09:47:34.0234|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 09:47:34.0394|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 09:47:34.0394||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 09:47:34.0394||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 09:47:34.0394|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 09:47:34.0394||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 09:47:34.0394||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:47:34.0394|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 09:47:34.0394||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 09:47:34.0394||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 09:47:34.0394|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 09:47:34.0558|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 09:47:34.0558|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 09:47:34.0964|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]]'. 2025-11-21 09:47:34.0964|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6818.6161ms 2025-11-21 09:47:34.0964|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 09:47:34.1015|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6846.6116ms 200 application/json; charset=utf-8 2025-11-21 09:47:35.1337||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:47:35.1337||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:47:35.1337||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:47:35.1337||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 09:47:35.1337||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:47:35.1337|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]]'. 2025-11-21 09:47:35.1337|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1130.4119ms 2025-11-21 09:47:35.1337|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 09:47:35.1337|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1155.5147ms 200 application/json; charset=utf-8 2025-11-21 09:47:35.1535||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:47:35.1535||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:47:35.1535||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 09:47:36.2435||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:47:36.2435||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:47:36.2435||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:47:36.2647||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:47:36.2647||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:47:36.2647||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 09:47:37.3518||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:47:37.3518||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:47:37.3518||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:47:37.3710||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:47:37.3710||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:47:37.3710||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 09:47:38.4620||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:47:38.4620||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:47:38.4620||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:47:38.4809||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:47:38.4809||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:47:38.4809||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 09:47:39.5534||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:47:39.5580||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:47:39.5580||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:47:39.5713||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:47:39.5713||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:47:39.5713||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 09:47:40.6523||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:47:40.6523||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:47:40.6523||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:47:40.6700||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:47:40.6700|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; 2025-11-21 09:47:40.6835|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 2025-11-21 09:47:40.6835|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 09:47:40.6835|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)) 2025-11-21 09:47:40.6835|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 09:47:40.6974|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 09:47:40.6974|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' 2025-11-21 09:47:40.6974|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)) 2025-11-21 09:47:40.7109|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' 2025-11-21 09:47:40.7109|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)) 2025-11-21 09:47:40.7109|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' 2025-11-21 09:47:40.7109|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)) 2025-11-21 09:47:40.7300|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' 2025-11-21 09:47:40.7300|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)) 2025-11-21 09:47:40.7785|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]]'. 2025-11-21 09:47:40.7785|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6769.9541ms 2025-11-21 09:47:40.7785|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 09:47:40.7785|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6798.7608ms 200 application/json; charset=utf-8 2025-11-21 09:58:38.3298|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 09:58:38.3298|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 09:58:38.3298|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 09:58:38.3298|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:58:38.3298|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:58:38.3298|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:58:38.3298|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.0207ms 204 2025-11-21 09:58:38.3298|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.9036ms 204 2025-11-21 09:58:38.3426|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.1308ms 204 2025-11-21 09:58:38.3426|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 09:58:38.3426|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 09:58:38.3426|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 09:58:38.3426|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 09:58:38.3426|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 09:58:38.3426|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 09:58:38.3426|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:58:38.3578|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:58:38.3578|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:58:38.3578|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 09:58:38.3578|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 09:58:38.3578|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 09:58:38.3578|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 09:58:38.3578|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 09:58:38.3578|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 09:58:38.3578|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). 2025-11-21 09:58:38.3578|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). 2025-11-21 09:58:38.3744|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). 2025-11-21 09:58:38.3744||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 09:58:38.3744|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 09:58:38.3744|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 09:58:38.3922|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 2025-11-21 09:58:38.3922||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 09:58:38.3922|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]]'. 2025-11-21 09:58:38.3922|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 19.5886ms 2025-11-21 09:58:38.3922||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 09:58:38.3922|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 09:58:38.3922|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 55.0165ms 200 application/json; charset=utf-8 2025-11-21 09:58:38.3922|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)) 2025-11-21 09:58:38.3922||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 09:58:38.4059||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 09:58:38.4219||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 09:58:38.4219||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:58:38.4219||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 09:58:38.4219||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 09:58:38.4219||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 09:58:38.4376||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 09:58:39.5130||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:58:39.5180||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:58:39.5180||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:58:39.5180||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:58:39.5321||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 09:58:39.5321|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]]'. 2025-11-21 09:58:39.5321||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:58:39.5321|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1161.8109ms 2025-11-21 09:58:39.5321||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:58:39.5321|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 09:58:39.5321||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 09:58:39.5321|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1197.521ms 200 application/json; charset=utf-8 2025-11-21 09:58:40.6215||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:58:40.6256||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:58:40.6256||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:58:40.6413||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:58:40.6413||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:58:40.6413||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 09:58:41.7356||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:58:41.7356||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:58:41.7356||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:58:41.7557||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:58:41.7557||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:58:41.7557||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 09:58:42.8420||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:58:42.8420||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:58:42.8420||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:58:42.8634||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:58:42.8634||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:58:42.8634||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 09:58:43.9543||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:58:43.9543||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:58:43.9543||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:58:43.9765||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:58:43.9765||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:58:43.9830||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 09:58:45.0607||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:58:45.0607||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:58:45.0607||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:58:45.0789||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:58:45.0789|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; 2025-11-21 09:58:45.0944|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 2025-11-21 09:58:45.0944|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 09:58:45.0944|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 09:58:45.0944|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 09:58:45.1085|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)) 2025-11-21 09:58:45.1085|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 09:58:45.1085|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 09:58:45.1085|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 09:58:45.1245|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 09:58:45.1245|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 09:58:45.1245|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 09:58:45.1245|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 09:58:45.1388|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 09:58:45.1891|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]]'. 2025-11-21 09:58:45.1891|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6813.8182ms 2025-11-21 09:58:45.1891|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 09:58:45.1891|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6849.9035ms 200 application/json; charset=utf-8 2025-11-21 09:58:50.9646|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=491 2025-11-21 09:58:50.9646|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:58:50.9646|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.4433ms 204 2025-11-21 09:58:50.9646|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=491 2025-11-21 09:58:50.9646|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 09:58:50.9820|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:58:50.9820|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 09:58:50.9820|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 09:58:50.9820|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). 2025-11-21 09:58:50.9820|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 09:58:50.9964|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)) 2025-11-21 09:58:50.9964|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]]'. 2025-11-21 09:58:50.9964|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 8.7469ms 2025-11-21 09:58:50.9964|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 09:58:50.9964|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 24.8768ms 200 application/json; charset=utf-8 2025-11-21 09:58:51.0534|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 09:58:51.0534|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 09:58:51.0534|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 09:58:51.0534|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:58:51.0601|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:58:51.0601|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:58:51.0601|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 14.4393ms 204 2025-11-21 09:58:51.0601|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 15.6787ms 204 2025-11-21 09:58:51.0601|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 16.4552ms 204 2025-11-21 09:58:51.0762|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 09:58:51.0762|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 09:58:51.0762|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 09:58:51.0762|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 09:58:51.0762|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 09:58:51.0762|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 09:58:51.0762|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:58:51.0762|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:58:51.0762|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 09:58:51.0762|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 09:58:51.0899|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 09:58:51.0899|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 09:58:51.0899|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 09:58:51.0899|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 09:58:51.0899|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 09:58:51.0899|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). 2025-11-21 09:58:51.0899|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). 2025-11-21 09:58:51.0899|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). 2025-11-21 09:58:51.0899||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 09:58:51.0899|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 09:58:51.0899|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 09:58:51.0899||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 09:58:51.0899|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 2025-11-21 09:58:51.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]]'. 2025-11-21 09:58:51.1058||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 09:58:51.1058|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 9.5614ms 2025-11-21 09:58:51.1058|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 09:58:51.1058|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 34.695ms 200 application/json; charset=utf-8 2025-11-21 09:58:51.1287|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)) 2025-11-21 09:58:51.1287||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 09:58:51.1287||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 09:58:51.1287||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 09:58:51.1396||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 09:58:51.1396||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 09:58:51.1592||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 09:58:51.1592||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:58:51.1592||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 09:58:52.2282||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:58:52.2327||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 09:58:52.2327|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]]'. 2025-11-21 09:58:52.2327|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1141.3523ms 2025-11-21 09:58:52.2327|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 09:58:52.2327|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1165.3532ms 200 application/json; charset=utf-8 2025-11-21 09:58:52.2327||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:58:52.2471||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:58:52.2471||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:58:52.2471||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:58:52.2650||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:58:52.2650||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 09:58:53.3406||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:58:53.3406||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:58:53.3406||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:58:53.3622||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:58:53.3622||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:58:53.3622||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 09:58:54.4622||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:58:54.4656||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:58:54.4656||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:58:54.4806||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:58:54.4806||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:58:54.4806||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 09:58:55.5586||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:58:55.5586||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:58:55.5586||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:58:55.5794||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:58:55.5794||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:58:55.5794||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 09:58:56.6676||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:58:56.6676||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:58:56.6676||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:58:56.6873||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:58:56.6873||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 09:58:56.6873||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 09:58:57.7805||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 09:58:57.7805||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 09:58:57.7805||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 09:58:57.8092||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 09:58:57.8092|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; 2025-11-21 09:58:57.8259|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 2025-11-21 09:58:57.8259|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 09:58:57.8259|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 09:58:57.8259|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 09:58:57.8259|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 09:58:57.8416|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 09:58:57.8416|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 09:58:57.8416|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 09:58:57.8416|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 09:58:57.8575|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 09:58:57.8575|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)) 2025-11-21 09:58:57.8575|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 09:58:57.8708|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 09:58:57.9058|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]]'. 2025-11-21 09:58:57.9058|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6810.6562ms 2025-11-21 09:58:57.9058|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 09:58:57.9058|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6836.4039ms 200 application/json; charset=utf-8 2025-11-21 10:02:38.2658|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=492 2025-11-21 10:02:38.2658|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:02:38.2724|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6.5554ms 204 2025-11-21 10:02:38.2879|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=492 2025-11-21 10:02:38.2879|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:02:38.2879|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:02:38.2879|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 10:02:38.2879|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 10:02:38.2879|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:02:38.2879|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 10:02:38.2879|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:02:38.3036|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:02:38.3036|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 10:02:38.3036|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:02:38.3036|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.19ms 204 2025-11-21 10:02:38.3036|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 13.3755ms 204 2025-11-21 10:02:38.3036|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). 2025-11-21 10:02:38.3036|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 15.7599ms 204 2025-11-21 10:02:38.3197|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:02:38.3197|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)) 2025-11-21 10:02:38.3197|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]]'. 2025-11-21 10:02:38.3197|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 8.2663ms 2025-11-21 10:02:38.3197|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 10:02:38.3197|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 41.3313ms 200 application/json; charset=utf-8 2025-11-21 10:02:38.3351|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 10:02:38.3351|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 10:02:38.3351|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 10:02:38.3351|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:02:38.3351|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:02:38.3351|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:02:38.3351|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:02:38.3351|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:02:38.3491|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:02:38.3491|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:02:38.3491|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:02:38.3491|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:02:38.3491|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 10:02:38.3491|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 10:02:38.3491|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 10:02:38.3491|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). 2025-11-21 10:02:38.3491|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). 2025-11-21 10:02:38.3491|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). 2025-11-21 10:02:38.3654|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:02:38.3654||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 10:02:38.3654|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:02:38.3654|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)) 2025-11-21 10:02:38.3654||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 10:02:38.3654|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 2025-11-21 10:02:38.3654||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 10:02:38.3654||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 10:02:38.3796|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]]'. 2025-11-21 10:02:38.3796||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 10:02:38.3796|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 16.7693ms 2025-11-21 10:02:38.3796|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 10:02:38.3796|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 54.6025ms 200 application/json; charset=utf-8 2025-11-21 10:02:38.4010||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 10:02:38.4010||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 10:02:38.4010||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 10:02:38.4010||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:02:38.4110||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 10:02:38.4110||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 10:02:39.5079||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:02:39.5079||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 10:02:39.5079||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:02:39.5079|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]]'. 2025-11-21 10:02:39.5079|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1152.1726ms 2025-11-21 10:02:39.5079||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:02:39.5079|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 10:02:39.5213||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:02:39.5213|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1186.4591ms 200 application/json; charset=utf-8 2025-11-21 10:02:39.5213||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:02:39.5389||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:02:39.5389||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 10:02:40.6320||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:02:40.6320||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:02:40.6320||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:02:40.6599||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:02:40.6650||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:02:40.6650||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 10:02:41.7697||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:02:41.7742||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:02:41.7742||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:02:41.7929||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:02:41.7929||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:02:41.8022||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 10:02:42.8813||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:02:42.8813||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:02:42.8813||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:02:42.9049||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:02:42.9049||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:02:42.9127||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 10:02:43.9899||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:02:43.9899||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:02:43.9899||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:02:44.0103||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:02:44.0103||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:02:44.0103||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 10:02:45.0999||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:02:45.0999||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:02:45.0999||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:02:45.1226||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:02:45.1323|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; 2025-11-21 10:02:45.1792|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (42ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[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 2025-11-21 10:02:45.1792|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' 2025-11-21 10:02:45.1792|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:02:45.1945|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' 2025-11-21 10:02:45.1945|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)) 2025-11-21 10:02:45.1945|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:02:45.2083|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)) 2025-11-21 10:02:45.2083|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:02:45.2083|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:02:45.2083|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' 2025-11-21 10:02:45.2268|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)) 2025-11-21 10:02:45.2268|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:02:45.2268|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)) 2025-11-21 10:02:45.2734|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]]'. 2025-11-21 10:02:45.2734|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6910.0921ms 2025-11-21 10:02:45.2734|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 10:02:45.2734|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6942.3481ms 200 application/json; charset=utf-8 2025-11-21 10:03:21.2609|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=536 2025-11-21 10:03:21.2609|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:03:21.2609|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6.6181ms 204 2025-11-21 10:03:21.5141|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=536 2025-11-21 10:03:21.5141|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:03:21.5141|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 10:03:21.5141|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:03:21.5141|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=209 2025-11-21 10:03:21.5141|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 10:03:21.5243|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:03:21.5243|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:03:21.5243|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:03:21.5243|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:03:21.5243|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 14.0167ms 204 2025-11-21 10:03:21.5243|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 10:03:21.5243|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 16.0177ms 204 2025-11-21 10:03:21.5243|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 17.2403ms 204 2025-11-21 10:03:21.5413|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). 2025-11-21 10:03:21.5413|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:03:21.5413|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)) 2025-11-21 10:03:21.5413|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]]'. 2025-11-21 10:03:21.5413|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 6.2435ms 2025-11-21 10:03:21.5413|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 10:03:21.5413|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 40.1623ms 200 application/json; charset=utf-8 2025-11-21 10:03:21.5896|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 10:03:21.5896|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=209 2025-11-21 10:03:21.5896|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 10:03:21.5896|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:03:21.5896|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:03:21.5896|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:03:21.5896|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:03:21.5896|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:03:21.6026|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:03:21.6026|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:03:21.6026|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:03:21.6026|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:03:21.6026|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 10:03:21.6026|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 10:03:21.6026|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 10:03:21.6170|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). 2025-11-21 10:03:21.6170|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). 2025-11-21 10:03:21.6170|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). 2025-11-21 10:03:21.6170|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:03:21.6170|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:03:21.6170||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 209 2025-11-21 10:03:21.6170|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 2025-11-21 10:03:21.6327|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)) 2025-11-21 10:03:21.6327|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]]'. 2025-11-21 10:03:21.6327||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 10:03:21.6327||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 10:03:21.6327|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 16.053ms 2025-11-21 10:03:21.6327||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/80 2025-11-21 10:03:21.6327||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/80 2025-11-21 10:03:21.6327|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 10:03:21.6327|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 58.1729ms 200 application/json; charset=utf-8 2025-11-21 10:03:21.6614||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 2025-11-21 10:03:21.6614||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 2025-11-21 10:03:21.6656||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 10:03:21.6656||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:03:21.6656||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 10:03:21.6656||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0112012335 2025-11-21 10:03:22.7582||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:03:22.7582||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:03:22.7582||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:03:22.7582||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:03:22.7582||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 10:03:22.7582|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]]'. 2025-11-21 10:03:22.7582|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1146.6637ms 2025-11-21 10:03:22.7746|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 10:03:22.7746|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1186.4951ms 200 application/json; charset=utf-8 2025-11-21 10:03:22.7746||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:03:22.7746||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:03:22.7746||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011201233545 2025-11-21 10:03:23.8714||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:03:23.8714||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:03:23.8714||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:03:23.8926||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:03:23.9033|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (4ms) [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; 2025-11-21 10:03:23.9033|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; 2025-11-21 10:03:23.9033|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 2025-11-21 10:03:23.9033|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:03:23.9033|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:03:23.9173|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:03:23.9173|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:03:23.9600|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]]'. 2025-11-21 10:03:23.9642|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 2340.7935ms 2025-11-21 10:03:23.9642|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 10:03:23.9642|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2378.5144ms 200 application/json; charset=utf-8 2025-11-21 10:04:07.1879|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 10:04:07.1879|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 10:04:07.1879|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 10:04:07.1879|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:04:07.1879|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:04:07.1986|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:04:07.1986|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.8234ms 204 2025-11-21 10:04:07.1986|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 14.2335ms 204 2025-11-21 10:04:07.1986|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 16.626ms 204 2025-11-21 10:04:07.1986|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 10:04:07.1986|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 10:04:07.1986|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 10:04:07.1986|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:04:07.1986|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:04:07.2141|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:04:07.2141|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:04:07.2141|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:04:07.2141|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:04:07.2141|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:04:07.2141|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:04:07.2141|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:04:07.2141|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 10:04:07.2141|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 10:04:07.2141|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 10:04:07.2141|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). 2025-11-21 10:04:07.2141|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). 2025-11-21 10:04:07.2141|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). 2025-11-21 10:04:07.2141|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:04:07.2141|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:04:07.2141||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 10:04:07.2330|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)) 2025-11-21 10:04:07.2330|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 2025-11-21 10:04:07.2330||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 10:04:07.2330||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 10:04:07.2330|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]]'. 2025-11-21 10:04:07.2330||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 10:04:07.2330|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 16.8454ms 2025-11-21 10:04:07.2330||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 10:04:07.2458|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 10:04:07.2458|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 41.7477ms 200 application/json; charset=utf-8 2025-11-21 10:04:07.2654||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 10:04:07.2654||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 10:04:07.2654||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:04:07.2654||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 10:04:07.2654||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 10:04:07.2768||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 10:04:08.3525||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:04:08.3587||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:04:08.3587||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:04:08.3733||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:04:08.3733||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 10:04:08.3733|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]]'. 2025-11-21 10:04:08.3733||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:04:08.3733|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1156.3226ms 2025-11-21 10:04:08.3893|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 10:04:08.3893|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1183.0361ms 200 application/json; charset=utf-8 2025-11-21 10:04:08.3893||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:04:08.3893||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 10:04:09.4998||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:04:09.4998||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:04:09.4998||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:04:09.5234||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:04:09.5280||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:04:09.5280||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 10:04:10.6053||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:04:10.6053||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:04:10.6053||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:04:10.6268||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:04:10.6268||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:04:10.6268||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 10:04:11.7175||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:04:11.7175||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:04:11.7175||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:04:11.7445||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:04:11.7495||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:04:11.7495||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 10:04:12.8404||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:04:12.8404||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:04:12.8404||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:04:12.8591||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:04:12.8591||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:04:12.8591||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 10:04:13.9495||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:04:13.9495||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:04:13.9495||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:04:13.9700||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:04:13.9700|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; 2025-11-21 10:04:14.0208|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)) ORDER BY [s].[DateCreated] DESC 2025-11-21 10:04:14.0259|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' 2025-11-21 10:04:14.0259|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:04:14.0259|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:04:14.0259|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:04:14.0259|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:04:14.0425|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:04:14.0425|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:04:14.0425|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)) 2025-11-21 10:04:14.0425|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' 2025-11-21 10:04:14.0591|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:04:14.0591|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:04:14.0591|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)) 2025-11-21 10:04:14.1090|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]]'. 2025-11-21 10:04:14.1090|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6887.3758ms 2025-11-21 10:04:14.1090|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 10:04:14.1090|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6912.4574ms 200 application/json; charset=utf-8 2025-11-21 10:06:22.5161|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=209 2025-11-21 10:06:22.5161|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:06:22.5161|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 10:06:22.5161|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 10:06:22.5161|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4.1012ms 204 2025-11-21 10:06:22.5161|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:06:22.5161|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:06:22.5161|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6.1499ms 204 2025-11-21 10:06:22.5270|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.0837ms 204 2025-11-21 10:06:22.5270|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=209 2025-11-21 10:06:22.5270|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:06:22.5270|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 10:06:22.5270|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 10:06:22.5270|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:06:22.5420|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:06:22.5420|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:06:22.5420|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:06:22.5420|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 10:06:22.5420|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:06:22.5420|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:06:22.5420|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). 2025-11-21 10:06:22.5420|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:06:22.5420|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:06:22.5420|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:06:22.5420|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 10:06:22.5420|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 10:06:22.5584|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). 2025-11-21 10:06:22.5584|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)) 2025-11-21 10:06:22.5584|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). 2025-11-21 10:06:22.5584|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:06:22.5584||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 209 2025-11-21 10:06:22.5584||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 10:06:22.5584|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 2025-11-21 10:06:22.5584||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 10:06:22.5584||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/80 2025-11-21 10:06:22.5584|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]]'. 2025-11-21 10:06:22.5584||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/80 2025-11-21 10:06:22.5584|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 11.1423ms 2025-11-21 10:06:22.5746|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 10:06:22.5746|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 36.5702ms 200 application/json; charset=utf-8 2025-11-21 10:06:22.5746||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 2025-11-21 10:06:22.5886||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:06:22.5886||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 2025-11-21 10:06:22.5886||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0112012335 2025-11-21 10:06:22.5886||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 10:06:22.5886||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 10:06:23.6859||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:06:23.6859||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:06:23.6859||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 10:06:23.6859||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:06:23.6859|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]]'. 2025-11-21 10:06:23.6859||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:06:23.6983|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1134.671ms 2025-11-21 10:06:23.6983|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 10:06:23.6983|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1164.393ms 200 application/json; charset=utf-8 2025-11-21 10:06:23.6983||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:06:23.7143||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:06:23.7143||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011201233545 2025-11-21 10:06:24.8102||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:06:24.8102||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:06:24.8102||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:06:24.8276||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:06:24.8276|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [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; 2025-11-21 10:06:24.8276|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; 2025-11-21 10:06:24.8435|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 2025-11-21 10:06:24.8435|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:06:24.8435|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)) 2025-11-21 10:06:24.8560|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' 2025-11-21 10:06:24.8560|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)) 2025-11-21 10:06:24.9358|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]]'. 2025-11-21 10:06:24.9358|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 2384.2844ms 2025-11-21 10:06:24.9358|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 10:06:24.9358|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2405.0068ms 200 application/json; charset=utf-8 2025-11-21 10:06:29.1068|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 10:06:29.1068|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 10:06:29.1068|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:06:29.1068|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:06:29.1136|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6.7692ms 204 2025-11-21 10:06:29.1136|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.0255ms 204 2025-11-21 10:06:29.1398|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 10:06:29.1398|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 10:06:29.1398|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:06:29.1398|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:06:29.1398|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:06:29.1468|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:06:29.1468|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:06:29.1468|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:06:29.1468|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 10:06:29.1468|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 10:06:29.1468|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). 2025-11-21 10:06:29.1468|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). 2025-11-21 10:06:29.1468|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:06:29.1468|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:06:29.1620|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] 2025-11-21 10:06:29.1620|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]]'. 2025-11-21 10:06:29.1620|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 12.4027ms 2025-11-21 10:06:29.1620|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 10:06:29.1620|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 30.2047ms 200 application/json; charset=utf-8 2025-11-21 10:06:29.1991|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (39ms) [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] 2025-11-21 10:06:29.2245|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]]'. 2025-11-21 10:06:29.2245|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 71.3289ms 2025-11-21 10:06:29.2245|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 10:06:29.2245|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 91.2171ms 200 application/json; charset=utf-8 2025-11-21 10:08:27.8519|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=552 2025-11-21 10:08:27.8577|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:08:27.8577|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.445ms 204 2025-11-21 10:08:27.8577|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=552 2025-11-21 10:08:27.8732|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:08:27.8732|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:08:27.8732|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:08:27.8732|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 10:08:27.8732|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). 2025-11-21 10:08:27.8732|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:08:27.8732|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)) 2025-11-21 10:08:27.8732|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]]'. 2025-11-21 10:08:27.8899|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 7.8546ms 2025-11-21 10:08:27.8899|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 10:08:27.8899|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 22.4789ms 200 application/json; charset=utf-8 2025-11-21 10:08:28.4526|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 10:08:28.4526|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=212 2025-11-21 10:08:28.4526|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 10:08:28.4526|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:08:28.4526|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:08:28.4526|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:08:28.4526|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.0015ms 204 2025-11-21 10:08:28.4526|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.5761ms 204 2025-11-21 10:08:28.4526|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.8077ms 204 2025-11-21 10:08:28.4867|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 10:08:28.4867|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 10:08:28.4867|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=212 2025-11-21 10:08:28.4867|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:08:28.4867|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:08:28.4981|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:08:28.4981|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:08:28.4981|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:08:28.4981|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:08:28.4981|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:08:28.4981|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:08:28.4981|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 10:08:28.4981|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 10:08:28.4981|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:08:28.4981|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). 2025-11-21 10:08:28.4981|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). 2025-11-21 10:08:28.5155|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 10:08:28.5155||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 212 2025-11-21 10:08:28.5155|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:08:28.5155|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). 2025-11-21 10:08:28.5155||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 10:08:28.5155|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:08:28.5155|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 2025-11-21 10:08:28.5313|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]]'. 2025-11-21 10:08:28.5313||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/80 2025-11-21 10:08:28.5313|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 12.79ms 2025-11-21 10:08:28.5313|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)) 2025-11-21 10:08:28.5313|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 10:08:28.5313||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 10:08:28.5313|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 52.1544ms 200 application/json; charset=utf-8 2025-11-21 10:08:28.5313||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/80 2025-11-21 10:08:28.5509||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 2025-11-21 10:08:28.5509||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 10:08:28.5509||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 10:08:28.5509||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 2025-11-21 10:08:28.5644||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:08:28.5644||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0112012342 2025-11-21 10:08:29.6539||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:08:29.6588||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 10:08:29.6588||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:08:29.6588|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]]'. 2025-11-21 10:08:29.6588|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1149.1896ms 2025-11-21 10:08:29.6588||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:08:29.6588|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 10:08:29.6716|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1184.7829ms 200 application/json; charset=utf-8 2025-11-21 10:08:29.6716||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:08:29.6716||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:08:29.6882||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:08:29.6882||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011201234224 2025-11-21 10:08:30.7808||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:08:30.7808||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:08:30.7808||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:08:30.8025||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:08:30.8025|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p4='?' (DbType = Int64), @p0='?' (DbType = Decimal), @p1='?' (DbType = DateTime2), @p2='?' (DbType = DateTime2), @p3='?' (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; 2025-11-21 10:08:30.8107|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p4='?' (DbType = Int64), @p0='?' (DbType = Decimal), @p1='?' (DbType = DateTime2), @p2='?' (DbType = DateTime2), @p3='?' (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; 2025-11-21 10:08:30.8107|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 2025-11-21 10:08:30.8107|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:08:30.8107|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:08:30.8107|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:08:30.8249|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:08:30.8712|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]]'. 2025-11-21 10:08:30.8712|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 2348.5412ms 2025-11-21 10:08:30.8712|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 10:08:30.8712|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2391.1529ms 200 application/json; charset=utf-8 2025-11-21 10:08:31.3096|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 10:08:31.3096|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 10:08:31.3096|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 10:08:31.3120|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:08:31.3120|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:08:31.3120|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:08:31.3120|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.0179ms 204 2025-11-21 10:08:31.3120|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.0332ms 204 2025-11-21 10:08:31.3120|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.5939ms 204 2025-11-21 10:08:31.5054|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 10:08:31.5054|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() 2025-11-21 10:08:31.5054|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'. 2025-11-21 10:08:31.5054|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:08:31.5054|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2025-11-21 10:08:31.5141|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2025-11-21 10:08:31.5141|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.893ms 401 2025-11-21 10:08:31.5141|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 10:08:31.5141|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 10:08:31.5141|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() 2025-11-21 10:08:31.5321|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() 2025-11-21 10:08:31.5321|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'. 2025-11-21 10:08:31.5321|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'. 2025-11-21 10:08:31.5321|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:08:31.5321|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:08:31.5321|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2025-11-21 10:08:31.5321|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2025-11-21 10:08:31.5321|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2025-11-21 10:08:31.5321|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2025-11-21 10:08:31.5321|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 14.3518ms 401 2025-11-21 10:08:31.5321|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 15.0671ms 401 2025-11-21 10:08:35.5302|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=492 2025-11-21 10:08:35.5302|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:08:35.5302|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.206ms 204 2025-11-21 10:08:35.5454|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=492 2025-11-21 10:08:35.5454|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:08:35.5454|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:08:35.5454|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011201234224 2025-11-21 10:08:35.5454|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:08:35.5454|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:08:35.5454|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 10:08:35.5454|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:08:35.5606|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). 2025-11-21 10:08:35.5606|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 10:08:35.5606|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2025-11-21 10:08:35.5606|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 10:08:35.5606|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 10:08:35.5606|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:08:35.5606|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:08:35.5606|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:08:35.5606|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:08:35.5763|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). 2025-11-21 10:08:35.5763|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 18.1368ms 204 2025-11-21 10:08:35.5763|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 18.6771ms 204 2025-11-21 10:08:35.5763|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)) 2025-11-21 10:08:35.5763|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 19.8462ms 204 2025-11-21 10:08:35.5763|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:08:35.5763|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 10:08:35.5763|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 10:08:35.5763|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]]'. 2025-11-21 10:08:35.5763|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 10:08:35.5763|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:08:35.5918|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:08:35.5918|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 27.0593ms 2025-11-21 10:08:35.5918|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:08:35.5918|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:08:35.5918|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:08:35.5918|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 10:08:35.5918|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 56.0797ms 200 application/json; charset=utf-8 2025-11-21 10:08:35.5918|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:08:35.5918|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:08:35.5918|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:08:35.5918|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 10:08:35.5918|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 10:08:35.5918|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:08:35.6080|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). 2025-11-21 10:08:35.6080|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). 2025-11-21 10:08:35.6080|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 10:08:35.6080|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)) 2025-11-21 10:08:35.6080|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:08:35.6080||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 10:08:35.6080|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). 2025-11-21 10:08:35.6080|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:08:35.6080|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)) 2025-11-21 10:08:35.6236|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]]'. 2025-11-21 10:08:35.6236||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 10:08:35.6236|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 2025-11-21 10:08:35.6236||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 10:08:35.6236|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 46.6543ms 2025-11-21 10:08:35.6236||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 10:08:35.6236|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]]'. 2025-11-21 10:08:35.6236|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2025-11-21 10:08:35.6236||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 10:08:35.6236|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 16.3872ms 2025-11-21 10:08:35.6396|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 88.2198ms 200 application/json; charset=utf-8 2025-11-21 10:08:35.6396|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 10:08:35.6396|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 57.0626ms 200 application/json; charset=utf-8 2025-11-21 10:08:35.6559||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 10:08:35.6559||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 10:08:35.6559||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 10:08:35.6559||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:08:35.6559||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 10:08:35.6559||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 10:08:36.7512||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:08:36.7512||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:08:36.7512||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 10:08:36.7512||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:08:36.7512|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]]'. 2025-11-21 10:08:36.7512|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1149.0164ms 2025-11-21 10:08:36.7512||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:08:36.7637|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 10:08:36.7637|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1180.9282ms 200 application/json; charset=utf-8 2025-11-21 10:08:36.7637||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:08:36.7816||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:08:36.7816||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 10:08:37.8585||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:08:37.8585||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:08:37.8585||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:08:37.8813||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:08:37.8813||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:08:37.8896||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 10:08:38.9701||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:08:38.9701||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:08:38.9701||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:08:38.9891||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:08:38.9891||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:08:38.9891||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 10:08:40.0776||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:08:40.0776||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:08:40.0776||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:08:40.0993||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:08:40.0993||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:08:40.0993||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 10:08:41.1881||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:08:41.1881||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:08:41.1881||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:08:41.2084||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:08:41.2084||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:08:41.2084||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 10:08:42.2977||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:08:42.2977||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:08:42.2977||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:08:42.3158||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:08:42.3158|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; 2025-11-21 10:08:42.3589|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)) ORDER BY [s].[DateCreated] DESC 2025-11-21 10:08:42.3589|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' 2025-11-21 10:08:42.3589|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:08:42.3589|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:08:42.3589|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:08:42.3761|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:08:42.3761|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)) 2025-11-21 10:08:42.3761|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' 2025-11-21 10:08:42.3892|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)) 2025-11-21 10:08:42.3892|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:08:42.3892|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)) 2025-11-21 10:08:42.3892|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:08:42.4087|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)) 2025-11-21 10:08:42.4498|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]]'. 2025-11-21 10:08:42.4533|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6841.4936ms 2025-11-21 10:08:42.4533|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 10:08:42.4533|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6871.0341ms 200 application/json; charset=utf-8 2025-11-21 10:08:56.1736|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011201234224 2025-11-21 10:08:56.1736|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:08:56.1736|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:08:56.1736|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2025-11-21 10:08:56.1736|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). 2025-11-21 10:08:56.1736|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:08:56.1891|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)) 2025-11-21 10:08:56.1891|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]]'. 2025-11-21 10:08:56.1891|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 11.4304ms 2025-11-21 10:08:56.1891|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2025-11-21 10:08:56.1891|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 24.1334ms 200 application/json; charset=utf-8 2025-11-21 10:08:57.5274|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011201234224 2025-11-21 10:08:57.5301|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:08:57.5301|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:08:57.5301|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2025-11-21 10:08:57.5301|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). 2025-11-21 10:08:57.5301|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:08:57.5301|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)) 2025-11-21 10:08:57.5463|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]]'. 2025-11-21 10:08:57.5463|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 11.0058ms 2025-11-21 10:08:57.5463|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2025-11-21 10:08:57.5463|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 26.3678ms 200 application/json; charset=utf-8 2025-11-21 10:09:22.0195|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 10:09:22.0195|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 10:09:22.0195|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:09:22.0195|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:09:22.0195|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.5311ms 204 2025-11-21 10:09:22.0195|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.0047ms 204 2025-11-21 10:09:22.0339|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 10:09:22.0339|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 10:09:22.0339|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() 2025-11-21 10:09:22.0339|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() 2025-11-21 10:09:22.0339|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'. 2025-11-21 10:09:22.0455|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'. 2025-11-21 10:09:22.0455|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:09:22.0455|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:09:22.0455|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2025-11-21 10:09:22.0455|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2025-11-21 10:09:22.0455|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2025-11-21 10:09:22.0455|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2025-11-21 10:09:22.0455|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 24.7761ms 401 2025-11-21 10:09:22.0455|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 26.6622ms 401 2025-11-21 10:09:22.1340|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 10:09:22.1340|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:09:22.1391|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:09:22.1391|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:09:22.1391|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 10:09:22.1391|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). 2025-11-21 10:09:22.1391|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:09:22.1613|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] 2025-11-21 10:09:22.1613|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 10:09:22.1613|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:09:22.1613|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:09:22.1613|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:09:22.1702|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 10:09:22.1702|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). 2025-11-21 10:09:22.1702|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:09:22.1702|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]]'. 2025-11-21 10:09:22.1702|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] 2025-11-21 10:09:22.1702|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 33.3328ms 2025-11-21 10:09:22.1702|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]]'. 2025-11-21 10:09:22.1702|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 10:09:22.1702|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 11.3119ms 2025-11-21 10:09:22.1857|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 10:09:22.1857|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 53.544ms 200 application/json; charset=utf-8 2025-11-21 10:09:22.1857|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 10:09:22.1857|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:09:22.1857|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 30.1996ms 200 application/json; charset=utf-8 2025-11-21 10:09:22.1857|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:09:22.1857|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:09:22.1857|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 10:09:22.2026|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). 2025-11-21 10:09:22.2026|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:09:22.2026|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] 2025-11-21 10:09:22.2259|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]]'. 2025-11-21 10:09:22.2259|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 23.6367ms 2025-11-21 10:09:22.2259|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 10:09:22.2259|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 45.6923ms 200 application/json; charset=utf-8 2025-11-21 10:09:48.6503|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 10:09:48.6503|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:09:48.6503|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2.4486ms 204 2025-11-21 10:09:48.6503|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 10:09:48.6503|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=209 2025-11-21 10:09:48.6605|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:09:48.6605|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:09:48.6605|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.2587ms 204 2025-11-21 10:09:48.6605|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.6911ms 204 2025-11-21 10:09:48.8184|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 10:09:48.8184|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 10:09:48.8184|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=209 2025-11-21 10:09:48.8184|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:09:48.8184|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:09:48.8184|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:09:48.8184|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:09:48.8184|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:09:48.8184|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:09:48.8320|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:09:48.8320|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:09:48.8320|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:09:48.8320|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 10:09:48.8320|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 10:09:48.8320|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 10:09:48.8320|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). 2025-11-21 10:09:48.8320|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). 2025-11-21 10:09:48.8320|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). 2025-11-21 10:09:48.8320|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:09:48.8320||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 209 2025-11-21 10:09:48.8479|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:09:48.8479|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 2025-11-21 10:09:48.8479|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]]'. 2025-11-21 10:09:48.8479||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 10:09:48.8479|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)) 2025-11-21 10:09:48.8479|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 11.4139ms 2025-11-21 10:09:48.8479|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 10:09:48.8479||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/80 2025-11-21 10:09:48.8479|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 41.5417ms 200 application/json; charset=utf-8 2025-11-21 10:09:48.8479||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 10:09:48.8641||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/80 2025-11-21 10:09:48.8789||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 2025-11-21 10:09:48.8789||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 2025-11-21 10:09:48.8789||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 10:09:48.8789||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:09:48.8789||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 10:09:48.8789||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0112012335 2025-11-21 10:09:49.9713||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:09:49.9738||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:09:49.9738||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:09:49.9738||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:09:49.9738||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 10:09:49.9738|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]]'. 2025-11-21 10:09:49.9738|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1139.9195ms 2025-11-21 10:09:49.9738|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 10:09:49.9885||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:09:49.9885|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1170.8072ms 200 application/json; charset=utf-8 2025-11-21 10:09:49.9885||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:09:49.9885||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011201233545 2025-11-21 10:09:51.0781||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:09:51.0825||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:09:51.0825||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:09:51.0991||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:09:51.0991|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; 2025-11-21 10:09:51.0991|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; 2025-11-21 10:09:51.1124|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 2025-11-21 10:09:51.1124|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:09:51.1124|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:09:51.1124|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:09:51.1124|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:09:51.1554|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]]'. 2025-11-21 10:09:51.1554|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 2310.0114ms 2025-11-21 10:09:51.1554|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 10:09:51.1596|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2338.4653ms 200 application/json; charset=utf-8 2025-11-21 10:09:53.3434|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 10:09:53.3434|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 10:09:53.3467|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:09:53.3467|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:09:53.3467|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6.5795ms 204 2025-11-21 10:09:53.3467|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.8808ms 204 2025-11-21 10:09:53.3845|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 10:09:53.3845|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:09:53.3845|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 10:09:53.3845|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:09:53.3845|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:09:53.3845|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:09:53.3845|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:09:53.3845|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 10:09:53.3942|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:09:53.3942|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). 2025-11-21 10:09:53.3942|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 10:09:53.3942|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:09:53.3942|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). 2025-11-21 10:09:53.3942|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:09:53.3942|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] 2025-11-21 10:09:53.3942|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]]'. 2025-11-21 10:09:53.3942|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 7.1102ms 2025-11-21 10:09:53.3942|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 10:09:53.4098|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 25.2213ms 200 application/json; charset=utf-8 2025-11-21 10:09:53.4098|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] 2025-11-21 10:09:53.4098|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]]'. 2025-11-21 10:09:53.4098|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 19.7116ms 2025-11-21 10:09:53.4098|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 10:09:53.4249|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 38.5722ms 200 application/json; charset=utf-8 2025-11-21 10:12:00.7899|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 10:12:00.7899|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 10:12:00.7899|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 10:12:00.7899|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:12:00.7899|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:12:00.7899|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:12:00.7899|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.3667ms 204 2025-11-21 10:12:00.7899|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.7212ms 204 2025-11-21 10:12:00.8049|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 13.7762ms 204 2025-11-21 10:12:00.8049|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 10:12:00.8049|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 10:12:00.8049|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 10:12:00.8049|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:12:00.8191|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:12:00.8191|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:12:00.8191|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:12:00.8191|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:12:00.8191|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:12:00.8191|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:12:00.8191|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:12:00.8191|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:12:00.8191|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 10:12:00.8191|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 10:12:00.8191|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 10:12:00.8191|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). 2025-11-21 10:12:00.8191|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). 2025-11-21 10:12:00.8191|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). 2025-11-21 10:12:00.8191|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:12:00.8353|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:12:00.8353||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 10:12:00.8353|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)) 2025-11-21 10:12:00.8353|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 2025-11-21 10:12:00.8353||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 10:12:00.8353||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 10:12:00.8353|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]]'. 2025-11-21 10:12:00.8353||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 10:12:00.8353|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 14.2749ms 2025-11-21 10:12:00.8353||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 10:12:00.8510|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 10:12:00.8510|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 39.1407ms 200 application/json; charset=utf-8 2025-11-21 10:12:00.8669||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 10:12:00.8669||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 10:12:00.8669||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 10:12:00.8669||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:12:00.8669||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 10:12:00.8669||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 10:12:01.9588||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:12:01.9624||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:12:01.9624||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:12:01.9624||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:12:01.9624||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 10:12:01.9624|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]]'. 2025-11-21 10:12:01.9754|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1139.6084ms 2025-11-21 10:12:01.9754|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 10:12:01.9754|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1163.1909ms 200 application/json; charset=utf-8 2025-11-21 10:12:01.9754||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:12:01.9754||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:12:01.9754||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 10:12:03.0705||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:12:03.0705||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:12:03.0705||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:12:03.0888||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:12:03.0888||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:12:03.0888||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 10:12:04.1789||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:12:04.1789||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:12:04.1789||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:12:04.2014||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:12:04.2014||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:12:04.2014||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 10:12:05.2914||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:12:05.2914||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:12:05.2914||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:12:05.3147||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:12:05.3147||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:12:05.3207||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 10:12:06.4006||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:12:06.4006||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:12:06.4006||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:12:06.4246||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:12:06.4246||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:12:06.4320||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 10:12:07.3596|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 10:12:07.3596|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 10:12:07.3596|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 10:12:07.3596|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:12:07.3596|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:12:07.3694|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:12:07.3694|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 14.7993ms 204 2025-11-21 10:12:07.3694|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 17.1437ms 204 2025-11-21 10:12:07.3694|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 18.4255ms 204 2025-11-21 10:12:07.3857|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 10:12:07.3857|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 10:12:07.3857|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 10:12:07.3857|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:12:07.3857|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:12:07.3992|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:12:07.3992|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:12:07.3992|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:12:07.3992|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:12:07.3992|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:12:07.4151|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 10:12:07.3992|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:12:07.3992|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:12:07.4151|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). 2025-11-21 10:12:07.4151|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 10:12:07.4151|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 10:12:07.4151|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:12:07.4310|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). 2025-11-21 10:12:07.4310|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). 2025-11-21 10:12:07.4310||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 10:12:07.4310|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 2025-11-21 10:12:07.4310|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:12:07.4310|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]]'. 2025-11-21 10:12:07.4310||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 10:12:07.4483|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)) 2025-11-21 10:12:07.4483|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 20.5029ms 2025-11-21 10:12:07.4483||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 10:12:07.4483|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 10:12:07.4483||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 10:12:07.4483|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 74.9407ms 200 application/json; charset=utf-8 2025-11-21 10:12:07.4649||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 10:12:07.4784||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 10:12:07.4784||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 10:12:07.4784||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 10:12:07.4784||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 10:12:07.4784||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:12:07.4784||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 10:12:07.5189||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:12:07.5189||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:12:07.5259||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:12:07.5259||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:12:07.5427|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; 2025-11-21 10:12:07.5427|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 2025-11-21 10:12:07.5427|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:12:07.5550|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:12:07.5550|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:12:07.5550|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:12:07.5550|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:12:07.5550|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)) 2025-11-21 10:12:07.5738|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:12:07.5738|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)) 2025-11-21 10:12:07.5738|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:12:07.5867|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:12:07.5867|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:12:07.5867|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:12:07.6447|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]]'. 2025-11-21 10:12:07.6447|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6813.7505ms 2025-11-21 10:12:07.6447|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 10:12:07.6495|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6834.5495ms 200 application/json; charset=utf-8 2025-11-21 10:12:08.5748||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:12:08.5748||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:12:08.5748||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 10:12:08.5748||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:12:08.5748|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]]'. 2025-11-21 10:12:08.5863|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1148.3678ms 2025-11-21 10:12:08.5863||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:12:08.5863|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 10:12:08.5863|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1200.5842ms 200 application/json; charset=utf-8 2025-11-21 10:12:08.6016||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:12:08.6016||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:12:08.6016||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 10:12:09.2847|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 10:12:09.2847|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 10:12:09.2847|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:12:09.2897|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:12:09.2897|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6.8039ms 204 2025-11-21 10:12:09.2897|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.2953ms 204 2025-11-21 10:12:09.2897|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 10:12:09.2897|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 10:12:09.2897|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:12:09.2897|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:12:09.3054|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:12:09.3054|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:12:09.3054|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:12:09.3054|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:12:09.3054|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 10:12:09.3054|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 10:12:09.3054|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). 2025-11-21 10:12:09.3054|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). 2025-11-21 10:12:09.3054|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:12:09.3054|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:12:09.3221|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] 2025-11-21 10:12:09.3221|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]]'. 2025-11-21 10:12:09.3221|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 8.1588ms 2025-11-21 10:12:09.3221|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] 2025-11-21 10:12:09.3221|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 10:12:09.3221|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 28.8234ms 200 application/json; charset=utf-8 2025-11-21 10:12:09.3221|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]]'. 2025-11-21 10:12:09.3221|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 17.3688ms 2025-11-21 10:12:09.3364|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 10:12:09.3364|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 38.394ms 200 application/json; charset=utf-8 2025-11-21 10:12:09.6946||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:12:09.6989||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:12:09.6989||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:12:09.7147||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:12:09.7147||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:12:09.7147||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 10:12:10.7913||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:12:10.7913||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:12:10.7913||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:12:10.8176||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:12:10.8231||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:12:10.8231||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 10:12:11.8941||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:12:11.8941||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:12:11.9018||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:12:11.9152||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:12:11.9152||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:12:11.9152||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 10:12:13.0048||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:12:13.0084||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:12:13.0084||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:12:13.0238||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:12:13.0238||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:12:13.0238||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 10:12:14.0998||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:12:14.1045||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:12:14.1045||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:12:14.1241||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:12:14.1241|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; 2025-11-21 10:12:14.1368|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 2025-11-21 10:12:14.1368|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:12:14.1368|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:12:14.1368|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:12:14.1524|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)) 2025-11-21 10:12:14.1524|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:12:14.1524|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)) 2025-11-21 10:12:14.1524|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:12:14.1657|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:12:14.1657|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:12:14.1657|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:12:14.1657|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:12:14.1657|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:12:14.2156|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]]'. 2025-11-21 10:12:14.2156|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6778.6606ms 2025-11-21 10:12:14.2156|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 10:12:14.2156|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6831.963ms 200 application/json; charset=utf-8 2025-11-21 10:12:16.0551|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 10:12:16.0551|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 10:12:16.0551|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 10:12:16.0551|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:12:16.0551|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:12:16.0551|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:12:16.0551|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.7663ms 204 2025-11-21 10:12:16.0551|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.6401ms 204 2025-11-21 10:12:16.0707|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 10:12:16.0707|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 15.2802ms 204 2025-11-21 10:12:16.0707|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 10:12:16.0707|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 10:12:16.0707|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:12:16.0707|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:12:16.0707|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:12:16.0707|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:12:16.0707|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:12:16.0707|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:12:16.0707|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:12:16.0707|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:12:16.0707|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:12:16.0866|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 10:12:16.0866|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 10:12:16.0866|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 10:12:16.0866|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). 2025-11-21 10:12:16.0866|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). 2025-11-21 10:12:16.0866|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). 2025-11-21 10:12:16.0866|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:12:16.0866||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 10:12:16.0866|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:12:16.1065|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 2025-11-21 10:12:16.1065||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 10:12:16.1065|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]]'. 2025-11-21 10:12:16.1065||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 10:12:16.1065|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 14.2197ms 2025-11-21 10:12:16.1065|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 10:12:16.1172|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 43.4259ms 200 application/json; charset=utf-8 2025-11-21 10:12:16.1172||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 10:12:16.1172||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 10:12:16.1338||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 10:12:16.1497|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (48ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:12:16.1497||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 10:12:16.1497||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 10:12:16.1728||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 10:12:16.1728||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:12:16.1728||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 10:12:17.2244||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:12:17.2282||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 10:12:17.2282|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]]'. 2025-11-21 10:12:17.2282|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1136.0176ms 2025-11-21 10:12:17.2282|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 10:12:17.2282|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1162.7608ms 200 application/json; charset=utf-8 2025-11-21 10:12:17.2532||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:12:17.2532||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:12:17.2591||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:12:17.2591||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:12:17.2774||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:12:17.2774||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 10:12:18.3489||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:12:18.3535||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:12:18.3535||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:12:18.3695||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:12:18.3695||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:12:18.3695||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 10:12:19.4493||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:12:19.4493||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:12:19.4493||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:12:19.4712||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:12:19.4712||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:12:19.4777||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 10:12:20.5539||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:12:20.5577||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:12:20.5577||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:12:20.5734||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:12:20.5734||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:12:20.5734||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 10:12:21.6669||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:12:21.6669||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:12:21.6669||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:12:21.6886||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:12:21.6886||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:12:21.6967||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 10:12:22.7818||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:12:22.7818||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:12:22.7818||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:12:22.8061||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:12:22.8165|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; 2025-11-21 10:12:22.8165|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 2025-11-21 10:12:22.8165|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:12:22.8303|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:12:22.8303|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:12:22.8303|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)) 2025-11-21 10:12:22.8445|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:12:22.8445|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:12:22.8445|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:12:22.8582|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)) 2025-11-21 10:12:22.8582|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' 2025-11-21 10:12:22.8582|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)) 2025-11-21 10:12:22.8582|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:12:22.8758|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:12:22.9115|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]]'. 2025-11-21 10:12:22.9115|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6820.1228ms 2025-11-21 10:12:22.9115|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 10:12:22.9115|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6848.8545ms 200 application/json; charset=utf-8 2025-11-21 10:12:57.8752|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 10:12:57.8752|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 10:12:57.8752|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 10:12:57.8752|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:12:57.8752|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:12:57.8752|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:12:57.8752|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.2278ms 204 2025-11-21 10:12:57.8901|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 14.122ms 204 2025-11-21 10:12:57.8901|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 16.44ms 204 2025-11-21 10:13:03.9474|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 10:13:03.9474|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 10:13:03.9474|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 10:13:03.9515|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:13:03.9515|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:13:03.9515|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:13:03.9515|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:13:03.9515|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:13:03.9515|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:13:03.9671|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:13:03.9671|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:13:03.9671|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:13:03.9671|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 10:13:03.9671|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 10:13:03.9671|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 10:13:03.9671|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). 2025-11-21 10:13:03.9671|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). 2025-11-21 10:13:03.9671|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). 2025-11-21 10:13:03.9671||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 10:13:03.9671|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:13:03.9828|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:13:03.9828||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 10:13:03.9828|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 2025-11-21 10:13:03.9828||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 10:13:03.9828|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]]'. 2025-11-21 10:13:03.9828|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 13.4118ms 2025-11-21 10:13:03.9828|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 10:13:03.9828|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 50.4486ms 200 application/json; charset=utf-8 2025-11-21 10:13:04.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 2025-11-21 10:13:04.0158||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 10:13:04.0158||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 10:13:04.0158|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)) 2025-11-21 10:13:04.0158||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 10:13:04.0294||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 10:13:04.0479||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 10:13:04.0479||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:13:04.0479||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 10:13:05.1099||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:13:05.1099||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 10:13:05.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]]'. 2025-11-21 10:13:05.1099|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1139.1018ms 2025-11-21 10:13:05.1099|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 10:13:05.1099|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1173.3845ms 200 application/json; charset=utf-8 2025-11-21 10:13:05.1375||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:13:05.1424||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:13:05.1424||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:13:05.1574||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:13:05.1574||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:13:05.1574||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 10:13:06.2493||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:13:06.2493||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:13:06.2493||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:13:06.2700||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:13:06.2700||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:13:06.2700||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 10:13:07.3559||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:13:07.3591||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:13:07.3591||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:13:07.3591||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:13:07.3749||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:13:07.3749||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 10:13:08.4650||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:13:08.4703||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:13:08.4703||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:13:08.4866||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:13:08.4866||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:13:08.4866||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 10:13:09.5739||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:13:09.5779||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:13:09.5779||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:13:09.5950||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:13:09.5950||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:13:09.5950||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 10:13:10.6832||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:13:10.6878||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:13:10.6878||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:13:10.7051||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:13:10.7051|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; 2025-11-21 10:13:10.7197|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 2025-11-21 10:13:10.7197|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:13:10.7197|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:13:10.7197|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:13:10.7325|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)) 2025-11-21 10:13:10.7325|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:13:10.7325|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:13:10.7325|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:13:10.7325|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:13:10.7517|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:13:10.7517|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)) 2025-11-21 10:13:10.7517|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:13:10.7517|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)) 2025-11-21 10:13:10.8043|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]]'. 2025-11-21 10:13:10.8043|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6826.7419ms 2025-11-21 10:13:10.8043|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 10:13:10.8108|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6863.4801ms 200 application/json; charset=utf-8 2025-11-21 10:13:11.0271|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 10:13:11.0271|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 10:13:11.0302|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:13:11.0302|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:13:11.0302|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.4938ms 204 2025-11-21 10:13:11.0302|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.5977ms 204 2025-11-21 10:13:11.0302|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 10:13:11.0302|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 10:13:11.0302|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:13:11.0302|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:13:11.0302|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:13:11.0302|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:13:11.0454|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:13:11.0454|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:13:11.0454|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 10:13:11.0454|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 10:13:11.0454|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). 2025-11-21 10:13:11.0454|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). 2025-11-21 10:13:11.0454|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:13:11.0454|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:13:11.0454|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] 2025-11-21 10:13:11.0454|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]]'. 2025-11-21 10:13:11.0612|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 8.238ms 2025-11-21 10:13:11.0612|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] 2025-11-21 10:13:11.0612|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 10:13:11.0612|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 26.6162ms 200 application/json; charset=utf-8 2025-11-21 10:13:11.0612|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]]'. 2025-11-21 10:13:11.0612|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 16.4569ms 2025-11-21 10:13:11.0612|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 10:13:11.0612|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 33.8312ms 200 application/json; charset=utf-8 2025-11-21 10:13:23.5798|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=554 2025-11-21 10:13:23.5798|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:13:23.5846|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4.751ms 204 2025-11-21 10:13:23.6024|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=554 2025-11-21 10:13:23.6024|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:13:23.6024|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:13:23.6024|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:13:23.6174|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 10:13:23.6174|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). 2025-11-21 10:13:23.6174|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:13:23.6174|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)) 2025-11-21 10:13:23.6174|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]]'. 2025-11-21 10:13:23.6319|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 9.2159ms 2025-11-21 10:13:23.6319|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 10:13:23.6319|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 31.2385ms 200 application/json; charset=utf-8 2025-11-21 10:13:23.6654|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 10:13:23.6654|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:13:23.6654|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6.9898ms 204 2025-11-21 10:13:23.6944|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 10:13:23.6944|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:13:23.6944|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:13:23.6944|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:13:23.6944|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 10:13:23.6944|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). 2025-11-21 10:13:23.6944|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:13:23.7102|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 2025-11-21 10:13:23.7102|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]]'. 2025-11-21 10:13:23.7102|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 5.3056ms 2025-11-21 10:13:23.7102|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 10:13:23.7102|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 19.9365ms 200 application/json; charset=utf-8 2025-11-21 10:13:23.7723|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=212 2025-11-21 10:13:23.7723|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 10:13:23.7723|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:13:23.7723|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:13:23.7723|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.4965ms 204 2025-11-21 10:13:23.7723|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.9177ms 204 2025-11-21 10:13:23.8026|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=212 2025-11-21 10:13:23.8026|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 10:13:23.8059|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:13:23.8059|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:13:23.8059|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:13:23.8059|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:13:23.8059|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:13:23.8059|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:13:23.8059|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 10:13:23.8188|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 10:13:23.8188|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). 2025-11-21 10:13:23.8188|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). 2025-11-21 10:13:23.8188|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:13:23.8188||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 212 2025-11-21 10:13:23.8188|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)) 2025-11-21 10:13:23.8360||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 10:13:23.8360||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 10:13:23.8360||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/80 2025-11-21 10:13:23.8360||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/80 2025-11-21 10:13:23.8592||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 2025-11-21 10:13:23.8592||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 2025-11-21 10:13:23.8592||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:13:23.8668||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 10:13:23.8668||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0112012342 2025-11-21 10:13:23.8668||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 10:13:24.9481||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:13:24.9481||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:13:24.9481||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:13:24.9481||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:13:24.9481||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 10:13:24.9638||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:13:24.9638|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]]'. 2025-11-21 10:13:24.9638|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1139.636ms 2025-11-21 10:13:24.9638||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:13:24.9638|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 10:13:24.9638|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1168.8952ms 200 application/json; charset=utf-8 2025-11-21 10:13:24.9638||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011201234224 2025-11-21 10:13:26.0569||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:13:26.0569||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:13:26.0569||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:13:26.0770||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:13:26.0770|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; 2025-11-21 10:13:26.0879|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; 2025-11-21 10:13:26.0879|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 2025-11-21 10:13:26.0879|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:13:26.0879|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)) 2025-11-21 10:13:26.1050|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:13:26.1050|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:13:26.1484|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]]'. 2025-11-21 10:13:26.1515|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 2326.0669ms 2025-11-21 10:13:26.1515|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 10:13:26.1515|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2353.2334ms 200 application/json; charset=utf-8 2025-11-21 10:15:15.4418|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 10:15:15.4418|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 10:15:15.4418|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 10:15:15.4418|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:15:15.4418|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:15:15.4418|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:15:15.4418|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.794ms 204 2025-11-21 10:15:15.4418|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.0319ms 204 2025-11-21 10:15:15.4553|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.6332ms 204 2025-11-21 10:15:15.4553|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 10:15:15.4553|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 10:15:15.4553|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 10:15:15.4553|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:15:15.4553|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:15:15.4553|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:15:15.4716|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:15:15.4716|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:15:15.4716|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:15:15.4716|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:15:15.4716|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:15:15.4716|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:15:15.4716|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 10:15:15.4716|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 10:15:15.4858|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 10:15:15.4858|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). 2025-11-21 10:15:15.4858|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). 2025-11-21 10:15:15.4858|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). 2025-11-21 10:15:15.4858||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 10:15:15.4858|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:15:15.4858|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:15:15.5066||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 10:15:15.5066|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 2025-11-21 10:15:15.5066||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 10:15:15.5066|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]]'. 2025-11-21 10:15:15.5066|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)) 2025-11-21 10:15:15.5066|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 20.0375ms 2025-11-21 10:15:15.5195|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 10:15:15.5195||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 10:15:15.5195|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 58.9844ms 200 application/json; charset=utf-8 2025-11-21 10:15:15.5195||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 10:15:15.5337||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 10:15:15.5337||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 10:15:15.5337||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 10:15:15.5337||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 10:15:15.5337||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:15:15.5486||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 10:15:16.5570|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 10:15:16.5570|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 10:15:16.5570|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:15:16.5570|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:15:16.5570|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6.4507ms 204 2025-11-21 10:15:16.5657|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.7037ms 204 2025-11-21 10:15:16.5657|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 10:15:16.5657|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 10:15:16.5657|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:15:16.5657|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:15:16.5657|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:15:16.5657|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:15:16.5657|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:15:16.5813|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:15:16.5813|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 10:15:16.5813|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 10:15:16.5813|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). 2025-11-21 10:15:16.5813|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). 2025-11-21 10:15:16.5813|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:15:16.5813|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:15:16.5813|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] 2025-11-21 10:15:16.5813|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]]'. 2025-11-21 10:15:16.5957|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 7.4642ms 2025-11-21 10:15:16.5957|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 10:15:16.5957|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 30.0872ms 200 application/json; charset=utf-8 2025-11-21 10:15:16.6252||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:15:16.6252||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:15:16.6297||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 10:15:16.6297||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:15:16.6297|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]]'. 2025-11-21 10:15:16.6297|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1142.0077ms 2025-11-21 10:15:16.6297||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:15:16.6297|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 10:15:16.6297|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1178.3502ms 200 application/json; charset=utf-8 2025-11-21 10:15:16.6430|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (52ms) [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] 2025-11-21 10:15:16.6430||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:15:16.6430|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]]'. 2025-11-21 10:15:16.6430||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:15:16.6430|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 63.8356ms 2025-11-21 10:15:16.6430||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 10:15:16.6430|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 10:15:16.6430|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 87.2744ms 200 application/json; charset=utf-8 2025-11-21 10:15:17.7392||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:15:17.7392||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:15:17.7392||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:15:17.7592||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:15:17.7592||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:15:17.7592||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 10:15:18.8439||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:15:18.8476||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:15:18.8476||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:15:18.8621||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:15:18.8621||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:15:18.8621||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 10:15:19.9542||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:15:19.9577||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:15:19.9577||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:15:19.9739||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:15:19.9739||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:15:19.9739||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 10:15:21.0642||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:15:21.0670||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:15:21.0670||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:15:21.0847||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:15:21.0847||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:15:21.0847||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 10:15:22.1770||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:15:22.1770||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:15:22.1770||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:15:22.2017||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:15:22.2119|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; 2025-11-21 10:15:22.2119|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 2025-11-21 10:15:22.2215|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:15:22.2215|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:15:22.2215|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:15:22.2215|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:15:22.2215|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:15:22.2375|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:15:22.2375|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:15:22.2375|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:15:22.2375|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:15:22.2375|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:15:22.2526|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:15:22.2526|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:15:22.3126|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]]'. 2025-11-21 10:15:22.3151|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6816.2907ms 2025-11-21 10:15:22.3151|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 10:15:22.3151|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6857.0365ms 200 application/json; charset=utf-8 2025-11-21 10:16:33.4323|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=578 2025-11-21 10:16:33.4323|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:16:33.4323|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4.8868ms 204 2025-11-21 10:16:33.5710|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=578 2025-11-21 10:16:33.5710|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:16:33.5710|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:16:33.5710|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:16:33.5710|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 10:16:33.5710|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). 2025-11-21 10:16:33.5710|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:16:33.5710|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)) 2025-11-21 10:16:33.5710|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]]'. 2025-11-21 10:16:33.5827|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 5.3372ms 2025-11-21 10:16:33.5827|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 10:16:33.5827|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 13.3837ms 200 application/json; charset=utf-8 2025-11-21 10:16:56.1879|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 10:16:56.1879|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 10:16:56.1898|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 10:16:56.1898|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:16:56.1898|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:16:56.1898|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:16:56.1898|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.3985ms 204 2025-11-21 10:16:56.1898|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.8094ms 204 2025-11-21 10:16:56.1898|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.0111ms 204 2025-11-21 10:16:56.2066|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 10:16:56.2066|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 10:16:56.2066|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 10:16:56.2066|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:16:56.2066|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:16:56.2066|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:16:56.2066|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:16:56.2066|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:16:56.2066|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:16:56.2066|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:16:56.2066|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:16:56.2212|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:16:56.2212|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 10:16:56.2212|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 10:16:56.2212|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 10:16:56.2212|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). 2025-11-21 10:16:56.2212|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). 2025-11-21 10:16:56.2212|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). 2025-11-21 10:16:56.2212|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:16:56.2212||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 10:16:56.2212|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:16:56.2372|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 2025-11-21 10:16:56.2372|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]]'. 2025-11-21 10:16:56.2372|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)) 2025-11-21 10:16:56.2372||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 10:16:56.2372|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 11.4072ms 2025-11-21 10:16:56.2372||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 10:16:56.2372|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 10:16:56.2372||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 10:16:56.2372||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 10:16:56.2372|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 42.3632ms 200 application/json; charset=utf-8 2025-11-21 10:16:56.2703||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 10:16:56.2703||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 10:16:56.2703||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:16:56.2703||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 10:16:56.2703||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 10:16:56.2703||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 10:16:57.3722||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:16:57.3722||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:16:57.3781||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 10:16:57.3781||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:16:57.3781|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]]'. 2025-11-21 10:16:57.3781||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:16:57.3929|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1160.7361ms 2025-11-21 10:16:57.3929|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 10:16:57.3929|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1192.1854ms 200 application/json; charset=utf-8 2025-11-21 10:16:57.3929||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:16:57.4125||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:16:57.4125||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 10:16:58.5033||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:16:58.5033||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:16:58.5033||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:16:58.5244||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:16:58.5244||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:16:58.5244||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 10:16:59.6098||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:16:59.6148||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:16:59.6148||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:16:59.6331||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:16:59.6331||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:16:59.6331||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 10:17:00.7247||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:17:00.7247||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:17:00.7247||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:17:00.7505||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:17:00.7553||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:17:00.7553||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 10:17:01.8479||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:17:01.8479||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:17:01.8479||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:17:01.8668||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:17:01.8668||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:17:01.8668||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 10:17:02.9504||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:17:02.9548||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:17:02.9548||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:17:02.9548||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:17:02.9769|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; 2025-11-21 10:17:03.0277|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 2025-11-21 10:17:03.0333|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' 2025-11-21 10:17:03.0333|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:17:03.0333|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:17:03.0333|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:17:03.0333|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:17:03.0333|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:17:03.0491|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:17:03.0491|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:17:03.0491|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:17:03.0491|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:17:03.0663|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:17:03.0663|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)) 2025-11-21 10:17:03.1067|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]]'. 2025-11-21 10:17:03.1067|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6876.8492ms 2025-11-21 10:17:03.1126|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 10:17:03.1126|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6908.072ms 200 application/json; charset=utf-8 2025-11-21 10:18:48.2231|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 10:18:48.2231|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 10:18:48.2231|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 10:18:48.2231|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:18:48.2231|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:18:48.2231|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:18:48.2381|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 14.9937ms 204 2025-11-21 10:18:48.2381|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 17.1459ms 204 2025-11-21 10:18:48.2381|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 18.3496ms 204 2025-11-21 10:18:48.2381|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 10:18:48.2381|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 10:18:48.2381|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 10:18:48.2381|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:18:48.2521|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:18:48.2521|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:18:48.2521|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:18:48.2521|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:18:48.2521|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:18:48.2521|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:18:48.2521|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:18:48.2521|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:18:48.2671|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 10:18:48.2671|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 10:18:48.2671|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 10:18:48.2671|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). 2025-11-21 10:18:48.2671|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). 2025-11-21 10:18:48.2671|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). 2025-11-21 10:18:48.2671|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:18:48.2671|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:18:48.2843||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 10:18:48.2843|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 2025-11-21 10:18:48.2843|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]]'. 2025-11-21 10:18:48.2843||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 10:18:48.2843|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 13.0706ms 2025-11-21 10:18:48.2843|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 10:18:48.2843|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 52.1727ms 200 application/json; charset=utf-8 2025-11-21 10:18:48.2843||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 10:18:48.3189||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 10:18:48.3189||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 10:18:48.3189||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 10:18:48.3307|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)) 2025-11-21 10:18:48.3307||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 10:18:48.3307||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 10:18:48.3619||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 10:18:48.3619||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:18:48.3619||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 10:18:49.4083||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:18:49.4083||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 10:18:49.4083|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]]'. 2025-11-21 10:18:49.4083|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1132.2419ms 2025-11-21 10:18:49.4083|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 10:18:49.4083|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1171.2364ms 200 application/json; charset=utf-8 2025-11-21 10:18:49.4537||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:18:49.4576||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:18:49.4576||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:18:49.4714||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:18:49.4714||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:18:49.4714||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 10:18:50.5502||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:18:50.5502||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:18:50.5502||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:18:50.5728||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:18:50.5728||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:18:50.5728||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 10:18:51.6664||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:18:51.6664||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:18:51.6664||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:18:51.6664||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:18:51.6830||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:18:51.6830||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 10:18:52.7586||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:18:52.7637||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:18:52.7637||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:18:52.7784||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:18:52.7784||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:18:52.7784||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 10:18:53.8703||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:18:53.8703||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:18:53.8703||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:18:53.8979||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:18:53.9031||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:18:53.9031||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 10:18:54.9972||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:18:54.9972||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:18:54.9972||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:18:55.0162||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:18:55.0162|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; 2025-11-21 10:18:55.0264|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 2025-11-21 10:18:55.0264|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:18:55.0264|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:18:55.0264|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:18:55.0264|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:18:55.0408|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:18:55.0408|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:18:55.0408|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:18:55.0408|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:18:55.0408|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:18:55.0583|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)) 2025-11-21 10:18:55.0583|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' 2025-11-21 10:18:55.0583|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:18:55.1122|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]]'. 2025-11-21 10:18:55.1122|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6835.0612ms 2025-11-21 10:18:55.1122|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 10:18:55.1122|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6874.3512ms 200 application/json; charset=utf-8 2025-11-21 10:20:00.8013|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=578 2025-11-21 10:20:00.8013|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:20:00.8013|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.1712ms 204 2025-11-21 10:20:00.8336|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=578 2025-11-21 10:20:00.8336|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:20:00.8336|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:20:00.8450|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:20:00.8450|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 10:20:00.8450|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). 2025-11-21 10:20:00.8450|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:20:00.8450|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)) 2025-11-21 10:20:00.8611|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]]'. 2025-11-21 10:20:00.8611|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 8.3826ms 2025-11-21 10:20:00.8611|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 10:20:00.8611|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 32.7134ms 200 application/json; charset=utf-8 2025-11-21 10:20:00.9953|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 10:20:00.9953|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 10:20:00.9953|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:20:00.9953|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 10:20:01.0012|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:20:01.0012|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.3413ms 204 2025-11-21 10:20:01.0012|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:20:01.0012|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.7658ms 204 2025-11-21 10:20:01.0012|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.6787ms 204 2025-11-21 10:20:01.0012|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 10:20:01.0012|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:20:01.0178|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 10:20:01.0178|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 10:20:01.0178|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:20:01.0178|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:20:01.0178|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:20:01.0178|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:20:01.0178|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:20:01.0178|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:20:01.0178|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 10:20:01.0178|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:20:01.0328|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:20:01.0328|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). 2025-11-21 10:20:01.0328|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 10:20:01.0328|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 10:20:01.0328|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:20:01.0328|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). 2025-11-21 10:20:01.0328|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). 2025-11-21 10:20:01.0501|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:20:01.0501|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)) 2025-11-21 10:20:01.0501||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 10:20:01.0501|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 2025-11-21 10:20:01.0501||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 10:20:01.0501|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]]'. 2025-11-21 10:20:01.0501||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 10:20:01.0501||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 10:20:01.0501|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 12.8901ms 2025-11-21 10:20:01.0648||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 10:20:01.0648|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 10:20:01.0648|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 51.4968ms 200 application/json; charset=utf-8 2025-11-21 10:20:01.0827||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 10:20:01.0827||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 10:20:01.0827||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:20:01.0827||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 10:20:01.0827||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 10:20:01.0827||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 10:20:02.1775||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:20:02.1775||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:20:02.1775||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 10:20:02.1775||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:20:02.1775|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]]'. 2025-11-21 10:20:02.1775|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1137.0751ms 2025-11-21 10:20:02.1886||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:20:02.1886|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 10:20:02.1886|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1173.9847ms 200 application/json; charset=utf-8 2025-11-21 10:20:02.1886||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:20:02.1886||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:20:02.2064||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 10:20:03.2857||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:20:03.2857||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:20:03.2857||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:20:03.3077||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:20:03.3077||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:20:03.3143||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 10:20:04.3910||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:20:04.3946||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:20:04.3946||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:20:04.4101||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:20:04.4101||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:20:04.4101||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 10:20:05.4953||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:20:05.4953||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:20:05.4953||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:20:05.5158||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:20:05.5158||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:20:05.5158||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 10:20:06.6011||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:20:06.6045||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:20:06.6045||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:20:06.6184||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:20:06.6184||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:20:06.6184||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 10:20:07.7002||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:20:07.7002||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:20:07.7002||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:20:07.7206||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:20:07.7206|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; 2025-11-21 10:20:07.7320|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 2025-11-21 10:20:07.7320|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:20:07.7320|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:20:07.7320|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:20:07.7456|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:20:07.7456|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:20:07.7456|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:20:07.7456|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:20:07.7456|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:20:07.7456|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:20:07.7600|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:20:07.7600|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:20:07.7600|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:20:07.8067|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]]'. 2025-11-21 10:20:07.8067|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6768.6622ms 2025-11-21 10:20:07.8067|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 10:20:07.8067|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6799.8168ms 200 application/json; charset=utf-8 2025-11-21 10:22:12.3046|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 10:22:12.3046|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 10:22:12.3046|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:22:12.3046|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:22:12.3139|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.2973ms 204 2025-11-21 10:22:12.3139|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.8718ms 204 2025-11-21 10:22:12.3139|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 10:22:12.3139|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 10:22:12.3139|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:22:12.3139|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:22:12.3139|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:22:12.3139|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:22:12.3139|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:22:12.3283|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:22:12.3283|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 10:22:12.3283|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 10:22:12.3283|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). 2025-11-21 10:22:12.3283|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). 2025-11-21 10:22:12.3283|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:22:12.3283|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:22:12.3283|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] 2025-11-21 10:22:12.3283|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]]'. 2025-11-21 10:22:12.3283|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 7.0614ms 2025-11-21 10:22:12.3433|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 10:22:12.3433|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 24.0143ms 200 application/json; charset=utf-8 2025-11-21 10:22:12.3433|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] 2025-11-21 10:22:12.3604|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]]'. 2025-11-21 10:22:12.3604|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 25.3461ms 2025-11-21 10:22:12.3604|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 10:22:12.3604|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 44.0824ms 200 application/json; charset=utf-8 2025-11-21 10:23:41.2295|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=578 2025-11-21 10:23:41.2295|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:23:41.2295|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.0937ms 204 2025-11-21 10:23:41.2749|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=578 2025-11-21 10:23:41.2749|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:23:41.2749|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:23:41.2749|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:23:41.2856|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 10:23:41.2856|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). 2025-11-21 10:23:41.2856|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:23:41.2856|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)) 2025-11-21 10:23:41.2856|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]]'. 2025-11-21 10:23:41.2856|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 8.0827ms 2025-11-21 10:23:41.2856|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 10:23:41.3001|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 25.1864ms 200 application/json; charset=utf-8 2025-11-21 10:23:41.4163|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 10:23:41.4163|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 10:23:41.4163|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 10:23:41.4163|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:23:41.4163|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:23:41.4271|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:23:41.4271|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.733ms 204 2025-11-21 10:23:41.4271|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.3001ms 204 2025-11-21 10:23:41.4271|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.2679ms 204 2025-11-21 10:23:41.4415|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 10:23:41.4415|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 10:23:41.4415|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 10:23:41.4415|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:23:41.4415|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:23:41.4415|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:23:41.4415|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:23:41.4415|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:23:41.4415|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:23:41.4415|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:23:41.4560|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:23:41.4560|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:23:41.4560|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 10:23:41.4560|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 10:23:41.4560|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 10:23:41.4560|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). 2025-11-21 10:23:41.4560|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). 2025-11-21 10:23:41.4560|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). 2025-11-21 10:23:41.4714|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:23:41.4714|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:23:41.4714||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 10:23:41.4714|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)) 2025-11-21 10:23:41.4714|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 2025-11-21 10:23:41.4714|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]]'. 2025-11-21 10:23:41.4714||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 10:23:41.4714|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 12.8568ms 2025-11-21 10:23:41.4894|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 10:23:41.4894||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 10:23:41.4894|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 49.5022ms 200 application/json; charset=utf-8 2025-11-21 10:23:41.4894||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 10:23:41.4894||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 10:23:41.5120||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 10:23:41.5120||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 10:23:41.5120||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 10:23:41.5183||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:23:41.5183||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 10:23:41.5183||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 10:23:42.5942||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:23:42.5968||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 10:23:42.5968||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:23:42.5968|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]]'. 2025-11-21 10:23:42.5968|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1127.4329ms 2025-11-21 10:23:42.5968||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:23:42.5968|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 10:23:42.5968|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1164.276ms 200 application/json; charset=utf-8 2025-11-21 10:23:42.5968||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:23:42.6209||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:23:42.6209||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:23:42.6209||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 10:23:43.7076||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:23:43.7076||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:23:43.7076||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:23:43.7309||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:23:43.7309||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:23:43.7378||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 10:23:44.8130||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:23:44.8175||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:23:44.8175||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:23:44.8351||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:23:44.8351||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:23:44.8351||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 10:23:45.9264||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:23:45.9264||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:23:45.9264||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:23:45.9482||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:23:45.9482||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:23:45.9482||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 10:23:47.0340||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:23:47.0340||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:23:47.0340||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:23:47.0539||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:23:47.0539||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:23:47.0539||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 10:23:48.1289||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:23:48.1289||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:23:48.1289||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:23:48.1522||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:23:48.1627|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; 2025-11-21 10:23:48.2039|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)) ORDER BY [s].[DateCreated] DESC 2025-11-21 10:23:48.2096|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:23:48.2096|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:23:48.2096|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:23:48.2222|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:23:48.2222|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:23:48.2222|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:23:48.2222|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:23:48.2222|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:23:48.2222|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:23:48.2379|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:23:48.2379|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:23:48.2379|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:23:48.2956|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]]'. 2025-11-21 10:23:48.2956|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6828.3849ms 2025-11-21 10:23:48.3010|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 10:23:48.3010|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6861.0755ms 200 application/json; charset=utf-8 2025-11-21 10:26:19.4806|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 10:26:19.4806|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 10:26:19.4806|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:26:19.4806|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:26:19.4806|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.3391ms 204 2025-11-21 10:26:19.4906|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.2774ms 204 2025-11-21 10:26:19.4906|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 10:26:19.4906|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:26:19.4906|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 10:26:19.4906|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:26:19.4906|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:26:19.5098|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:26:19.5098|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:26:19.5098|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 10:26:19.5098|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:26:19.5098|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). 2025-11-21 10:26:19.5098|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 10:26:19.5098|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:26:19.5098|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). 2025-11-21 10:26:19.5224|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:26:19.5224|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] 2025-11-21 10:26:19.5224|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] 2025-11-21 10:26:19.5224|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]]'. 2025-11-21 10:26:19.5224|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 10.2718ms 2025-11-21 10:26:19.5224|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 10:26:19.5224|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 33.1079ms 200 application/json; charset=utf-8 2025-11-21 10:26:19.5411|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]]'. 2025-11-21 10:26:19.5411|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 23.207ms 2025-11-21 10:26:19.5411|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 10:26:19.5411|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 48.4577ms 200 application/json; charset=utf-8 2025-11-21 10:26:31.3500|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=555 2025-11-21 10:26:31.3500|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:26:31.3500|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4.8114ms 204 2025-11-21 10:26:31.3670|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 10:26:31.3670|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=212 2025-11-21 10:26:31.3670|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 10:26:31.3723|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:26:31.3723|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=555 2025-11-21 10:26:31.3723|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:26:31.3723|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:26:31.3723|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 18.8409ms 204 2025-11-21 10:26:31.3899|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:26:31.3899|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 26.2721ms 204 2025-11-21 10:26:31.3899|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 29.4863ms 204 2025-11-21 10:26:31.4037|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 10:26:31.4037|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:26:31.4037|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=212 2025-11-21 10:26:31.4037|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:26:31.4037|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 10:26:31.4037|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:26:31.4193|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:26:31.4193|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:26:31.4193|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:26:31.4193|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 10:26:31.4193|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:26:31.4193|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:26:31.4193|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:26:31.4193|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). 2025-11-21 10:26:31.4193|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:26:31.4193|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 10:26:31.4360|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:26:31.4360|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:26:31.4360|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 10:26:31.4360|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). 2025-11-21 10:26:31.4360|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 10:26:31.4360|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). 2025-11-21 10:26:31.4360|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)) 2025-11-21 10:26:31.4360|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:26:31.4501|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). 2025-11-21 10:26:31.4501|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:26:31.4501|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]]'. 2025-11-21 10:26:31.4501||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 212 2025-11-21 10:26:31.4501|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 2025-11-21 10:26:31.4501|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 24.7166ms 2025-11-21 10:26:31.4501|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)) 2025-11-21 10:26:31.4673|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]]'. 2025-11-21 10:26:31.4673||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 10:26:31.4673|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 10:26:31.4673||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 10:26:31.4673|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 24.6274ms 2025-11-21 10:26:31.4673|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 100.4305ms 200 application/json; charset=utf-8 2025-11-21 10:26:31.4673||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/80 2025-11-21 10:26:31.4673|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 10:26:31.4673||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/80 2025-11-21 10:26:31.4852|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 81.49ms 200 application/json; charset=utf-8 2025-11-21 10:26:31.5038||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 2025-11-21 10:26:31.5038||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 10:26:31.5038||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 10:26:31.5152||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 2025-11-21 10:26:31.5152||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:26:31.5152||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0112012342 2025-11-21 10:26:32.6112||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:26:32.6112||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:26:32.6112||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 10:26:32.6112||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:26:32.6112|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]]'. 2025-11-21 10:26:32.6227||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:26:32.6227|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1166.2225ms 2025-11-21 10:26:32.6227|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 10:26:32.6227|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1210.8177ms 200 application/json; charset=utf-8 2025-11-21 10:26:32.6227||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:26:32.6378||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:26:32.6378||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011201234224 2025-11-21 10:26:33.7176||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:26:33.7176||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:26:33.7176||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:26:33.7374||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:26:33.7374|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; 2025-11-21 10:26:33.7374|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; 2025-11-21 10:26:33.7520|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 2025-11-21 10:26:33.7520|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:26:33.7520|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:26:33.7520|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:26:33.7630|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:26:33.8060|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]]'. 2025-11-21 10:26:33.8060|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 2356.8195ms 2025-11-21 10:26:33.8096|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 10:26:33.8096|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2396.2396ms 200 application/json; charset=utf-8 2025-11-21 10:27:20.3813|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 10:27:20.3813|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:27:20.3837|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2.3973ms 204 2025-11-21 10:27:20.3837|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 10:27:20.3837|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:27:20.3837|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4.0561ms 204 2025-11-21 10:27:20.4097|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 10:27:20.4097|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:27:20.4097|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:27:20.4148|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:27:20.4148|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 10:27:20.4148|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). 2025-11-21 10:27:20.4148|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:27:20.4148|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] 2025-11-21 10:27:20.4148|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]]'. 2025-11-21 10:27:20.4148|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 9.3257ms 2025-11-21 10:27:20.4304|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 10:27:20.4304|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 23.1877ms 200 application/json; charset=utf-8 2025-11-21 10:27:20.4304|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 10:27:20.4304|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:27:20.4304|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:27:20.4304|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:27:20.4304|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 10:27:20.4465|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). 2025-11-21 10:27:20.4465|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:27:20.5105|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (59ms) [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] 2025-11-21 10:27:20.5105|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]]'. 2025-11-21 10:27:20.5105|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 74.9616ms 2025-11-21 10:27:20.5248|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 10:27:20.5248|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 88.9082ms 200 application/json; charset=utf-8 2025-11-21 10:28:27.8119|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 10:28:27.8119|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 10:28:27.8119|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:28:27.8119|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:28:27.8119|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6.8942ms 204 2025-11-21 10:28:27.8119|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.3904ms 204 2025-11-21 10:28:27.8281|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 10:28:27.8281|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 10:28:27.8281|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:28:27.8281|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:28:27.8281|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:28:27.8281|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:28:27.8281|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:28:27.8281|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:28:27.8281|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 10:28:27.8281|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 10:28:27.8401|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). 2025-11-21 10:28:27.8401|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). 2025-11-21 10:28:27.8401|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:28:27.8401|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:28:27.8401|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] 2025-11-21 10:28:27.8401|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]]'. 2025-11-21 10:28:27.8401|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 8.9473ms 2025-11-21 10:28:27.8401|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 10:28:27.8401|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 25.7518ms 200 application/json; charset=utf-8 2025-11-21 10:28:27.8401|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] 2025-11-21 10:28:27.8636|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]]'. 2025-11-21 10:28:27.8636|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 20.9882ms 2025-11-21 10:28:27.8636|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 10:28:27.8636|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 39.063ms 200 application/json; charset=utf-8 2025-11-21 10:28:28.6693|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 10:28:28.6693|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 10:28:28.6693|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:28:28.6693|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:28:28.6693|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.272ms 204 2025-11-21 10:28:28.6693|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 13.014ms 204 2025-11-21 10:28:28.6876|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 10:28:28.6876|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 10:28:28.6876|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:28:28.6876|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:28:28.6997|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:28:28.6997|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:28:28.6997|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:28:28.6997|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 10:28:28.6997|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:28:28.6997|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). 2025-11-21 10:28:28.7174|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 10:28:28.7174|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:28:28.7174|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). 2025-11-21 10:28:28.7174|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:28:28.7341|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] 2025-11-21 10:28:28.7341|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] 2025-11-21 10:28:28.7341|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]]'. 2025-11-21 10:28:28.7341|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 11.7981ms 2025-11-21 10:28:28.7341|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 10:28:28.7341|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 55.6924ms 200 application/json; charset=utf-8 2025-11-21 10:28:28.7488|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]]'. 2025-11-21 10:28:28.7488|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 30.4149ms 2025-11-21 10:28:28.7488|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 10:28:28.7488|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 67.7224ms 200 application/json; charset=utf-8 2025-11-21 10:28:32.5228|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=492 2025-11-21 10:28:32.5228|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:28:32.5288|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.8924ms 204 2025-11-21 10:28:32.8532|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 10:28:32.8532|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 10:28:32.8532|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 10:28:32.8555|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=492 2025-11-21 10:28:32.8555|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:28:32.8555|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:28:32.8555|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:28:32.8555|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:28:32.8555|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 15.1831ms 204 2025-11-21 10:28:32.8555|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 17.1721ms 204 2025-11-21 10:28:32.8723|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 17.2312ms 204 2025-11-21 10:28:32.8723|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:28:32.8723|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:28:32.8723|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 10:28:32.8723|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). 2025-11-21 10:28:32.8723|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 10:28:32.8723|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:28:32.8723|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:28:32.8899|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:28:32.8899|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)) 2025-11-21 10:28:32.8899|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:28:32.8899|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]]'. 2025-11-21 10:28:32.8899|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 10:28:32.8899|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 13.3725ms 2025-11-21 10:28:32.8899|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 10:28:32.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). 2025-11-21 10:28:32.8899|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 10:28:32.8899|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 10:28:32.9028|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:28:32.9028|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:28:32.9028|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:28:32.9028|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 50.4956ms 200 application/json; charset=utf-8 2025-11-21 10:28:32.9028|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:28:32.9028|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:28:32.9028|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)) 2025-11-21 10:28:32.9028|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:28:32.9028|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:28:32.9028|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 10:28:32.9028||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 10:28:32.9028|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 10:28:32.9192|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). 2025-11-21 10:28:32.9192||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 10:28:32.9192|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). 2025-11-21 10:28:32.9192|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:28:32.9192||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 10:28:32.9378|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 2025-11-21 10:28:32.9378||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 10:28:32.9378|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]]'. 2025-11-21 10:28:32.9378||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 10:28:32.9378|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 17.262ms 2025-11-21 10:28:32.9378|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 10:28:32.9502||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 10:28:32.9502|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 51.0493ms 200 application/json; charset=utf-8 2025-11-21 10:28:32.9502||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:28:32.9502||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 10:28:32.9502||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 10:28:32.9656||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 10:28:32.9656||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 10:28:34.0445||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:28:34.0445||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:28:34.0445||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:28:34.0445||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 10:28:34.0445||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:28:34.0445|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]]'. 2025-11-21 10:28:34.0445|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1125.4314ms 2025-11-21 10:28:34.0596|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 10:28:34.0596|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1161.7161ms 200 application/json; charset=utf-8 2025-11-21 10:28:34.0596||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:28:34.0596||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:28:34.0776||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 10:28:35.1678||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:28:35.1701||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:28:35.1701||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:28:35.1701||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:28:35.1873||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:28:35.1873||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 10:28:36.2755||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:28:36.2802||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:28:36.2802||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:28:36.2962||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:28:36.2962||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:28:36.2962||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 10:28:37.3877||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:28:37.3877||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:28:37.3877||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:28:37.4064||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:28:37.4064||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:28:37.4064||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 10:28:38.4979||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:28:38.4979||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:28:38.4979||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:28:38.5196||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:28:38.5196||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:28:38.5196||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 10:28:39.6036||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:28:39.6079||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:28:39.6079||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:28:39.6254||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:28:39.6254|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; 2025-11-21 10:28:39.6421|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 2025-11-21 10:28:39.6421|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:28:39.6421|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:28:39.6421|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:28:39.6528|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:28:39.6528|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:28:39.6528|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:28:39.6528|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:28:39.6695|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)) 2025-11-21 10:28:39.6695|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:28:39.6695|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)) 2025-11-21 10:28:39.6695|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:28:39.6845|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)) 2025-11-21 10:28:39.7269|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]]'. 2025-11-21 10:28:39.7269|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6826.0267ms 2025-11-21 10:28:39.7310|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 10:28:39.7310|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6849.4113ms 200 application/json; charset=utf-8 2025-11-21 10:29:34.0774|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 10:29:34.0774|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 10:29:34.0774|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:29:34.0774|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:29:34.0774|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.2594ms 204 2025-11-21 10:29:34.0774|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.5437ms 204 2025-11-21 10:29:34.0950|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 10:29:34.0950|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:29:34.0950|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 10:29:34.0950|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:29:34.0950|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:29:34.0950|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:29:34.1057|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:29:34.1057|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 10:29:34.1057|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:29:34.1057|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). 2025-11-21 10:29:34.1057|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 10:29:34.1057|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:29:34.1057|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). 2025-11-21 10:29:34.1198|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:29:34.1198|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] 2025-11-21 10:29:34.1198|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]]'. 2025-11-21 10:29:34.1198|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 9.4714ms 2025-11-21 10:29:34.1198|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 10:29:34.1198|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 31.4426ms 200 application/json; charset=utf-8 2025-11-21 10:29:34.1198|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] 2025-11-21 10:29:34.1387|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]]'. 2025-11-21 10:29:34.1387|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 21.3566ms 2025-11-21 10:29:34.1387|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 10:29:34.1387|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 44.7775ms 200 application/json; charset=utf-8 2025-11-21 10:29:38.2341|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 10:29:38.2341|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 10:29:38.2341|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:29:38.2341|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:29:38.2341|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:29:38.2459|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:29:38.2459|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:29:38.2459|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:29:38.2459|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 10:29:38.2459|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 10:29:38.2459|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). 2025-11-21 10:29:38.2459|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). 2025-11-21 10:29:38.2459|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:29:38.2600|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:29:38.2600|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] 2025-11-21 10:29:38.2600|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] 2025-11-21 10:29:38.2600|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]]'. 2025-11-21 10:29:38.2600|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 14.4515ms 2025-11-21 10:29:38.2761|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 10:29:38.2761|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 43.6631ms 200 application/json; charset=utf-8 2025-11-21 10:29:38.2761|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]]'. 2025-11-21 10:29:38.2761|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 28.2222ms 2025-11-21 10:29:38.2761|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 10:29:38.2761|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 55.4121ms 200 application/json; charset=utf-8 2025-11-21 10:30:20.5287|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=518 2025-11-21 10:30:20.5287|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:30:20.5287|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6.0508ms 204 2025-11-21 10:30:20.8090|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=518 2025-11-21 10:30:20.8090|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:30:20.8090|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:30:20.8090|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:30:20.8090|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 10:30:20.8090|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). 2025-11-21 10:30:20.8090|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:30:20.8262|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)) 2025-11-21 10:30:20.8262|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]]'. 2025-11-21 10:30:20.8262|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 9.9584ms 2025-11-21 10:30:20.8262|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 10:30:20.8262|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 25.1627ms 200 application/json; charset=utf-8 2025-11-21 10:30:20.9141|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 10:30:20.9141|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 10:30:20.9141|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 10:30:20.9176|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:30:20.9176|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:30:20.9176|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:30:20.9176|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.4038ms 204 2025-11-21 10:30:20.9176|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.5698ms 204 2025-11-21 10:30:20.9176|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 10:30:20.9176|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 10:30:20.9176|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.1872ms 204 2025-11-21 10:30:20.9340|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:30:20.9340|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:30:20.9340|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 10:30:20.9340|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:30:20.9340|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:30:20.9340|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:30:20.9340|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:30:20.9340|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:30:20.9340|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:30:20.9340|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 10:30:20.9340|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 10:30:20.9340|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:30:20.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). 2025-11-21 10:30:20.9486|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). 2025-11-21 10:30:20.9486|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 10:30:20.9486|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:30:20.9486|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:30:20.9486|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). 2025-11-21 10:30:20.9486||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 10:30:20.9486|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)) 2025-11-21 10:30:20.9486|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 2025-11-21 10:30:20.9486||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 10:30:20.9486|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]]'. 2025-11-21 10:30:20.9486||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 10:30:20.9656||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 10:30:20.9656|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 14.5866ms 2025-11-21 10:30:20.9656||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 10:30:20.9656|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 10:30:20.9656|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 42.703ms 200 application/json; charset=utf-8 2025-11-21 10:30:20.9849||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 10:30:20.9849||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 10:30:20.9849||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 10:30:20.9849||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:30:20.9958||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 10:30:20.9958||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 10:30:22.0891||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:30:22.0944||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 10:30:22.0944|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]]'. 2025-11-21 10:30:22.0944|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1144.0899ms 2025-11-21 10:30:22.0944|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 10:30:22.0944||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:30:22.0944|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1168.0613ms 200 application/json; charset=utf-8 2025-11-21 10:30:22.1088||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:30:22.1088||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:30:22.1237||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:30:22.1237||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:30:22.1237||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 10:30:23.2170||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:30:23.2170||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:30:23.2170||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:30:23.2376||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:30:23.2376||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:30:23.2376||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 10:30:24.3256||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:30:24.3256||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:30:24.3256||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:30:24.3459||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:30:24.3459||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:30:24.3459||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 10:30:25.4370||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:30:25.4370||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:30:25.4370||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:30:25.4517|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 10:30:25.4517|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 10:30:25.4517|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:30:25.4517|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:30:25.4517|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6.2798ms 204 2025-11-21 10:30:25.4517|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.3091ms 204 2025-11-21 10:30:25.4517||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:30:25.4517|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 10:30:25.4686||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:30:25.4686|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:30:25.4686||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 10:30:25.4686|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:30:25.4686|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:30:25.4686|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 10:30:25.4809|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). 2025-11-21 10:30:25.4809|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 10:30:25.4809|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:30:25.4809|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:30:25.4809|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:30:25.4809|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] 2025-11-21 10:30:25.4809|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:30:25.4809|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]]'. 2025-11-21 10:30:25.4809|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 10:30:25.4809|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 12.4393ms 2025-11-21 10:30:25.4958|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). 2025-11-21 10:30:25.4958|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 10:30:25.4958|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:30:25.4958|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 36.0949ms 200 application/json; charset=utf-8 2025-11-21 10:30:25.5121|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] 2025-11-21 10:30:25.5121|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]]'. 2025-11-21 10:30:25.5121|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 24.8185ms 2025-11-21 10:30:25.5121|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 10:30:25.5121|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 45.1248ms 200 application/json; charset=utf-8 2025-11-21 10:30:26.5587||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:30:26.5587||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:30:26.5587||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:30:26.5750||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:30:26.5750||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:30:26.5750||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 10:30:27.6482||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:30:27.6518||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:30:27.6518||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:30:27.6518||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:30:27.6737|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; 2025-11-21 10:30:27.6737|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 2025-11-21 10:30:27.6737|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:30:27.6737|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:30:27.6858|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:30:27.6858|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:30:27.6858|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:30:27.6858|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:30:27.6858|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:30:27.6990|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:30:27.6990|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:30:27.6990|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:30:27.6990|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:30:27.6990|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:30:27.7469|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]]'. 2025-11-21 10:30:27.7469|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6798.1602ms 2025-11-21 10:30:27.7469|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 10:30:27.7469|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6820.8207ms 200 application/json; charset=utf-8 2025-11-21 10:32:40.8008|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=493 2025-11-21 10:32:40.8008|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:32:40.8068|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6.0568ms 204 2025-11-21 10:32:40.8068|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 10:32:40.8068|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 10:32:40.8068|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 10:32:40.8068|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:32:40.8211|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:32:40.8211|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:32:40.8211|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.8793ms 204 2025-11-21 10:32:40.8211|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.9052ms 204 2025-11-21 10:32:40.8211|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.9042ms 204 2025-11-21 10:32:41.0278|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=493 2025-11-21 10:32:41.0278|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:32:41.0278|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:32:41.0278|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:32:41.0278|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 10:32:41.0278|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). 2025-11-21 10:32:41.0278|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:32:41.0400|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)) 2025-11-21 10:32:41.0400|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 10:32:41.0400|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 10:32:41.0400|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]]'. 2025-11-21 10:32:41.0400|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 10:32:41.0400|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:32:41.0400|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:32:41.0400|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 16.0195ms 2025-11-21 10:32:41.0400|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:32:41.0554|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:32:41.0554|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:32:41.0554|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 10:32:41.0554|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:32:41.0554|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:32:41.0554|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:32:41.0554|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 37.2056ms 200 application/json; charset=utf-8 2025-11-21 10:32:41.0554|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:32:41.0554|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 10:32:41.0716|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 10:32:41.0716|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 10:32:41.0716|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). 2025-11-21 10:32:41.0716|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). 2025-11-21 10:32:41.0716|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). 2025-11-21 10:32:41.0716|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:32:41.0716||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 10:32:41.0716|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:32:41.0866|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 2025-11-21 10:32:41.0866||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 10:32:41.0866|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]]'. 2025-11-21 10:32:41.0866|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)) 2025-11-21 10:32:41.0866||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 10:32:41.0866|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 13.4834ms 2025-11-21 10:32:41.0866||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 10:32:41.0866|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 10:32:41.0866|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 55.8174ms 200 application/json; charset=utf-8 2025-11-21 10:32:41.0866||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 10:32:41.1108||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 10:32:41.1108||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 10:32:41.1108||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 10:32:41.1187||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 10:32:41.1187||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:32:41.1187||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 10:32:42.1929||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:32:42.1981||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 10:32:42.1981|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]]'. 2025-11-21 10:32:42.1981|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1122.4775ms 2025-11-21 10:32:42.1981|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 10:32:42.1981|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1163.6128ms 200 application/json; charset=utf-8 2025-11-21 10:32:42.2123||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:32:42.2123||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:32:42.2123||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:32:42.2287||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:32:42.2287||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:32:42.2287||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 10:32:43.3191||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:32:43.3232||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:32:43.3232||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:32:43.3404||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:32:43.3404||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:32:43.3404||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 10:32:44.4346||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:32:44.4346||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:32:44.4346||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:32:44.4548||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:32:44.4548||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:32:44.4548||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 10:32:45.5361||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:32:45.5407||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:32:45.5407||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:32:45.5577||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:32:45.5577||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:32:45.5577||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 10:32:46.6330||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:32:46.6368||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:32:46.6368||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:32:46.6561||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:32:46.6561||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:32:46.6561||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 10:32:47.7408||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:32:47.7448||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:32:47.7448||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:32:47.7608||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:32:47.7608|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; 2025-11-21 10:32:47.7608|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 2025-11-21 10:32:47.7748|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:32:47.7748|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:32:47.7748|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:32:47.7748|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:32:47.7748|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:32:47.7748|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:32:47.7921|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:32:47.7921|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:32:47.7921|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:32:47.7921|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:32:47.8081|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:32:47.8081|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:32:47.8470|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]]'. 2025-11-21 10:32:47.8470|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6766.4041ms 2025-11-21 10:32:47.8470|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 10:32:47.8470|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6806.8537ms 200 application/json; charset=utf-8 2025-11-21 10:32:56.5012|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 10:32:56.5012|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 10:32:56.5012|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 10:32:56.5012|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:32:56.5012|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:32:56.5012|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:32:56.5087|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.5404ms 204 2025-11-21 10:32:56.5087|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.9308ms 204 2025-11-21 10:32:56.5087|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.4342ms 204 2025-11-21 10:32:56.7214|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 10:32:56.7214|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 10:32:56.7214|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 10:32:56.7214|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:32:56.7276|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:32:56.7276|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:32:56.7276|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:32:56.7276|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:32:56.7276|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:32:56.7276|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:32:56.7276|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:32:56.7276|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:32:56.7276|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 10:32:56.7276|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 10:32:56.7276|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 10:32:56.7442|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). 2025-11-21 10:32:56.7442|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). 2025-11-21 10:32:56.7442|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). 2025-11-21 10:32:56.7442|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:32:56.7442||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 10:32:56.7442|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:32:56.7442|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 2025-11-21 10:32:56.7442|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]]'. 2025-11-21 10:32:56.7590||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 10:32:56.7590|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)) 2025-11-21 10:32:56.7590|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 10.2002ms 2025-11-21 10:32:56.7590||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 10:32:56.7590||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 10:32:56.7590|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 10:32:56.7590|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 48.2885ms 200 application/json; charset=utf-8 2025-11-21 10:32:56.7590||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 10:32:56.7882||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 10:32:56.7920||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 10:32:56.7920||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 10:32:56.7920||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:32:56.7920||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 10:32:56.7920||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 10:32:57.9036||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:32:57.9036||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:32:57.9036||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:32:57.9178||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:32:57.9178||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 10:32:57.9178|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]]'. 2025-11-21 10:32:57.9178||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:32:57.9178|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1174.8531ms 2025-11-21 10:32:57.9178||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:32:57.9178|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 10:32:57.9320||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 10:32:57.9320|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1211.6473ms 200 application/json; charset=utf-8 2025-11-21 10:32:59.0064||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:32:59.0102||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:32:59.0102||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:32:59.0279||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:32:59.0279||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:32:59.0279||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 10:33:00.1202||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:33:00.1202||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:33:00.1202||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:33:00.1449||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:33:00.1501||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:33:00.1501||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 10:33:01.2456||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:33:01.2456||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:33:01.2456||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:33:01.2648||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:33:01.2648||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:33:01.2754||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 10:33:02.3692||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:33:02.3692||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:33:02.3692||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:33:02.3907||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:33:02.3907||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:33:02.3907||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 10:33:03.4775||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:33:03.4775||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:33:03.4775||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:33:03.4972||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:33:03.4972|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; 2025-11-21 10:33:03.5106|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 2025-11-21 10:33:03.5106|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:33:03.5106|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:33:03.5106|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:33:03.5106|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:33:03.5242|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:33:03.5242|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:33:03.5242|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:33:03.5242|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:33:03.5242|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' 2025-11-21 10:33:03.5408|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:33:03.5408|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:33:03.5408|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:33:03.5875|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]]'. 2025-11-21 10:33:03.5875|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6836.9298ms 2025-11-21 10:33:03.5875|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 10:33:03.5875|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6871.3897ms 200 application/json; charset=utf-8 2025-11-21 10:43:08.9264|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=533 2025-11-21 10:43:08.9264|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:43:08.9264|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.4648ms 204 2025-11-21 10:43:09.0027|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=209 2025-11-21 10:43:09.0027|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 10:43:09.0027|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 10:43:09.0027|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:43:09.0027|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:43:09.0027|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:43:09.0027|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.058ms 204 2025-11-21 10:43:09.0027|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.2613ms 204 2025-11-21 10:43:09.0027|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.5738ms 204 2025-11-21 10:43:09.0683|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=533 2025-11-21 10:43:09.0683|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:43:09.0683|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:43:09.0683|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:43:09.0790|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 10:43:09.0790|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 10:43:09.0790|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:43:09.0790|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). 2025-11-21 10:43:09.0790|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:43:09.0790|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:43:09.0790|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:43:09.0956|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=209 2025-11-21 10:43:09.0956|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 10:43:09.0956|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 10:43:09.0956|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:43:09.0956|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). 2025-11-21 10:43:09.0956|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:43:09.0956|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:43:09.0956||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 209 2025-11-21 10:43:09.0956|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)) 2025-11-21 10:43:09.0956|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:43:09.0956|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:43:09.0956|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]]'. 2025-11-21 10:43:09.1102|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:43:09.1102|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 10:43:09.1102|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 21.9081ms 2025-11-21 10:43:09.1102|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 10:43:09.1102|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). 2025-11-21 10:43:09.1102|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 10:43:09.1102|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). 2025-11-21 10:43:09.1102|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:43:09.1102|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 50.5605ms 200 application/json; charset=utf-8 2025-11-21 10:43:09.1102||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 10:43:09.1102|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:43:09.1102|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)) 2025-11-21 10:43:09.1102||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/80 2025-11-21 10:43:09.1292||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 10:43:09.1292||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/80 2025-11-21 10:43:09.1292|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 2025-11-21 10:43:09.1292|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]]'. 2025-11-21 10:43:09.1292|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 17.9984ms 2025-11-21 10:43:09.1292|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 10:43:09.1418|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 44.9435ms 200 application/json; charset=utf-8 2025-11-21 10:43:09.1418||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 2025-11-21 10:43:09.1418||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 10:43:09.1418||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 10:43:09.1575||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 2025-11-21 10:43:09.1575||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:43:09.1575||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0112012335 2025-11-21 10:43:10.2358||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:43:10.2358||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 10:43:10.2358|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]]'. 2025-11-21 10:43:10.2358|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1141.1442ms 2025-11-21 10:43:10.2358|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 10:43:10.2358|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1169.7201ms 200 application/json; charset=utf-8 2025-11-21 10:43:10.2507||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:43:10.2507||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:43:10.2507||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:43:10.2709||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:43:10.2709||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:43:10.2709||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011201233545 2025-11-21 10:43:11.3626||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:43:11.3626||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:43:11.3626||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:43:11.3844||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:43:11.3938|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; 2025-11-21 10:43:11.3938|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; 2025-11-21 10:43:11.3938|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 2025-11-21 10:43:11.3938|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:43:11.3938|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:43:11.4090|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:43:11.4090|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:43:11.4506|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]]'. 2025-11-21 10:43:11.4506|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 2335.3025ms 2025-11-21 10:43:11.4548|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 10:43:11.4548|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2361.5533ms 200 application/json; charset=utf-8 2025-11-21 10:47:15.0079|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 10:47:15.0079|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 10:47:15.0079|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 10:47:15.0079|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:47:15.0079|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:47:15.0079|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:47:15.0202|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.3097ms 204 2025-11-21 10:47:15.0202|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 13.658ms 204 2025-11-21 10:47:15.0202|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 14.4412ms 204 2025-11-21 10:47:15.0202|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 10:47:15.0202|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 10:47:15.0202|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 10:47:15.0202|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() 2025-11-21 10:47:15.0202|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() 2025-11-21 10:47:15.0202|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() 2025-11-21 10:47:15.0346|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'. 2025-11-21 10:47:15.0346|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'. 2025-11-21 10:47:15.0346|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'. 2025-11-21 10:47:15.0346|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:47:15.0346|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:47:15.0346|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:47:15.0346|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2025-11-21 10:47:15.0346|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2025-11-21 10:47:15.0346|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2025-11-21 10:47:15.0346|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2025-11-21 10:47:15.0346|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2025-11-21 10:47:15.0346|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2025-11-21 10:47:15.0501|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 25.1732ms 401 2025-11-21 10:47:15.0501|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 25.8071ms 401 2025-11-21 10:47:15.0501|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 25.5003ms 401 2025-11-21 10:47:43.2532|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=519 2025-11-21 10:47:43.2532|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:47:43.2532|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.1298ms 204 2025-11-21 10:47:43.2662|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=519 2025-11-21 10:47:43.2662|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 10:47:43.2662|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:47:43.2662|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 10:47:43.2662|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 10:47:43.2662|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:47:43.2662|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:47:43.2662|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:47:43.2814|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:47:43.2814|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 13.6449ms 204 2025-11-21 10:47:43.2814|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:47:43.2814|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 16.7263ms 204 2025-11-21 10:47:43.2814|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 17.6253ms 204 2025-11-21 10:47:43.2814|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 10:47:43.2814|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 10:47:43.2950|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 10:47:43.2950|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 10:47:43.2950|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:47:43.2950|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). 2025-11-21 10:47:43.2950|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:47:43.2950|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:47:43.2950|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:47:43.2950|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:47:43.2950|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:47:43.3113|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:47:43.2950|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:47:43.2950|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:47:43.3113|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 10:47:43.3113|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)) 2025-11-21 10:47:43.3113|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 10:47:43.3113|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:47:43.3113|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). 2025-11-21 10:47:43.3113|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]]'. 2025-11-21 10:47:43.3113|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). 2025-11-21 10:47:43.3113|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 10:47:43.3113|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:47:43.3113|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 21.1639ms 2025-11-21 10:47:43.3276|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:47:43.3276|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). 2025-11-21 10:47:43.3276|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 10:47:43.3276|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)) 2025-11-21 10:47:43.3276||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 10:47:43.3276|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 2025-11-21 10:47:43.3276|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 71.628ms 200 application/json; charset=utf-8 2025-11-21 10:47:43.3415||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 10:47:43.3415|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]]'. 2025-11-21 10:47:43.3415||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 10:47:43.3415||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 10:47:43.3415|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 25.8046ms 2025-11-21 10:47:43.3415||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 10:47:43.3589|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 10:47:43.3589|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 72.0243ms 200 application/json; charset=utf-8 2025-11-21 10:47:43.3780||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 10:47:43.3780||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 10:47:43.3780||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:47:43.3780||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 10:47:43.3903||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 10:47:43.3903||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 10:47:44.4785||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:47:44.4820||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:47:44.4820||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:47:44.4820||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:47:44.4820||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:47:44.4820||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 10:47:44.4986||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:47:44.4986|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]]'. 2025-11-21 10:47:44.4986||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 10:47:44.4986|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1165.3207ms 2025-11-21 10:47:44.4986|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 10:47:44.4986|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1207.68ms 200 application/json; charset=utf-8 2025-11-21 10:47:45.5756||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:47:45.5793||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:47:45.5793|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 10:47:45.5793|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 10:47:45.5793|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:47:45.5793||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:47:45.5793|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:47:45.5793|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.7493ms 204 2025-11-21 10:47:45.5922|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.6794ms 204 2025-11-21 10:47:45.5922|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 10:47:45.5922|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 10:47:45.5922|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:47:45.5922|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:47:45.5922||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:47:45.5922|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:47:45.5922|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:47:45.5922|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:47:45.5922||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:47:45.5922|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:47:45.5922|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 10:47:45.5922||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 10:47:45.5922|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 10:47:45.5922|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). 2025-11-21 10:47:45.6075|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). 2025-11-21 10:47:45.6075|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:47:45.6075|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:47:45.6075|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] 2025-11-21 10:47:45.6075|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]]'. 2025-11-21 10:47:45.6075|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] 2025-11-21 10:47:45.6075|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 7.3841ms 2025-11-21 10:47:45.6075|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 10:47:45.6075|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 27.5831ms 200 application/json; charset=utf-8 2025-11-21 10:47:45.6238|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]]'. 2025-11-21 10:47:45.6238|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 14.6782ms 2025-11-21 10:47:45.6238|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 10:47:45.6238|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 30.9498ms 200 application/json; charset=utf-8 2025-11-21 10:47:46.6723||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:47:46.6723||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:47:46.6723||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:47:46.6891||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:47:46.6891||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:47:46.6891||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 10:47:47.7807||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:47:47.7807||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:47:47.7807||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:47:47.8003||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:47:47.8003||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:47:47.8003||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 10:47:48.8847||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:47:48.8847||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:47:48.8908||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:47:48.8908||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:47:48.9053||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:47:48.9053||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 10:47:49.9973||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:47:50.0000||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:47:50.0000||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:47:50.0000||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:47:50.0176|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; 2025-11-21 10:47:50.0176|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 2025-11-21 10:47:50.0176|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:47:50.0176|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:47:50.0176|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:47:50.0176|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:47:50.0311|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:47:50.0311|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:47:50.0311|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:47:50.0311|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:47:50.0453|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:47:50.0453|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:47:50.0453|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:47:50.0453|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:47:50.1171|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]]'. 2025-11-21 10:47:50.1171|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6794.9659ms 2025-11-21 10:47:50.1171|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 10:47:50.1171|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6825.2003ms 200 application/json; charset=utf-8 2025-11-21 10:47:51.1382|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 10:47:51.1383|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 10:47:51.1383|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 10:47:51.1383|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:47:51.1383|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:47:51.1383|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:47:51.1383|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.9495ms 204 2025-11-21 10:47:51.1383|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.7408ms 204 2025-11-21 10:47:51.1383|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 13.1626ms 204 2025-11-21 10:47:51.1383|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 10:47:51.1383|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 10:47:51.1562|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 10:47:51.1562|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:47:51.1562|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:47:51.1562|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:47:51.1562|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:47:51.1562|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:47:51.1562|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:47:51.1708|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:47:51.1708|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:47:51.1708|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:47:51.1708|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 10:47:51.1708|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 10:47:51.1708|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 10:47:51.1708|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). 2025-11-21 10:47:51.1708|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). 2025-11-21 10:47:51.1708|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). 2025-11-21 10:47:51.1708|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:47:51.1708|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:47:51.1855||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 10:47:51.1855|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)) 2025-11-21 10:47:51.1855|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 2025-11-21 10:47:51.1855||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 10:47:51.1855|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]]'. 2025-11-21 10:47:51.1855||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 10:47:51.1855|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 14.167ms 2025-11-21 10:47:51.2014|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 10:47:51.2014|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 48.7603ms 200 application/json; charset=utf-8 2025-11-21 10:47:51.2014||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 10:47:51.2014||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 10:47:51.2014||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 10:47:51.2184||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:47:51.2184||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 10:47:51.2184||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 10:47:51.2184||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 10:47:51.2184||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 10:47:52.2957||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:47:52.2957||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:47:52.2957||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:47:52.2957||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:47:52.2957||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 10:47:52.2957|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]]'. 2025-11-21 10:47:52.3110|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1125.7133ms 2025-11-21 10:47:52.3110|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 10:47:52.3110||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:47:52.3110|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1157.1615ms 200 application/json; charset=utf-8 2025-11-21 10:47:52.3110||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:47:52.3110||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 10:47:53.4019||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:47:53.4060||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:47:53.4060||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:47:53.4239||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:47:53.4239||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:47:53.4239||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 10:47:54.5158||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:47:54.5158||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:47:54.5158||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:47:54.5371||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:47:54.5371||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:47:54.5371||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 10:47:55.6217||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:47:55.6269||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:47:55.6269||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:47:55.6435||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:47:55.6435||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:47:55.6435||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 10:47:56.7294||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:47:56.7335||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:47:56.7335||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:47:56.7521||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:47:56.7521||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:47:56.7521||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 10:47:57.8455||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:47:57.8455||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:47:57.8455||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:47:57.8630||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:47:57.8630|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; 2025-11-21 10:47:57.8773|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 2025-11-21 10:47:57.8773|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:47:57.8773|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)) 2025-11-21 10:47:57.8920|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' 2025-11-21 10:47:57.8920|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:47:57.8920|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:47:57.8920|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:47:57.8920|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:47:57.9044|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:47:57.9044|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' 2025-11-21 10:47:57.9044|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:47:57.9044|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' 2025-11-21 10:47:57.9203|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:47:57.9560|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]]'. 2025-11-21 10:47:57.9560|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6774.76ms 2025-11-21 10:47:57.9560|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 10:47:57.9560|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6806.4658ms 200 application/json; charset=utf-8 2025-11-21 10:50:08.6895|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 10:50:08.6895|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 10:50:08.6895|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 10:50:08.6895|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:50:08.6895|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:50:08.6895|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:50:08.6895|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.3467ms 204 2025-11-21 10:50:08.7023|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.2254ms 204 2025-11-21 10:50:08.7023|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 13.1985ms 204 2025-11-21 10:50:08.7023|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 10:50:08.7023|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 10:50:08.7023|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 10:50:08.7023|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:50:08.7023|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:50:08.7023|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:50:08.7168|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:50:08.7168|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:50:08.7168|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:50:08.7168|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:50:08.7168|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:50:08.7168|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:50:08.7168|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 10:50:08.7168|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 10:50:08.7168|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 10:50:08.7168|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). 2025-11-21 10:50:08.7168|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). 2025-11-21 10:50:08.7324|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). 2025-11-21 10:50:08.7324|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:50:08.7324|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:50:08.7324||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 10:50:08.7324|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 2025-11-21 10:50:08.7324|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)) 2025-11-21 10:50:08.7324|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]]'. 2025-11-21 10:50:08.7476||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 10:50:08.7476||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 10:50:08.7476|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 16.9004ms 2025-11-21 10:50:08.7476||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 10:50:08.7476|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 10:50:08.7476||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 10:50:08.7476|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 53.4083ms 200 application/json; charset=utf-8 2025-11-21 10:50:08.7813||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 10:50:08.7813||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 10:50:08.7813||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 10:50:08.7813||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:50:08.7813||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 10:50:08.7955||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 10:50:09.8913||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:50:09.8913||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:50:09.8913||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:50:09.8913||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 10:50:09.8913||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:50:09.8913|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]]'. 2025-11-21 10:50:09.8913|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1166.7437ms 2025-11-21 10:50:09.9045|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 10:50:09.9045|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1195.5009ms 200 application/json; charset=utf-8 2025-11-21 10:50:09.9045||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:50:09.9045||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:50:09.9213||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 10:50:11.0161||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:50:11.0161||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:50:11.0161||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:50:11.0367||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:50:11.0367||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:50:11.0367||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 10:50:12.1239||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:50:12.1239||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:50:12.1239||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:50:12.1505||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:50:12.1555||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:50:12.1555||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 10:50:13.2332||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:50:13.2332||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:50:13.2332||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:50:13.2550||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:50:13.2550||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:50:13.2645||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 10:50:14.3659||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:50:14.3659||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:50:14.3761||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:50:14.3904||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:50:14.3904||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:50:14.3904||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 10:50:15.4809||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:50:15.4840||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:50:15.4840||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:50:15.4984||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:50:15.4984|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; 2025-11-21 10:50:15.4984|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 2025-11-21 10:50:15.4984|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:50:15.5145|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:50:15.5145|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:50:15.5145|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:50:15.5145|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:50:15.5145|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:50:15.5316|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:50:15.5316|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:50:15.5316|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:50:15.5316|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:50:15.5316|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:50:15.5316|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:50:15.5797|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]]'. 2025-11-21 10:50:15.5797|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6846.685ms 2025-11-21 10:50:15.5797|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 10:50:15.5797|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6876.0486ms 200 application/json; charset=utf-8 2025-11-21 10:50:32.7405|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 10:50:32.7405|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 10:50:32.7405|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 10:50:32.7405|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:50:32.7405|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:50:32.7484|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:50:32.7484|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.3453ms 204 2025-11-21 10:50:32.7484|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.8834ms 204 2025-11-21 10:50:32.7484|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.0084ms 204 2025-11-21 10:50:32.7484|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 10:50:32.7484|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 10:50:32.7484|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 10:50:32.7484|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:50:32.7646|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:50:32.7646|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:50:32.7646|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 10:50:32.7646|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:50:32.7484|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:50:32.7646|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). 2025-11-21 10:50:32.7646|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:50:32.7646|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:50:32.7646|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:50:32.7646|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:50:32.7804|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:50:32.7804|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 10:50:32.7804|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)) 2025-11-21 10:50:32.7804|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 10:50:32.7804|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). 2025-11-21 10:50:32.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). 2025-11-21 10:50:32.7804||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 10:50:32.7804||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 10:50:32.7804|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:50:32.7972||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 10:50:32.7972|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 2025-11-21 10:50:32.7972||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 10:50:32.7972|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]]'. 2025-11-21 10:50:32.7972||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 10:50:32.7972|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 13.3279ms 2025-11-21 10:50:32.7972|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 10:50:32.8115|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 54.7369ms 200 application/json; charset=utf-8 2025-11-21 10:50:32.8115||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 10:50:32.8115||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:50:32.8115||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 10:50:32.8115||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 10:50:32.8115||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 10:50:32.8295||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 10:50:33.9057||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:50:33.9057||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:50:33.9057||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:50:33.9057||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:50:33.9057||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 10:50:33.9224|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]]'. 2025-11-21 10:50:33.9224|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1131.8097ms 2025-11-21 10:50:33.9224||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:50:33.9224|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 10:50:33.9224||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:50:33.9224|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1170.9572ms 200 application/json; charset=utf-8 2025-11-21 10:50:33.9224||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 10:50:34.4524|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 10:50:34.4524|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:50:34.4524|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 10:50:34.4524|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4.0015ms 204 2025-11-21 10:50:34.4524|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:50:34.4524|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 10:50:34.4524|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.2852ms 204 2025-11-21 10:50:34.4524|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:50:34.4681|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 10:50:34.4681|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:50:34.4681|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:50:34.4681|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:50:34.4681|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:50:34.4681|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 10:50:34.4681|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:50:34.4681|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). 2025-11-21 10:50:34.4681|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 10:50:34.4828|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:50:34.4828|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). 2025-11-21 10:50:34.4828|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:50:34.4828|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] 2025-11-21 10:50:34.4828|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]]'. 2025-11-21 10:50:34.4828|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 7.2404ms 2025-11-21 10:50:34.4828|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 10:50:34.4828|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] 2025-11-21 10:50:34.4828|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 28.2659ms 200 application/json; charset=utf-8 2025-11-21 10:50:34.5118|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]]'. 2025-11-21 10:50:34.5148|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 32.7331ms 2025-11-21 10:50:34.5148|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 10:50:34.5148|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 55.6777ms 200 application/json; charset=utf-8 2025-11-21 10:50:35.0125||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:50:35.0172||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:50:35.0172||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:50:35.0315||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:50:35.0315||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:50:35.0315||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 10:50:36.1118||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:50:36.1173||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:50:36.1173||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:50:36.1351||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:50:36.1351||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:50:36.1351||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 10:50:37.2251||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:50:37.2251||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:50:37.2251||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:50:37.2467||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:50:37.2467||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:50:37.2467||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 10:50:38.3358||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:50:38.3358||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:50:38.3358||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:50:38.3528||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:50:38.3528||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:50:38.3528||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 10:50:39.4455||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:50:39.4455||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:50:39.4455||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:50:39.4696||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:50:39.4800|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; 2025-11-21 10:50:39.4800|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 2025-11-21 10:50:39.4937|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:50:39.4937|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:50:39.4937|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:50:39.4937|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:50:39.5063|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:50:39.5063|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)) 2025-11-21 10:50:39.5063|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:50:39.5063|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:50:39.5063|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:50:39.5063|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:50:39.5063|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:50:39.5236|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:50:39.5624|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]]'. 2025-11-21 10:50:39.5624|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6787.8406ms 2025-11-21 10:50:39.5624|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 10:50:39.5700|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6815.1039ms 200 application/json; charset=utf-8 2025-11-21 10:50:39.8599|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 10:50:39.8599|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 10:50:39.8599|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 10:50:39.8599|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:50:39.8660|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:50:39.8660|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:50:39.8660|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.8553ms 204 2025-11-21 10:50:39.8660|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 14.1896ms 204 2025-11-21 10:50:39.8660|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 16.1539ms 204 2025-11-21 10:50:39.8660|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 10:50:39.8811|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 10:50:39.8811|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 10:50:39.8811|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:50:39.8811|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:50:39.8811|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:50:39.8811|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:50:39.8811|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:50:39.8811|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:50:39.8811|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:50:39.8811|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:50:39.8968|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:50:39.8968|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 10:50:39.8968|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 10:50:39.8968|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 10:50:39.8968|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). 2025-11-21 10:50:39.8968|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). 2025-11-21 10:50:39.8968|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). 2025-11-21 10:50:39.8968|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:50:39.8968||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 10:50:39.9138|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:50:39.9138|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 2025-11-21 10:50:39.9138|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]]'. 2025-11-21 10:50:39.9138||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 10:50:39.9138|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)) 2025-11-21 10:50:39.9138|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 13.4889ms 2025-11-21 10:50:39.9138||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 10:50:39.9138||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 10:50:39.9280|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 10:50:39.9280||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 10:50:39.9280|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 54.2917ms 200 application/json; charset=utf-8 2025-11-21 10:50:39.9488||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 10:50:39.9488||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 10:50:39.9488||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 10:50:39.9488||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:50:39.9488||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 10:50:39.9614||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 10:50:41.0381||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:50:41.0381||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:50:41.0381||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:50:41.0381||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:50:41.0539||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 10:50:41.0539|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]]'. 2025-11-21 10:50:41.0539|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1146.5919ms 2025-11-21 10:50:41.0539||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:50:41.0539|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 10:50:41.0539|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1180.3315ms 200 application/json; charset=utf-8 2025-11-21 10:50:41.0539||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:50:41.0539||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 10:50:42.1292||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:50:42.1347||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:50:42.1347||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:50:42.1553||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:50:42.1553||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:50:42.1622||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 10:50:43.2385||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:50:43.2436||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:50:43.2436||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:50:43.2620||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:50:43.2620||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:50:43.2620||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 10:50:44.3467||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:50:44.3516||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:50:44.3516||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:50:44.3721||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:50:44.3721||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:50:44.3839||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 10:50:45.4711||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:50:45.4754||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:50:45.4754||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:50:45.4988||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:50:45.4988||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:50:45.5125||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 10:50:46.5976||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:50:46.6033||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:50:46.6033||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:50:46.6237||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:50:46.6331|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; 2025-11-21 10:50:46.6331|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 2025-11-21 10:50:46.6331|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:50:46.6331|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:50:46.6498|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:50:46.6498|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:50:46.6498|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:50:46.6498|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)) 2025-11-21 10:50:46.6638|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:50:46.6638|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:50:46.6638|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' 2025-11-21 10:50:46.6638|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:50:46.6796|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:50:46.6796|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)) 2025-11-21 10:50:46.7220|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]]'. 2025-11-21 10:50:46.7255|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6812.1829ms 2025-11-21 10:50:46.7255|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 10:50:46.7255|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6846.2377ms 200 application/json; charset=utf-8 2025-11-21 10:54:45.5057|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 10:54:45.5057|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 10:54:45.5057|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 10:54:45.5057|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:54:45.5115|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:54:45.5115|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:54:45.5115|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.6517ms 204 2025-11-21 10:54:45.5115|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.6194ms 204 2025-11-21 10:54:45.5115|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.968ms 204 2025-11-21 10:54:45.5115|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 10:54:45.5115|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 10:54:45.5251|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 10:54:45.5251|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:54:45.5251|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:54:45.5251|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:54:45.5251|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:54:45.5251|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:54:45.5251|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:54:45.5251|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:54:45.5251|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:54:45.5251|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:54:45.5251|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 10:54:45.5251|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 10:54:45.5406|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 10:54:45.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). 2025-11-21 10:54:45.5406|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). 2025-11-21 10:54:45.5406|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). 2025-11-21 10:54:45.5406|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:54:45.5406||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 10:54:45.5406|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:54:45.5633|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 2025-11-21 10:54:45.5633||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 10:54:45.5633|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]]'. 2025-11-21 10:54:45.5633|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 22.6909ms 2025-11-21 10:54:45.5633||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 10:54:45.5633|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 10:54:45.5633|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 51.5459ms 200 application/json; charset=utf-8 2025-11-21 10:54:45.5724|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)) 2025-11-21 10:54:45.5724||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 10:54:45.5724||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 10:54:45.5874||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 10:54:45.5874||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 10:54:45.5874||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 10:54:45.5874||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 10:54:45.5874||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:54:45.5874||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 10:54:46.6854||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:54:46.6854||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 10:54:46.6854||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:54:46.6854|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]]'. 2025-11-21 10:54:46.6854||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:54:46.6854|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1147.9366ms 2025-11-21 10:54:46.6980|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 10:54:46.6980||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:54:46.6980|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1176.5478ms 200 application/json; charset=utf-8 2025-11-21 10:54:46.6980||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:54:46.7296||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:54:46.7296||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 10:54:47.8176|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 10:54:47.8176|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 10:54:47.8176|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:54:47.8240||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:54:47.8240|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:54:47.8240|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.2516ms 204 2025-11-21 10:54:47.8240||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:54:47.8240|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 15.7678ms 204 2025-11-21 10:54:47.8240|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 10:54:47.8384||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:54:47.8384|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 10:54:47.8384|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:54:47.8384|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:54:47.8384|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:54:47.8384|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:54:47.8384|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:54:47.8384|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:54:47.8531|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 10:54:47.8531||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:54:47.8531|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 10:54:47.8531|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). 2025-11-21 10:54:47.8531||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:54:47.8531|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). 2025-11-21 10:54:47.8531|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:54:47.8531||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 10:54:47.8531|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:54:47.8692|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] 2025-11-21 10:54:47.8692|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]]'. 2025-11-21 10:54:47.8692|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 11.2038ms 2025-11-21 10:54:47.8692|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 10:54:47.8692|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 39.3444ms 200 application/json; charset=utf-8 2025-11-21 10:54:47.9090|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] 2025-11-21 10:54:47.9197|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]]'. 2025-11-21 10:54:47.9197|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 57.1027ms 2025-11-21 10:54:47.9197|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 10:54:47.9197|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 85.34ms 200 application/json; charset=utf-8 2025-11-21 10:54:48.9530||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:54:48.9530||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:54:48.9659||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:54:48.9829||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:54:48.9829||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:54:48.9972||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 10:54:50.0922||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:54:50.0922||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:54:50.0922||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:54:50.1169||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:54:50.1215||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:54:50.1215||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 10:54:51.2144||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:54:51.2144||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:54:51.2144||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:54:51.2376||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:54:51.2376||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:54:51.2456||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 10:54:52.3241||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:54:52.3241||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:54:52.3241||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:54:52.3427||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:54:52.3427|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; 2025-11-21 10:54:52.3546|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 2025-11-21 10:54:52.3546|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' 2025-11-21 10:54:52.3546|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:54:52.3546|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:54:52.3712|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:54:52.3712|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:54:52.3712|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:54:52.3712|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:54:52.3712|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:54:52.3712|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:54:52.3863|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:54:52.3863|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:54:52.3863|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:54:52.4384|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]]'. 2025-11-21 10:54:52.4384|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6892.0302ms 2025-11-21 10:54:52.4384|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 10:54:52.4384|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6919.025ms 200 application/json; charset=utf-8 2025-11-21 10:54:54.7863|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 10:54:54.7863|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 10:54:54.7863|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 10:54:54.7863|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:54:54.7931|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:54:54.7931|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:54:54.7931|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.5185ms 204 2025-11-21 10:54:54.7931|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 13.023ms 204 2025-11-21 10:54:54.7931|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 14.8495ms 204 2025-11-21 10:54:54.7931|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 10:54:54.7931|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 10:54:54.8092|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 10:54:54.8092|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:54:54.8092|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:54:54.8092|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:54:54.8092|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:54:54.8092|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:54:54.8232|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:54:54.8232|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:54:54.8232|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:54:54.8232|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:54:54.8232|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 10:54:54.8232|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 10:54:54.8232|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 10:54:54.8232|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). 2025-11-21 10:54:54.8232|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). 2025-11-21 10:54:54.8232|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). 2025-11-21 10:54:54.8378|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:54:54.8378|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:54:54.8378||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 10:54:54.8378|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 2025-11-21 10:54:54.8378|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)) 2025-11-21 10:54:54.8378|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]]'. 2025-11-21 10:54:54.8378||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 10:54:54.8378|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 11.0114ms 2025-11-21 10:54:54.8378||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 10:54:54.8530|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 10:54:54.8530||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 10:54:54.8530|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 51.0392ms 200 application/json; charset=utf-8 2025-11-21 10:54:54.8530||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 10:54:54.8748||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 10:54:54.8748||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 10:54:54.8748||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 10:54:54.8748||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 10:54:54.8748||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:54:54.8873||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 10:54:55.9529||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:54:55.9529||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:54:55.9529||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:54:55.9529||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 10:54:55.9529||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:54:55.9611|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]]'. 2025-11-21 10:54:55.9611|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1125.0739ms 2025-11-21 10:54:55.9611|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 10:54:55.9611|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1159.8779ms 200 application/json; charset=utf-8 2025-11-21 10:54:55.9611||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:54:55.9770||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:54:55.9770||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 10:54:57.0583||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:54:57.0583||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:54:57.0583||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:54:57.0785||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:54:57.0785||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:54:57.0785||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 10:54:58.1647||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:54:58.1647||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:54:58.1647||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:54:58.1815||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:54:58.1815||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:54:58.1815||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 10:54:59.2736||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:54:59.2736||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:54:59.2736||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:54:59.2943||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:54:59.2943||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:54:59.2943||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 10:55:00.3825||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:55:00.3862||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:55:00.3862||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:55:00.4029||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:55:00.4029||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:55:00.4029||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 10:55:01.4817||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:55:01.4862||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:55:01.4862||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:55:01.5026||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:55:01.5026|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; 2025-11-21 10:55:01.5199|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 2025-11-21 10:55:01.5199|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' 2025-11-21 10:55:01.5199|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:55:01.5345|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:55:01.5345|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)) 2025-11-21 10:55:01.5345|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:55:01.5345|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:55:01.5507|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:55:01.5507|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:55:01.5507|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:55:01.5507|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:55:01.5639|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:55:01.5639|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:55:01.6013|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]]'. 2025-11-21 10:55:01.6013|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6767.5629ms 2025-11-21 10:55:01.6013|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 10:55:01.6013|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6804.1762ms 200 application/json; charset=utf-8 2025-11-21 10:57:15.4551|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 10:57:15.4551|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 10:57:15.4551|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 10:57:15.4551|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:57:15.4551|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:57:15.4639|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:57:15.4639|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.8486ms 204 2025-11-21 10:57:15.4639|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.8166ms 204 2025-11-21 10:57:15.4639|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 15.4096ms 204 2025-11-21 10:57:15.4639|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 10:57:15.4639|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 10:57:15.4639|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 10:57:15.4805|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:57:15.4805|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:57:15.4805|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:57:15.4805|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:57:15.4805|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:57:15.4805|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:57:15.4805|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:57:15.4805|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:57:15.4805|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:57:15.4957|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 10:57:15.4957|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 10:57:15.4957|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 10:57:15.4957|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). 2025-11-21 10:57:15.4957|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). 2025-11-21 10:57:15.4957|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). 2025-11-21 10:57:15.4957||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 10:57:15.4957|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:57:15.5112|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:57:15.5112|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 2025-11-21 10:57:15.5112||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 10:57:15.5112|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]]'. 2025-11-21 10:57:15.5112|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)) 2025-11-21 10:57:15.5112|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 15.2885ms 2025-11-21 10:57:15.5260||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 10:57:15.5112||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 10:57:15.5260|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 10:57:15.5260||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 10:57:15.5260|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 54.9103ms 200 application/json; charset=utf-8 2025-11-21 10:57:15.5506||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 10:57:15.5506||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 10:57:15.5506||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:57:15.5581||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 10:57:15.5581||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 10:57:15.5581||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 10:57:16.6370||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:57:16.6370||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:57:16.6370||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:57:16.6370||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:57:16.6523||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 10:57:16.6523|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]]'. 2025-11-21 10:57:16.6523|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1149.58ms 2025-11-21 10:57:16.6523|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 10:57:16.6523||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:57:16.6523|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1184.8605ms 200 application/json; charset=utf-8 2025-11-21 10:57:16.6523||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:57:16.6523||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 10:57:17.7438||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:57:17.7438||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:57:17.7438||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:57:17.7650||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:57:17.7650||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:57:17.7650||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 10:57:18.0584|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 10:57:18.0584|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 10:57:18.0584|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:57:18.0584|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:57:18.0584|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.2735ms 204 2025-11-21 10:57:18.0584|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.1829ms 204 2025-11-21 10:57:18.0718|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 10:57:18.0718|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 10:57:18.0718|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:57:18.0718|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:57:18.0718|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:57:18.0718|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:57:18.0718|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:57:18.0718|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:57:18.0889|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 10:57:18.0889|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 10:57:18.0889|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). 2025-11-21 10:57:18.0889|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). 2025-11-21 10:57:18.0889|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:57:18.0889|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:57:18.1043|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] 2025-11-21 10:57:18.1043|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]]'. 2025-11-21 10:57:18.1043|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 13.8832ms 2025-11-21 10:57:18.1043|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 10:57:18.1043|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 41.776ms 200 application/json; charset=utf-8 2025-11-21 10:57:18.1578|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] 2025-11-21 10:57:18.1699|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]]'. 2025-11-21 10:57:18.1699|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 74.9353ms 2025-11-21 10:57:18.1699|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 10:57:18.1699|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 105.1163ms 200 application/json; charset=utf-8 2025-11-21 10:57:18.8553||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:57:18.8553||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:57:18.8553||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:57:18.8793||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:57:18.8850||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:57:18.8850||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 10:57:19.9640||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:57:19.9688||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:57:19.9688||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:57:19.9849||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:57:19.9849||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:57:19.9849||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 10:57:21.0731||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:57:21.0763||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:57:21.0763||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:57:21.0906||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:57:21.0906||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:57:21.0906||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 10:57:22.1870||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:57:22.1870||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:57:22.1870||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:57:22.2094||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:57:22.2154|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; 2025-11-21 10:57:22.2154|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 2025-11-21 10:57:22.2154|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' 2025-11-21 10:57:22.2154|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)) 2025-11-21 10:57:22.2347|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:57:22.2347|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:57:22.2347|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:57:22.2347|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:57:22.2503|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:57:22.2503|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:57:22.2503|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:57:22.2619|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)) 2025-11-21 10:57:22.2619|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:57:22.2619|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)) 2025-11-21 10:57:22.3059|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]]'. 2025-11-21 10:57:22.3087|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6797.9548ms 2025-11-21 10:57:22.3087|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 10:57:22.3087|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6834.6206ms 200 application/json; charset=utf-8 2025-11-21 10:57:33.4945|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 10:57:33.4945|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 10:57:33.4945|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 10:57:33.4975|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:57:33.4975|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:57:33.4975|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:57:33.4975|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.7227ms 204 2025-11-21 10:57:33.4975|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 15.5028ms 204 2025-11-21 10:57:33.5135|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 18.6207ms 204 2025-11-21 10:57:33.5135|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 10:57:33.5135|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 10:57:33.5135|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 10:57:33.5135|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:57:33.5135|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:57:33.5135|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:57:33.5135|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:57:33.5285|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:57:33.5285|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:57:33.5285|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:57:33.5285|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 10:57:33.5285|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:57:33.5285|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:57:33.5285|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). 2025-11-21 10:57:33.5285|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 10:57:33.5427|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 10:57:33.5427|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:57:33.5427|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). 2025-11-21 10:57:33.5427|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). 2025-11-21 10:57:33.5427||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 10:57:33.5656|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (12ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:57:33.5656|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:57:33.5656||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 10:57:33.5656|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 2025-11-21 10:57:33.5740||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 10:57:33.5740|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]]'. 2025-11-21 10:57:33.5740||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 10:57:33.5740|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 13.8272ms 2025-11-21 10:57:33.5740||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 10:57:33.5740|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 10:57:33.5740|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 66.0089ms 200 application/json; charset=utf-8 2025-11-21 10:57:33.5922||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 10:57:33.5922||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 10:57:33.5922||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 10:57:33.5922||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 10:57:33.5922||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:57:33.5922||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 10:57:34.6800||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:57:34.6800||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:57:34.6852||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:57:34.6852||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 10:57:34.6852||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:57:34.6852|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]]'. 2025-11-21 10:57:34.6852|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1137.7777ms 2025-11-21 10:57:34.6852|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 10:57:34.6852|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1173.8232ms 200 application/json; charset=utf-8 2025-11-21 10:57:34.7013||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:57:34.7013||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:57:34.7013||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 10:57:35.2092|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 10:57:35.2092|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 10:57:35.2092|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:57:35.2092|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:57:35.2170|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.8294ms 204 2025-11-21 10:57:35.2170|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.5653ms 204 2025-11-21 10:57:35.2170|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 10:57:35.2170|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 10:57:35.2170|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:57:35.2170|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 10:57:35.2170|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:57:35.2170|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 10:57:35.2306|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:57:35.2306|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 10:57:35.2306|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 10:57:35.2306|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 10:57:35.2306|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). 2025-11-21 10:57:35.2306|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). 2025-11-21 10:57:35.2306|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:57:35.2306|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 10:57:35.2507|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] 2025-11-21 10:57:35.2507|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]]'. 2025-11-21 10:57:35.2507|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 9.1347ms 2025-11-21 10:57:35.2507|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 10:57:35.2507|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 34.7354ms 200 application/json; charset=utf-8 2025-11-21 10:57:35.2507|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] 2025-11-21 10:57:35.2643|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]]'. 2025-11-21 10:57:35.2643|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 23.8141ms 2025-11-21 10:57:35.2643|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 10:57:35.2643|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 44.8464ms 200 application/json; charset=utf-8 2025-11-21 10:57:35.7809||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:57:35.7809||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:57:35.7809||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:57:35.8021||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:57:35.8021||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:57:35.8090||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 10:57:36.8835||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:57:36.8881||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:57:36.8881||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:57:36.9044||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:57:36.9044||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:57:36.9044||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 10:57:38.0001||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:57:38.0001||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:57:38.0001||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:57:38.0158||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:57:38.0158||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:57:38.0158||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 10:57:39.1056||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:57:39.1056||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:57:39.1056||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:57:39.1307||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:57:39.1307||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 10:57:39.1395||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 10:57:40.2138||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 10:57:40.2167||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 10:57:40.2167||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 10:57:40.2167||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 10:57:40.2365|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; 2025-11-21 10:57:40.2365|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 2025-11-21 10:57:40.2365|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:57:40.2476|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:57:40.2476|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:57:40.2476|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:57:40.2476|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:57:40.2476|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:57:40.2476|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' 2025-11-21 10:57:40.2476|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:57:40.2622|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:57:40.2622|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)) 2025-11-21 10:57:40.2622|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 10:57:40.2622|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 10:57:40.3121|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]]'. 2025-11-21 10:57:40.3121|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6770.3426ms 2025-11-21 10:57:40.3121|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 10:57:40.3121|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6802.9593ms 200 application/json; charset=utf-8 2025-11-21 11:11:18.6225|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 11:11:18.6225|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 11:11:18.6225|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 11:11:18.6225|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:11:18.6277|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:11:18.6277|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:11:18.6277|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.5684ms 204 2025-11-21 11:11:18.6277|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.4499ms 204 2025-11-21 11:11:18.6277|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 13.2845ms 204 2025-11-21 11:11:18.6277|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 11:11:18.6277|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 11:11:18.6277|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 11:11:18.6431|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() 2025-11-21 11:11:18.6431|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() 2025-11-21 11:11:18.6431|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() 2025-11-21 11:11:18.6431|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'. 2025-11-21 11:11:18.6431|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'. 2025-11-21 11:11:18.6431|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'. 2025-11-21 11:11:18.6431|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:11:18.6431|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:11:18.6431|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:11:18.6431|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2025-11-21 11:11:18.6431|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2025-11-21 11:11:18.6431|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2025-11-21 11:11:18.6431|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2025-11-21 11:11:18.6431|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2025-11-21 11:11:18.6596|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2025-11-21 11:11:18.6596|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 21.5903ms 401 2025-11-21 11:11:18.6596|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 21.2728ms 401 2025-11-21 11:11:18.6596|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 21.649ms 401 2025-11-21 11:11:40.2981|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=519 2025-11-21 11:11:40.2981|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:11:40.2981|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.3122ms 204 2025-11-21 11:11:40.3092|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=519 2025-11-21 11:11:40.3092|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 11:11:40.3092|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 11:11:40.3092|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 11:11:40.3092|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 11:11:40.3092|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:11:40.3092|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:11:40.3092|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:11:40.3220|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:11:40.3220|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.001ms 204 2025-11-21 11:11:40.3220|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 13.5986ms 204 2025-11-21 11:11:40.3220|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 11:11:40.3220|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 17.5594ms 204 2025-11-21 11:11:40.3220|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 11:11:40.3220|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 11:11:40.3372|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 11:11:40.3372|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 11:11:40.3372|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 11:11:40.3372|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 11:11:40.3372|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). 2025-11-21 11:11:40.3372|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 11:11:40.3372|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:11:40.3372|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:11:40.3372|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 11:11:40.3372|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:11:40.3372|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 11:11:40.3523|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 11:11:40.3523|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 11:11:40.3523|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 11:11:40.3523|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 11:11:40.3523|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 11:11:40.3523|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). 2025-11-21 11:11:40.3523|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). 2025-11-21 11:11:40.3523|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). 2025-11-21 11:11:40.3523|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 11:11:40.3523|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 11:11:40.3677|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)) 2025-11-21 11:11:40.3677||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 11:11:40.3677|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]]'. 2025-11-21 11:11:40.3677|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 2025-11-21 11:11:40.3677|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 26.4548ms 2025-11-21 11:11:40.3677|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]]'. 2025-11-21 11:11:40.3677|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 11:11:40.3677|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)) 2025-11-21 11:11:40.3677|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 14.5955ms 2025-11-21 11:11:40.3677|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 72.8409ms 200 application/json; charset=utf-8 2025-11-21 11:11:40.3854|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 11:11:40.3854||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 11:11:40.3854|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 54.324ms 200 application/json; charset=utf-8 2025-11-21 11:11:40.3854||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 11:11:40.3854||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 11:11:40.3854||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 11:11:40.4111||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 11:11:40.4144||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 11:11:40.4144||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 11:11:40.4144||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 11:11:40.4144||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 11:11:40.4144||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 11:11:41.5129||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:11:41.5129||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:11:41.5129||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 11:11:41.5129||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 11:11:41.5129|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]]'. 2025-11-21 11:11:41.5129|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1155.8204ms 2025-11-21 11:11:41.5241||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 11:11:41.5241|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 11:11:41.5241|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1190.3948ms 200 application/json; charset=utf-8 2025-11-21 11:11:41.5241||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 11:11:41.5424||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 11:11:41.5424||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 11:11:42.6194||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:11:42.6194||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 11:11:42.6194||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 11:11:42.6378||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 11:11:42.6378||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 11:11:42.6378||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 11:11:43.7299||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:11:43.7299||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 11:11:43.7299||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 11:11:43.7575||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 11:11:43.7623||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 11:11:43.7623||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 11:11:44.8579||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:11:44.8579||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 11:11:44.8579||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 11:11:44.8813||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 11:11:44.8866||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 11:11:44.8866||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 11:11:45.3381|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 11:11:45.3381|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 11:11:45.3381|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:11:45.3381|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:11:45.3381|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.8294ms 204 2025-11-21 11:11:45.3381|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.1584ms 204 2025-11-21 11:11:45.3381|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 11:11:45.3527|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 11:11:45.3527|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 11:11:45.3527|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 11:11:45.3527|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:11:45.3527|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:11:45.3527|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 11:11:45.3527|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 11:11:45.3527|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 11:11:45.3699|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 11:11:45.3699|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). 2025-11-21 11:11:45.3699|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). 2025-11-21 11:11:45.3699|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 11:11:45.3699|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 11:11:45.3699|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] 2025-11-21 11:11:45.3699|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]]'. 2025-11-21 11:11:45.3699|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 9.4649ms 2025-11-21 11:11:45.3851|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 11:11:45.3851|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 36.9594ms 200 application/json; charset=utf-8 2025-11-21 11:11:45.3851|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] 2025-11-21 11:11:45.4068|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]]'. 2025-11-21 11:11:45.4068|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 32.6209ms 2025-11-21 11:11:45.4068|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 11:11:45.4068|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 57.6963ms 200 application/json; charset=utf-8 2025-11-21 11:11:45.9571||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:11:45.9571||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 11:11:45.9660||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 11:11:45.9793||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 11:11:45.9793||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 11:11:45.9793||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 11:11:47.0683||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:11:47.0683||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 11:11:47.0730||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 11:11:47.0730||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 11:11:47.0929|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; 2025-11-21 11:11:47.0929|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 2025-11-21 11:11:47.0929|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 11:11:47.1043|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 11:11:47.1043|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 11:11:47.1043|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 11:11:47.1043|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 11:11:47.1043|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 11:11:47.1188|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 11:11:47.1188|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 11:11:47.1188|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 11:11:47.1188|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 11:11:47.1188|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 11:11:47.1188|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 11:11:47.1845|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]]'. 2025-11-21 11:11:47.1845|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6821.2823ms 2025-11-21 11:11:47.1845|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 11:11:47.1845|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6855.4212ms 200 application/json; charset=utf-8 2025-11-21 11:11:52.2516|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 11:11:52.2516|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 11:11:52.2516|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 11:11:52.2516|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:11:52.2516|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:11:52.2516|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:11:52.2624|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.8037ms 204 2025-11-21 11:11:52.2624|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.965ms 204 2025-11-21 11:11:52.2624|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 11:11:52.2624|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 14.6579ms 204 2025-11-21 11:11:52.2624|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 11:11:52.2624|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 11:11:52.2624|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 11:11:52.2769|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 11:11:52.2769|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 11:11:52.2769|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:11:52.2769|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:11:52.2769|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:11:52.2769|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 11:11:52.2769|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 11:11:52.2769|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 11:11:52.2769|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 11:11:52.2769|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 11:11:52.2769|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 11:11:52.2769|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). 2025-11-21 11:11:52.2769|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). 2025-11-21 11:11:52.2919|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). 2025-11-21 11:11:52.2919|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 11:11:52.2919|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 11:11:52.2919||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 11:11:52.2919|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)) 2025-11-21 11:11:52.2919|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 2025-11-21 11:11:52.2919||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 11:11:52.2919||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 11:11:52.3061|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]]'. 2025-11-21 11:11:52.3061||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 11:11:52.3061|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 16.5846ms 2025-11-21 11:11:52.3061||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 11:11:52.3061|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 11:11:52.3061|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 51.4456ms 200 application/json; charset=utf-8 2025-11-21 11:11:52.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 2025-11-21 11:11:52.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 2025-11-21 11:11:52.3313||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 11:11:52.3391||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 11:11:52.3391||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 11:11:52.3391||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 11:11:53.4195||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:11:53.4195||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 11:11:53.4195||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 11:11:53.4327||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:11:53.4327||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 11:11:53.4327|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]]'. 2025-11-21 11:11:53.4327|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1142.4209ms 2025-11-21 11:11:53.4327|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 11:11:53.4327|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1170.4407ms 200 application/json; charset=utf-8 2025-11-21 11:11:53.4327||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 11:11:53.4327||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 11:11:53.4488||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 11:11:54.5236||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:11:54.5276||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 11:11:54.5276||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 11:11:54.5443||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 11:11:54.5443||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 11:11:54.5443||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 11:11:55.6394||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:11:55.6394||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 11:11:55.6394||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 11:11:55.6629||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 11:11:55.6663||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 11:11:55.6663||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 11:11:56.7601||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:11:56.7601||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 11:11:56.7601||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 11:11:56.7791||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 11:11:56.7791||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 11:11:56.7791||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 11:11:57.8643||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:11:57.8706||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 11:11:57.8706||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 11:11:57.8926||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 11:11:57.8992||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 11:11:57.8992||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 11:11:58.9893||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:11:58.9952||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 11:11:58.9952||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 11:11:59.0160||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 11:11:59.0245|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; 2025-11-21 11:11:59.0245|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 2025-11-21 11:11:59.0245|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 11:11:59.0388|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 11:11:59.0388|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 11:11:59.0388|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 11:11:59.0388|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 11:11:59.0541|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 11:11:59.0541|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 11:11:59.0541|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 11:11:59.0541|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 11:11:59.0702|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 11:11:59.0702|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 11:11:59.0702|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 11:11:59.1133|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]]'. 2025-11-21 11:11:59.1166|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6822.7785ms 2025-11-21 11:11:59.1166|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 11:11:59.1166|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6855.4934ms 200 application/json; charset=utf-8 2025-11-21 11:13:12.4966|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 11:13:12.4966|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 11:13:12.4966|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 11:13:12.4966|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:13:12.4966|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:13:12.4966|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:13:12.4966|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.4914ms 204 2025-11-21 11:13:12.5065|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.7152ms 204 2025-11-21 11:13:12.5065|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.6709ms 204 2025-11-21 11:13:12.5065|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 11:13:12.5065|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 11:13:12.5065|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 11:13:12.5065|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 11:13:12.5065|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 11:13:12.5065|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 11:13:12.5065|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:13:12.5065|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:13:12.5218|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:13:12.5218|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 11:13:12.5218|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 11:13:12.5218|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 11:13:12.5218|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 11:13:12.5218|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 11:13:12.5218|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 11:13:12.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). 2025-11-21 11:13:12.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). 2025-11-21 11:13:12.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). 2025-11-21 11:13:12.5218|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 11:13:12.5218||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 11:13:12.5218|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 11:13:12.5399|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 2025-11-21 11:13:12.5399||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 11:13:12.5399|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]]'. 2025-11-21 11:13:12.5399|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)) 2025-11-21 11:13:12.5399|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 16.3125ms 2025-11-21 11:13:12.5399||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 11:13:12.5399|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 11:13:12.5399||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 11:13:12.5538|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 42.666ms 200 application/json; charset=utf-8 2025-11-21 11:13:12.5538||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 11:13:12.5705||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 11:13:12.5705||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 11:13:12.5705||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 11:13:12.5705||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 11:13:12.5705||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 11:13:12.5705||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 11:13:13.6810||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:13:13.6810||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:13:13.6810||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 11:13:13.6810||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 11:13:13.6810|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]]'. 2025-11-21 11:13:13.6945||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 11:13:13.6945|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1160.8669ms 2025-11-21 11:13:13.6945|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 11:13:13.6945|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1187.6897ms 200 application/json; charset=utf-8 2025-11-21 11:13:13.7108||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 11:13:13.7108||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 11:13:13.7108||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 11:13:14.8065||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:13:14.8065||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 11:13:14.8065||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 11:13:14.8253||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 11:13:14.8253||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 11:13:14.8253||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 11:13:15.9165||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:13:15.9165||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 11:13:15.9165||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 11:13:15.9405||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 11:13:15.9451||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 11:13:15.9451||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 11:13:17.0312||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:13:17.0352||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 11:13:17.0352||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 11:13:17.0566||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 11:13:17.0566||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 11:13:17.0651||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 11:13:18.1401||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:13:18.1456||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 11:13:18.1456||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 11:13:18.1610||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 11:13:18.1610||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 11:13:18.1610||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 11:13:19.2523||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:13:19.2523||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 11:13:19.2523||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 11:13:19.2712||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 11:13:19.2712|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; 2025-11-21 11:13:19.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)) ORDER BY [s].[DateCreated] DESC 2025-11-21 11:13:19.2877|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 11:13:19.2877|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 11:13:19.2877|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 11:13:19.2981|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 11:13:19.2981|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' 2025-11-21 11:13:19.2981|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)) 2025-11-21 11:13:19.2981|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 11:13:19.3217|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)) 2025-11-21 11:13:19.3217|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 11:13:19.3313|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)) 2025-11-21 11:13:19.3313|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 11:13:19.3313|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 11:13:19.3793|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]]'. 2025-11-21 11:13:19.3793|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6847.0965ms 2025-11-21 11:13:19.3793|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 11:13:19.3793|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6873.0538ms 200 application/json; charset=utf-8 2025-11-21 11:16:22.7487|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 11:16:22.7497|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 11:16:22.7497|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:16:22.7497|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:16:22.7497|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.2978ms 204 2025-11-21 11:16:22.7497|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.9864ms 204 2025-11-21 11:16:22.7497|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 11:16:22.7666|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 11:16:22.7666|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 11:16:22.7666|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 11:16:22.7666|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:16:22.7666|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:16:22.7666|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 11:16:22.7666|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 11:16:22.7666|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 11:16:22.7666|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 11:16:22.7666|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). 2025-11-21 11:16:22.7816|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). 2025-11-21 11:16:22.7816|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 11:16:22.7816|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 11:16:22.7816|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] 2025-11-21 11:16:22.7816|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] 2025-11-21 11:16:22.7816|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]]'. 2025-11-21 11:16:22.7816|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 11.197ms 2025-11-21 11:16:22.7975|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 11:16:22.7975|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 32.5033ms 200 application/json; charset=utf-8 2025-11-21 11:16:22.7975|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]]'. 2025-11-21 11:16:22.7975|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 22.0474ms 2025-11-21 11:16:22.7975|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 11:16:22.7975|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 44.1475ms 200 application/json; charset=utf-8 2025-11-21 11:16:48.4494|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 11:16:48.4494|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 11:16:48.4494|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 11:16:48.4535|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:16:48.4535|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:16:48.4535|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:16:48.4535|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.2447ms 204 2025-11-21 11:16:48.4535|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.2737ms 204 2025-11-21 11:16:48.4535|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 14.0439ms 204 2025-11-21 11:16:48.4535|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 11:16:48.4535|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 11:16:48.4698|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 11:16:48.4698|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 11:16:48.4698|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 11:16:48.4698|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 11:16:48.4698|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:16:48.4698|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:16:48.4698|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:16:48.4698|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 11:16:48.4698|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 11:16:48.4836|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 11:16:48.4836|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 11:16:48.4836|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 11:16:48.4836|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 11:16:48.4836|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). 2025-11-21 11:16:48.4836|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). 2025-11-21 11:16:48.4836|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). 2025-11-21 11:16:48.4836|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 11:16:48.4836||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 11:16:48.4836|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 11:16:48.5013|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)) 2025-11-21 11:16:48.5013|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 2025-11-21 11:16:48.5013|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]]'. 2025-11-21 11:16:48.5013|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 13.6744ms 2025-11-21 11:16:48.5013|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 11:16:48.5013|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 43.5699ms 200 application/json; charset=utf-8 2025-11-21 11:16:48.5013||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 11:16:48.5175||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 11:16:48.5175||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 11:16:48.5175||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 11:16:48.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 2025-11-21 11:16:48.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 2025-11-21 11:16:48.5345||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 11:16:48.5345||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 11:16:48.5345||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 11:16:48.5345||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 11:16:49.6199||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:16:49.6199||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 11:16:49.6267||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 11:16:49.6267||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:16:49.6400||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 11:16:49.6400||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 11:16:49.6400||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 11:16:49.6400|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]]'. 2025-11-21 11:16:49.6400|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1155.0721ms 2025-11-21 11:16:49.6400||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 11:16:49.6400|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 11:16:49.6400|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1186.789ms 200 application/json; charset=utf-8 2025-11-21 11:16:50.7388||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:16:50.7388||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 11:16:50.7491||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 11:16:50.7491||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 11:16:50.7666||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 11:16:50.7666||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 11:16:51.8605||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:16:51.8605||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 11:16:51.8605||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 11:16:51.8792||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 11:16:51.8792||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 11:16:51.8792||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 11:16:52.9636||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:16:52.9668||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 11:16:52.9668||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 11:16:52.9845||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 11:16:52.9845||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 11:16:52.9845||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 11:16:54.0751||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:16:54.0790||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 11:16:54.0790||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 11:16:54.0945||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 11:16:54.0945||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 11:16:54.0945||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 11:16:55.1898||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:16:55.1898||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 11:16:55.1898||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 11:16:55.2096||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 11:16:55.2194|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; 2025-11-21 11:16:55.2194|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 2025-11-21 11:16:55.2194|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 11:16:55.2348|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 11:16:55.2348|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 11:16:55.2348|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 11:16:55.2348|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 11:16:55.2348|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 11:16:55.2483|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 11:16:55.2483|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 11:16:55.2483|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 11:16:55.2483|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 11:16:55.2483|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 11:16:55.2483|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 11:16:55.3010|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]]'. 2025-11-21 11:16:55.3010|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6810.6505ms 2025-11-21 11:16:55.3010|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 11:16:55.3010|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6840.2619ms 200 application/json; charset=utf-8 2025-11-21 11:19:36.5575|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 11:19:36.5575|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 11:19:36.5575|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 11:19:36.5611|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:19:36.5611|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:19:36.5611|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:19:36.5611|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.2831ms 204 2025-11-21 11:19:36.5611|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 13.3887ms 204 2025-11-21 11:19:36.5611|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 15.5548ms 204 2025-11-21 11:19:36.5769|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 11:19:36.5769|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 11:19:36.5769|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 11:19:36.5769|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 11:19:36.5769|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 11:19:36.5769|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 11:19:36.5769|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:19:36.5769|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:19:36.5769|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:19:36.5918|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 11:19:36.5918|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 11:19:36.5918|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 11:19:36.5918|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 11:19:36.5918|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 11:19:36.5918|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 11:19:36.5918|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). 2025-11-21 11:19:36.5918|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). 2025-11-21 11:19:36.6076|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). 2025-11-21 11:19:36.6076|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 11:19:36.6076|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 11:19:36.6076||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 11:19:36.6223|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 2025-11-21 11:19:36.6223|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)) 2025-11-21 11:19:36.6223|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]]'. 2025-11-21 11:19:36.6223||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 11:19:36.6223||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 11:19:36.6223|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 22.5483ms 2025-11-21 11:19:36.6223||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 11:19:36.6407|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 11:19:36.6407||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 11:19:36.6407|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 70.3694ms 200 application/json; charset=utf-8 2025-11-21 11:19:36.6668||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 11:19:36.6668||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 11:19:36.6742||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 11:19:36.6742||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 11:19:36.6742||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 11:19:36.6742||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 11:19:37.7833||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:19:37.7833||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:19:37.7833||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 11:19:37.7833||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 11:19:37.7950|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]]'. 2025-11-21 11:19:37.7950|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1179.5604ms 2025-11-21 11:19:37.7950||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 11:19:37.7950|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 11:19:37.7950|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1221.1813ms 200 application/json; charset=utf-8 2025-11-21 11:19:37.8103||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 11:19:37.8103||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 11:19:37.8103||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 11:19:38.9006||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:19:38.9038||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 11:19:38.9038||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 11:19:38.9202||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 11:19:38.9202||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 11:19:38.9202||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 11:19:39.9992||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:19:39.9992||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 11:19:39.9992||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 11:19:40.0183||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 11:19:40.0183||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 11:19:40.0183||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 11:19:41.1075||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:19:41.1075||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 11:19:41.1075||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 11:19:41.1244||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 11:19:41.1244||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 11:19:41.1244||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 11:19:42.1985||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:19:42.2045||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 11:19:42.2045||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 11:19:42.2264||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 11:19:42.2264||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 11:19:42.2322||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 11:19:43.3107||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:19:43.3107||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 11:19:43.3107||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 11:19:43.3296||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 11:19:43.3296|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; 2025-11-21 11:19:43.3440|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 2025-11-21 11:19:43.3440|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 11:19:43.3440|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)) 2025-11-21 11:19:43.3567|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 11:19:43.3567|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)) 2025-11-21 11:19:43.3567|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 11:19:43.3567|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 11:19:43.3567|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 11:19:43.3741|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 11:19:43.3741|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 11:19:43.3741|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 11:19:43.3741|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 11:19:43.3741|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 11:19:43.4200|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]]'. 2025-11-21 11:19:43.4200|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6809.9838ms 2025-11-21 11:19:43.4200|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 11:19:43.4200|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6845.4902ms 200 application/json; charset=utf-8 2025-11-21 11:21:11.8584|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 11:21:11.8584|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 11:21:11.8584|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 11:21:11.8584|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:21:11.8584|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:21:11.8584|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:21:11.8712|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.8358ms 204 2025-11-21 11:21:11.8712|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 14.6497ms 204 2025-11-21 11:21:11.8712|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 16.5223ms 204 2025-11-21 11:21:11.8712|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 11:21:11.8712|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 11:21:11.8712|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 11:21:11.8712|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 11:21:11.8712|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 11:21:11.8872|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 11:21:11.8872|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:21:11.8872|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:21:11.8872|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:21:11.8872|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 11:21:11.8872|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 11:21:11.8872|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 11:21:11.8872|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 11:21:11.8872|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 11:21:11.9022|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 11:21:11.9022|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). 2025-11-21 11:21:11.9022|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). 2025-11-21 11:21:11.9022|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). 2025-11-21 11:21:11.9022|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 11:21:11.9022|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 11:21:11.9022||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 11:21:11.9190|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)) 2025-11-21 11:21:11.9190|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 2025-11-21 11:21:11.9190||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 11:21:11.9190|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]]'. 2025-11-21 11:21:11.9190||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 11:21:11.9190|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 16.3104ms 2025-11-21 11:21:11.9190|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 11:21:11.9331|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 52.1777ms 200 application/json; charset=utf-8 2025-11-21 11:21:11.9331||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 11:21:11.9331||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 11:21:11.9491||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 11:21:11.9491||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 11:21:11.9491||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 11:21:11.9491||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 11:21:11.9672||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 11:21:11.9672||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 11:21:13.0470||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:21:13.0470||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 11:21:13.0623||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 11:21:13.0623||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:21:13.0623||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 11:21:13.0623|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]]'. 2025-11-21 11:21:13.0750|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1161.4009ms 2025-11-21 11:21:13.0750|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 11:21:13.0750|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1197.6718ms 200 application/json; charset=utf-8 2025-11-21 11:21:13.0750||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 11:21:13.0750||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 11:21:13.0750||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 11:21:14.1875||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:21:14.1875||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 11:21:14.1875||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 11:21:14.2085||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 11:21:14.2085||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 11:21:14.2085||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 11:21:15.2955||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:21:15.2955||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 11:21:15.2955||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 11:21:15.3196||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 11:21:15.3196||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 11:21:15.3265||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 11:21:16.4007||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:21:16.4055||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 11:21:16.4055||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 11:21:16.4270||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 11:21:16.4270||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 11:21:16.4270||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 11:21:17.5088||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:21:17.5132||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 11:21:17.5132||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 11:21:17.5286||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 11:21:17.5286||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 11:21:17.5286||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 11:21:18.6032||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:21:18.6079||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 11:21:18.6079||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 11:21:18.6233||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 11:21:18.6233|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; 2025-11-21 11:21:18.6233|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 2025-11-21 11:21:18.6381|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 11:21:18.6381|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 11:21:18.6381|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 11:21:18.6381|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 11:21:18.6381|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 11:21:18.6553|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 11:21:18.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' 2025-11-21 11:21:18.6553|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 11:21:18.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' 2025-11-21 11:21:18.6553|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 11:21:18.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' 2025-11-21 11:21:18.6706|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 11:21:18.7183|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]]'. 2025-11-21 11:21:18.7183|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6810.4781ms 2025-11-21 11:21:18.7183|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 11:21:18.7183|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6843.2413ms 200 application/json; charset=utf-8 2025-11-21 11:21:34.4195|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 11:21:34.4195|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 11:21:34.4195|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 11:21:34.4233|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:21:34.4233|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:21:34.4233|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:21:34.4233|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 13.8943ms 204 2025-11-21 11:21:34.4233|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 15.4444ms 204 2025-11-21 11:21:34.4375|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 17.6031ms 204 2025-11-21 11:21:34.4375|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 11:21:34.4375|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 11:21:34.4375|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:21:34.4375|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 11:21:34.4375|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 11:21:34.4375|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 11:21:34.4375|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 11:21:34.4375|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 11:21:34.4375|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 11:21:34.4375|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:21:34.4536|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:21:34.4536|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). 2025-11-21 11:21:34.4536|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 11:21:34.4536|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 11:21:34.4536|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 11:21:34.4536|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 11:21:34.4536|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 11:21:34.4536|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). 2025-11-21 11:21:34.4536|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)) 2025-11-21 11:21:34.4536|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). 2025-11-21 11:21:34.4689|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 11:21:34.4689||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 11:21:34.4689||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 11:21:34.4689|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 2025-11-21 11:21:34.4689||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 11:21:34.4689||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 11:21:34.4689|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]]'. 2025-11-21 11:21:34.4689||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 11:21:34.4689|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 13.4981ms 2025-11-21 11:21:34.4847|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 11:21:34.4847|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 38.9219ms 200 application/json; charset=utf-8 2025-11-21 11:21:34.4847||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 11:21:34.4847||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 11:21:34.5001||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 11:21:34.5001||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 11:21:34.5001||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 11:21:34.5001||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 11:21:35.5986||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:21:35.5986||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:21:35.5986||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 11:21:35.5986||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 11:21:35.6103|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]]'. 2025-11-21 11:21:35.6103||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 11:21:35.6103|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1141.1847ms 2025-11-21 11:21:35.6103|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 11:21:35.6103|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1170.1481ms 200 application/json; charset=utf-8 2025-11-21 11:21:35.6103||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 11:21:35.6256||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 11:21:35.6256||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 11:21:36.7192||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:21:36.7192||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 11:21:36.7192||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 11:21:36.7402||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 11:21:36.7402||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 11:21:36.7402||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 11:21:37.8302||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:21:37.8302||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 11:21:37.8302||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 11:21:37.8517||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 11:21:37.8517||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 11:21:37.8517||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 11:21:38.9394||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:21:38.9394||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 11:21:38.9394||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 11:21:38.9636||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 11:21:38.9636||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 11:21:38.9703||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 11:21:40.0480||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:21:40.0480||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 11:21:40.0480||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 11:21:40.0662||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 11:21:40.0662||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 11:21:40.0662||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 11:21:41.1558||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:21:41.1584||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 11:21:41.1584||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 11:21:41.1738||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 11:21:41.1738|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; 2025-11-21 11:21:41.1738|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 2025-11-21 11:21:41.1910|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 11:21:41.1910|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 11:21:41.1910|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 11:21:41.1910|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 11:21:41.2031|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 11:21:41.2031|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 11:21:41.2031|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' 2025-11-21 11:21:41.2031|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)) 2025-11-21 11:21:41.2204|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 11:21:41.2204|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 11:21:41.2204|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 11:21:41.2204|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 11:21:41.2655|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]]'. 2025-11-21 11:21:41.2655|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6808.9973ms 2025-11-21 11:21:41.2655|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 11:21:41.2655|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6834.2232ms 200 application/json; charset=utf-8 2025-11-21 11:22:16.5730|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 11:22:16.5730|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 11:22:16.5730|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 11:22:16.5730|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:22:16.5730|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:22:16.5870|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:22:16.5870|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 19.2169ms 204 2025-11-21 11:22:16.5870|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 21.5294ms 204 2025-11-21 11:22:16.5870|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 22.4799ms 204 2025-11-21 11:22:16.5870|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 11:22:16.6004|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 11:22:16.6004|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 11:22:16.6004|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 11:22:16.6004|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 11:22:16.6004|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 11:22:16.6004|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:22:16.6004|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:22:16.6004|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:22:16.6004|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 11:22:16.6004|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 11:22:16.6004|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 11:22:16.6179|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 11:22:16.6179|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 11:22:16.6179|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 11:22:16.6179|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). 2025-11-21 11:22:16.6179|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). 2025-11-21 11:22:16.6179|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). 2025-11-21 11:22:16.6179|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 11:22:16.6179|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 11:22:16.6179||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 11:22:16.6348|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 2025-11-21 11:22:16.6348|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)) 2025-11-21 11:22:16.6348|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]]'. 2025-11-21 11:22:16.6348||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 11:22:16.6348||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 11:22:16.6348|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 15.4972ms 2025-11-21 11:22:16.6348||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 11:22:16.6470||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 11:22:16.6470|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 11:22:16.6470|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 49.6731ms 200 application/json; charset=utf-8 2025-11-21 11:22:16.6470||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 11:22:16.6632||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 11:22:16.6632||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 11:22:16.6632||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 11:22:16.6632||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 11:22:16.6632||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 11:22:17.7566||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:22:17.7566||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:22:17.7566||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 11:22:17.7566||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 11:22:17.7566||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 11:22:17.7566|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]]'. 2025-11-21 11:22:17.7566|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1135.3929ms 2025-11-21 11:22:17.7566|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 11:22:17.7566|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1170.9825ms 200 application/json; charset=utf-8 2025-11-21 11:22:17.7750||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 11:22:17.7750||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 11:22:17.7750||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 11:22:18.8672||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:22:18.8672||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 11:22:18.8672||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 11:22:18.8836||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 11:22:18.8836||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 11:22:18.8836||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 11:22:19.1863|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 11:22:19.1863|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 11:22:19.1863|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:22:19.1863|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:22:19.1942|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.9943ms 204 2025-11-21 11:22:19.1942|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.6294ms 204 2025-11-21 11:22:19.1942|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 11:22:19.1942|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 11:22:19.1942|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 11:22:19.1942|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 11:22:19.1942|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:22:19.1942|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:22:19.2102|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 11:22:19.2102|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 11:22:19.2102|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 11:22:19.2102|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 11:22:19.2102|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). 2025-11-21 11:22:19.2102|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). 2025-11-21 11:22:19.2102|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 11:22:19.2102|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 11:22:19.2102|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] 2025-11-21 11:22:19.2102|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]]'. 2025-11-21 11:22:19.2102|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 6.7294ms 2025-11-21 11:22:19.2102|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] 2025-11-21 11:22:19.2254|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 11:22:19.2254|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 29.6152ms 200 application/json; charset=utf-8 2025-11-21 11:22:19.2254|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]]'. 2025-11-21 11:22:19.2254|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 15.6604ms 2025-11-21 11:22:19.2254|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 11:22:19.2254|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 34.6264ms 200 application/json; charset=utf-8 2025-11-21 11:22:19.9612||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:22:19.9612||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 11:22:19.9612||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 11:22:19.9774||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 11:22:19.9774||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 11:22:19.9774||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 11:22:21.0692||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:22:21.0692||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 11:22:21.0692||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 11:22:21.0923||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 11:22:21.0923||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 11:22:21.0923||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 11:22:22.0676|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 11:22:22.0676|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 11:22:22.0687|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 11:22:22.0687|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:22:22.0687|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:22:22.0687|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:22:22.0687|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.9495ms 204 2025-11-21 11:22:22.0687|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.6791ms 204 2025-11-21 11:22:22.0687|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.3511ms 204 2025-11-21 11:22:22.0687|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 11:22:22.0687|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 11:22:22.0870|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 11:22:22.0870|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 11:22:22.0870|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:22:22.0870|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:22:22.0870|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 11:22:22.0870|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 11:22:22.0870|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 11:22:22.0870|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 11:22:22.0870|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). 2025-11-21 11:22:22.0870|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). 2025-11-21 11:22:22.1001||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 11:22:22.1001|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 11:22:22.1001||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 11:22:22.1001|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 2025-11-21 11:22:22.1001|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]]'. 2025-11-21 11:22:22.1001||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 11:22:22.1001|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 8.5322ms 2025-11-21 11:22:22.1001|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 11:22:22.1001|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 30.5095ms 200 application/json; charset=utf-8 2025-11-21 11:22:22.1284||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 11:22:22.1332||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 11:22:22.1332||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 11:22:22.1779||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:22:22.1819||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 11:22:22.1819||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 11:22:22.1978||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 11:22:22.1978||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 11:22:22.1978||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 11:22:23.2100||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:22:23.2100||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 11:22:23.2100|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]]'. 2025-11-21 11:22:23.2100|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1117.3881ms 2025-11-21 11:22:23.2100|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 11:22:23.2100|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1137.4128ms 200 application/json; charset=utf-8 2025-11-21 11:22:23.2863||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:22:23.2899||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 11:22:23.2899||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 11:22:23.3075||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 11:22:23.3075|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; 2025-11-21 11:22:23.3229|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 2025-11-21 11:22:23.3229|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 11:22:23.3229|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)) 2025-11-21 11:22:23.3354|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 11:22:23.3354|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 11:22:23.3354|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 11:22:23.3354|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 11:22:23.3501|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 11:22:23.3501|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 11:22:23.3501|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 11:22:23.3501|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 11:22:23.3501|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 11:22:23.3683|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 11:22:23.4064|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]]'. 2025-11-21 11:22:23.4064|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6781.6769ms 2025-11-21 11:22:23.4064|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 11:22:23.4143|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6813.9173ms 200 application/json; charset=utf-8 2025-11-21 11:22:23.4143|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 11:22:23.4143|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 11:22:23.4143|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:22:23.4143|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 11:22:23.4143|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 11:22:23.4143|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). 2025-11-21 11:22:23.4286|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 11:22:23.4286|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)) 2025-11-21 11:22:23.4286||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 11:22:23.4286||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 11:22:23.4624||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 11:22:23.4624||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 11:22:23.4624||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 11:22:24.5416||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:22:24.5416||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 11:22:24.5416||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 11:22:24.5596||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 11:22:24.5596||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 11:22:24.5596||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 11:22:25.6520||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:22:25.6520||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 11:22:25.6520||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 11:22:25.6713||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 11:22:25.6713||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 11:22:25.6713||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 11:22:26.7557||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:22:26.7588||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 11:22:26.7588||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 11:22:26.7772||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 11:22:26.7772||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 11:22:26.7772||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 11:22:27.8685||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:22:27.8685||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 11:22:27.8685||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 11:22:27.8882||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 11:22:27.8882||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 11:22:27.8882||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 11:22:28.9738||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:22:28.9779||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 11:22:28.9779||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 11:22:28.9949||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 11:22:28.9949||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 11:22:28.9949||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 11:22:30.0855||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:22:30.0908||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 11:22:30.0908||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 11:22:30.1085||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 11:22:30.1085|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; 2025-11-21 11:22:30.1210|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 2025-11-21 11:22:30.1210|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 11:22:30.1210|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 11:22:30.1210|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 11:22:30.1354|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 11:22:30.1354|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 11:22:30.1354|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 11:22:30.1354|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 11:22:30.1354|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 11:22:30.1510|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 11:22:30.1510|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)) 2025-11-21 11:22:30.1510|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 11:22:30.1510|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 11:22:30.2108|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]]'. 2025-11-21 11:22:30.2108|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6785.3434ms 2025-11-21 11:22:30.2108|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 11:22:30.2108|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6801.7771ms 200 application/json; charset=utf-8 2025-11-21 11:26:26.0797|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 11:26:26.0797|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 11:26:26.0797|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 11:26:26.0848|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:26:26.0848|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:26:26.0848|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:26:26.0848|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.489ms 204 2025-11-21 11:26:26.0848|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.103ms 204 2025-11-21 11:26:26.0848|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 14.494ms 204 2025-11-21 11:26:26.0848|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 11:26:26.0996|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 11:26:26.0996|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 11:26:26.0996|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 11:26:26.0996|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 11:26:26.0996|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 11:26:26.0996|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:26:26.0996|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:26:26.0996|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:26:26.1152|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 11:26:26.1152|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 11:26:26.1152|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 11:26:26.1152|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 11:26:26.1152|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 11:26:26.1152|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 11:26:26.1152|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). 2025-11-21 11:26:26.1152|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). 2025-11-21 11:26:26.1152|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). 2025-11-21 11:26:26.1315|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 11:26:26.1315|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 11:26:26.1315||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 11:26:26.1496|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 2025-11-21 11:26:26.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]]'. 2025-11-21 11:26:26.1496|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 19.7752ms 2025-11-21 11:26:26.1496||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 11:26:26.1496|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 11:26:26.1496|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 56.6578ms 200 application/json; charset=utf-8 2025-11-21 11:26:26.1496||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 11:26:26.1624|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)) 2025-11-21 11:26:26.1624||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 11:26:26.1624||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 11:26:26.1782||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 11:26:26.1782||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 11:26:26.1782||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 11:26:26.1782||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 11:26:26.1936||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 11:26:26.1936||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 11:26:27.2717||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:26:27.2717||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 11:26:27.2717||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:26:27.2717|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]]'. 2025-11-21 11:26:27.2717|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1147.4013ms 2025-11-21 11:26:27.2717||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 11:26:27.2717|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 11:26:27.2717|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1183.4196ms 200 application/json; charset=utf-8 2025-11-21 11:26:27.2717||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 11:26:27.3001||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 11:26:27.3027||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 11:26:27.3027||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 11:26:28.3850||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:26:28.3850||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 11:26:28.3850||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 11:26:28.4049||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 11:26:28.4049||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 11:26:28.4120||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 11:26:29.4931||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:26:29.4931||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 11:26:29.4931||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 11:26:29.5152||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 11:26:29.5152||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 11:26:29.5152||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 11:26:30.5986||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:26:30.6008||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 11:26:30.6008||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 11:26:30.6156||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 11:26:30.6156||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 11:26:30.6156||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 11:26:31.7136||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:26:31.7136||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 11:26:31.7136||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 11:26:31.7357||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 11:26:31.7406||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 11:26:31.7406||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 11:26:32.8181||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:26:32.8181||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 11:26:32.8181||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 11:26:32.8362||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 11:26:32.8362|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; 2025-11-21 11:26:32.8539|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 2025-11-21 11:26:32.8539|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 11:26:32.8539|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 11:26:32.8539|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 11:26:32.8693|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)) 2025-11-21 11:26:32.8693|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 11:26:32.8693|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 11:26:32.8693|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 11:26:32.8839|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)) 2025-11-21 11:26:32.8839|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 11:26:32.8839|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)) 2025-11-21 11:26:32.8972|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 11:26:32.8972|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 11:26:32.9525|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]]'. 2025-11-21 11:26:32.9525|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6823.6337ms 2025-11-21 11:26:32.9525|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 11:26:32.9525|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6857.8573ms 200 application/json; charset=utf-8 2025-11-21 11:28:41.4934|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=492 2025-11-21 11:28:41.4934|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 11:28:41.4934|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 11:28:41.4934|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 11:28:41.4934|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:28:41.5019|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:28:41.5019|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:28:41.5019|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:28:41.5019|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 15.2097ms 204 2025-11-21 11:28:41.5019|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 16.1101ms 204 2025-11-21 11:28:41.5019|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 17.5608ms 204 2025-11-21 11:28:41.5019|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 18.3492ms 204 2025-11-21 11:28:41.5373|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=492 2025-11-21 11:28:41.5373|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 11:28:41.5373|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 11:28:41.5373|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 11:28:41.5373|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 11:28:41.5373|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 11:28:41.5464|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 11:28:41.5464|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 11:28:41.5464|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:28:41.5464|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:28:41.5464|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:28:41.5464|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:28:41.5464|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 11:28:41.5618|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 11:28:41.5618|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 11:28:41.5618|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 11:28:41.5618|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 11:28:41.5618|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 11:28:41.5618|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 11:28:41.5618|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 11:28:41.5618|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). 2025-11-21 11:28:41.5618|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). 2025-11-21 11:28:41.5774|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). 2025-11-21 11:28:41.5774|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). 2025-11-21 11:28:41.5774|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 11:28:41.5774|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 11:28:41.5774||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 11:28:41.5774|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 11:28:41.5774|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)) 2025-11-21 11:28:41.5774|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)) 2025-11-21 11:28:41.5930||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 11:28:41.5930|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]]'. 2025-11-21 11:28:41.5930||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 11:28:41.5930|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 17.7565ms 2025-11-21 11:28:41.5930||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 11:28:41.5930|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 11:28:41.5930||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 11:28:41.5930|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 2025-11-21 11:28:41.5930|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 67.2323ms 200 application/json; charset=utf-8 2025-11-21 11:28:41.5930|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]]'. 2025-11-21 11:28:41.6103|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 25.0464ms 2025-11-21 11:28:41.6103|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 11:28:41.6103|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 75.2233ms 200 application/json; charset=utf-8 2025-11-21 11:28:41.6103||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 11:28:41.6103||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 11:28:41.6103||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 11:28:41.6310||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 11:28:41.6310||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 11:28:41.6310||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 11:28:42.7030||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:28:42.7030||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 11:28:42.7030|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]]'. 2025-11-21 11:28:42.7030|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1125.1586ms 2025-11-21 11:28:42.7030|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 11:28:42.7030|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1172.3719ms 200 application/json; charset=utf-8 2025-11-21 11:28:42.7030||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:28:42.7030||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 11:28:42.7184||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 11:28:42.7184||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 11:28:42.7340||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 11:28:42.7340||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 11:28:43.8142||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:28:43.8142||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 11:28:43.8142||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 11:28:43.8474||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 11:28:43.8474||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 11:28:43.8474||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 11:28:44.9373||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:28:44.9373||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 11:28:44.9373||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 11:28:44.9610||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 11:28:44.9610||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 11:28:44.9715||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 11:28:46.0488||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:28:46.0488||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 11:28:46.0488||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 11:28:46.0683||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 11:28:46.0683||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 11:28:46.0683||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 11:28:47.1512||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:28:47.1512||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 11:28:47.1580||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 11:28:47.1722||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 11:28:47.1722||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 11:28:47.1722||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 11:28:48.2634||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:28:48.2690||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 11:28:48.2690||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 11:28:48.2888||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 11:28:48.2992|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; 2025-11-21 11:28:48.3285|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 2025-11-21 11:28:48.3285|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' 2025-11-21 11:28:48.3285|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)) 2025-11-21 11:28:48.3434|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 11:28:48.3434|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 11:28:48.3434|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 11:28:48.3434|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 11:28:48.3605|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 11:28:48.3605|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)) 2025-11-21 11:28:48.3605|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' 2025-11-21 11:28:48.3605|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)) 2025-11-21 11:28:48.3779|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 11:28:48.3779|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)) 2025-11-21 11:28:48.4223|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]]'. 2025-11-21 11:28:48.4223|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6843.8548ms 2025-11-21 11:28:48.4223|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 11:28:48.4223|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6893.319ms 200 application/json; charset=utf-8 2025-11-21 11:38:26.1672|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 11:38:26.1672|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 11:38:26.1672|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 11:38:26.1672|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:38:26.1745|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:38:26.1745|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:38:26.1745|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.7611ms 204 2025-11-21 11:38:26.1745|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.0904ms 204 2025-11-21 11:38:26.1745|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 14.3601ms 204 2025-11-21 11:38:26.1745|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 11:38:26.1745|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 11:38:26.1907|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 11:38:26.1907|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() 2025-11-21 11:38:26.1907|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() 2025-11-21 11:38:26.1907|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() 2025-11-21 11:38:26.1907|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'. 2025-11-21 11:38:26.1907|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'. 2025-11-21 11:38:26.1907|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'. 2025-11-21 11:38:26.1907|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:38:26.2057|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:38:26.2057|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:38:26.2057|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2025-11-21 11:38:26.2057|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2025-11-21 11:38:26.2057|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2025-11-21 11:38:26.2057|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2025-11-21 11:38:26.2057|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2025-11-21 11:38:26.2057|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2025-11-21 11:38:26.2057|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 33.3263ms 401 2025-11-21 11:38:26.2211|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 33.3257ms 401 2025-11-21 11:38:26.2211|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 32.6754ms 401 2025-11-21 11:38:40.9168|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=519 2025-11-21 11:38:40.9168|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:38:40.9230|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6.205ms 204 2025-11-21 11:38:40.9230|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=519 2025-11-21 11:38:40.9230|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 11:38:40.9230|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 11:38:40.9230|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 11:38:40.9230|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 11:38:40.9230|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:38:40.9384|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:38:40.9384|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:38:40.9384|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:38:40.9384|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 14.3894ms 204 2025-11-21 11:38:40.9384|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 16.2574ms 204 2025-11-21 11:38:40.9384|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 11:38:40.9531|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 19.6337ms 204 2025-11-21 11:38:40.9531|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 11:38:40.9531|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 11:38:40.9531|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 11:38:40.9531|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 11:38:40.9531|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 11:38:40.9531|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 11:38:40.9688|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). 2025-11-21 11:38:40.9688|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 11:38:40.9688|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:38:40.9688|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:38:40.9688|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 11:38:40.9688|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:38:40.9688|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 11:38:40.9688|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 11:38:40.9688|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 11:38:40.9688|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 11:38:40.9688|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 11:38:40.9688|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 11:38:40.9688|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). 2025-11-21 11:38:40.9688|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). 2025-11-21 11:38:40.9853|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). 2025-11-21 11:38:40.9853|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 11:38:40.9853|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 11:38:40.9853||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 11:38:40.9853|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)) 2025-11-21 11:38:40.9853|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]]'. 2025-11-21 11:38:40.9853|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 2025-11-21 11:38:40.9853|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 25.5546ms 2025-11-21 11:38:40.9995|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]]'. 2025-11-21 11:38:40.9995|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 11:38:40.9995|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 13.9078ms 2025-11-21 11:38:40.9995|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 74.4723ms 200 application/json; charset=utf-8 2025-11-21 11:38:40.9995|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 11:38:40.9995||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 11:38:40.9995|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)) 2025-11-21 11:38:40.9995|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 47.0483ms 200 application/json; charset=utf-8 2025-11-21 11:38:40.9995||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 11:38:40.9995||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 11:38:41.0188||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 11:38:41.0357||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 11:38:41.0357||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 11:38:41.0357||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 11:38:41.0357||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 11:38:41.0357||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 11:38:41.0486||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 11:38:42.1221||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:38:42.1221||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:38:42.1275||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 11:38:42.1275||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 11:38:42.1275||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 11:38:42.1275|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]]'. 2025-11-21 11:38:42.1275|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1144.6891ms 2025-11-21 11:38:42.1275|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 11:38:42.1275|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1173.4863ms 200 application/json; charset=utf-8 2025-11-21 11:38:42.1464||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 11:38:42.1464||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 11:38:42.1464||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 11:38:43.2266||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:38:43.2266||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 11:38:43.2345||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 11:38:43.2345||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 11:38:43.2496||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 11:38:43.2496||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 11:38:44.3285||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:38:44.3285||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 11:38:44.3285||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 11:38:44.3523||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 11:38:44.3523||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 11:38:44.3629||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 11:38:45.4558||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:38:45.4558||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 11:38:45.4558||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 11:38:45.4767||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 11:38:45.4767||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 11:38:45.4846||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 11:38:46.5862||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:38:46.5862||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 11:38:46.5966||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 11:38:46.6139||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 11:38:46.6139||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 11:38:46.6139||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 11:38:47.7071||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:38:47.7071||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 11:38:47.7071||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 11:38:47.7279||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 11:38:47.7279|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; 2025-11-21 11:38:47.7411|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 2025-11-21 11:38:47.7411|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 11:38:47.7411|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)) 2025-11-21 11:38:47.7543|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 11:38:47.7543|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)) 2025-11-21 11:38:47.7543|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 11:38:47.7543|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)) 2025-11-21 11:38:47.7706|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 11:38:47.7706|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)) 2025-11-21 11:38:47.7706|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' 2025-11-21 11:38:47.7841|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)) 2025-11-21 11:38:47.7841|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 11:38:47.7841|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)) 2025-11-21 11:38:47.8351|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]]'. 2025-11-21 11:38:47.8351|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6850.1702ms 2025-11-21 11:38:47.8351|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 11:38:47.8351|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6883.8288ms 200 application/json; charset=utf-8 2025-11-21 11:39:09.9258|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100127923 2025-11-21 11:39:09.9258|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 11:39:09.9258|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 11:39:09.9258|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2025-11-21 11:39:09.9382|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). 2025-11-21 11:39:09.9382|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 11:39:09.9382|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)) 2025-11-21 11:39:09.9382|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]]'. 2025-11-21 11:39:09.9382|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 11.3858ms 2025-11-21 11:39:09.9382|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2025-11-21 11:39:09.9540|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 28.2361ms 200 application/json; charset=utf-8 2025-11-21 11:39:20.7691|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100127923 2025-11-21 11:39:20.7691|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 11:39:20.7691|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 11:39:20.7691|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2025-11-21 11:39:20.7691|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). 2025-11-21 11:39:20.7691|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 11:39:20.7691|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)) 2025-11-21 11:39:20.7691|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]]'. 2025-11-21 11:39:20.7829|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 7.4061ms 2025-11-21 11:39:20.7829|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2025-11-21 11:39:20.7829|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 15.1122ms 200 application/json; charset=utf-8 2025-11-21 11:39:21.9072|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100127923 2025-11-21 11:39:21.9072|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 11:39:21.9072|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 11:39:21.9072|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2025-11-21 11:39:21.9195|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). 2025-11-21 11:39:21.9195|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 11:39:21.9195|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)) 2025-11-21 11:39:21.9195|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]]'. 2025-11-21 11:39:21.9195|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 11.0648ms 2025-11-21 11:39:21.9348|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2025-11-21 11:39:21.9348|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 29.1414ms 200 application/json; charset=utf-8 2025-11-21 11:40:48.8873|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100127923 2025-11-21 11:40:48.8873|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 11:40:48.8932|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 11:40:48.8932|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2025-11-21 11:40:48.8932|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). 2025-11-21 11:40:48.8932|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 11:40:48.8932|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)) 2025-11-21 11:40:48.9101|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]]'. 2025-11-21 11:40:48.9101|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 12.7293ms 2025-11-21 11:40:48.9101|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2025-11-21 11:40:48.9101|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 30.5337ms 200 application/json; charset=utf-8 2025-11-21 11:40:58.5625|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100127923 2025-11-21 11:40:58.5650|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 11:40:58.5650|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 11:40:58.5650|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2025-11-21 11:40:58.5650|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). 2025-11-21 11:40:58.5650|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 11:40:58.5650|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)) 2025-11-21 11:40:58.5650|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]]'. 2025-11-21 11:40:58.5814|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 9.0781ms 2025-11-21 11:40:58.5814|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2025-11-21 11:40:58.5814|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 22.736ms 200 application/json; charset=utf-8 2025-11-21 11:40:59.8405|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100127923 2025-11-21 11:40:59.8405|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 11:40:59.8463|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 11:40:59.8463|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2025-11-21 11:40:59.8463|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). 2025-11-21 11:40:59.8463|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 11:40:59.8463|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)) 2025-11-21 11:40:59.8463|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]]'. 2025-11-21 11:40:59.8463|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 7.2201ms 2025-11-21 11:40:59.8463|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2025-11-21 11:40:59.8629|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 22.4261ms 200 application/json; charset=utf-8 2025-11-21 11:48:55.3360|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=492 2025-11-21 11:48:55.3360|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:48:55.3360|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.3309ms 204 2025-11-21 11:48:55.3515|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=492 2025-11-21 11:48:55.3515|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 11:48:55.3515|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:48:55.3515|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 11:48:55.3515|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 11:48:55.3515|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). 2025-11-21 11:48:55.3515|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 11:48:55.3715|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 11:48:55.3715|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 11:48:55.3715|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 11:48:55.3715|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)) 2025-11-21 11:48:55.3715|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:48:55.3715|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:48:55.3799|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:48:55.3799|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]]'. 2025-11-21 11:48:55.3799|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.816ms 204 2025-11-21 11:48:55.3799|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.9397ms 204 2025-11-21 11:48:55.3799|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.295ms 204 2025-11-21 11:48:55.3799|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 26.2754ms 2025-11-21 11:48:55.3799|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 11:48:55.3799|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 11:48:55.3799|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 11:48:55.3799|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 11:48:55.3942|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 11:48:55.3942|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 44.612ms 200 application/json; charset=utf-8 2025-11-21 11:48:55.3942|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 11:48:55.3942|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 11:48:55.3942|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:48:55.3942|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:48:55.3942|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:48:55.3942|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 11:48:55.3942|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 11:48:55.3942|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 11:48:55.4093|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 11:48:55.4093|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 11:48:55.4093|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 11:48:55.4093|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). 2025-11-21 11:48:55.4093|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). 2025-11-21 11:48:55.4093|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). 2025-11-21 11:48:55.4093|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 11:48:55.4093||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 11:48:55.4093|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 11:48:55.4255|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)) 2025-11-21 11:48:55.4255|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 2025-11-21 11:48:55.4255||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 11:48:55.4406|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]]'. 2025-11-21 11:48:55.4406||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 11:48:55.4406|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 22.3844ms 2025-11-21 11:48:55.4406|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 11:48:55.4406||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 11:48:55.4406|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 54.369ms 200 application/json; charset=utf-8 2025-11-21 11:48:55.4406||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 11:48:55.4591||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 11:48:55.4591||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 11:48:55.4591||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 11:48:55.4591||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 11:48:55.4591||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 11:48:55.4591||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 11:48:56.5580||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:48:56.5580||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 11:48:56.5682||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:48:56.5682||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 11:48:56.5682||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 11:48:56.5816|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]]'. 2025-11-21 11:48:56.5816|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1163.1818ms 2025-11-21 11:48:56.5816|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 11:48:56.5816||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 11:48:56.5816|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1194.7928ms 200 application/json; charset=utf-8 2025-11-21 11:48:56.5816||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 11:48:56.5816||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 11:48:57.6905||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:48:57.6905||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 11:48:57.6905||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 11:48:57.7127||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 11:48:57.7127||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 11:48:57.7127||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 11:48:58.8047||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:48:58.8047||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 11:48:58.8047||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 11:48:58.8292||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 11:48:58.8317||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 11:48:58.8317||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 11:48:59.9210||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:48:59.9210||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 11:48:59.9287||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 11:48:59.9435||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 11:48:59.9435||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 11:48:59.9435||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 11:49:01.0317||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:49:01.0352||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 11:49:01.0352||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 11:49:01.0534||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 11:49:01.0534||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 11:49:01.0534||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 11:49:02.1338||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:49:02.1338||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 11:49:02.1440||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 11:49:02.1611||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 11:49:02.1611|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; 2025-11-21 11:49:02.1764|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 2025-11-21 11:49:02.1764|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 11:49:02.1764|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 11:49:02.1764|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 11:49:02.1764|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 11:49:02.1919|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 11:49:02.1919|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)) 2025-11-21 11:49:02.1919|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 11:49:02.1919|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 11:49:02.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' 2025-11-21 11:49:02.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)) 2025-11-21 11:49:02.2068|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' 2025-11-21 11:49:02.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)) 2025-11-21 11:49:02.2568|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]]'. 2025-11-21 11:49:02.2568|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6840.3902ms 2025-11-21 11:49:02.2568|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 11:49:02.2568|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6873.4337ms 200 application/json; charset=utf-8 2025-11-21 11:55:22.4848|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=493 0 2025-11-21 11:55:22.4848|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:55:22.4848|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.2772ms 204 2025-11-21 11:55:22.5670|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 0 2025-11-21 11:55:22.5670|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 0 2025-11-21 11:55:22.5670|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 0 2025-11-21 11:55:22.5670|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:55:22.5670|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:55:22.5789|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:55:22.5789|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 15.3736ms 204 2025-11-21 11:55:22.5789|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 15.5761ms 204 2025-11-21 11:55:22.5789|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 17.6455ms 204 2025-11-21 11:55:22.9010|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=493 2025-11-21 11:55:22.9010|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 11:55:22.9100|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:55:22.9100|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 11:55:22.9100|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 11:55:22.9233|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). 2025-11-21 11:55:22.9233|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 11:55:22.9233|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)) 2025-11-21 11:55:22.9233|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]]'. 2025-11-21 11:55:22.9233|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 11.1362ms 2025-11-21 11:55:22.9386|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 11:55:22.9386|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 38.774ms 200 application/json; charset=utf-8 2025-11-21 11:55:23.0768|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 11:55:23.0768|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 11:55:23.0798|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 11:55:23.0798|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 11:55:23.0798|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 11:55:23.0798|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 11:55:23.0798|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:55:23.0957|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:55:23.0957|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:55:23.0957|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 11:55:23.0957|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 11:55:23.0957|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 11:55:23.0957|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 11:55:23.0957|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 11:55:23.1110|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 11:55:23.1110|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). 2025-11-21 11:55:23.1110|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). 2025-11-21 11:55:23.1110|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). 2025-11-21 11:55:23.1110|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 11:55:23.1110|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 11:55:23.1110||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 11:55:23.1271|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 2025-11-21 11:55:23.1271|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)) 2025-11-21 11:55:23.1271|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]]'. 2025-11-21 11:55:23.1271||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 11:55:23.1271||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 11:55:23.1271|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 13.4494ms 2025-11-21 11:55:23.1271||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 11:55:23.1271|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 11:55:23.1411||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 11:55:23.1411|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 65.6711ms 200 application/json; charset=utf-8 2025-11-21 11:55:23.1611||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 11:55:23.1611||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 11:55:23.1611||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 11:55:23.1611||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 11:55:23.1727||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 11:55:23.1727||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 11:55:24.2461||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:55:24.2461||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 11:55:24.2505||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 11:55:24.2505||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 11:55:24.2505||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:55:24.2505||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 11:55:24.2673||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 11:55:24.2673||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 11:55:24.2673|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]]'. 2025-11-21 11:55:24.2673|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1148.9709ms 2025-11-21 11:55:24.2673|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 11:55:24.2673|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1194.6726ms 200 application/json; charset=utf-8 2025-11-21 11:55:25.3627||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:55:25.3627||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 11:55:25.3627||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 11:55:25.3814||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 11:55:25.3814||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 11:55:25.3814||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 11:55:26.4730||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:55:26.4730||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 11:55:26.4730||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 11:55:26.4934||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 11:55:26.4934||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 11:55:26.4934||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 11:55:27.5824||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:55:27.5824||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 11:55:27.5824||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 11:55:27.6004||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 11:55:27.6004||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 11:55:27.6004||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 11:55:28.6871||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:55:28.6903||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 11:55:28.6903||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 11:55:28.7071||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 11:55:28.7071||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 11:55:28.7071||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 11:55:29.8015||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:55:29.8015||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 11:55:29.8015||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 11:55:29.8216||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 11:55:29.8306|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; 2025-11-21 11:55:29.8306|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 2025-11-21 11:55:29.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' 2025-11-21 11:55:29.8306|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 11:55:29.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' 2025-11-21 11:55:29.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)) 2025-11-21 11:55:29.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' 2025-11-21 11:55:29.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)) 2025-11-21 11:55:29.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' 2025-11-21 11:55:29.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)) 2025-11-21 11:55:29.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' 2025-11-21 11:55:29.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)) 2025-11-21 11:55:29.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' 2025-11-21 11:55:29.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)) 2025-11-21 11:55:29.9194|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]]'. 2025-11-21 11:55:29.9231|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6804.2204ms 2025-11-21 11:55:29.9231|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 11:55:29.9231|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6850.7759ms 200 application/json; charset=utf-8 2025-11-21 11:57:19.3417|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/swagger/index.html 2025-11-21 11:57:19.3785|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 36.8647ms 200 text/html;charset=utf-8 2025-11-21 11:57:19.7049|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/swagger/swagger-ui.css 2025-11-21 11:57:19.7049|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/swagger/swagger-ui-bundle.js 2025-11-21 11:57:19.7049|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/swagger/swagger-ui-standalone-preset.js 2025-11-21 11:57:19.7361|2|INFO|Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware|Sending file. Request path: '/swagger-ui.css'. Physical path: 'N/A' 2025-11-21 11:57:19.7361|2|INFO|Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware|Sending file. Request path: '/swagger-ui-standalone-preset.js'. Physical path: 'N/A' 2025-11-21 11:57:19.7361|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 33.0679ms 200 text/css 2025-11-21 11:57:19.7361|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 33.2966ms 200 application/javascript 2025-11-21 11:57:19.7361|2|INFO|Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware|Sending file. Request path: '/swagger-ui-bundle.js'. Physical path: 'N/A' 2025-11-21 11:57:19.7361|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 37.2674ms 200 application/javascript 2025-11-21 11:57:21.6119|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/swagger/v1/swagger.json 2025-11-21 11:57:21.6658|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/swagger/favicon-32x32.png 2025-11-21 11:57:21.6658|2|INFO|Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware|Sending file. Request path: '/favicon-32x32.png'. Physical path: 'N/A' 2025-11-21 11:57:21.6658|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4.3819ms 200 image/png 2025-11-21 11:57:21.7179|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 105.927ms 200 application/json;charset=utf-8 2025-11-21 11:57:45.4759|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/swagger/v1/swagger.json 2025-11-21 11:57:45.4943|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 18.4552ms 200 application/json;charset=utf-8 2025-11-21 11:58:04.5819|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=530 2025-11-21 11:58:04.5857|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:58:04.5857|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.7448ms 204 2025-11-21 11:58:04.6098|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=209 2025-11-21 11:58:04.6098|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 11:58:04.6098|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 11:58:04.6098|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:58:04.6098|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:58:04.6164|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:58:04.6164|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.3824ms 204 2025-11-21 11:58:04.6164|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.8794ms 204 2025-11-21 11:58:04.6164|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.2572ms 204 2025-11-21 11:58:04.7358|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=530 2025-11-21 11:58:04.7358|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 11:58:04.7358|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=209 2025-11-21 11:58:04.7358|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 11:58:04.7395|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 11:58:04.7395|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 11:58:04.7395|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 11:58:04.7395|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 11:58:04.7395|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:58:04.7395|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:58:04.7395|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:58:04.7560|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:58:04.7560|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 11:58:04.7560|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 11:58:04.7560|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 11:58:04.7560|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 11:58:04.7560|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 11:58:04.7560|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 11:58:04.7560|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 11:58:04.7710|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 11:58:04.7710|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). 2025-11-21 11:58:04.7710|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). 2025-11-21 11:58:04.7710|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). 2025-11-21 11:58:04.7710|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). 2025-11-21 11:58:04.7710|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 11:58:04.7710||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 209 2025-11-21 11:58:04.7710|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 11:58:04.7710|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 11:58:04.7894|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)) 2025-11-21 11:58:04.7894||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 11:58:04.7894|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)) 2025-11-21 11:58:04.7894|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]]'. 2025-11-21 11:58:04.7894||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/80 2025-11-21 11:58:04.7894||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 11:58:04.7894|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 2025-11-21 11:58:04.7894||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/80 2025-11-21 11:58:04.7894|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]]'. 2025-11-21 11:58:04.8030|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 19.1167ms 2025-11-21 11:58:04.8030|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 11:58:04.8030|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 67.6185ms 200 application/json; charset=utf-8 2025-11-21 11:58:04.8030|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 29.5092ms 2025-11-21 11:58:04.8030|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 11:58:04.8030|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 76.3861ms 200 application/json; charset=utf-8 2025-11-21 11:58:04.8030||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 2025-11-21 11:58:04.8030||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 2025-11-21 11:58:04.8030||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 11:58:04.8180||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 11:58:04.8180||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 11:58:04.8180||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0112012335 2025-11-21 11:58:05.8971||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:58:05.8971||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 11:58:05.8971||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:58:05.8971||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 11:58:05.8971||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 11:58:05.9139|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]]'. 2025-11-21 11:58:05.9139|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1133.5679ms 2025-11-21 11:58:05.9139|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 11:58:05.9139|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1181.2909ms 200 application/json; charset=utf-8 2025-11-21 11:58:05.9139||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 11:58:05.9274||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 11:58:05.9274||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011201233545 2025-11-21 11:58:07.0241||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 11:58:07.0241||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 11:58:07.0241||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 11:58:07.0401||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 11:58:07.0401|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; 2025-11-21 11:58:07.0401|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; 2025-11-21 11:58:07.0539|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 2025-11-21 11:58:07.0539|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 11:58:07.0539|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 11:58:07.0539|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 11:58:07.0539|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 11:58:07.1036|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]]'. 2025-11-21 11:58:07.1036|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 2324.6157ms 2025-11-21 11:58:07.1036|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 11:58:07.1036|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2374.4903ms 200 application/json; charset=utf-8 2025-11-21 11:58:15.2372|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 11:58:15.2372|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 11:58:15.2396|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:58:15.2396|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:58:15.2396|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.6978ms 204 2025-11-21 11:58:15.2396|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.3754ms 204 2025-11-21 11:58:15.2801|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 11:58:15.2801|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 11:58:15.2801|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 11:58:15.2801|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:58:15.2891|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 11:58:15.2891|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 11:58:15.2891|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 11:58:15.2891|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 11:58:15.2891|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 11:58:15.2891|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). 2025-11-21 11:58:15.2891|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 11:58:15.3019|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 11:58:15.3019|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). 2025-11-21 11:58:15.3019|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 11:58:15.3019|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] 2025-11-21 11:58:15.3019|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]]'. 2025-11-21 11:58:15.3019|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] 2025-11-21 11:58:15.3019|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 9.2563ms 2025-11-21 11:58:15.3019|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 11:58:15.3019|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 33.1322ms 200 application/json; charset=utf-8 2025-11-21 11:58:15.3019|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]]'. 2025-11-21 11:58:15.3019|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 11.8348ms 2025-11-21 11:58:15.3019|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 11:58:15.3178|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 33.8481ms 200 application/json; charset=utf-8 2025-11-21 12:05:13.7425|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=499 2025-11-21 12:05:13.7425|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:05:13.7425|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.9596ms 204 2025-11-21 12:05:13.7644|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=499 2025-11-21 12:05:13.7644|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 12:05:13.7644|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:05:13.7713|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 12:05:13.7713|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 12:05:13.7713|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). 2025-11-21 12:05:13.7713|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 12:05:13.7932|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)) 2025-11-21 12:05:13.7932|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]]'. 2025-11-21 12:05:13.7932|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 19.8488ms 2025-11-21 12:05:13.7932|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 12:05:13.7932|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 33.339ms 200 application/json; charset=utf-8 2025-11-21 12:05:13.8161|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 12:05:13.8161|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 12:05:13.8161|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 12:05:13.8161|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:05:13.8161|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:05:13.8161|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:05:13.8161|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.3865ms 204 2025-11-21 12:05:13.8161|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.0479ms 204 2025-11-21 12:05:13.8161|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.7132ms 204 2025-11-21 12:05:13.8350|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 12:05:13.8350|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 12:05:13.8350|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 12:05:13.8350|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 12:05:13.8350|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 12:05:13.8350|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 12:05:13.8350|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:05:13.8350|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:05:13.8350|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:05:13.8350|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 12:05:13.8482|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 12:05:13.8482|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 12:05:13.8482|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 12:05:13.8482|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 12:05:13.8482|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). 2025-11-21 12:05:13.8482|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). 2025-11-21 12:05:13.8482|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 12:05:13.8482|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 12:05:13.8482||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 12:05:13.8482|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). 2025-11-21 12:05:13.8644|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)) 2025-11-21 12:05:13.8644|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 12:05:13.8644|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 2025-11-21 12:05:13.8644|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]]'. 2025-11-21 12:05:13.8644|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 6.7543ms 2025-11-21 12:05:13.8644|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 12:05:13.8644|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 39.9354ms 200 application/json; charset=utf-8 2025-11-21 12:05:13.8795||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 12:05:13.8795||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 12:05:13.8795||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 12:05:13.8795||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 12:05:13.9049||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 12:05:13.9049||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 12:05:13.9049||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 12:05:13.9129||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 12:05:13.9129||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 12:05:13.9129||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 12:05:15.0055||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:05:15.0055||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 12:05:15.0055||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:05:15.0055|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]]'. 2025-11-21 12:05:15.0055||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 12:05:15.0055|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1158.2422ms 2025-11-21 12:05:15.0200||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 12:05:15.0200|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 12:05:15.0200|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1187.7774ms 200 application/json; charset=utf-8 2025-11-21 12:05:15.0200||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 12:05:15.0351||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 12:05:15.0351||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 12:05:16.1254||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:05:16.1300||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 12:05:16.1300||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 12:05:16.1465||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 12:05:16.1465||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 12:05:16.1465||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 12:05:17.2417||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:05:17.2417||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 12:05:17.2417||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 12:05:17.2648||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 12:05:17.2691||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 12:05:17.2691||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 12:05:18.3501||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:05:18.3501||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 12:05:18.3501||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 12:05:18.3717||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 12:05:18.3717||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 12:05:18.3717||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 12:05:19.4519||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:05:19.4563||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 12:05:19.4563||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 12:05:19.4747||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 12:05:19.4747||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 12:05:19.4747||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 12:05:20.5683||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:05:20.5683||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 12:05:20.5683||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 12:05:20.5909||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 12:05:20.6004|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; 2025-11-21 12:05:20.6270|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (22ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[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 2025-11-21 12:05:20.6307|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' 2025-11-21 12:05:20.6307|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 12:05:20.6307|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 12:05:20.6307|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)) 2025-11-21 12:05:20.6451|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 12:05:20.6451|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 12:05:20.6451|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 12:05:20.6451|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 12:05:20.6603|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 12:05:20.6603|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 12:05:20.6603|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 12:05:20.6603|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 12:05:20.7173|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]]'. 2025-11-21 12:05:20.7173|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6863.4718ms 2025-11-21 12:05:20.7234|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 12:05:20.7234|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6890.7508ms 200 application/json; charset=utf-8 2025-11-21 12:05:29.0990|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 12:05:29.0990|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 12:05:29.0990|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:05:29.0990|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:05:29.0990|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.1669ms 204 2025-11-21 12:05:29.1134|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 14.3585ms 204 2025-11-21 12:05:29.1134|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 12:05:29.1134|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 12:05:29.1134|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:05:29.1134|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 12:05:29.1134|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 12:05:29.1134|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 12:05:29.1290|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 12:05:29.1290|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:05:29.1290|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). 2025-11-21 12:05:29.1290|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 12:05:29.1290|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 12:05:29.1290|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 12:05:29.1290|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). 2025-11-21 12:05:29.1290|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] 2025-11-21 12:05:29.1290|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 12:05:29.1290|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]]'. 2025-11-21 12:05:29.1445|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 9.3002ms 2025-11-21 12:05:29.1445|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 12:05:29.1445|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 26.914ms 200 application/json; charset=utf-8 2025-11-21 12:05:29.1445|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] 2025-11-21 12:05:29.1623|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]]'. 2025-11-21 12:05:29.1623|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 23.9644ms 2025-11-21 12:05:29.1623|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 12:05:29.1623|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 44.0261ms 200 application/json; charset=utf-8 2025-11-21 12:05:44.4907|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 12:05:44.4907|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 12:05:44.4907|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:05:44.4907|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:05:44.4907|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.7173ms 204 2025-11-21 12:05:44.4907|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.9209ms 204 2025-11-21 12:05:44.5069|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 12:05:44.5069|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 12:05:44.5069|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 12:05:44.5069|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 12:05:44.5069|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:05:44.5069|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:05:44.5069|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 12:05:44.5069|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 12:05:44.5192|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 12:05:44.5192|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). 2025-11-21 12:05:44.5192|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 12:05:44.5192|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 12:05:44.5192|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). 2025-11-21 12:05:44.5192|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 12:05:44.5192|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] 2025-11-21 12:05:44.5192|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]]'. 2025-11-21 12:05:44.5192|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 10.1156ms 2025-11-21 12:05:44.5349|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 12:05:44.5349|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 29.7796ms 200 application/json; charset=utf-8 2025-11-21 12:05:44.5349|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] 2025-11-21 12:05:44.5602|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]]'. 2025-11-21 12:05:44.5602|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 35.9237ms 2025-11-21 12:05:44.5655|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 12:05:44.5655|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 60.3322ms 200 application/json; charset=utf-8 2025-11-21 12:09:05.8774|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=492 2025-11-21 12:09:05.8774|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:09:05.8774|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.5152ms 204 2025-11-21 12:09:05.8973|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=492 2025-11-21 12:09:05.8973|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 12:09:05.8973|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:09:05.8973|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 12:09:05.9063|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 12:09:05.9063|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). 2025-11-21 12:09:05.9063|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 12:09:05.9063|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)) 2025-11-21 12:09:05.9063|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 12:09:05.9063|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 12:09:05.9063|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 12:09:05.9063|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]]'. 2025-11-21 12:09:05.9063|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:09:05.9224|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:09:05.9224|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:09:05.9224|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 17.8766ms 2025-11-21 12:09:05.9224|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 14.1555ms 204 2025-11-21 12:09:05.9224|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 14.8296ms 204 2025-11-21 12:09:05.9224|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 15.4475ms 204 2025-11-21 12:09:05.9224|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 12:09:05.9224|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 12:09:05.9224|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 12:09:05.9224|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 37.9523ms 200 application/json; charset=utf-8 2025-11-21 12:09:05.9369|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 12:09:05.9369|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 12:09:05.9369|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 12:09:05.9369|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:09:05.9369|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:09:05.9369|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 12:09:05.9369|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 12:09:05.9369|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 12:09:05.9369|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:09:05.9369|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 12:09:05.9369|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 12:09:05.9530|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 12:09:05.9530|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). 2025-11-21 12:09:05.9530|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). 2025-11-21 12:09:05.9530|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 12:09:05.9530|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 12:09:05.9530||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 12:09:05.9530|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). 2025-11-21 12:09:05.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)) 2025-11-21 12:09:05.9530|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 12:09:05.9530||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 12:09:05.9530||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 12:09:05.9683|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 2025-11-21 12:09:05.9683||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 12:09:05.9683|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]]'. 2025-11-21 12:09:05.9683||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 12:09:05.9683|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 13.8861ms 2025-11-21 12:09:05.9683|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 12:09:05.9683|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 41.2364ms 200 application/json; charset=utf-8 2025-11-21 12:09:05.9924||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 12:09:05.9924||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 12:09:05.9924||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 12:09:05.9924||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 12:09:05.9924||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 12:09:05.9995||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 12:09:07.0957||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:09:07.0957||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:09:07.0957||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 12:09:07.0957||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 12:09:07.0957||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 12:09:07.0957|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]]'. 2025-11-21 12:09:07.1107|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1153.1723ms 2025-11-21 12:09:07.1107|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 12:09:07.1107|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1179.4823ms 200 application/json; charset=utf-8 2025-11-21 12:09:07.1107||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 12:09:07.1107||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 12:09:07.1253||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 12:09:08.2031||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:09:08.2031||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 12:09:08.2031||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 12:09:08.2256||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 12:09:08.2256||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 12:09:08.2256||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 12:09:09.3194||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:09:09.3194||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 12:09:09.3308||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 12:09:09.3458||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 12:09:09.3458||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 12:09:09.3458||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 12:09:10.4498||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:09:10.4538||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 12:09:10.4538||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 12:09:10.4716||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 12:09:10.4716||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 12:09:10.4716||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 12:09:11.5628||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:09:11.5628||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 12:09:11.5628||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 12:09:11.5847||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 12:09:11.5847||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 12:09:11.5847||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 12:09:12.6836||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:09:12.6871||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 12:09:12.6871||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 12:09:12.6871||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 12:09:12.7111|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; 2025-11-21 12:09:12.7111|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 2025-11-21 12:09:12.7205|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 12:09:12.7205|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 12:09:12.7205|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 12:09:12.7205|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 12:09:12.7205|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 12:09:12.7205|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 12:09:12.7342|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 12:09:12.7342|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 12:09:12.7342|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 12:09:12.7342|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 12:09:12.7342|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 12:09:12.7342|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 12:09:12.7977|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]]'. 2025-11-21 12:09:12.7977|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6842.976ms 2025-11-21 12:09:12.7977|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 12:09:12.7977|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6868.4663ms 200 application/json; charset=utf-8 2025-11-21 12:16:05.5487|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=492 2025-11-21 12:16:05.5487|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:16:05.5487|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.1663ms 204 2025-11-21 12:16:05.5800|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=492 2025-11-21 12:16:05.5800|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 12:16:05.5800|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:16:05.5800|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 12:16:05.5800|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 12:16:05.5800|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). 2025-11-21 12:16:05.5800|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 12:16:05.6018|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)) 2025-11-21 12:16:05.6018|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]]'. 2025-11-21 12:16:05.6018|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 18.7464ms 2025-11-21 12:16:05.6018|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 12:16:05.6018|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 29.9007ms 200 application/json; charset=utf-8 2025-11-21 12:16:05.6466|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 12:16:05.6466|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 12:16:05.6466|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:16:05.6466|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:16:05.6466|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.3844ms 204 2025-11-21 12:16:05.6466|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.2818ms 204 2025-11-21 12:16:05.8743|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 12:16:05.8743|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 12:16:05.8743|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 12:16:05.8773|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:16:05.8773|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 12:16:05.8773|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 12:16:05.8773|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.9597ms 204 2025-11-21 12:16:05.8773|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:16:05.8773|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:16:05.8930|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 12:16:05.8930|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 12:16:05.8930|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 12:16:05.8930|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 12:16:05.8930|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 12:16:05.8930|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 12:16:05.8930|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). 2025-11-21 12:16:05.8930|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:16:05.8930|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). 2025-11-21 12:16:05.8930|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 12:16:05.8930|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 12:16:05.8930|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 12:16:05.8930|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 12:16:05.9084|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 2025-11-21 12:16:05.9084|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). 2025-11-21 12:16:05.9084|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]]'. 2025-11-21 12:16:05.9084||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 12:16:05.9084|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 10.7485ms 2025-11-21 12:16:05.9084|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 12:16:05.9084|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 40.9038ms 200 application/json; charset=utf-8 2025-11-21 12:16:05.9084||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 12:16:05.9084||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 12:16:05.9084|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)) 2025-11-21 12:16:05.9268||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 12:16:05.9268||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 12:16:05.9268||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 12:16:05.9414||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 12:16:05.9414||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 12:16:05.9414||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 12:16:05.9414||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 12:16:05.9414||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 12:16:07.0349||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:16:07.0349||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:16:07.0349||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 12:16:07.0349||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 12:16:07.0349||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 12:16:07.0349|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]]'. 2025-11-21 12:16:07.0493|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1137.1339ms 2025-11-21 12:16:07.0493|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 12:16:07.0493|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1158.4921ms 200 application/json; charset=utf-8 2025-11-21 12:16:07.0493||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 12:16:07.0493||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 12:16:07.0642||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 12:16:08.1426||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:16:08.1426||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 12:16:08.1426||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 12:16:08.1595||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 12:16:08.1595||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 12:16:08.1595||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 12:16:09.2403||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:16:09.2403||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 12:16:09.2403||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 12:16:09.2630||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 12:16:09.2630||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 12:16:09.2697||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 12:16:10.3438||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:16:10.3485||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 12:16:10.3485||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 12:16:10.3633||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 12:16:10.3633||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 12:16:10.3633||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 12:16:11.4586||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:16:11.4586||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 12:16:11.4586||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 12:16:11.4764||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 12:16:11.4764||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 12:16:11.4764||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 12:16:12.5650||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:16:12.5650||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 12:16:12.5650||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 12:16:12.5848||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 12:16:12.5848|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; 2025-11-21 12:16:12.5996|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 2025-11-21 12:16:12.5996|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 12:16:12.5996|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 12:16:12.5996|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 12:16:12.6123|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 12:16:12.6123|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 12:16:12.6123|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 12:16:12.6123|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 12:16:12.6275|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 12:16:12.6275|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 12:16:12.6275|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 12:16:12.6275|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 12:16:12.6275|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 12:16:12.6735|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]]'. 2025-11-21 12:16:12.6759|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6770.7957ms 2025-11-21 12:16:12.6759|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 12:16:12.6759|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6804.6122ms 200 application/json; charset=utf-8 2025-11-21 12:25:35.4827|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=492 2025-11-21 12:25:35.4827|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:25:35.4827|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.7964ms 204 2025-11-21 12:25:35.4975|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=492 2025-11-21 12:25:35.4975|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 12:25:35.4975|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 12:25:35.4975|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 12:25:35.4975|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 12:25:35.4975|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:25:35.4975|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:25:35.4975|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:25:35.5119|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:25:35.5119|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.0447ms 204 2025-11-21 12:25:35.5119|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 12:25:35.5119|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.2935ms 204 2025-11-21 12:25:35.5119|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.7501ms 204 2025-11-21 12:25:35.5119|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 12:25:35.5119|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 12:25:35.5119|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 12:25:35.5119|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 12:25:35.5119|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 12:25:35.5269|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). 2025-11-21 12:25:35.5269|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 12:25:35.5269|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 12:25:35.5269|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:25:35.5269|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 12:25:35.5269|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:25:35.5269|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:25:35.5269|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 12:25:35.5269|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 12:25:35.5269|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 12:25:35.5269|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 12:25:35.5269|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 12:25:35.5269|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). 2025-11-21 12:25:35.5269|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). 2025-11-21 12:25:35.5428|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 12:25:35.5428|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 12:25:35.5428|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 12:25:35.5428|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). 2025-11-21 12:25:35.5428|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)) 2025-11-21 12:25:35.5428||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 12:25:35.5428|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]]'. 2025-11-21 12:25:35.5428|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)) 2025-11-21 12:25:35.5428|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 22.9945ms 2025-11-21 12:25:35.5428|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 2025-11-21 12:25:35.5428|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 12:25:35.5583|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]]'. 2025-11-21 12:25:35.5583|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 61.3521ms 200 application/json; charset=utf-8 2025-11-21 12:25:35.5583|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 16.1684ms 2025-11-21 12:25:35.5583|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 12:25:35.5583||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 12:25:35.5583|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 41.8829ms 200 application/json; charset=utf-8 2025-11-21 12:25:35.5583||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 12:25:35.5583||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 12:25:35.5778||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 12:25:35.5927||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 12:25:35.5927||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 12:25:35.5927||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 12:25:35.5927||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 12:25:35.5927||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 12:25:35.6070||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 12:25:36.6855||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:25:36.6855||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:25:36.6855||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 12:25:36.6855||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 12:25:36.6855|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]]'. 2025-11-21 12:25:36.6855|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1148.5967ms 2025-11-21 12:25:36.6987||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 12:25:36.6987|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 12:25:36.6987|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1178.3074ms 200 application/json; charset=utf-8 2025-11-21 12:25:36.6987||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 12:25:36.7153||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 12:25:36.7153||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 12:25:37.7935||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:25:37.7935||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 12:25:37.7935||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 12:25:37.8101||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 12:25:37.8101||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 12:25:37.8101||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 12:25:38.9227||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:25:38.9227||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 12:25:38.9344||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 12:25:38.9514||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 12:25:38.9514||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 12:25:38.9514||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 12:25:40.0569||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:25:40.0615||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 12:25:40.0615||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 12:25:40.0754||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 12:25:40.0754||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 12:25:40.0754||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 12:25:41.1658||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:25:41.1702||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 12:25:41.1702||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 12:25:41.1865||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 12:25:41.1865||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 12:25:41.1865||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 12:25:42.2735||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:25:42.2735||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 12:25:42.2803||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 12:25:42.2803||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 12:25:42.2968|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; 2025-11-21 12:25:42.2968|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 2025-11-21 12:25:42.2968|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 12:25:42.2968|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 12:25:42.3096|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 12:25:42.3096|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 12:25:42.3096|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 12:25:42.3096|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 12:25:42.3096|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 12:25:42.3096|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 12:25:42.3096|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 12:25:42.3260|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 12:25:42.3260|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 12:25:42.3260|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 12:25:42.3767|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]]'. 2025-11-21 12:25:42.3767|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6834.17ms 2025-11-21 12:25:42.3767|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 12:25:42.3767|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6862.2957ms 200 application/json; charset=utf-8 2025-11-21 12:26:29.5558|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 12:26:29.5558|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 12:26:29.5558|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 12:26:29.5558|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:26:29.5558|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:26:29.5558|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:26:29.5558|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.246ms 204 2025-11-21 12:26:29.5558|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.7803ms 204 2025-11-21 12:26:29.5558|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 13.4353ms 204 2025-11-21 12:26:29.5711|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 12:26:29.5711|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 12:26:29.5711|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 12:26:29.5711|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() 2025-11-21 12:26:29.5711|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() 2025-11-21 12:26:29.5711|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() 2025-11-21 12:26:29.5711|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'. 2025-11-21 12:26:29.5711|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'. 2025-11-21 12:26:29.5711|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'. 2025-11-21 12:26:29.5877|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:26:29.5877|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:26:29.5877|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:26:29.5877|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2025-11-21 12:26:29.5877|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2025-11-21 12:26:29.5877|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2025-11-21 12:26:29.5877|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2025-11-21 12:26:29.5877|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2025-11-21 12:26:29.5877|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2025-11-21 12:26:29.6029|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 31.7338ms 401 2025-11-21 12:26:29.6029|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 33.1242ms 401 2025-11-21 12:26:29.6029|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 32.4434ms 401 2025-11-21 12:26:42.9913|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=519 2025-11-21 12:26:42.9913|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:26:42.9982|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6.9279ms 204 2025-11-21 12:26:42.9982|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=519 2025-11-21 12:26:42.9982|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 12:26:42.9982|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 12:26:42.9982|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 12:26:42.9982|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 12:26:42.9982|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:26:42.9982|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:26:42.9982|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:26:43.0144|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:26:43.0144|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 12:26:43.0144|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.4354ms 204 2025-11-21 12:26:43.0144|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 13.7227ms 204 2025-11-21 12:26:43.0144|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 16.0129ms 204 2025-11-21 12:26:43.0144|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 12:26:43.0144|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 12:26:43.0144|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 12:26:43.0291|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 12:26:43.0291|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). 2025-11-21 12:26:43.0291|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 12:26:43.0291|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 12:26:43.0291|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:26:43.0291|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 12:26:43.0291|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:26:43.0291|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 12:26:43.0291|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 12:26:43.0291|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 12:26:43.0450|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:26:43.0450|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)) 2025-11-21 12:26:43.0450|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 12:26:43.0450|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 12:26:43.0450|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 12:26:43.0450|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]]'. 2025-11-21 12:26:43.0450|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). 2025-11-21 12:26:43.0450|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). 2025-11-21 12:26:43.0450|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 12:26:43.0450|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 19.0508ms 2025-11-21 12:26:43.0597|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 12:26:43.0597||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 12:26:43.0597|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). 2025-11-21 12:26:43.0597|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 12:26:43.0597|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 2025-11-21 12:26:43.0597||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 12:26:43.0597|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 12:26:43.0597|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 70.4672ms 200 application/json; charset=utf-8 2025-11-21 12:26:43.0597|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]]'. 2025-11-21 12:26:43.0764||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 12:26:43.0764|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)) 2025-11-21 12:26:43.0764|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 22.1418ms 2025-11-21 12:26:43.0764|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 12:26:43.0764||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 12:26:43.0764|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 59.747ms 200 application/json; charset=utf-8 2025-11-21 12:26:43.0764||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 12:26:43.1001||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 12:26:43.1001||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 12:26:43.1001||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 12:26:43.1001||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 12:26:43.1069||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 12:26:43.1069||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 12:26:44.2122||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:26:44.2122||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:26:44.2206||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 12:26:44.2206||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 12:26:44.2206|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]]'. 2025-11-21 12:26:44.2341|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1173.5192ms 2025-11-21 12:26:44.2341||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 12:26:44.2341|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 12:26:44.2341|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1217.7104ms 200 application/json; charset=utf-8 2025-11-21 12:26:44.2541||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 12:26:44.2541||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 12:26:44.2632||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 12:26:45.3541||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:26:45.3590||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 12:26:45.3590||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 12:26:45.3756||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 12:26:45.3756||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 12:26:45.3756||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 12:26:46.4657||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:26:46.4686||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 12:26:46.4686||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 12:26:46.4826||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 12:26:46.4826||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 12:26:46.4826||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 12:26:46.7408|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 12:26:46.7408|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 12:26:46.7408|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:26:46.7408|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:26:46.7408|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.5347ms 204 2025-11-21 12:26:46.7478|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6.6584ms 204 2025-11-21 12:26:46.7478|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 12:26:46.7478|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 12:26:46.7478|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 12:26:46.7478|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 12:26:46.7478|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:26:46.7478|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:26:46.7478|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 12:26:46.7478|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 12:26:46.7478|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 12:26:46.7634|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 12:26:46.7634|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). 2025-11-21 12:26:46.7634|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). 2025-11-21 12:26:46.7634|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 12:26:46.7634|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 12:26:46.7634|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] 2025-11-21 12:26:46.7634|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]]'. 2025-11-21 12:26:46.7634|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 8.7327ms 2025-11-21 12:26:46.7634|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 12:26:46.7634|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] 2025-11-21 12:26:46.7787|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 28.0808ms 200 application/json; charset=utf-8 2025-11-21 12:26:46.7787|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]]'. 2025-11-21 12:26:46.7944|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 25.162ms 2025-11-21 12:26:46.7944|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 12:26:46.7944|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 45.5093ms 200 application/json; charset=utf-8 2025-11-21 12:26:47.5560||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:26:47.5560||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 12:26:47.5617||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 12:26:47.5617||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 12:26:47.5772||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 12:26:47.5772||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 12:26:48.6572||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:26:48.6572||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 12:26:48.6572||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 12:26:48.6794||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 12:26:48.6794||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 12:26:48.6850||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 12:26:49.7591||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:26:49.7633||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 12:26:49.7633||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 12:26:49.7807||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 12:26:49.7807|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; 2025-11-21 12:26:49.7949|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 2025-11-21 12:26:49.7949|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 12:26:49.7949|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)) 2025-11-21 12:26:49.7949|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 12:26:49.7949|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 12:26:49.8127|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' 2025-11-21 12:26:49.8127|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 12:26:49.8127|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' 2025-11-21 12:26:49.8259|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 12:26:49.8259|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' 2025-11-21 12:26:49.8259|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)) 2025-11-21 12:26:49.8259|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 12:26:49.8259|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 12:26:49.8821|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]]'. 2025-11-21 12:26:49.8821|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6814.2622ms 2025-11-21 12:26:49.8821|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 12:26:49.8821|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6858.3204ms 200 application/json; charset=utf-8 2025-11-21 12:26:54.2820|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 12:26:54.2820|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 12:26:54.2820|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 12:26:54.2820|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:26:54.2820|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:26:54.2820|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:26:54.2958|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 13.8132ms 204 2025-11-21 12:26:54.2958|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 16.6814ms 204 2025-11-21 12:26:54.2958|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 12:26:54.2958|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 19.6412ms 204 2025-11-21 12:26:54.2958|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 12:26:54.2958|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 12:26:54.3116|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 12:26:54.3116|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 12:26:54.3116|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 12:26:54.3116|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:26:54.3116|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:26:54.3261|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:26:54.3261|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 12:26:54.3261|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 12:26:54.3261|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 12:26:54.3261|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 12:26:54.3261|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 12:26:54.3261|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). 2025-11-21 12:26:54.3426|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). 2025-11-21 12:26:54.3426|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 12:26:54.3426||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 12:26:54.3426|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 12:26:54.3426|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). 2025-11-21 12:26:54.3582||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 12:26:54.3582|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 12:26:54.3582||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 12:26:54.3582|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 2025-11-21 12:26:54.3724|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]]'. 2025-11-21 12:26:54.3724|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 15.5953ms 2025-11-21 12:26:54.3724|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 12:26:54.3724|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 69.244ms 200 application/json; charset=utf-8 2025-11-21 12:26:54.3724||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 12:26:54.3931||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 12:26:54.3931||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 12:26:54.4043|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (48ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2025-11-21 12:26:54.4043||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 12:26:54.4043||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 12:26:54.4290||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 12:26:54.4290||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 12:26:54.4290||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 12:26:55.4821||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:26:55.4821||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 12:26:55.4821|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]]'. 2025-11-21 12:26:55.4821|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1145.2609ms 2025-11-21 12:26:55.4821|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 12:26:55.4821|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1189.442ms 200 application/json; charset=utf-8 2025-11-21 12:26:55.5111||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:26:55.5141||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 12:26:55.5141||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 12:26:55.5141||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 12:26:55.5304||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 12:26:55.5304||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 12:26:56.6038||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:26:56.6075||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 12:26:56.6075||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 12:26:56.6250||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 12:26:56.6250||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 12:26:56.6250||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 12:26:57.7160||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:26:57.7199||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 12:26:57.7199||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 12:26:57.7335||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 12:26:57.7335||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 12:26:57.7335||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 12:26:58.8116||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:26:58.8116||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 12:26:58.8116||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 12:26:58.8359||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 12:26:58.8359||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 12:26:58.8429||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 12:26:59.0177|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 12:26:59.0177|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 12:26:59.0177|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:26:59.0177|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:26:59.0177|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.1944ms 204 2025-11-21 12:26:59.0177|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.8469ms 204 2025-11-21 12:26:59.0303|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 12:26:59.0303|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 12:26:59.0303|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 12:26:59.0303|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 12:26:59.0303|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:26:59.0303|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:26:59.0303|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 12:26:59.0303|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 12:26:59.0457|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 12:26:59.0457|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 12:26:59.0457|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). 2025-11-21 12:26:59.0457|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). 2025-11-21 12:26:59.0457|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 12:26:59.0457|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 12:26:59.0612|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] 2025-11-21 12:26:59.0612|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] 2025-11-21 12:26:59.0612|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]]'. 2025-11-21 12:26:59.0612|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 13.435ms 2025-11-21 12:26:59.0612|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 12:26:59.0612|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 39.7684ms 200 application/json; charset=utf-8 2025-11-21 12:26:59.0612|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]]'. 2025-11-21 12:26:59.0612|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 20.9867ms 2025-11-21 12:26:59.0612|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 12:26:59.0612|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 45.4549ms 200 application/json; charset=utf-8 2025-11-21 12:26:59.9129||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:26:59.9164||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 12:26:59.9164||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 12:26:59.9324||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 12:26:59.9324||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 12:26:59.9324||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 12:27:01.0039||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:27:01.0092||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 12:27:01.0092||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 12:27:01.0287||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 12:27:01.0287|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; 2025-11-21 12:27:01.0429|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 2025-11-21 12:27:01.0429|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 12:27:01.0429|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 12:27:01.0429|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 12:27:01.0429|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 12:27:01.0548|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 12:27:01.0548|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 12:27:01.0548|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 12:27:01.0548|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 12:27:01.0548|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 12:27:01.0548|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 12:27:01.0711|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 12:27:01.0711|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 12:27:01.1131|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]]'. 2025-11-21 12:27:01.1131|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6767.6692ms 2025-11-21 12:27:01.1189|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 12:27:01.1189|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6818.6294ms 200 application/json; charset=utf-8 2025-11-21 12:27:05.4998|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 12:27:05.4998|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 12:27:05.4998|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 12:27:05.5039|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:27:05.5039|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:27:05.5039|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:27:05.5039|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.7943ms 204 2025-11-21 12:27:05.5039|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.4861ms 204 2025-11-21 12:27:05.5039|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 13.9579ms 204 2025-11-21 12:27:05.5039|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 12:27:05.5039|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 12:27:05.5039|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 12:27:05.5214|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 12:27:05.5214|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 12:27:05.5214|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 12:27:05.5214|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:27:05.5214|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:27:05.5214|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:27:05.5214|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 12:27:05.5214|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 12:27:05.5214|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 12:27:05.5214|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 12:27:05.5214|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 12:27:05.5350|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 12:27:05.5350|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). 2025-11-21 12:27:05.5350|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). 2025-11-21 12:27:05.5350|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). 2025-11-21 12:27:05.5350|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 12:27:05.5350|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 12:27:05.5350||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 12:27:05.5350|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 2025-11-21 12:27:05.5510|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)) 2025-11-21 12:27:05.5510|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]]'. 2025-11-21 12:27:05.5510||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 12:27:05.5510||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 12:27:05.5510|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 15.7287ms 2025-11-21 12:27:05.5510||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 12:27:05.5510|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 12:27:05.5510||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 12:27:05.5510|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 50.6627ms 200 application/json; charset=utf-8 2025-11-21 12:27:05.5791||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 12:27:05.5791||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 12:27:05.5836||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 12:27:05.5836||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 12:27:05.5836||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 12:27:05.5836||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 12:27:06.6734||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:27:06.6766||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 12:27:06.6766|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]]'. 2025-11-21 12:27:06.6766|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1136.6835ms 2025-11-21 12:27:06.6766|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 12:27:06.6766|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1168.3981ms 200 application/json; charset=utf-8 2025-11-21 12:27:06.6766||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:27:06.6766||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 12:27:06.6930||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 12:27:06.6930||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 12:27:06.7083||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 12:27:06.7083||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 12:27:07.8013||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:27:07.8013||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 12:27:07.8013||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 12:27:07.8185||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 12:27:07.8185||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 12:27:07.8185||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 12:27:08.9132||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:27:08.9132||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 12:27:08.9132||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 12:27:08.9370||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 12:27:08.9370||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 12:27:08.9441||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 12:27:10.0179||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:27:10.0216||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 12:27:10.0216||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 12:27:10.0373||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 12:27:10.0373||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 12:27:10.0373||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 12:27:11.1267||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:27:11.1318||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 12:27:11.1318||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 12:27:11.1512||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 12:27:11.1512||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 12:27:11.1512||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 12:27:12.2403||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:27:12.2403||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 12:27:12.2403||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 12:27:12.2612||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 12:27:12.2612|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; 2025-11-21 12:27:12.2719|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 2025-11-21 12:27:12.2719|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 12:27:12.2719|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 12:27:12.2719|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 12:27:12.2719|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 12:27:12.2865|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 12:27:12.2865|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 12:27:12.2865|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 12:27:12.2865|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 12:27:12.2865|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 12:27:12.3010|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 12:27:12.3010|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 12:27:12.3010|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 12:27:12.3480|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]]'. 2025-11-21 12:27:12.3480|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6809.1052ms 2025-11-21 12:27:12.3480|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 12:27:12.3480|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6838.5401ms 200 application/json; charset=utf-8 2025-11-21 12:27:14.2832|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100127923 2025-11-21 12:27:14.2851|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 12:27:14.2851|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 12:27:14.2851|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2025-11-21 12:27:14.2851|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). 2025-11-21 12:27:14.2851|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 12:27:14.2851|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)) 2025-11-21 12:27:14.2851|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]]'. 2025-11-21 12:27:14.2851|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 8.2065ms 2025-11-21 12:27:14.2851|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2025-11-21 12:27:14.3006|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 17.3535ms 200 application/json; charset=utf-8 2025-11-21 12:28:04.1068|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 12:28:04.1068|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 12:28:04.1068|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 12:28:04.1068|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:28:04.1068|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:28:04.1068|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:28:04.1068|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.2318ms 204 2025-11-21 12:28:04.1068|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.1272ms 204 2025-11-21 12:28:04.1068|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.203ms 204 2025-11-21 12:28:04.1215|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 12:28:04.1215|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 12:28:04.1215|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 12:28:04.1215|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 12:28:04.1215|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 12:28:04.1215|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 12:28:04.1215|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:28:04.1363|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:28:04.1363|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:28:04.1363|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 12:28:04.1363|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 12:28:04.1363|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 12:28:04.1363|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 12:28:04.1363|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 12:28:04.1363|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 12:28:04.1363|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). 2025-11-21 12:28:04.1363|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). 2025-11-21 12:28:04.1363|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). 2025-11-21 12:28:04.1363||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 12:28:04.1363|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 12:28:04.1508|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 12:28:04.1508||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 12:28:04.1508|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 2025-11-21 12:28:04.1508|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)) 2025-11-21 12:28:04.1508||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 12:28:04.1508|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]]'. 2025-11-21 12:28:04.1508||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 12:28:04.1508|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 12.5744ms 2025-11-21 12:28:04.1665|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 12:28:04.1665||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 12:28:04.1665|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 43.1736ms 200 application/json; charset=utf-8 2025-11-21 12:28:04.1820||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 12:28:04.1820||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 12:28:04.1820||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 12:28:04.1820||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 12:28:04.1820||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 12:28:04.1820||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 12:28:05.2750||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:28:05.2799||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 12:28:05.2799|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]]'. 2025-11-21 12:28:05.2799|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1140.1451ms 2025-11-21 12:28:05.2799|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 12:28:05.2799||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:28:05.2799|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1169.31ms 200 application/json; charset=utf-8 2025-11-21 12:28:05.2954||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 12:28:05.2954||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 12:28:05.3103||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 12:28:05.3103||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 12:28:05.3103||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 12:28:06.3993||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:28:06.4037||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 12:28:06.4037||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 12:28:06.4183||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 12:28:06.4183||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 12:28:06.4183||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 12:28:07.5095||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:28:07.5136||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 12:28:07.5136||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 12:28:07.5327||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 12:28:07.5327||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 12:28:07.5327||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 12:28:08.6175||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:28:08.6207||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 12:28:08.6207||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 12:28:08.6389||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 12:28:08.6389||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 12:28:08.6389||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 12:28:09.7318||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:28:09.7318||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 12:28:09.7318||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 12:28:09.7562||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 12:28:09.7606||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 12:28:09.7606||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 12:28:10.8386||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:28:10.8386||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 12:28:10.8386||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 12:28:10.8615||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 12:28:10.8615|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; 2025-11-21 12:28:10.8725|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 2025-11-21 12:28:10.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' 2025-11-21 12:28:10.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)) 2025-11-21 12:28:10.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' 2025-11-21 12:28:10.8888|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 12:28:10.8888|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 12:28:10.8888|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 12:28:10.9013|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 12:28:10.9013|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 12:28:10.9013|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 12:28:10.9013|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 12:28:10.9013|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 12:28:10.9188|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 12:28:10.9595|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]]'. 2025-11-21 12:28:10.9633|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6813.7968ms 2025-11-21 12:28:10.9633|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 12:28:10.9633|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6846.098ms 200 application/json; charset=utf-8 2025-11-21 12:29:12.3206|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=501 2025-11-21 12:29:12.3206|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:29:12.3273|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6.6885ms 204 2025-11-21 12:29:12.3418|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=501 2025-11-21 12:29:12.3418|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 12:29:12.3418|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:29:12.3418|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 12:29:12.3418|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 12:29:12.3418|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). 2025-11-21 12:29:12.3418|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 12:29:12.3418|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)) 2025-11-21 12:29:12.3569|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]]'. 2025-11-21 12:29:12.3569|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 7.8891ms 2025-11-21 12:29:12.3569|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 12:29:12.3569|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 19.0578ms 200 application/json; charset=utf-8 2025-11-21 12:35:10.4673|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=533 2025-11-21 12:35:10.4673|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:35:10.4673|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 3.4987ms 204 2025-11-21 12:35:10.5016|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=533 2025-11-21 12:35:10.5016|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 12:35:10.5016|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:35:10.5016|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 12:35:10.5016|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 12:35:10.5016|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). 2025-11-21 12:35:10.5122|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 12:35:10.5122|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)) 2025-11-21 12:35:10.5122|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]]'. 2025-11-21 12:35:10.5277|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 16.0331ms 2025-11-21 12:35:10.5277|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 12:35:10.5277|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 29.2257ms 200 application/json; charset=utf-8 2025-11-21 12:35:20.0807|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=209 2025-11-21 12:35:20.0807|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 12:35:20.0807|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 12:35:20.0807|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:35:20.0807|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:35:20.0807|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:35:20.0807|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.6849ms 204 2025-11-21 12:35:20.0807|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.6422ms 204 2025-11-21 12:35:20.0955|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 13.9162ms 204 2025-11-21 12:35:20.1107|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=209 2025-11-21 12:35:20.1107|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 12:35:20.1107|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:35:20.1107|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 12:35:20.1107|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 12:35:20.1107|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 12:35:20.1107|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 12:35:20.1107|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 12:35:20.1265|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 12:35:20.1265|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). 2025-11-21 12:35:20.1265|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:35:20.1265|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:35:20.1265|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 12:35:20.1265|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 12:35:20.1265|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 12:35:20.1265|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 12:35:20.1424|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)) 2025-11-21 12:35:20.1424|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 12:35:20.1424|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). 2025-11-21 12:35:20.1424|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). 2025-11-21 12:35:20.1424||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 209 2025-11-21 12:35:20.1424|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 12:35:20.1606|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 2025-11-21 12:35:20.1606||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 12:35:20.1606|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]]'. 2025-11-21 12:35:20.1606|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 13.1437ms 2025-11-21 12:35:20.1606||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/80 2025-11-21 12:35:20.1606|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 12:35:20.1606||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 12:35:20.1606|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 50.9759ms 200 application/json; charset=utf-8 2025-11-21 12:35:20.1752||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/80 2025-11-21 12:35:20.1944||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 2025-11-21 12:35:20.1944||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 12:35:20.1944||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 2025-11-21 12:35:20.1944||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 12:35:20.1944||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 12:35:20.2072||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0112012335 2025-11-21 12:35:21.2831||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:35:21.2831||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 12:35:21.2831||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:35:21.2831|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]]'. 2025-11-21 12:35:21.2831||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 12:35:21.2831|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1142.3625ms 2025-11-21 12:35:21.2831|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 12:35:21.2831||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 12:35:21.2831|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1178.1281ms 200 application/json; charset=utf-8 2025-11-21 12:35:21.3076||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 12:35:21.3076||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 12:35:21.3140||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011201233545 2025-11-21 12:35:22.3936||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:35:22.3936||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 12:35:22.3936||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 12:35:22.4203||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 12:35:22.4288|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; 2025-11-21 12:35:22.4288|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; 2025-11-21 12:35:22.4288|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 2025-11-21 12:35:22.4288|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 12:35:22.4409|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 12:35:22.4409|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 12:35:22.4409|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 12:35:22.4946|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]]'. 2025-11-21 12:35:22.4946|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 2363.4386ms 2025-11-21 12:35:22.4946|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 12:35:22.5012|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2390.4649ms 200 application/json; charset=utf-8 2025-11-21 12:48:29.6408|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 12:48:29.6408|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 12:48:29.6408|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:48:29.6408|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:48:29.6408|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.7414ms 204 2025-11-21 12:48:29.6408|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.8019ms 204 2025-11-21 12:48:29.6522|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 12:48:29.6522|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 12:48:29.6522|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() 2025-11-21 12:48:29.6522|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() 2025-11-21 12:48:29.6522|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'. 2025-11-21 12:48:29.6522|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'. 2025-11-21 12:48:29.6522|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:48:29.6522|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:48:29.6522|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2025-11-21 12:48:29.6522|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2025-11-21 12:48:29.6677|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2025-11-21 12:48:29.6677|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2025-11-21 12:48:29.6677|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 19.348ms 401 2025-11-21 12:48:29.6677|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 19.6704ms 401 2025-11-21 12:48:39.5026|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=519 2025-11-21 12:48:39.5026|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:48:39.5026|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4.4087ms 204 2025-11-21 12:48:39.5138|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=519 2025-11-21 12:48:39.5138|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 12:48:39.5138|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:48:39.5138|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 12:48:39.5138|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 12:48:39.5138|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 12:48:39.5138|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 12:48:39.5138|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:48:39.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). 2025-11-21 12:48:39.5284|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:48:39.5284|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.514ms 204 2025-11-21 12:48:39.5284|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 12:48:39.5284|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 13.31ms 204 2025-11-21 12:48:39.5284|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 12:48:39.5463|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 12:48:39.5463|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 12:48:39.5463|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 12:48:39.5463|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:48:39.5463|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:48:39.5463|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)) 2025-11-21 12:48:39.5463|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 12:48:39.5463|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 12:48:39.5580|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]]'. 2025-11-21 12:48:39.5580|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 12:48:39.5580|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 12:48:39.5580|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 24.7961ms 2025-11-21 12:48:39.5580|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). 2025-11-21 12:48:39.5580|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). 2025-11-21 12:48:39.5580|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 12:48:39.5580|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 12:48:39.5580|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 12:48:39.5580|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 54.5005ms 200 application/json; charset=utf-8 2025-11-21 12:48:39.5580|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] 2025-11-21 12:48:39.5580|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]]'. 2025-11-21 12:48:39.5743|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 7.9347ms 2025-11-21 12:48:39.5743|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 12:48:39.5743|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 34.6972ms 200 application/json; charset=utf-8 2025-11-21 12:48:39.5743|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] 2025-11-21 12:48:39.5953|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]]'. 2025-11-21 12:48:39.5953|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 29.8937ms 2025-11-21 12:48:39.5953|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 12:48:39.5953|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 53.6376ms 200 application/json; charset=utf-8 2025-11-21 12:48:40.9389|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 12:48:40.9389|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 12:48:40.9389|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 12:48:40.9389|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:48:40.9389|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:48:40.9389|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:48:40.9518|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.9096ms 204 2025-11-21 12:48:40.9518|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 14.6019ms 204 2025-11-21 12:48:40.9518|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 17.0967ms 204 2025-11-21 12:48:40.9518|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 12:48:40.9518|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 12:48:40.9518|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 12:48:40.9692|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 12:48:40.9692|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 12:48:40.9692|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 12:48:40.9692|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:48:40.9692|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:48:40.9692|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:48:40.9692|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 12:48:40.9692|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 12:48:40.9692|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 12:48:40.9835|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 12:48:40.9835|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 12:48:40.9835|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 12:48:40.9835|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). 2025-11-21 12:48:40.9835|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). 2025-11-21 12:48:40.9835|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). 2025-11-21 12:48:40.9835||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 12:48:40.9835|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 12:48:40.9835|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 12:48:41.0039|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 2025-11-21 12:48:41.0039|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]]'. 2025-11-21 12:48:41.0039|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)) 2025-11-21 12:48:41.0039|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 16.8443ms 2025-11-21 12:48:41.0039|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 12:48:41.0143||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 12:48:41.0143|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 52.0194ms 200 application/json; charset=utf-8 2025-11-21 12:48:41.0143||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 12:48:41.0143||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 12:48:41.0143||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 12:48:41.0446||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 12:48:41.0491||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 12:48:41.0491||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 12:48:41.0491||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 12:48:41.0607||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 12:48:41.0607||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 12:48:42.1579||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:48:42.1579||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:48:42.1579||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 12:48:42.1579||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 12:48:42.1579|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]]'. 2025-11-21 12:48:42.1702|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1179.8951ms 2025-11-21 12:48:42.1702||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 12:48:42.1702|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 12:48:42.1702|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1209.6287ms 200 application/json; charset=utf-8 2025-11-21 12:48:42.1865||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 12:48:42.1865||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 12:48:42.1865||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 12:48:42.9408|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 12:48:42.9408|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 12:48:42.9408|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 12:48:42.9408|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 12:48:42.9408|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:48:42.9530|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:48:42.9530|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 12:48:42.9530|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 12:48:42.9530|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 12:48:42.9530|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 12:48:42.9530|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). 2025-11-21 12:48:42.9530|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). 2025-11-21 12:48:42.9530|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 12:48:42.9669|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 12:48:42.9669|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] 2025-11-21 12:48:42.9669|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]]'. 2025-11-21 12:48:42.9669|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] 2025-11-21 12:48:42.9669|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 11.4075ms 2025-11-21 12:48:42.9669|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 12:48:42.9669|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 40.6784ms 200 application/json; charset=utf-8 2025-11-21 12:48:42.9866|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]]'. 2025-11-21 12:48:42.9866|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 21.2563ms 2025-11-21 12:48:42.9866|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 12:48:42.9866|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 48.7167ms 200 application/json; charset=utf-8 2025-11-21 12:48:43.2611||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:48:43.2648||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 12:48:43.2648||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 12:48:43.2830||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 12:48:43.2830||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 12:48:43.2830||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 12:48:44.3777||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:48:44.3777||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 12:48:44.3777||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 12:48:44.4001||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 12:48:44.4041||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 12:48:44.4041||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 12:48:45.4776||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:48:45.4776||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 12:48:45.4776||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 12:48:45.4966||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 12:48:45.5006||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 12:48:45.5006||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 12:48:46.5787||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:48:46.5787||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 12:48:46.5787||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 12:48:46.5983||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 12:48:46.5983||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 12:48:46.5983||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 12:48:47.6809||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:48:47.6858||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 12:48:47.6858||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 12:48:47.7057||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 12:48:47.7154|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; 2025-11-21 12:48:47.7154|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 2025-11-21 12:48:47.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' 2025-11-21 12:48:47.7154|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 12:48:47.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' 2025-11-21 12:48:47.7154|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 12:48:47.7308|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 12:48:47.7308|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 12:48:47.7308|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 12:48:47.7308|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)) 2025-11-21 12:48:47.7455|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 12:48:47.7455|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 12:48:47.7455|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 12:48:47.7455|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 12:48:47.7914|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]]'. 2025-11-21 12:48:47.7937|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6796.8727ms 2025-11-21 12:48:47.7937|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 12:48:47.7937|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6837.6394ms 200 application/json; charset=utf-8 2025-11-21 12:48:57.6658|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 12:48:57.6658|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 12:48:57.6658|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 12:48:57.6691|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:48:57.6691|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:48:57.6691|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:48:57.6691|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.0114ms 204 2025-11-21 12:48:57.6691|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.6098ms 204 2025-11-21 12:48:57.6691|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.4546ms 204 2025-11-21 12:48:57.6691|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 12:48:57.6691|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 12:48:57.6857|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 12:48:57.6857|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 12:48:57.6857|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 12:48:57.6857|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 12:48:57.6857|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:48:57.6857|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:48:57.6857|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:48:57.6857|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 12:48:57.6857|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 12:48:57.6981|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 12:48:57.6981|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 12:48:57.6981|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 12:48:57.6981|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 12:48:57.6981|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). 2025-11-21 12:48:57.6981|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). 2025-11-21 12:48:57.6981|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). 2025-11-21 12:48:57.6981|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 12:48:57.6981||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 12:48:57.6981|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 12:48:57.7137|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)) 2025-11-21 12:48:57.7137||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 12:48:57.7137|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 2025-11-21 12:48:57.7137||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 12:48:57.7137|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]]'. 2025-11-21 12:48:57.7137||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 12:48:57.7137||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 12:48:57.7137|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 11.4909ms 2025-11-21 12:48:57.7137|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 12:48:57.7297|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 44.0098ms 200 application/json; charset=utf-8 2025-11-21 12:48:57.7297||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 12:48:57.7297||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 12:48:57.7297||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 12:48:57.7459||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 12:48:57.7459||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 12:48:57.7459||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 12:48:58.8222||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:48:58.8263||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 12:48:58.8263||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:48:58.8263||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 12:48:58.8263||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 12:48:58.8263|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]]'. 2025-11-21 12:48:58.8263|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1126.497ms 2025-11-21 12:48:58.8263|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 12:48:58.8263|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1155.6051ms 200 application/json; charset=utf-8 2025-11-21 12:48:58.8430||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 12:48:58.8430||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 12:48:58.8430||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 12:48:59.9345||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:48:59.9345||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 12:48:59.9345||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 12:48:59.9521||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 12:48:59.9521||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 12:48:59.9521||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 12:49:01.0291||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:49:01.0291||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 12:49:01.0291||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 12:49:01.0566||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 12:49:01.0618||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 12:49:01.0618||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 12:49:02.1337||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:49:02.1360||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 12:49:02.1360||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 12:49:02.1360||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 12:49:02.1532||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 12:49:02.1532||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 12:49:03.2259||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:49:03.2259||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 12:49:03.2325||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 12:49:03.2549||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 12:49:03.2549||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 12:49:03.2549||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 12:49:04.3419||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:49:04.3419||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 12:49:04.3419||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 12:49:04.3667||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 12:49:04.3766|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; 2025-11-21 12:49:04.3766|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 2025-11-21 12:49:04.3766|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 12:49:04.3874|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 12:49:04.3874|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 12:49:04.3874|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 12:49:04.3874|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 12:49:04.4023|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)) 2025-11-21 12:49:04.4023|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 12:49:04.4023|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 12:49:04.4023|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 12:49:04.4023|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 12:49:04.4023|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 12:49:04.4201|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)) 2025-11-21 12:49:04.4723|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]]'. 2025-11-21 12:49:04.4723|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6768.2966ms 2025-11-21 12:49:04.4723|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 12:49:04.4805|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6799.5882ms 200 application/json; charset=utf-8 2025-11-21 12:50:36.0262|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 12:50:36.0262|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 12:50:36.0262|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:50:36.0325|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:50:36.0325|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.1067ms 204 2025-11-21 12:50:36.0325|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.3104ms 204 2025-11-21 12:50:36.0325|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 12:50:36.0325|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 12:50:36.0325|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 12:50:36.0325|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 12:50:36.0325|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:50:36.0325|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:50:36.0485|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 12:50:36.0485|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 12:50:36.0485|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 12:50:36.0485|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 12:50:36.0485|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). 2025-11-21 12:50:36.0485|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). 2025-11-21 12:50:36.0485|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 12:50:36.0485|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 12:50:36.0485|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] 2025-11-21 12:50:36.0485|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]]'. 2025-11-21 12:50:36.0637|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 6.7875ms 2025-11-21 12:50:36.0637|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 12:50:36.0637|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 24.2727ms 200 application/json; charset=utf-8 2025-11-21 12:50:36.0637|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] 2025-11-21 12:50:36.0851|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]]'. 2025-11-21 12:50:36.0851|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 32.0967ms 2025-11-21 12:50:36.0851|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 12:50:36.0851|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 52.266ms 200 application/json; charset=utf-8 2025-11-21 12:50:43.6225|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 12:50:43.6225|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 12:50:43.6225|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 12:50:43.6225|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:50:43.6299|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:50:43.6299|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:50:43.6299|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.2079ms 204 2025-11-21 12:50:43.6299|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 13.4328ms 204 2025-11-21 12:50:43.6299|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 14.4288ms 204 2025-11-21 12:50:43.6299|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 12:50:43.6424|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 12:50:43.6424|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 12:50:43.6424|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 12:50:43.6424|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:50:43.6424|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 12:50:43.6424|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 12:50:43.6424|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 12:50:43.6574|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:50:43.6574|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:50:43.6574|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 12:50:43.6574|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 12:50:43.6574|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 12:50:43.6574|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). 2025-11-21 12:50:43.6574|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 12:50:43.6574|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 12:50:43.6574|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 12:50:43.6739|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). 2025-11-21 12:50:43.6739|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). 2025-11-21 12:50:43.6739|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 12:50:43.6739||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 12:50:43.6739|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 2025-11-21 12:50:43.6891|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]]'. 2025-11-21 12:50:43.6891|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)) 2025-11-21 12:50:43.6891|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 19.7141ms 2025-11-21 12:50:43.6891||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 12:50:43.6891|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 12:50:43.6891||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 12:50:43.6891||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 12:50:43.6891|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 60.471ms 200 application/json; charset=utf-8 2025-11-21 12:50:43.7053||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 12:50:43.7277||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 12:50:43.7277||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 12:50:43.7277||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 12:50:43.7277||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 12:50:43.7361||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 12:50:43.7361||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 12:50:44.8175||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:50:44.8175||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 12:50:44.8175||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 12:50:44.8316||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:50:44.8316||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 12:50:44.8316|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]]'. 2025-11-21 12:50:44.8316|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1155.1781ms 2025-11-21 12:50:44.8316|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 12:50:44.8316||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 12:50:44.8316|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1197.8659ms 200 application/json; charset=utf-8 2025-11-21 12:50:44.8316||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 12:50:44.8484||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 12:50:45.9280||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:50:45.9280||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 12:50:45.9280||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 12:50:45.9492||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 12:50:45.9492||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 12:50:45.9492||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 12:50:46.4070|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 12:50:46.4070|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 12:50:46.4070|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:50:46.4122|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:50:46.4122|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.3245ms 204 2025-11-21 12:50:46.4122|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.3715ms 204 2025-11-21 12:50:46.4122|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 12:50:46.4122|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 12:50:46.4122|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 12:50:46.4253|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 12:50:46.4253|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:50:46.4253|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:50:46.4253|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 12:50:46.4253|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 12:50:46.4253|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 12:50:46.4253|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 12:50:46.4253|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). 2025-11-21 12:50:46.4253|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). 2025-11-21 12:50:46.4253|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 12:50:46.4253|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 12:50:46.4449|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] 2025-11-21 12:50:46.4449|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] 2025-11-21 12:50:46.4449|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]]'. 2025-11-21 12:50:46.4449|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 13.8145ms 2025-11-21 12:50:46.4449|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 12:50:46.4580|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 37.323ms 200 application/json; charset=utf-8 2025-11-21 12:50:46.4580|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]]'. 2025-11-21 12:50:46.4580|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 28.1212ms 2025-11-21 12:50:46.4580|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 12:50:46.4580|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 49.7241ms 200 application/json; charset=utf-8 2025-11-21 12:50:47.0382||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:50:47.0382||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 12:50:47.0502||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 12:50:47.0677||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 12:50:47.0677||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 12:50:47.0677||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 12:50:48.1586||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:50:48.1636||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 12:50:48.1636||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 12:50:48.1880||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 12:50:48.1939||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 12:50:48.1939||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 12:50:49.2681||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:50:49.2728||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 12:50:49.2728||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 12:50:49.2919||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 12:50:49.2919||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 12:50:49.2919||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 12:50:50.3677||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:50:50.3718||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 12:50:50.3718||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 12:50:50.3862||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 12:50:50.3862|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; 2025-11-21 12:50:50.3862|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 2025-11-21 12:50:50.4045|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 12:50:50.4045|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 12:50:50.4045|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 12:50:50.4045|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 12:50:50.4174|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 12:50:50.4174|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 12:50:50.4174|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 12:50:50.4174|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 12:50:50.4174|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 12:50:50.4354|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 12:50:50.4354|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 12:50:50.4354|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)) 2025-11-21 12:50:50.4904|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]]'. 2025-11-21 12:50:50.4904|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6811.3862ms 2025-11-21 12:50:50.4904|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 12:50:50.4904|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6849.741ms 200 application/json; charset=utf-8 2025-11-21 12:51:01.1136|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 12:51:01.1136|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 12:51:01.1136|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 12:51:01.1136|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:51:01.1136|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:51:01.1214|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:51:01.1214|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.779ms 204 2025-11-21 12:51:01.1214|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.3478ms 204 2025-11-21 12:51:01.1214|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 13.2535ms 204 2025-11-21 12:51:01.1214|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 12:51:01.1214|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 12:51:01.1214|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 12:51:01.1214|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 12:51:01.1214|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 12:51:01.1366|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 12:51:01.1366|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:51:01.1366|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:51:01.1366|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:51:01.1366|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 12:51:01.1366|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 12:51:01.1366|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 12:51:01.1366|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 12:51:01.1366|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 12:51:01.1366|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). 2025-11-21 12:51:01.1366|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). 2025-11-21 12:51:01.1525|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 12:51:01.1525|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 12:51:01.1525|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 12:51:01.1525|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). 2025-11-21 12:51:01.1525|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 2025-11-21 12:51:01.1525||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 12:51:01.1525|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]]'. 2025-11-21 12:51:01.1679|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)) 2025-11-21 12:51:01.1679|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 16.3982ms 2025-11-21 12:51:01.1679||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 12:51:01.1679||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 12:51:01.1679|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 12:51:01.1679||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 12:51:01.1679|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 49.6101ms 200 application/json; charset=utf-8 2025-11-21 12:51:01.1679||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 12:51:01.2021||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 12:51:01.2021||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 12:51:01.2021||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 12:51:01.2021||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 12:51:01.2021||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 12:51:01.2021||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 12:51:02.2920||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:51:02.2923||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:51:02.2923||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 12:51:02.2923||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 12:51:02.2923|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]]'. 2025-11-21 12:51:02.2923||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 12:51:02.2923|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1136.7386ms 2025-11-21 12:51:02.2923|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 12:51:02.2923|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1174.048ms 200 application/json; charset=utf-8 2025-11-21 12:51:02.3153||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 12:51:02.3153||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 12:51:02.3153||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 12:51:03.4057||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:51:03.4057||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 12:51:03.4057||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 12:51:03.4267||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 12:51:03.4267||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 12:51:03.4267||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 12:51:04.5090||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:51:04.5138||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 12:51:04.5138||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 12:51:04.5302||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 12:51:04.5302||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 12:51:04.5302||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 12:51:05.6214||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:51:05.6214||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 12:51:05.6214||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 12:51:05.6415||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 12:51:05.6415||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 12:51:05.6415||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 12:51:06.7346||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:51:06.7346||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 12:51:06.7346||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 12:51:06.7561||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 12:51:06.7561||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 12:51:06.7561||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 12:51:07.8436||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:51:07.8436||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 12:51:07.8436||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 12:51:07.8639||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 12:51:07.8750|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; 2025-11-21 12:51:07.8750|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 2025-11-21 12:51:07.8750|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 12:51:07.8875|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 12:51:07.8875|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 12:51:07.8875|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)) 2025-11-21 12:51:07.8875|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' 2025-11-21 12:51:07.9064|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)) 2025-11-21 12:51:07.9064|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 12:51:07.9064|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)) 2025-11-21 12:51:07.9197|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 12:51:07.9197|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)) 2025-11-21 12:51:07.9197|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 12:51:07.9197|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 12:51:07.9744|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]]'. 2025-11-21 12:51:07.9744|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6822.228ms 2025-11-21 12:51:07.9803|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 12:51:07.9803|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6854.6487ms 200 application/json; charset=utf-8 2025-11-21 12:52:15.0669|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 12:52:15.0669|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 12:52:15.0669|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:52:15.0669|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:52:15.0669|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6.2891ms 204 2025-11-21 12:52:15.0669|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.7975ms 204 2025-11-21 12:52:15.0669|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 12:52:15.0669|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 12:52:15.0669|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 12:52:15.0795|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 12:52:15.0795|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:52:15.0795|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:52:15.0795|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 12:52:15.0795|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 12:52:15.0795|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 12:52:15.0795|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 12:52:15.0795|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). 2025-11-21 12:52:15.0795|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). 2025-11-21 12:52:15.0795|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 12:52:15.0795|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 12:52:15.0971|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] 2025-11-21 12:52:15.0971|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] 2025-11-21 12:52:15.0971|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]]'. 2025-11-21 12:52:15.0971|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 9.8626ms 2025-11-21 12:52:15.0971|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 12:52:15.0971|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 27.078ms 200 application/json; charset=utf-8 2025-11-21 12:52:15.1146|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]]'. 2025-11-21 12:52:15.1146|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 25.2171ms 2025-11-21 12:52:15.1146|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 12:52:15.1146|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 42.2503ms 200 application/json; charset=utf-8 2025-11-21 12:53:38.2591|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 12:53:38.2591|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 12:53:38.2591|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 12:53:38.2591|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:53:38.2591|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:53:38.2591|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:53:38.2591|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.7744ms 204 2025-11-21 12:53:38.2591|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.3267ms 204 2025-11-21 12:53:38.2591|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.2877ms 204 2025-11-21 12:53:38.2591|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 12:53:38.2739|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 12:53:38.2739|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 12:53:38.2739|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 12:53:38.2739|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 12:53:38.2739|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 12:53:38.2739|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:53:38.2739|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:53:38.2739|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:53:38.2739|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 12:53:38.2877|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 12:53:38.2877|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 12:53:38.2877|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 12:53:38.2877|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 12:53:38.2877|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 12:53:38.2877|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). 2025-11-21 12:53:38.2877|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). 2025-11-21 12:53:38.2877|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). 2025-11-21 12:53:38.2877|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 12:53:38.2877|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 12:53:38.2877||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 12:53:38.3080|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)) 2025-11-21 12:53:38.3080|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 2025-11-21 12:53:38.3080||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 12:53:38.3080|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]]'. 2025-11-21 12:53:38.3080||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 12:53:38.3080|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 17.0143ms 2025-11-21 12:53:38.3212|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 12:53:38.3212|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 49.1354ms 200 application/json; charset=utf-8 2025-11-21 12:53:38.3212||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 12:53:38.3212||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 12:53:38.3366||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 12:53:38.3366||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 12:53:38.3366||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 12:53:38.3366||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 12:53:38.3366||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 12:53:38.3366||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 12:53:39.4307||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:53:39.4307||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:53:39.4307||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 12:53:39.4307||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 12:53:39.4307|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]]'. 2025-11-21 12:53:39.4307||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 12:53:39.4307|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1139.5318ms 2025-11-21 12:53:39.4445|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 12:53:39.4445|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1170.0859ms 200 application/json; charset=utf-8 2025-11-21 12:53:39.4445||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 12:53:39.4445||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 12:53:39.4445||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 12:53:40.5404||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:53:40.5404||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 12:53:40.5404||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 12:53:40.5632||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 12:53:40.5632||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 12:53:40.5727||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 12:53:41.6609||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:53:41.6655||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 12:53:41.6655||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 12:53:41.6855||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 12:53:41.6855||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 12:53:41.6855||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 12:53:42.7647||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:53:42.7647||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 12:53:42.7647||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 12:53:42.7863||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 12:53:42.7863||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 12:53:42.7946||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 12:53:43.8895||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:53:43.8895||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 12:53:43.8895||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 12:53:43.9118||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 12:53:43.9118||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 12:53:43.9182||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 12:53:44.9982||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:53:44.9982||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 12:53:44.9982||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 12:53:45.0192||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 12:53:45.0272|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; 2025-11-21 12:53:45.0272|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 2025-11-21 12:53:45.0272|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' 2025-11-21 12:53:45.0435|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)) 2025-11-21 12:53:45.0435|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 12:53:45.0435|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 12:53:45.0435|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 12:53:45.0435|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 12:53:45.0435|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 12:53:45.0587|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 12:53:45.0587|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 12:53:45.0587|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)) 2025-11-21 12:53:45.0587|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 12:53:45.0744|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)) 2025-11-21 12:53:45.1126|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]]'. 2025-11-21 12:53:45.1126|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6815.9599ms 2025-11-21 12:53:45.1126|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 12:53:45.1126|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6846.1156ms 200 application/json; charset=utf-8 2025-11-21 12:53:52.2675|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 12:53:52.2675|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 12:53:52.2675|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 12:53:52.2675|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:53:52.2675|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:53:52.2675|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:53:52.2675|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.0708ms 204 2025-11-21 12:53:52.2675|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.855ms 204 2025-11-21 12:53:52.2675|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 13.4706ms 204 2025-11-21 12:53:52.2830|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 12:53:52.2830|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 12:53:52.2830|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 12:53:52.2830|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 12:53:52.2830|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:53:52.2830|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:53:52.2830|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 12:53:52.2830|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 12:53:52.2830|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 12:53:52.2830|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 12:53:52.2830|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 12:53:52.2973|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 12:53:52.2973|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). 2025-11-21 12:53:52.2973|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:53:52.2973|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). 2025-11-21 12:53:52.2973|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 12:53:52.2973|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 12:53:52.2973|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 12:53:52.2973|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 12:53:52.2973|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). 2025-11-21 12:53:52.2973|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [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 2025-11-21 12:53:52.2973|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)) 2025-11-21 12:53:52.2973||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 12:53:52.2973|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]]'. 2025-11-21 12:53:52.3158||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 12:53:52.3158|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 15.8113ms 2025-11-21 12:53:52.3158||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 12:53:52.3158|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 12:53:52.3158||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 12:53:52.3158|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 40.4316ms 200 application/json; charset=utf-8 2025-11-21 12:53:52.3158||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 12:53:52.3421||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 12:53:52.3443||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 12:53:52.3443||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 12:53:52.3443||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 12:53:52.3443||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 12:53:52.3443||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 12:53:53.4423||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:53:53.4423||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:53:53.4423||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 12:53:53.4423||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 12:53:53.4423||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 12:53:53.4423|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]]'. 2025-11-21 12:53:53.4548|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1144.916ms 2025-11-21 12:53:53.4548|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 12:53:53.4548|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1163.8313ms 200 application/json; charset=utf-8 2025-11-21 12:53:53.4548||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 12:53:53.4548||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 12:53:53.4548||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 12:53:54.3778|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 12:53:54.3778|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 12:53:54.3778|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:53:54.3924|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:53:54.3924|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 19.9272ms 204 2025-11-21 12:53:54.3924|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 24.23ms 204 2025-11-21 12:53:54.3924|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 12:53:54.4106|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 12:53:54.4106|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 12:53:54.4106|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:53:54.4106|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 12:53:54.4254|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 12:53:54.4254|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:53:54.4254|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 12:53:54.4254|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 12:53:54.4254|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). 2025-11-21 12:53:54.4254|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 12:53:54.4377|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 12:53:54.4377|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). 2025-11-21 12:53:54.4377|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 12:53:54.4377|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] 2025-11-21 12:53:54.4377|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]]'. 2025-11-21 12:53:54.4377|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 13.4282ms 2025-11-21 12:53:54.4377|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] 2025-11-21 12:53:54.4377|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 12:53:54.4563|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 50.0459ms 200 application/json; charset=utf-8 2025-11-21 12:53:54.4704|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]]'. 2025-11-21 12:53:54.4704|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 30.2379ms 2025-11-21 12:53:54.4704|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 12:53:54.4704|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 64.4624ms 200 application/json; charset=utf-8 2025-11-21 12:53:54.5596||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:53:54.5635||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 12:53:54.5635||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 12:53:54.5821||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 12:53:54.5821||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 12:53:54.5821||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 12:53:55.6715||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:53:55.6745||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 12:53:55.6745||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 12:53:55.6887||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 12:53:55.6887||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 12:53:55.6887||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 12:53:56.7669||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:53:56.7669||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 12:53:56.7669||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 12:53:56.7917||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 12:53:56.7917||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 12:53:56.7917||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 12:53:57.8784||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:53:57.8784||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 12:53:57.8784||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 12:53:57.9004||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 12:53:57.9004||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 12:53:57.9065||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 12:53:58.9885||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:53:58.9919||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 12:53:58.9919||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 12:53:59.0087||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 12:53:59.0087|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; 2025-11-21 12:53:59.0087|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 2025-11-21 12:53:59.0232|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 12:53:59.0232|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 12:53:59.0232|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' 2025-11-21 12:53:59.0232|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)) 2025-11-21 12:53:59.0232|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 12:53:59.0399|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 12:53:59.0399|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 12:53:59.0399|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)) 2025-11-21 12:53:59.0399|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 12:53:59.0547|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 12:53:59.0547|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 12:53:59.0547|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 12:53:59.0946|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]]'. 2025-11-21 12:53:59.0946|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6794.5896ms 2025-11-21 12:53:59.0946|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 12:53:59.1026|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6817.5284ms 200 application/json; charset=utf-8 2025-11-21 12:54:03.0925|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 12:54:03.0925|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 12:54:03.0925|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 12:54:03.0925|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:54:03.0925|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:54:03.0925|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:54:03.1031|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.6176ms 204 2025-11-21 12:54:03.1031|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.6078ms 204 2025-11-21 12:54:03.1031|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 14.0819ms 204 2025-11-21 12:54:03.1031|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 12:54:03.1031|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 12:54:03.1031|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 12:54:03.1031|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 12:54:03.1031|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 12:54:03.1031|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 12:54:03.1165|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:54:03.1165|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:54:03.1165|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 12:54:03.1165|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 12:54:03.1165|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 12:54:03.1165|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 12:54:03.1165|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 12:54:03.1165|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 12:54:03.1165|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 12:54:03.1165|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). 2025-11-21 12:54:03.1165|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). 2025-11-21 12:54:03.1165|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). 2025-11-21 12:54:03.1165|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 12:54:03.1165||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 12:54:03.1165|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 12:54:03.1337|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 2025-11-21 12:54:03.1337||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 12:54:03.1337|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]]'. 2025-11-21 12:54:03.1337|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)) 2025-11-21 12:54:03.1337|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 13.3175ms 2025-11-21 12:54:03.1337||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 12:54:03.1337|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 12:54:03.1337||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 12:54:03.1487|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 40.3012ms 200 application/json; charset=utf-8 2025-11-21 12:54:03.1487||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 12:54:03.1487||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 12:54:03.1646||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 12:54:03.1646||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 12:54:03.1646||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 12:54:03.1646||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 12:54:03.1646||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 12:54:04.2403||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:54:04.2448||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 12:54:04.2448|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]]'. 2025-11-21 12:54:04.2448|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1121.6234ms 2025-11-21 12:54:04.2448|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 12:54:04.2448|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1143.2023ms 200 application/json; charset=utf-8 2025-11-21 12:54:04.2448||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:54:04.2580||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 12:54:04.2580||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 12:54:04.2580||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 12:54:04.2732||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 12:54:04.2732||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 12:54:05.3537||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:54:05.3537||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 12:54:05.3537||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 12:54:05.3735||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 12:54:05.3735||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 12:54:05.3735||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 12:54:06.4585||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:54:06.4626||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 12:54:06.4626||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 12:54:06.4811||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 12:54:06.4811||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 12:54:06.4811||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 12:54:07.5679||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:54:07.5730||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 12:54:07.5730||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 12:54:07.5922||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 12:54:07.5922||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 12:54:07.5922||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 12:54:08.6815||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:54:08.6815||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 12:54:08.6815||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 12:54:08.7012||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 12:54:08.7012||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 12:54:08.7012||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 12:54:09.7870||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 12:54:09.7915||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 12:54:09.7915||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 12:54:09.8127||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 12:54:09.8207|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; 2025-11-21 12:54:09.8207|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 2025-11-21 12:54:09.8207|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 12:54:09.8207|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 12:54:09.8354|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 12:54:09.8354|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 12:54:09.8354|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 12:54:09.8354|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 12:54:09.8354|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 12:54:09.8354|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)) 2025-11-21 12:54:09.8529|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 12:54:09.8529|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 12:54:09.8529|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 12:54:09.8529|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 12:54:09.9117|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]]'. 2025-11-21 12:54:09.9138|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6782.9687ms 2025-11-21 12:54:09.9138|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 12:54:09.9138|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6805.0419ms 200 application/json; charset=utf-8 2025-11-21 13:13:12.2959|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=492 2025-11-21 13:13:12.2959|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 13:13:12.2959|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 13:13:12.2959|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 13:13:12.3006|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 13:13:12.3006|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 13:13:12.3006|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 13:13:12.3006|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 13:13:12.3006|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.5783ms 204 2025-11-21 13:13:12.3006|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 13.9432ms 204 2025-11-21 13:13:12.3006|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 14.7408ms 204 2025-11-21 13:13:12.3006|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 15.8776ms 204 2025-11-21 13:13:12.3201|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=492 2025-11-21 13:13:12.3201|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 13:13:12.3201|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 13:13:12.3201|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 13:13:12.3201|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 13:13:12.3297|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 13:13:12.3297|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 13:13:12.3297|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 13:13:12.3297|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 13:13:12.3297|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 13:13:12.3456|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 13:13:12.3297|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 13:13:12.3297|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 13:13:12.3297|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 13:13:12.3456|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 13:13:12.3456|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 13:13:12.3456|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 13:13:12.3456|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 13:13:12.3456|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). 2025-11-21 13:13:12.3611|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 13:13:12.3611|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). 2025-11-21 13:13:12.3611|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 13:13:12.3611||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 13:13:12.3611|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). 2025-11-21 13:13:12.3611|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 13:13:12.3611|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). 2025-11-21 13:13:12.3764|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 13:13:12.3764|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 13:13:12.3764|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)) 2025-11-21 13:13:12.3764||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 13:13:12.3939||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 13:13:12.3939|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)) 2025-11-21 13:13:12.3939|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 2025-11-21 13:13:12.3939||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 13:13:12.3939|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]]'. 2025-11-21 13:13:12.3939||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 13:13:12.3939|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]]'. 2025-11-21 13:13:12.4100|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 33.8915ms 2025-11-21 13:13:12.4100|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 34.5114ms 2025-11-21 13:13:12.4100|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 13:13:12.4100|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 13:13:12.4100|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 99.3425ms 200 application/json; charset=utf-8 2025-11-21 13:13:12.4100|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 97.4736ms 200 application/json; charset=utf-8 2025-11-21 13:13:12.4284||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 13:13:12.4284||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 13:13:12.4284||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 13:13:12.4284||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 13:13:12.4284||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 13:13:12.4284||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 13:13:13.5239||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 13:13:13.5239||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 13:13:13.5239||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 13:13:13.5239||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 13:13:13.5239||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 13:13:13.5345|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]]'. 2025-11-21 13:13:13.5345|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1168.7925ms 2025-11-21 13:13:13.5345|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 13:13:13.5345|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1215.2095ms 200 application/json; charset=utf-8 2025-11-21 13:13:13.5345||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 13:13:13.5483||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 13:13:13.5483||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 13:13:14.6246||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 13:13:14.6267||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 13:13:14.6267||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 13:13:14.6267||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 13:13:14.6428||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 13:13:14.6428||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 13:13:15.7206||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 13:13:15.7206||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 13:13:15.7206||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 13:13:15.7427||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 13:13:15.7427||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 13:13:15.7427||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 13:13:16.8340||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 13:13:16.8384||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 13:13:16.8384||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 13:13:16.8555||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 13:13:16.8555||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 13:13:16.8555||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 13:13:17.9447||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 13:13:17.9447||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 13:13:17.9447||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 13:13:17.9620||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 13:13:17.9620||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 13:13:17.9620||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 13:13:19.0543||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 13:13:19.0543||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 13:13:19.0543||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 13:13:19.0708||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 13:13:19.0708|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; 2025-11-21 13:13:19.0708|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 2025-11-21 13:13:19.0866|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 13:13:19.0866|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 13:13:19.0866|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 13:13:19.0866|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 13:13:19.0866|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 13:13:19.0866|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 13:13:19.1013|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 13:13:19.1013|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 13:13:19.1013|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 13:13:19.1013|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 13:13:19.1013|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 13:13:19.1013|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 13:13:19.1609|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]]'. 2025-11-21 13:13:19.1633|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6792.9607ms 2025-11-21 13:13:19.1633|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 13:13:19.1633|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6841.1728ms 200 application/json; charset=utf-8 2025-11-21 13:14:11.2362|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=501 2025-11-21 13:14:11.2362|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 13:14:11.2424|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6.1735ms 204 2025-11-21 13:14:11.2424|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=501 2025-11-21 13:14:11.2424|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 13:14:11.2590|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 13:14:11.2590|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 13:14:11.2590|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 13:14:11.2590|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). 2025-11-21 13:14:11.2590|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 13:14:11.2742|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)) 2025-11-21 13:14:11.2742|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]]'. 2025-11-21 13:14:11.2742|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 10.0155ms 2025-11-21 13:14:11.2742|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 13:14:11.2742|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 31.2654ms 200 application/json; charset=utf-8 2025-11-21 13:34:24.7938|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://127.0.0.1:15442/ACCOUNTSERVICES/iisintegration 0 2025-11-21 13:34:24.7938|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 3.7592ms 202 2025-11-21 13:42:57.7474||DEBUG|AccountManagement.Program|init main function 2025-11-21 13:43:00.3204|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()'. 2025-11-21 13:43:00.3329|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()'. 2025-11-21 13:43:00.3329|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()'. 2025-11-21 13:43:00.3630|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 13:43:00.5900|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (14ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT 1 2025-11-21 13:43:00.6109|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (13ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT OBJECT_ID(N'[__EFMigrationsHistory]'); 2025-11-21 13:43:00.6109|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT 1 2025-11-21 13:43:00.6109|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT OBJECT_ID(N'[__EFMigrationsHistory]'); 2025-11-21 13:43:00.6339|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [MigrationId], [ProductVersion] FROM [__EFMigrationsHistory] ORDER BY [MigrationId]; 2025-11-21 13:43:00.6491|20405|INFO|Microsoft.EntityFrameworkCore.Migrations|No migrations were applied. The database is already up to date. 2025-11-21 13:43:00.7922||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. 2025-11-21 13:43:01.0626|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 13:43:01.0626|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=492 2025-11-21 13:43:01.0626|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 13:43:01.0626|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 13:43:01.1299|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 13:43:01.1299|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 13:43:01.1299|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 13:43:01.1299|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 13:43:01.1389|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 77.7305ms 204 2025-11-21 13:43:01.1389|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 77.7303ms 204 2025-11-21 13:43:01.1389|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 77.7327ms 204 2025-11-21 13:43:01.1389|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 78.4544ms 204 2025-11-21 13:43:01.1658|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 13:43:01.1708|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=492 2025-11-21 13:43:01.1708|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 13:43:01.1708|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 13:43:01.4126|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 13:43:01.4126|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 13:43:01.4126|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 13:43:01.4126|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 13:43:01.4126|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 13:43:01.4222|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 13:43:01.4222|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 13:43:01.4222|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 13:43:01.4222|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 13:43:01.4222|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 13:43:01.4222|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 13:43:01.4222|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 13:43:01.4222|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 13:43:01.4222|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 13:43:01.4222|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 13:43:01.4354|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 13:43:01.4685|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). 2025-11-21 13:43:01.4685|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 13:43:01.4685|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). 2025-11-21 13:43:01.4685|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). 2025-11-21 13:43:01.4685|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). 2025-11-21 13:43:01.5018||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 13:43:01.5018|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 13:43:01.5018|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 13:43:01.6639|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [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 2025-11-21 13:43:01.7166|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (32ms) [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)) 2025-11-21 13:43:01.7166|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)) 2025-11-21 13:43:01.7370|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]]'. 2025-11-21 13:43:01.7370|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]]'. 2025-11-21 13:43:01.7370||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 13:43:01.7370||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 13:43:01.7541||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 13:43:01.7541||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 13:43:01.7664|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 284.1798ms 2025-11-21 13:43:01.7664|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 293.9225ms 2025-11-21 13:43:01.7664|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 13:43:01.7664|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 13:43:01.7664|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 600.8912ms 200 application/json; charset=utf-8 2025-11-21 13:43:01.7664|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 602.6373ms 200 application/json; charset=utf-8 2025-11-21 13:43:01.9540||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 13:43:01.9540||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 13:43:01.9811||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 13:43:01.9811||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 13:43:01.9873||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 13:43:01.9873||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 13:43:03.0825||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 13:43:03.0825||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 13:43:03.0825||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 13:43:03.0825||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 13:43:03.0915||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 13:43:03.0915|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]]'. 2025-11-21 13:43:03.0915|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1618.3742ms 2025-11-21 13:43:03.0915|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 13:43:03.0915|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1937.5969ms 200 application/json; charset=utf-8 2025-11-21 13:43:03.1122||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 13:43:03.1122||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 13:43:03.1122||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 13:43:04.2028||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 13:43:04.2028||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 13:43:04.2028||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 13:43:04.2348||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 13:43:04.2348||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 13:43:04.2348||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 13:43:05.3336||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 13:43:05.3336||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 13:43:05.3336||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 13:43:05.3579||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 13:43:05.3579||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 13:43:05.3579||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 13:43:06.4408||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 13:43:06.4408||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 13:43:06.4408||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 13:43:06.4674||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 13:43:06.4674||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 13:43:06.4674||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 13:43:07.5624||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 13:43:07.5624||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 13:43:07.5624||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 13:43:07.5904||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 13:43:07.5960||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 13:43:07.5960||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 13:43:08.6861||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 13:43:08.6861||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 13:43:08.6861||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 13:43:08.7184||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 13:43:08.8024|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; 2025-11-21 13:43:08.8302|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 2025-11-21 13:43:08.8485|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' 2025-11-21 13:43:08.8696|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)) 2025-11-21 13:43:08.8759|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' 2025-11-21 13:43:08.8759|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 13:43:08.8759|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 13:43:08.8885|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)) 2025-11-21 13:43:08.8885|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' 2025-11-21 13:43:08.8885|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 13:43:08.8885|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 13:43:08.8885|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 13:43:08.9200|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' 2025-11-21 13:43:08.9200|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 13:43:09.0510|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]]'. 2025-11-21 13:43:09.0648|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 7580.9946ms 2025-11-21 13:43:09.0648|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 13:43:09.0648|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7898.3005ms 200 application/json; charset=utf-8 2025-11-21 14:03:56.3347|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://127.0.0.1:21588/ACCOUNTSERVICES/iisintegration 0 2025-11-21 14:03:56.3347|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2.5984ms 202 2025-11-21 14:40:34.9064||DEBUG|AccountManagement.Program|init main function 2025-11-21 14:40:37.7672|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()'. 2025-11-21 14:40:37.7789|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()'. 2025-11-21 14:40:37.7789|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()'. 2025-11-21 14:40:37.8115|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 14:40:38.0295|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (13ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT 1 2025-11-21 14:40:38.0541|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (15ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT OBJECT_ID(N'[__EFMigrationsHistory]'); 2025-11-21 14:40:38.0541|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT 1 2025-11-21 14:40:38.0604|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (0ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT OBJECT_ID(N'[__EFMigrationsHistory]'); 2025-11-21 14:40:38.0604|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [MigrationId], [ProductVersion] FROM [__EFMigrationsHistory] ORDER BY [MigrationId]; 2025-11-21 14:40:38.0855|20405|INFO|Microsoft.EntityFrameworkCore.Migrations|No migrations were applied. The database is already up to date. 2025-11-21 14:40:38.2141||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. 2025-11-21 14:40:38.4132|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 14:40:38.4132|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 14:40:38.4132|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 14:40:38.4606|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 14:40:38.4606|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 14:40:38.4606|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 14:40:38.4666|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 53.7924ms 204 2025-11-21 14:40:38.4666|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 53.7837ms 204 2025-11-21 14:40:38.4666|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 53.7909ms 204 2025-11-21 14:40:38.4666|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 14:40:38.4666|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 14:40:38.4843|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 14:40:38.5661|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() 2025-11-21 14:40:38.5661|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() 2025-11-21 14:40:38.5661|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() 2025-11-21 14:40:38.5808|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'. 2025-11-21 14:40:38.5808|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'. 2025-11-21 14:40:38.5808|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'. 2025-11-21 14:40:38.5808|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 14:40:38.5808|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 14:40:38.5808|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2025-11-21 14:40:38.5808|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2025-11-21 14:40:38.5911|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 14:40:38.5911|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2025-11-21 14:40:38.5911|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2025-11-21 14:40:38.5911|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2025-11-21 14:40:38.5911|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2025-11-21 14:40:38.5911|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 121.4151ms 401 2025-11-21 14:40:38.5911|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 121.7601ms 401 2025-11-21 14:40:38.5911|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 113.3405ms 401 2025-11-21 14:40:56.2637|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=519 2025-11-21 14:40:56.2710|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 14:40:56.2710|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.5796ms 204 2025-11-21 14:40:56.2710|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=519 2025-11-21 14:40:56.2859|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 14:40:56.2859|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 14:40:56.2859|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 14:40:56.2859|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 14:40:56.2859|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 14:40:56.2859|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 14:40:56.2859|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.9252ms 204 2025-11-21 14:40:56.2859|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.9795ms 204 2025-11-21 14:40:56.2859|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.6934ms 204 2025-11-21 14:40:56.2859|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 14:40:56.3004|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 14:40:56.3004|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 14:40:56.3004|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 14:40:56.3004|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 14:40:56.3004|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 14:40:56.3004|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 14:40:56.3004|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 14:40:56.3158|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 14:40:56.3158|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 14:40:56.3158|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 14:40:56.3158|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 14:40:56.3158|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 14:40:56.3158|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 14:40:56.3158|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 14:40:56.3158|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 14:40:56.3158|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 14:40:56.3158|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 14:40:56.3158|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 14:40:56.3621|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). 2025-11-21 14:40:56.3689|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 14:40:56.3689|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). 2025-11-21 14:40:56.3689|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). 2025-11-21 14:40:56.3689|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). 2025-11-21 14:40:56.4044|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 14:40:56.4044|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 14:40:56.4044||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 14:40:56.5520|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 2025-11-21 14:40:56.6078|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)) 2025-11-21 14:40:56.6078|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (35ms) [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)) 2025-11-21 14:40:56.6216|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]]'. 2025-11-21 14:40:56.6216|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]]'. 2025-11-21 14:40:56.6347||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 14:40:56.6347||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 14:40:56.6455||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 14:40:56.6455|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 282.6882ms 2025-11-21 14:40:56.6455|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 272.0186ms 2025-11-21 14:40:56.6455||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 14:40:56.6455|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 14:40:56.6455|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 14:40:56.6455|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 358.6471ms 200 application/json; charset=utf-8 2025-11-21 14:40:56.6455|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 377.6804ms 200 application/json; charset=utf-8 2025-11-21 14:40:56.8586||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 14:40:56.8586||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 14:40:56.8892||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 14:40:56.8892||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 14:40:56.8939||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 14:40:56.8939||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 14:40:57.9967||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 14:40:57.9967||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 14:40:57.9967||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 14:40:58.0051||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 14:40:58.0051||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 14:40:58.0051|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]]'. 2025-11-21 14:40:58.0051|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1637.0993ms 2025-11-21 14:40:58.0190|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 14:40:58.0190|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1718.0874ms 200 application/json; charset=utf-8 2025-11-21 14:40:58.0354||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 14:40:58.0354||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 14:40:58.0354||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 14:40:58.6062|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 14:40:58.6062|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 14:40:58.6062|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 14:40:58.6200|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 14:40:58.6200|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 15.5337ms 204 2025-11-21 14:40:58.6200|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 17.1784ms 204 2025-11-21 14:40:58.6200|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 14:40:58.6200|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 14:40:58.6292|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 14:40:58.6292|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 14:40:58.6292|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 14:40:58.6292|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 14:40:58.6292|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 14:40:58.6292|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 14:40:58.6292|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 14:40:58.6292|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 14:40:58.6455|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). 2025-11-21 14:40:58.6455|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). 2025-11-21 14:40:58.6455|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 14:40:58.6455|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 14:40:58.6708|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] 2025-11-21 14:40:58.6809|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] 2025-11-21 14:40:58.6993|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]]'. 2025-11-21 14:40:58.6993|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 56.1432ms 2025-11-21 14:40:58.7069|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 14:40:58.7069|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 82.2977ms 200 application/json; charset=utf-8 2025-11-21 14:40:58.7333|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]]'. 2025-11-21 14:40:58.7435|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 96.6744ms 2025-11-21 14:40:58.7435|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 14:40:58.7435|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 119.0739ms 200 application/json; charset=utf-8 2025-11-21 14:40:59.1342||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 14:40:59.1342||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 14:40:59.1342||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 14:40:59.1619||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 14:40:59.1619||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 14:40:59.1619||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 14:41:00.2465||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 14:41:00.2465||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 14:41:00.2465||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 14:41:00.2654||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 14:41:00.2654||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 14:41:00.2697||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 14:41:01.3485||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 14:41:01.3485||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 14:41:01.3485||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 14:41:01.3797||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 14:41:01.3797||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 14:41:01.3797||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 14:41:02.4776||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 14:41:02.4776||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 14:41:02.4776||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 14:41:02.5027||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 14:41:02.5076||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 14:41:02.5076||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 14:41:03.6020||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 14:41:03.6020||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 14:41:03.6178||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 14:41:03.6385||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 14:41:03.7474|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; 2025-11-21 14:41:03.7838|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 2025-11-21 14:41:03.7974|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' 2025-11-21 14:41:03.8185|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)) 2025-11-21 14:41:03.8185|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 14:41:03.8185|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 14:41:03.8185|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 14:41:03.8331|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 14:41:03.8331|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 14:41:03.8331|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 14:41:03.8476|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 14:41:03.8476|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 14:41:03.8476|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 14:41:03.8476|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 14:41:04.0070|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]]'. 2025-11-21 14:41:04.0196|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 7641.4247ms 2025-11-21 14:41:04.0196|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 14:41:04.0196|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7723.1492ms 200 application/json; charset=utf-8 2025-11-21 14:41:04.7787|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 14:41:04.7787|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 14:41:04.7787|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 14:41:04.7787|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 14:41:04.7848|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 14:41:04.7848|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 14:41:04.7848|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.5378ms 204 2025-11-21 14:41:04.7848|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.5333ms 204 2025-11-21 14:41:04.7848|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 14.2616ms 204 2025-11-21 14:41:04.7848|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 14:41:04.7848|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 14:41:04.7848|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 14:41:04.8038|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 14:41:04.8038|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 14:41:04.8038|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 14:41:04.8038|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 14:41:04.8038|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 14:41:04.8038|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 14:41:04.8038|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 14:41:04.8038|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 14:41:04.8038|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 14:41:04.8038|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 14:41:04.8038|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 14:41:04.8038|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 14:41:04.8169|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). 2025-11-21 14:41:04.8169|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). 2025-11-21 14:41:04.8169||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 14:41:04.8169|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). 2025-11-21 14:41:04.8169|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 14:41:04.8169|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 14:41:04.8169||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 14:41:04.8329|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 2025-11-21 14:41:04.8329||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 14:41:04.8329|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)) 2025-11-21 14:41:04.8329|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]]'. 2025-11-21 14:41:04.8329|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 20.741ms 2025-11-21 14:41:04.8329||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 14:41:04.8329|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 14:41:04.8485||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 14:41:04.8485|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 55.7271ms 200 application/json; charset=utf-8 2025-11-21 14:41:04.8485||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 14:41:04.8666||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 14:41:04.8666||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 14:41:04.8666||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 14:41:04.8666||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 14:41:04.8784||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 14:41:05.9582||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 14:41:05.9582||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 14:41:05.9582||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 14:41:05.9582||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 14:41:05.9582||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 14:41:05.9582|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]]'. 2025-11-21 14:41:05.9722|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1151.5118ms 2025-11-21 14:41:05.9722|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 14:41:05.9722|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1179.1816ms 200 application/json; charset=utf-8 2025-11-21 14:41:05.9722||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 14:41:05.9722||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 14:41:05.9887||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 14:41:07.0674||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 14:41:07.0674||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 14:41:07.0674||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 14:41:07.0909||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 14:41:07.0909||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 14:41:07.1004||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 14:41:08.1772||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 14:41:08.1772||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 14:41:08.1772||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 14:41:08.2071||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 14:41:08.2071||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 14:41:08.2071||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 14:41:09.3048||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 14:41:09.3048||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 14:41:09.3048||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 14:41:09.3309||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 14:41:09.3363||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 14:41:09.3363||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 14:41:10.4442||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 14:41:10.4442||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 14:41:10.4442||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 14:41:10.4720||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 14:41:10.4720||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 14:41:10.4720||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 14:41:11.5517||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 14:41:11.5517||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 14:41:11.5517||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 14:41:11.5728||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 14:41:11.5871|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; 2025-11-21 14:41:11.5871|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 2025-11-21 14:41:11.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' 2025-11-21 14:41:11.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)) 2025-11-21 14:41:11.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' 2025-11-21 14:41:11.6129|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)) 2025-11-21 14:41:11.6129|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 14:41:11.6129|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 14:41:11.6129|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 14:41:11.6129|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 14:41:11.6295|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 14:41:11.6295|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)) 2025-11-21 14:41:11.6295|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 14:41:11.6446|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)) 2025-11-21 14:41:11.7120|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]]'. 2025-11-21 14:41:11.7120|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6891.2428ms 2025-11-21 14:41:11.7120|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 14:41:11.7220|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6925.6655ms 200 application/json; charset=utf-8 2025-11-21 14:41:19.0888|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 14:41:19.0888|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 14:41:19.0888|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 14:41:19.0888|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 14:41:19.0888|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.2205ms 204 2025-11-21 14:41:19.0995|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.4848ms 204 2025-11-21 14:41:19.0995|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 14:41:19.0995|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 14:41:19.0995|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 14:41:19.0995|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 14:41:19.0995|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 14:41:19.0995|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 14:41:19.0995|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 14:41:19.1143|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 14:41:19.1143|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 14:41:19.1143|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 14:41:19.1143|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). 2025-11-21 14:41:19.1143|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). 2025-11-21 14:41:19.1143|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 14:41:19.1143|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 14:41:19.1336|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] 2025-11-21 14:41:19.1336|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]]'. 2025-11-21 14:41:19.1336|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 17.7406ms 2025-11-21 14:41:19.1336|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 14:41:19.1336|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] 2025-11-21 14:41:19.1336|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 40.8625ms 200 application/json; charset=utf-8 2025-11-21 14:41:19.1673|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]]'. 2025-11-21 14:41:19.1673|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 47.2876ms 2025-11-21 14:41:19.1673|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 14:41:19.1673|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 68.7631ms 200 application/json; charset=utf-8 2025-11-21 14:41:21.3817|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 14:41:21.3817|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 14:41:21.3817|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 14:41:21.3817|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 14:41:21.3817|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 14:41:21.3817|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 14:41:21.3817|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.9419ms 204 2025-11-21 14:41:21.3817|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.1549ms 204 2025-11-21 14:41:21.3971|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 14.8724ms 204 2025-11-21 14:41:21.3971|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 14:41:21.3971|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 14:41:21.3971|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 14:41:21.3971|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 14:41:21.3971|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 14:41:21.3971|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 14:41:21.3971|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 14:41:21.4103|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 14:41:21.4103|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 14:41:21.4103|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 14:41:21.4103|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 14:41:21.4103|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 14:41:21.4103|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 14:41:21.4103|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 14:41:21.4103|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). 2025-11-21 14:41:21.4103|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 14:41:21.4103|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). 2025-11-21 14:41:21.4103|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). 2025-11-21 14:41:21.4103|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 14:41:21.4103||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 14:41:21.4272|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 14:41:21.4272|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)) 2025-11-21 14:41:21.4272||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 14:41:21.4272|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 2025-11-21 14:41:21.4272||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 14:41:21.4272||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 14:41:21.4272|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]]'. 2025-11-21 14:41:21.4440||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 14:41:21.4440|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 20.5685ms 2025-11-21 14:41:21.4440|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 14:41:21.4440|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 46.4276ms 200 application/json; charset=utf-8 2025-11-21 14:41:21.4583||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 14:41:21.4583||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 14:41:21.4583||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 14:41:21.4583||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 14:41:21.4583||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 14:41:21.4583||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 14:41:22.5502||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 14:41:22.5516||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 14:41:22.5516||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 14:41:22.5516||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 14:41:22.5516||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 14:41:22.5516|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]]'. 2025-11-21 14:41:22.5516|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1142.7219ms 2025-11-21 14:41:22.5678|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 14:41:22.5678|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1170.7185ms 200 application/json; charset=utf-8 2025-11-21 14:41:22.5678||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 14:41:22.5828||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 14:41:22.5828||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 14:41:23.6794||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 14:41:23.6794||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 14:41:23.6794||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 14:41:23.6976||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 14:41:23.6976||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 14:41:23.6976||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 14:41:24.7812||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 14:41:24.7812||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 14:41:24.7867||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 14:41:24.7867||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 14:41:24.8027||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 14:41:24.8027||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 14:41:25.8935||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 14:41:25.8970||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 14:41:25.8970||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 14:41:25.9177||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 14:41:25.9177||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 14:41:25.9266||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 14:41:27.0042||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 14:41:27.0042||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 14:41:27.0042||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 14:41:27.0306||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 14:41:27.0354||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 14:41:27.0354||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 14:41:28.1287||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 14:41:28.1325||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 14:41:28.1325||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 14:41:28.1459||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 14:41:28.1601|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; 2025-11-21 14:41:28.1601|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 2025-11-21 14:41:28.1601|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 14:41:28.1601|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 14:41:28.1601|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 14:41:28.1792|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)) 2025-11-21 14:41:28.1792|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 14:41:28.1792|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 14:41:28.1927|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 14:41:28.1927|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 14:41:28.1927|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 14:41:28.1927|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 14:41:28.1927|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 14:41:28.1927|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 14:41:28.2604|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]]'. 2025-11-21 14:41:28.2604|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6843.7797ms 2025-11-21 14:41:28.2604|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 14:41:28.2604|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6870.4155ms 200 application/json; charset=utf-8 2025-11-21 14:41:40.0127|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100127923 2025-11-21 14:41:40.0180|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 14:41:40.0180|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 14:41:40.0180|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2025-11-21 14:41:40.0180|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). 2025-11-21 14:41:40.0297|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 14:41:40.0512|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)) 2025-11-21 14:41:40.0604|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]]'. 2025-11-21 14:41:40.0604|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 36.7403ms 2025-11-21 14:41:40.0604|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2025-11-21 14:41:40.0604|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 56.8525ms 200 application/json; charset=utf-8 2025-11-21 14:41:46.8998|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100127923 2025-11-21 14:41:46.8998|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 14:41:46.9047|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 14:41:46.9047|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2025-11-21 14:41:46.9047|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). 2025-11-21 14:41:46.9047|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 14:41:46.9047|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)) 2025-11-21 14:41:46.9199|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]]'. 2025-11-21 14:41:46.9199|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 15.5255ms 2025-11-21 14:41:46.9199|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2025-11-21 14:41:46.9199|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 31.5571ms 200 application/json; charset=utf-8 2025-11-21 14:41:48.2104|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100127923 2025-11-21 14:41:48.2104|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 14:41:48.2104|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 14:41:48.2163|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2025-11-21 14:41:48.2163|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). 2025-11-21 14:41:48.2163|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 14:41:48.2163|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)) 2025-11-21 14:41:48.2163|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]]'. 2025-11-21 14:41:48.2323|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 11.0246ms 2025-11-21 14:41:48.2323|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2025-11-21 14:41:48.2323|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 23.9248ms 200 application/json; charset=utf-8 2025-11-21 14:42:02.6138|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100127923 2025-11-21 14:42:02.6138|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 14:42:02.6138|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 14:42:02.6138|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2025-11-21 14:42:02.6138|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). 2025-11-21 14:42:02.6221|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 14:42:02.6221|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)) 2025-11-21 14:42:02.6221|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]]'. 2025-11-21 14:42:02.6221|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 6.7986ms 2025-11-21 14:42:02.6221|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2025-11-21 14:42:02.6221|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 16.6965ms 200 application/json; charset=utf-8 2025-11-21 14:42:08.0870|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100127923 2025-11-21 14:42:08.0894|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 14:42:08.0894|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 14:42:08.0894|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2025-11-21 14:42:08.0894|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). 2025-11-21 14:42:08.0894|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 14:42:08.0894|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)) 2025-11-21 14:42:08.0894|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]]'. 2025-11-21 14:42:08.1080|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 12.7217ms 2025-11-21 14:42:08.1080|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2025-11-21 14:42:08.1080|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 23.5694ms 200 application/json; charset=utf-8 2025-11-21 14:42:09.2337|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100127923 2025-11-21 14:42:09.2337|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 14:42:09.2337|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 14:42:09.2337|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2025-11-21 14:42:09.2337|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). 2025-11-21 14:42:09.2337|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 14:42:09.2519|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)) 2025-11-21 14:42:09.2519|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]]'. 2025-11-21 14:42:09.2519|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 12.1745ms 2025-11-21 14:42:09.2519|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2025-11-21 14:42:09.2519|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 24.238ms 200 application/json; charset=utf-8 2025-11-21 14:44:01.1214|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 14:44:01.1214|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 14:44:01.1214|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 14:44:01.1214|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 14:44:01.1214|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 14:44:01.1297|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 14:44:01.1297|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.4729ms 204 2025-11-21 14:44:01.1297|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.0109ms 204 2025-11-21 14:44:01.1297|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.8756ms 204 2025-11-21 14:44:01.1297|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 14:44:01.1297|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 14:44:01.1297|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 14:44:01.1297|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 14:44:01.1297|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 14:44:01.1297|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 14:44:01.1297|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 14:44:01.1444|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 14:44:01.1444|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 14:44:01.1444|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 14:44:01.1444|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 14:44:01.1444|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 14:44:01.1444|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 14:44:01.1444|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 14:44:01.1444|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 14:44:01.1444|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). 2025-11-21 14:44:01.1444|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). 2025-11-21 14:44:01.1614||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 14:44:01.1444|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). 2025-11-21 14:44:01.1614|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 14:44:01.1614|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 14:44:01.1614||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 14:44:01.1614|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 2025-11-21 14:44:01.1614|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)) 2025-11-21 14:44:01.1614|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]]'. 2025-11-21 14:44:01.1614||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 14:44:01.1614|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 11.0751ms 2025-11-21 14:44:01.1751||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 14:44:01.1751|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 14:44:01.1751|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 45.0426ms 200 application/json; charset=utf-8 2025-11-21 14:44:01.1751||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 14:44:01.1993||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 14:44:01.1993||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 14:44:01.1993||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 14:44:01.1993||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 14:44:01.2084||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 14:44:01.2084||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 14:44:02.2853||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 14:44:02.2853||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 14:44:02.2853||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 14:44:02.2853||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 14:44:02.2853|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]]'. 2025-11-21 14:44:02.2853||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 14:44:02.2853|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1135.0507ms 2025-11-21 14:44:02.2853|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 14:44:02.3003|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1162.988ms 200 application/json; charset=utf-8 2025-11-21 14:44:02.3003||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 14:44:02.3003||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 14:44:02.3179||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 14:44:03.2482|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 14:44:03.2482|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 14:44:03.2482|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 14:44:03.2482|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 14:44:03.2482|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4.9953ms 204 2025-11-21 14:44:03.2482|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6.9979ms 204 2025-11-21 14:44:03.2482|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 14:44:03.2595|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 14:44:03.2595|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 14:44:03.2595|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 14:44:03.2595|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 14:44:03.2595|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 14:44:03.2595|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 14:44:03.2595|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 14:44:03.2595|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 14:44:03.2595|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 14:44:03.2595|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). 2025-11-21 14:44:03.2744|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). 2025-11-21 14:44:03.2744|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 14:44:03.2744|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 14:44:03.2744|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] 2025-11-21 14:44:03.2744|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] 2025-11-21 14:44:03.2744|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]]'. 2025-11-21 14:44:03.2892|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 12.914ms 2025-11-21 14:44:03.2892|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 14:44:03.2892|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 33.0623ms 200 application/json; charset=utf-8 2025-11-21 14:44:03.2892|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]]'. 2025-11-21 14:44:03.2892|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 22.343ms 2025-11-21 14:44:03.2892|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 14:44:03.2892|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 42.681ms 200 application/json; charset=utf-8 2025-11-21 14:44:03.4024||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 14:44:03.4024||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 14:44:03.4024||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 14:44:03.4239||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 14:44:03.4239||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 14:44:03.4303||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 14:44:04.5074||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 14:44:04.5100||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 14:44:04.5100||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 14:44:04.5269||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 14:44:04.5269||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 14:44:04.5269||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 14:44:05.6192||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 14:44:05.6192||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 14:44:05.6192||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 14:44:05.6369||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 14:44:05.6369||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 14:44:05.6369||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 14:44:06.7128||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 14:44:06.7128||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 14:44:06.7128||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 14:44:06.7319||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 14:44:06.7319||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 14:44:06.7319||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 14:44:07.8218||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 14:44:07.8218||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 14:44:07.8218||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 14:44:07.8433||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 14:44:07.8527|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; 2025-11-21 14:44:07.8527|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 2025-11-21 14:44:07.8527|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 14:44:07.8527|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 14:44:07.8693|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 14:44:07.8693|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 14:44:07.8693|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 14:44:07.8693|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 14:44:07.8693|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 14:44:07.8849|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 14:44:07.8849|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 14:44:07.8849|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 14:44:07.8849|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 14:44:07.8989|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)) 2025-11-21 14:44:07.9785|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]]'. 2025-11-21 14:44:07.9785|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6819.7541ms 2025-11-21 14:44:07.9785|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 14:44:07.9785|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6847.8249ms 200 application/json; charset=utf-8 2025-11-21 14:44:14.9263|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 14:44:14.9263|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 14:44:14.9263|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 14:44:14.9305|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 14:44:14.9305|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 14:44:14.9305|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 14:44:14.9305|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 13.1535ms 204 2025-11-21 14:44:14.9305|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 15.3417ms 204 2025-11-21 14:44:14.9453|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 18.6435ms 204 2025-11-21 14:44:14.9453|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 14:44:14.9453|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 14:44:14.9453|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 14:44:14.9453|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 14:44:14.9453|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 14:44:14.9453|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 14:44:14.9453|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 14:44:14.9453|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 14:44:14.9614|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 14:44:14.9614|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 14:44:14.9614|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 14:44:14.9614|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 14:44:14.9614|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 14:44:14.9614|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 14:44:14.9614|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 14:44:14.9614|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). 2025-11-21 14:44:14.9614|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). 2025-11-21 14:44:14.9614|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). 2025-11-21 14:44:14.9614|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 14:44:14.9768|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 14:44:14.9768||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 14:44:14.9768|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)) 2025-11-21 14:44:14.9768|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 2025-11-21 14:44:14.9768|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]]'. 2025-11-21 14:44:14.9768||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 14:44:14.9768|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 14.0939ms 2025-11-21 14:44:14.9924||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 14:44:14.9924|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 14:44:14.9924|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 45.302ms 200 application/json; charset=utf-8 2025-11-21 14:44:14.9924||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 14:44:14.9924||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 14:44:15.0076||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 14:44:15.0076||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 14:44:15.0076||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 14:44:15.0076||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 14:44:15.0076||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 14:44:15.0076||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 14:44:16.1054||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 14:44:16.1054||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 14:44:16.1054||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 14:44:16.1054||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 14:44:16.1054||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 14:44:16.1181|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]]'. 2025-11-21 14:44:16.1181|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1142.3126ms 2025-11-21 14:44:16.1181|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 14:44:16.1181|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1170.9178ms 200 application/json; charset=utf-8 2025-11-21 14:44:16.1181||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 14:44:16.1181||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 14:44:16.1338||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 14:44:17.2154||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 14:44:17.2154||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 14:44:17.2154||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 14:44:17.2416||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 14:44:17.2458||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 14:44:17.2458||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 14:44:18.3420||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 14:44:18.3420||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 14:44:18.3521||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 14:44:18.3521||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 14:44:18.3709||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 14:44:18.3709||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 14:44:19.4800||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 14:44:19.4800||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 14:44:19.4800||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 14:44:19.5014||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 14:44:19.5014||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 14:44:19.5014||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 14:44:20.5899||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 14:44:20.5899||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 14:44:20.5899||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 14:44:20.6109||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 14:44:20.6109||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 14:44:20.6187||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 14:44:20.9385|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100127923 2025-11-21 14:44:20.9427|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 14:44:20.9427|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 14:44:20.9427|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2025-11-21 14:44:20.9427|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). 2025-11-21 14:44:20.9427|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 14:44:20.9580|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)) 2025-11-21 14:44:20.9580|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]]'. 2025-11-21 14:44:20.9580|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 11.4546ms 2025-11-21 14:44:20.9580|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2025-11-21 14:44:20.9580|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 25.8716ms 200 application/json; charset=utf-8 2025-11-21 14:44:21.7050||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 14:44:21.7095||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 14:44:21.7095||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 14:44:21.7261||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 14:44:21.7261|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; 2025-11-21 14:44:21.7411|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 2025-11-21 14:44:21.7411|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 14:44:21.7411|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 14:44:21.7411|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 14:44:21.7411|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 14:44:21.7545|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 14:44:21.7545|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 14:44:21.7545|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 14:44:21.7545|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 14:44:21.7545|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 14:44:21.7700|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 14:44:21.7700|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 14:44:21.7700|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 14:44:21.8169|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]]'. 2025-11-21 14:44:21.8169|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6845.4755ms 2025-11-21 14:44:21.8169|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 14:44:21.8169|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6876.7224ms 200 application/json; charset=utf-8 2025-11-21 14:44:26.1971|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100127923 2025-11-21 14:44:26.1971|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 14:44:26.1971|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 14:44:26.1971|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2025-11-21 14:44:26.1971|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). 2025-11-21 14:44:26.2075|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 14:44:26.2075|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)) 2025-11-21 14:44:26.2075|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]]'. 2025-11-21 14:44:26.2075|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 7.4192ms 2025-11-21 14:44:26.2075|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2025-11-21 14:44:26.2075|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 18.3338ms 200 application/json; charset=utf-8 2025-11-21 14:44:27.3427|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100127923 2025-11-21 14:44:27.3427|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 14:44:27.3427|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 14:44:27.3492|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2025-11-21 14:44:27.3492|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). 2025-11-21 14:44:27.3492|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 14:44:27.3492|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)) 2025-11-21 14:44:27.3492|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]]'. 2025-11-21 14:44:27.3663|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 13.0921ms 2025-11-21 14:44:27.3663|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2025-11-21 14:44:27.3663|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 28.2421ms 200 application/json; charset=utf-8 2025-11-21 14:54:04.5377|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=501 2025-11-21 14:54:04.5377|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 14:54:04.5377|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.1556ms 204 2025-11-21 14:54:04.5377|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=501 2025-11-21 14:54:04.5377|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 14:54:04.5377|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 14:54:04.5541|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 14:54:04.5541|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 14:54:04.5541|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). 2025-11-21 14:54:04.5541|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 14:54:04.5771|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)) 2025-11-21 14:54:04.5771|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]]'. 2025-11-21 14:54:04.5771|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 16.4764ms 2025-11-21 14:54:04.5771|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 14:54:04.5771|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 35.0847ms 200 application/json; charset=utf-8 2025-11-21 15:05:22.6872|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=492 2025-11-21 15:05:22.6872|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:05:22.6872|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6.1404ms 204 2025-11-21 15:05:22.7091|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=492 2025-11-21 15:05:22.7120|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 15:05:22.7120|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:05:22.7120|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 15:05:22.7120|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 15:05:22.7120|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). 2025-11-21 15:05:22.7120|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 15:05:22.7255|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 15:05:22.7255|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 15:05:22.7255|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 15:05:22.7255|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:05:22.7255|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:05:22.7255|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:05:22.7255|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.0111ms 204 2025-11-21 15:05:22.7255|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 13.0459ms 204 2025-11-21 15:05:22.7255|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 14.4445ms 204 2025-11-21 15:05:22.7501|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)) 2025-11-21 15:05:22.7501|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]]'. 2025-11-21 15:05:22.7501|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 27.8865ms 2025-11-21 15:05:22.7501|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 15:05:22.7501|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 46.9761ms 200 application/json; charset=utf-8 2025-11-21 15:05:22.7617|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 15:05:22.7617|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 15:05:22.7617|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 15:05:22.7617|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 15:05:22.7617|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 15:05:22.7617|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 15:05:22.7617|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:05:22.7617|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:05:22.7617|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:05:22.7617|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 15:05:22.7730|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 15:05:22.7730|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 15:05:22.7730|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 15:05:22.7730|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 15:05:22.7730|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 15:05:22.7730|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). 2025-11-21 15:05:22.7730|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). 2025-11-21 15:05:22.7730|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). 2025-11-21 15:05:22.7730|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 15:05:22.7730||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 15:05:22.7730|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 15:05:22.7907|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)) 2025-11-21 15:05:22.7907|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 2025-11-21 15:05:22.7907||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 15:05:22.8041|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]]'. 2025-11-21 15:05:22.8041||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 15:05:22.8041||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 15:05:22.8041|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 26.6418ms 2025-11-21 15:05:22.8041||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 15:05:22.8041|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 15:05:22.8229|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 61.0079ms 200 application/json; charset=utf-8 2025-11-21 15:05:22.8360||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 15:05:22.8360||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 15:05:22.8360||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 15:05:22.8360||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 15:05:22.8560||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:05:22.8560||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 15:05:23.9459||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:05:23.9459||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 15:05:23.9459|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]]'. 2025-11-21 15:05:23.9459|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1172.9148ms 2025-11-21 15:05:23.9459||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:05:23.9459|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 15:05:23.9620|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1200.0857ms 200 application/json; charset=utf-8 2025-11-21 15:05:23.9620||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:05:23.9620||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:05:23.9790||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:05:23.9790||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:05:23.9790||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 15:05:25.0691||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:05:25.0691||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:05:25.0691||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:05:25.0882||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:05:25.0882||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:05:25.0882||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 15:05:26.1613||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:05:26.1661||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:05:26.1661||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:05:26.1839||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:05:26.1839||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:05:26.1839||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 15:05:27.2674||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:05:27.2674||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:05:27.2746||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:05:27.2746||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:05:27.2891||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:05:27.2891||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 15:05:28.3684||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:05:28.3684||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:05:28.3684||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:05:28.3868||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:05:28.3868||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:05:28.3868||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 15:05:29.4803||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:05:29.4803||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:05:29.4803||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:05:29.5096||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:05:29.5096|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; 2025-11-21 15:05:29.5276|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 2025-11-21 15:05:29.5276|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:05:29.5276|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 15:05:29.5276|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:05:29.5392|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 15:05:29.5392|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:05:29.5392|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 15:05:29.5392|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:05:29.5392|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)) 2025-11-21 15:05:29.5565|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:05:29.5565|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 15:05:29.5800|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' 2025-11-21 15:05:29.5800|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 15:05:29.6339|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]]'. 2025-11-21 15:05:29.6339|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6853.9589ms 2025-11-21 15:05:29.6339|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 15:05:29.6339|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6877.6258ms 200 application/json; charset=utf-8 2025-11-21 15:06:29.1979|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 15:06:29.1979|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 15:06:29.1979|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 15:06:29.2003|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:06:29.2003|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:06:29.2003|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:06:29.2003|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.564ms 204 2025-11-21 15:06:29.2003|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.6143ms 204 2025-11-21 15:06:29.2003|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.6067ms 204 2025-11-21 15:06:29.2003|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 15:06:29.2003|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 15:06:29.2003|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 15:06:29.2003|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 15:06:29.2193|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 15:06:29.2193|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 15:06:29.2193|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:06:29.2193|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:06:29.2193|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:06:29.2193|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 15:06:29.2193|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 15:06:29.2193|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 15:06:29.2329|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 15:06:29.2329|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 15:06:29.2329|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). 2025-11-21 15:06:29.2329|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). 2025-11-21 15:06:29.2329|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 15:06:29.2329|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 15:06:29.2329||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 15:06:29.2329|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). 2025-11-21 15:06:29.2476|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)) 2025-11-21 15:06:29.2476|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 15:06:29.2476||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 15:06:29.2476|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 2025-11-21 15:06:29.2476||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 15:06:29.2476||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 15:06:29.2476|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]]'. 2025-11-21 15:06:29.2476||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 15:06:29.2476|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 14.0296ms 2025-11-21 15:06:29.2665|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 15:06:29.2665|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 52.9916ms 200 application/json; charset=utf-8 2025-11-21 15:06:29.2665||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 15:06:29.2665||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:06:29.2665||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 15:06:29.2796||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 15:06:29.2796||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 15:06:29.2796||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 15:06:30.3681||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:06:30.3681||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:06:30.3681||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:06:30.3681||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 15:06:30.3681||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:06:30.3807|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]]'. 2025-11-21 15:06:30.3807|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1142.7693ms 2025-11-21 15:06:30.3807|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 15:06:30.3807|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1174.1125ms 200 application/json; charset=utf-8 2025-11-21 15:06:30.3807||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:06:30.3960||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:06:30.3960||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 15:06:31.4733||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:06:31.4781||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:06:31.4781||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:06:31.4967||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:06:31.4967||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:06:31.4967||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 15:06:32.5944||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:06:32.5944||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:06:32.6017||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:06:32.6154||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:06:32.6154||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:06:32.6154||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 15:06:33.7002||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:06:33.7002||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:06:33.7002||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:06:33.7214||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:06:33.7214||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:06:33.7214||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 15:06:34.8089||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:06:34.8089||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:06:34.8089||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:06:34.8284||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:06:34.8284||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:06:34.8284||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 15:06:35.9190||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:06:35.9190||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:06:35.9190||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:06:35.9365||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:06:35.9365|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; 2025-11-21 15:06:35.9508|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 2025-11-21 15:06:35.9508|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:06:35.9508|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 15:06:35.9508|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:06:35.9658|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 15:06:35.9658|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:06:35.9658|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 15:06:35.9658|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:06:35.9658|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 15:06:35.9658|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:06:35.9826|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 15:06:35.9826|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:06:35.9826|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 15:06:36.0624|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]]'. 2025-11-21 15:06:36.0624|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6825.686ms 2025-11-21 15:06:36.0624|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 15:06:36.0624|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6854.9524ms 200 application/json; charset=utf-8 2025-11-21 15:06:39.4203|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=519 2025-11-21 15:06:39.4203|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:06:39.4203|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.6395ms 204 2025-11-21 15:06:39.4334|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=519 2025-11-21 15:06:39.4334|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 15:06:39.4334|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:06:39.4334|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 15:06:39.4334|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 15:06:39.4334|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). 2025-11-21 15:06:39.4334|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 15:06:39.4529|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)) 2025-11-21 15:06:39.4529|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]]'. 2025-11-21 15:06:39.4529|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 8.6275ms 2025-11-21 15:06:39.4529|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 15:06:39.4529|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 25.7271ms 200 application/json; charset=utf-8 2025-11-21 15:06:40.9556|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 15:06:40.9556|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 15:06:40.9556|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 15:06:40.9556|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:06:40.9556|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:06:40.9556|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:06:40.9556|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.2491ms 204 2025-11-21 15:06:40.9684|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.5509ms 204 2025-11-21 15:06:40.9684|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 14.9069ms 204 2025-11-21 15:06:40.9684|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 15:06:40.9684|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 15:06:40.9684|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 15:06:40.9684|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 15:06:40.9684|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 15:06:40.9684|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 15:06:40.9684|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:06:40.9684|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:06:40.9684|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:06:40.9835|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 15:06:40.9835|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 15:06:40.9835|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 15:06:40.9835|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 15:06:40.9835|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 15:06:40.9835|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 15:06:40.9835|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). 2025-11-21 15:06:40.9835|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). 2025-11-21 15:06:40.9835|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 15:06:40.9835|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). 2025-11-21 15:06:40.9835|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 15:06:40.9835||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 15:06:40.9991|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)) 2025-11-21 15:06:40.9991|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 2025-11-21 15:06:40.9991||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 15:06:40.9991||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 15:06:40.9991|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]]'. 2025-11-21 15:06:40.9991||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 15:06:40.9991|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 13.2616ms 2025-11-21 15:06:40.9991||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 15:06:40.9991|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 15:06:40.9991|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 39.0748ms 200 application/json; charset=utf-8 2025-11-21 15:06:41.0229||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 15:06:41.0229||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 15:06:41.0229||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 15:06:41.0229||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:06:41.0229||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 15:06:41.0313||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 15:06:42.1197||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:06:42.1197||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:06:42.1197||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 15:06:42.1197||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:06:42.1299|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]]'. 2025-11-21 15:06:42.1299|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1135.4932ms 2025-11-21 15:06:42.1299||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:06:42.1299|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 15:06:42.1299|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1161.8319ms 200 application/json; charset=utf-8 2025-11-21 15:06:42.1482||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:06:42.1482||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:06:42.1482||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 15:06:43.2218||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:06:43.2266||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:06:43.2266||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:06:43.2405||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:06:43.2405||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:06:43.2405||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 15:06:44.3370||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:06:44.3370||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:06:44.3501||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:06:44.3664||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:06:44.3664||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:06:44.3807||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 15:06:45.4765||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:06:45.4765||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:06:45.4765||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:06:45.5022||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:06:45.5065||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:06:45.5065||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 15:06:46.6006||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:06:46.6006||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:06:46.6006||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:06:46.6211||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:06:46.6211||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:06:46.6211||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 15:06:47.7101||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:06:47.7101||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:06:47.7101||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:06:47.7325||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:06:47.7410|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; 2025-11-21 15:06:47.7410|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 2025-11-21 15:06:47.7410|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:06:47.7410|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 15:06:47.7410|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:06:47.7577|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 15:06:47.7577|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:06:47.7577|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 15:06:47.7577|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:06:47.7728|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 15:06:47.7728|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:06:47.7728|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 15:06:47.7728|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:06:47.7728|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 15:06:47.8187|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]]'. 2025-11-21 15:06:47.8187|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6829.2573ms 2025-11-21 15:06:47.8187|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 15:06:47.8187|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6853.2245ms 200 application/json; charset=utf-8 2025-11-21 15:06:50.7155|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100127923 2025-11-21 15:06:50.7155|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 15:06:50.7155|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 15:06:50.7155|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2025-11-21 15:06:50.7155|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). 2025-11-21 15:06:50.7155|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 15:06:50.7245|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)) 2025-11-21 15:06:50.7245|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]]'. 2025-11-21 15:06:50.7245|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 8.1453ms 2025-11-21 15:06:50.7245|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2025-11-21 15:06:50.7245|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 16.1456ms 200 application/json; charset=utf-8 2025-11-21 15:09:30.4256|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 15:09:30.4256|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 15:09:30.4256|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 15:09:30.4256|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:09:30.4304|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:09:30.4304|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:09:30.4304|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.7617ms 204 2025-11-21 15:09:30.4304|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.6069ms 204 2025-11-21 15:09:30.4304|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.5671ms 204 2025-11-21 15:09:30.4304|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 15:09:30.4304|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 15:09:30.4304|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 15:09:30.4441|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 15:09:30.4441|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 15:09:30.4441|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 15:09:30.4441|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:09:30.4441|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:09:30.4441|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:09:30.4441|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 15:09:30.4441|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 15:09:30.4441|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 15:09:30.4441|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 15:09:30.4441|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 15:09:30.4441|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 15:09:30.4605|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). 2025-11-21 15:09:30.4605|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). 2025-11-21 15:09:30.4605|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). 2025-11-21 15:09:30.4605|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 15:09:30.4605||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 15:09:30.4605|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 15:09:30.4605|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 2025-11-21 15:09:30.4605||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 15:09:30.4605|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]]'. 2025-11-21 15:09:30.4605|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)) 2025-11-21 15:09:30.4756||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 15:09:30.4756|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 11.8436ms 2025-11-21 15:09:30.4756||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 15:09:30.4756|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 15:09:30.4756|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 42.5588ms 200 application/json; charset=utf-8 2025-11-21 15:09:30.4756||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 15:09:30.4956||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 15:09:30.4956||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 15:09:30.4956||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 15:09:30.4956||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 15:09:30.4956||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:09:30.5077||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 15:09:31.5908||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:09:31.5908||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:09:31.5908||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:09:31.5908||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 15:09:31.5908||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:09:31.6004|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]]'. 2025-11-21 15:09:31.6004|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1140.3162ms 2025-11-21 15:09:31.6004|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 15:09:31.6004|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1168.2434ms 200 application/json; charset=utf-8 2025-11-21 15:09:31.6004||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:09:31.6162||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:09:31.6162||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 15:09:32.7163||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:09:32.7163||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:09:32.7163||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:09:32.7428||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:09:32.7480||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:09:32.7480||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 15:09:32.8141|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 15:09:32.8141|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 15:09:32.8141|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:09:32.8141|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:09:32.8260|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.9232ms 204 2025-11-21 15:09:32.8260|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 15.3851ms 204 2025-11-21 15:09:32.8260|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 15:09:32.8260|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 15:09:32.8260|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 15:09:32.8379|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 15:09:32.8379|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:09:32.8379|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:09:32.8379|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 15:09:32.8379|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 15:09:32.8379|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 15:09:32.8379|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 15:09:32.8379|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). 2025-11-21 15:09:32.8379|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). 2025-11-21 15:09:32.8379|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 15:09:32.8379|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 15:09:32.8542|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] 2025-11-21 15:09:32.8542|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]]'. 2025-11-21 15:09:32.8542|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 9.4289ms 2025-11-21 15:09:32.8542|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 15:09:32.8542|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 27.2889ms 200 application/json; charset=utf-8 2025-11-21 15:09:32.8542|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] 2025-11-21 15:09:32.8706|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]]'. 2025-11-21 15:09:32.8706|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 23.8246ms 2025-11-21 15:09:32.8706|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 15:09:32.8706|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 42.5322ms 200 application/json; charset=utf-8 2025-11-21 15:09:33.8414||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:09:33.8414||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:09:33.8414||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:09:33.8658||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:09:33.8710||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:09:33.8710||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 15:09:34.9611||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:09:34.9634||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:09:34.9634||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:09:34.9634||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:09:34.9808||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:09:34.9808||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 15:09:36.0601||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:09:36.0601||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:09:36.0601||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:09:36.0850||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:09:36.0901||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:09:36.0901||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 15:09:37.1793||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:09:37.1793||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:09:37.1845||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:09:37.1992||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:09:37.1992|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; 2025-11-21 15:09:37.1992|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 2025-11-21 15:09:37.2140|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:09:37.2140|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 15:09:37.2140|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:09:37.2140|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 15:09:37.2140|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:09:37.2313|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)) 2025-11-21 15:09:37.2313|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:09:37.2313|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)) 2025-11-21 15:09:37.2442|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:09:37.2442|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 15:09:37.2442|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:09:37.2442|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 15:09:37.3067|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]]'. 2025-11-21 15:09:37.3106|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6844.51ms 2025-11-21 15:09:37.3106|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 15:09:37.3106|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6875.8866ms 200 application/json; charset=utf-8 2025-11-21 15:09:38.3125|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 15:09:38.3125|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 15:09:38.3125|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 15:09:38.3125|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:09:38.3125|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:09:38.3240|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:09:38.3240|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 15.193ms 204 2025-11-21 15:09:38.3240|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 16.9891ms 204 2025-11-21 15:09:38.3240|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 18.911ms 204 2025-11-21 15:09:38.3240|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 15:09:38.3240|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 15:09:38.3240|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 15:09:38.3402|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 15:09:38.3402|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 15:09:38.3402|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 15:09:38.3402|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:09:38.3402|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:09:38.3402|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:09:38.3402|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 15:09:38.3402|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 15:09:38.3402|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 15:09:38.3402|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 15:09:38.3402|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 15:09:38.3549|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 15:09:38.3549|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). 2025-11-21 15:09:38.3549|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). 2025-11-21 15:09:38.3549|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). 2025-11-21 15:09:38.3549|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 15:09:38.3549||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 15:09:38.3549|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 15:09:38.3549|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 2025-11-21 15:09:38.3695|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]]'. 2025-11-21 15:09:38.3695||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 15:09:38.3695|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 10.6365ms 2025-11-21 15:09:38.3695|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)) 2025-11-21 15:09:38.3695|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 15:09:38.3695||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 15:09:38.3695|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 43.9631ms 200 application/json; charset=utf-8 2025-11-21 15:09:38.3695||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 15:09:38.3695||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 15:09:38.3936||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 15:09:38.3936||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 15:09:38.3936||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 15:09:38.3936||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 15:09:38.4049||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:09:38.4049||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 15:09:39.4759||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:09:39.4759||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 15:09:39.4759||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:09:39.4759|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]]'. 2025-11-21 15:09:39.4759||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:09:39.4759|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1126.115ms 2025-11-21 15:09:39.4759|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 15:09:39.4907||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:09:39.4907|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1155.8285ms 200 application/json; charset=utf-8 2025-11-21 15:09:39.4907||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:09:39.5093||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:09:39.5093||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 15:09:40.5886||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:09:40.5886||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:09:40.5886||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:09:40.6106||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:09:40.6106||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:09:40.6166||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 15:09:41.6916||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:09:41.6959||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:09:41.6959||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:09:41.7135||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:09:41.7135||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:09:41.7135||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 15:09:42.8009||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:09:42.8056||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:09:42.8056||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:09:42.8209||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:09:42.8209||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:09:42.8209||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 15:09:43.8930||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:09:43.8930||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:09:43.8996||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:09:43.8996||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:09:43.9156||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:09:43.9156||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 15:09:44.9932||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:09:44.9932||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:09:44.9932||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:09:45.0136||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:09:45.0136|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; 2025-11-21 15:09:45.0247|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 2025-11-21 15:09:45.0247|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:09:45.0247|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 15:09:45.0247|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:09:45.0247|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 15:09:45.0389|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:09:45.0389|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 15:09:45.0389|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:09:45.0389|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 15:09:45.0536|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:09:45.0536|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 15:09:45.0536|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:09:45.0536|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 15:09:45.1071|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]]'. 2025-11-21 15:09:45.1071|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6747.6269ms 2025-11-21 15:09:45.1071|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 15:09:45.1071|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6778.1281ms 200 application/json; charset=utf-8 2025-11-21 15:13:14.4502|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=495 2025-11-21 15:13:14.4502|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:13:14.4502|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.4413ms 204 2025-11-21 15:13:14.4707|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=495 2025-11-21 15:13:14.4707|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 15:13:14.4707|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:13:14.4707|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 15:13:14.4801|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 15:13:14.4801|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). 2025-11-21 15:13:14.4801|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 15:13:14.4801|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 15:13:14.4801|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 15:13:14.4801|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 15:13:14.4801|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:13:14.4801|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)) 2025-11-21 15:13:14.4801|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:13:14.4962|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:13:14.4962|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.3336ms 204 2025-11-21 15:13:14.4962|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]]'. 2025-11-21 15:13:14.4962|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.1003ms 204 2025-11-21 15:13:14.4962|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.4252ms 204 2025-11-21 15:13:14.4962|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 19.7251ms 2025-11-21 15:13:14.4962|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 15:13:14.4962|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 38.1195ms 200 application/json; charset=utf-8 2025-11-21 15:13:14.5148|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 15:13:14.5148|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 15:13:14.5148|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 15:13:14.5148|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 15:13:14.5148|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:13:14.5148|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 15:13:14.5148|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 15:13:14.5148|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 15:13:14.5280|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:13:14.5280|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:13:14.5280|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 15:13:14.5280|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 15:13:14.5280|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 15:13:14.5280|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). 2025-11-21 15:13:14.5280|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 15:13:14.5280|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 15:13:14.5453|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 15:13:14.5453|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). 2025-11-21 15:13:14.5453|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). 2025-11-21 15:13:14.5453|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 15:13:14.5453|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)) 2025-11-21 15:13:14.5453||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 15:13:14.5602|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 2025-11-21 15:13:14.5602||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 15:13:14.5602|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]]'. 2025-11-21 15:13:14.5602||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 15:13:14.5602||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 15:13:14.5602|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 16.9157ms 2025-11-21 15:13:14.5602||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 15:13:14.5767|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 15:13:14.5767|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 62.1984ms 200 application/json; charset=utf-8 2025-11-21 15:13:14.5901||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 15:13:14.5901||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:13:14.5901||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 15:13:14.5901||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 15:13:14.5901||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 15:13:14.5901||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 15:13:15.6688||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:13:15.6688||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:13:15.6688||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:13:15.6688||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:13:15.6848||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 15:13:15.6848|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]]'. 2025-11-21 15:13:15.6848|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1133.8154ms 2025-11-21 15:13:15.6848||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:13:15.6848|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 15:13:15.6848|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1174.9962ms 200 application/json; charset=utf-8 2025-11-21 15:13:15.6848||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:13:15.6848||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 15:13:16.7644||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:13:16.7644||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:13:16.7644||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:13:16.7884||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:13:16.7884||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:13:16.7952||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 15:13:17.8885||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:13:17.8885||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:13:17.8885||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:13:17.9135||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:13:17.9135||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:13:17.9207||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 15:13:18.9974||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:13:18.9974||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:13:18.9974||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:13:19.0176||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:13:19.0176||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:13:19.0176||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 15:13:20.1039||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:13:20.1074||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:13:20.1074||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:13:20.1074||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:13:20.1241||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:13:20.1241||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 15:13:21.2175||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:13:21.2175||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:13:21.2175||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:13:21.2382||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:13:21.2382|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; 2025-11-21 15:13:21.2513|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 2025-11-21 15:13:21.2513|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:13:21.2513|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 15:13:21.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' 2025-11-21 15:13:21.2635|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 15:13:21.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' 2025-11-21 15:13:21.2635|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 15:13:21.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' 2025-11-21 15:13:21.2796|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 15:13:21.2796|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:13:21.2796|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)) 2025-11-21 15:13:21.2936|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:13:21.2936|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 15:13:21.3399|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]]'. 2025-11-21 15:13:21.3419|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6796.9973ms 2025-11-21 15:13:21.3419|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 15:13:21.3419|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6830.643ms 200 application/json; charset=utf-8 2025-11-21 15:16:11.2006|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 15:16:11.2006|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 15:16:11.2006|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 15:16:11.2006|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:16:11.2050|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:16:11.2050|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:16:11.2050|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.5395ms 204 2025-11-21 15:16:11.2050|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.1793ms 204 2025-11-21 15:16:11.2050|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.834ms 204 2025-11-21 15:16:11.2050|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 15:16:11.2050|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 15:16:11.2050|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 15:16:11.2050|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 15:16:11.2050|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 15:16:11.2050|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 15:16:11.2050|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:16:11.2050|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:16:11.2211|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:16:11.2211|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 15:16:11.2211|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 15:16:11.2211|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 15:16:11.2211|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 15:16:11.2211|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 15:16:11.2211|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 15:16:11.2211|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). 2025-11-21 15:16:11.2211|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). 2025-11-21 15:16:11.2211|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). 2025-11-21 15:16:11.2359|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 15:16:11.2359||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 15:16:11.2359|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 15:16:11.2359|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 2025-11-21 15:16:11.2359|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]]'. 2025-11-21 15:16:11.2359|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)) 2025-11-21 15:16:11.2359||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 15:16:11.2359|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 8.5072ms 2025-11-21 15:16:11.2359||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 15:16:11.2359||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 15:16:11.2359|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 15:16:11.2359||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 15:16:11.2541|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 40.0531ms 200 application/json; charset=utf-8 2025-11-21 15:16:11.2541||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 15:16:11.2674||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 15:16:11.2674||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 15:16:11.2674||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:16:11.2674||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 15:16:11.2674||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 15:16:12.3477||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:16:12.3477||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:16:12.3477||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:16:12.3477||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 15:16:12.3477||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:16:12.3477|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]]'. 2025-11-21 15:16:12.3477|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1119.5439ms 2025-11-21 15:16:12.3477|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 15:16:12.3477|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1145.1732ms 200 application/json; charset=utf-8 2025-11-21 15:16:12.3663||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:16:12.3663||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:16:12.3663||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 15:16:13.4281|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 15:16:13.4280|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 15:16:13.4281|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:16:13.4281|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:16:13.4281|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.2687ms 204 2025-11-21 15:16:13.4408||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:16:13.4408|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 13.4912ms 204 2025-11-21 15:16:13.4408|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 15:16:13.4408|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 15:16:13.4408||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:16:13.4408|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 15:16:13.4408|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 15:16:13.4408|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:16:13.4408||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:16:13.4551|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:16:13.4551|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 15:16:13.4551|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 15:16:13.4551|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 15:16:13.4551|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 15:16:13.4551|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). 2025-11-21 15:16:13.4551|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). 2025-11-21 15:16:13.4551||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:16:13.4551|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 15:16:13.4551|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 15:16:13.4551||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:16:13.4551|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] 2025-11-21 15:16:13.4551||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 15:16:13.4702|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]]'. 2025-11-21 15:16:13.4702|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] 2025-11-21 15:16:13.4702|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 9.2636ms 2025-11-21 15:16:13.4702|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 15:16:13.4702|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 31.7542ms 200 application/json; charset=utf-8 2025-11-21 15:16:13.4854|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]]'. 2025-11-21 15:16:13.4854|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 21.8044ms 2025-11-21 15:16:13.4854|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 15:16:13.4854|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 41.5212ms 200 application/json; charset=utf-8 2025-11-21 15:16:14.5491||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:16:14.5491||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:16:14.5491||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:16:14.5675||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:16:14.5675||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:16:14.5675||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 15:16:15.6472||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:16:15.6472||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:16:15.6472||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:16:15.6680||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:16:15.6680||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:16:15.6680||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 15:16:16.7543||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:16:16.7586||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:16:16.7586||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:16:16.7781||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:16:16.7781||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:16:16.7781||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 15:16:17.8656||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:16:17.8656||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:16:17.8656||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:16:17.8857||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:16:17.8857|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; 2025-11-21 15:16:17.9012|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 2025-11-21 15:16:17.9012|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:16:17.9012|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 15:16:17.9138|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:16:17.9138|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 15:16:17.9138|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:16:17.9138|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 15:16:17.9138|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:16:17.9297|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 15:16:17.9297|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:16:17.9297|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 15:16:17.9297|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:16:17.9297|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 15:16:17.9819|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]]'. 2025-11-21 15:16:17.9819|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6746.5057ms 2025-11-21 15:16:17.9819|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 15:16:17.9819|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6773.7902ms 200 application/json; charset=utf-8 2025-11-21 15:16:25.3506|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 15:16:25.3506|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 15:16:25.3506|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 15:16:25.3506|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:16:25.3506|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:16:25.3506|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:16:25.3665|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 15.896ms 204 2025-11-21 15:16:25.3665|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 22.7355ms 204 2025-11-21 15:16:25.3665|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 26.556ms 204 2025-11-21 15:16:25.3812|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 15:16:25.3812|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 15:16:25.3812|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 15:16:25.3812|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 15:16:25.3812|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 15:16:25.3812|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 15:16:25.3812|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:16:25.3968|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:16:25.3968|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:16:25.3968|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 15:16:25.3968|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 15:16:25.3968|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 15:16:25.3968|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 15:16:25.4135|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 15:16:25.3968|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 15:16:25.3968|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). 2025-11-21 15:16:25.4135|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). 2025-11-21 15:16:25.4135|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). 2025-11-21 15:16:25.4135|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 15:16:25.4135|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 15:16:25.4135||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 15:16:25.4303|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)) 2025-11-21 15:16:25.4303|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 2025-11-21 15:16:25.4303||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 15:16:25.4303|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]]'. 2025-11-21 15:16:25.4303||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 15:16:25.4303||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 15:16:25.4303|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 17.9028ms 2025-11-21 15:16:25.4436||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 15:16:25.4436|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 15:16:25.4436|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 65.3258ms 200 application/json; charset=utf-8 2025-11-21 15:16:25.4601||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 15:16:25.4601||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 15:16:25.4601||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 15:16:25.4601||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:16:25.4601||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 15:16:25.4601||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 15:16:26.5592||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:16:26.5592||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:16:26.5592||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 15:16:26.5592||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:16:26.5687|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]]'. 2025-11-21 15:16:26.5687|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1147.0956ms 2025-11-21 15:16:26.5687||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:16:26.5687|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 15:16:26.5687|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1189.0589ms 200 application/json; charset=utf-8 2025-11-21 15:16:26.5687||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:16:26.5889||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:16:26.5889||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 15:16:27.6752||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:16:27.6752||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:16:27.6752||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:16:27.6950||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:16:27.6950||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:16:27.6950||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 15:16:28.7860||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:16:28.7860||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:16:28.8011||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:16:28.8182||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:16:28.8182||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:16:28.8182||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 15:16:29.9127||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:16:29.9127||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:16:29.9249||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:16:29.9408||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:16:29.9408||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:16:29.9408||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 15:16:31.0321||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:16:31.0358||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:16:31.0358||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:16:31.0525||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:16:31.0525||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:16:31.0525||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 15:16:32.1466||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:16:32.1466||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:16:32.1466||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:16:32.1670||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:16:32.1783|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; 2025-11-21 15:16:32.1783|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 2025-11-21 15:16:32.1783|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:16:32.1908|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 15:16:32.1908|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:16:32.1908|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 15:16:32.1908|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:16:32.1908|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)) 2025-11-21 15:16:32.2078|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:16:32.2078|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 15:16:32.2078|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:16:32.2078|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 15:16:32.2216|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' 2025-11-21 15:16:32.2216|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 15:16:32.2864|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]]'. 2025-11-21 15:16:32.2864|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6869.3279ms 2025-11-21 15:16:32.2864|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 15:16:32.2864|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6912.8267ms 200 application/json; charset=utf-8 2025-11-21 15:19:56.8744|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 15:19:56.8744|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 15:19:56.8744|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:19:56.8797|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:19:56.8797|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.3524ms 204 2025-11-21 15:19:56.8797|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.0692ms 204 2025-11-21 15:19:56.8797|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 15:19:56.8797|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 15:19:56.8797|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 15:19:56.8797|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 15:19:56.8797|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:19:56.8797|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:19:56.8942|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 15:19:56.8942|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 15:19:56.8942|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 15:19:56.8942|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 15:19:56.8942|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). 2025-11-21 15:19:56.8942|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). 2025-11-21 15:19:56.8942|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 15:19:56.8942|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 15:19:56.9160|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] 2025-11-21 15:19:56.9160|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]]'. 2025-11-21 15:19:56.9160|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 16.1235ms 2025-11-21 15:19:56.9160|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 15:19:56.9160|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 34.4294ms 200 application/json; charset=utf-8 2025-11-21 15:19:56.9262|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] 2025-11-21 15:19:56.9262|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]]'. 2025-11-21 15:19:56.9262|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 29.7934ms 2025-11-21 15:19:56.9262|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 15:19:56.9262|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 49.0212ms 200 application/json; charset=utf-8 2025-11-21 15:35:17.9395|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=533 2025-11-21 15:35:17.9395|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:35:17.9395|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.2129ms 204 2025-11-21 15:35:17.9685|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=533 2025-11-21 15:35:17.9685|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 15:35:17.9685|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:35:17.9802|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 15:35:17.9802|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 15:35:17.9802|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=209 2025-11-21 15:35:17.9802|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). 2025-11-21 15:35:17.9802|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 15:35:17.9802|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 15:35:17.9802|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:35:17.9934|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 15:35:17.9934|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:35:17.9934|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:35:17.9934|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 13.7906ms 204 2025-11-21 15:35:17.9934|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 14.0525ms 204 2025-11-21 15:35:17.9934|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 13.5838ms 204 2025-11-21 15:35:18.0114|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)) 2025-11-21 15:35:18.0114|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]]'. 2025-11-21 15:35:18.0114|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 21.5372ms 2025-11-21 15:35:18.0114|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 15:35:18.0114|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 48.3743ms 200 application/json; charset=utf-8 2025-11-21 15:35:18.0114|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 15:35:18.0114|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=209 2025-11-21 15:35:18.0114|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 15:35:18.0114|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 15:35:18.0266|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 15:35:18.0266|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 15:35:18.0266|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:35:18.0266|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:35:18.0266|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:35:18.0266|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 15:35:18.0266|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 15:35:18.0266|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 15:35:18.0266|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 15:35:18.0414|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 15:35:18.0414|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 15:35:18.0414|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). 2025-11-21 15:35:18.0414|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). 2025-11-21 15:35:18.0414|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). 2025-11-21 15:35:18.0414||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 209 2025-11-21 15:35:18.0414|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 15:35:18.0414|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 15:35:18.0567|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)) 2025-11-21 15:35:18.0567||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 15:35:18.0567|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 2025-11-21 15:35:18.0567||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/80 2025-11-21 15:35:18.0567|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]]'. 2025-11-21 15:35:18.0714|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 21.0664ms 2025-11-21 15:35:18.0714||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 15:35:18.0714|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 15:35:18.0714||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/80 2025-11-21 15:35:18.0714|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 53.4812ms 200 application/json; charset=utf-8 2025-11-21 15:35:18.0884||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 2025-11-21 15:35:18.0884||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 15:35:18.0884||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 15:35:18.0884||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 2025-11-21 15:35:18.0884||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:35:18.0884||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0112012335 2025-11-21 15:35:19.1789||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:35:19.1815||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 15:35:19.1815||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:35:19.1815|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]]'. 2025-11-21 15:35:19.1815|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1140.923ms 2025-11-21 15:35:19.1815||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:35:19.1815|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 15:35:19.1815||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:35:19.1815|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1172.337ms 200 application/json; charset=utf-8 2025-11-21 15:35:19.2095||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:35:19.2134||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:35:19.2134||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011201233545 2025-11-21 15:35:20.3060||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:35:20.3060||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:35:20.3060||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:35:20.3273||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:35:20.3372|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [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; 2025-11-21 15:35:20.3372|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; 2025-11-21 15:35:20.3372|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 2025-11-21 15:35:20.3372|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:35:20.3372|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 15:35:20.3548|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:35:20.3548|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 15:35:20.4123|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]]'. 2025-11-21 15:35:20.4146|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 2365.2357ms 2025-11-21 15:35:20.4146|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 15:35:20.4146|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2396.8097ms 200 application/json; charset=utf-8 2025-11-21 15:35:28.7996|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 15:35:28.7996|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 15:35:28.7996|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:35:28.8051|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:35:28.8051|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.9588ms 204 2025-11-21 15:35:28.8051|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.0071ms 204 2025-11-21 15:35:28.8329|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 15:35:28.8329|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 15:35:28.8370|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 15:35:28.8370|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 15:35:28.8370|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:35:28.8370|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:35:28.8370|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 15:35:28.8370|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 15:35:28.8548|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 15:35:28.8548|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 15:35:28.8548|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). 2025-11-21 15:35:28.8548|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). 2025-11-21 15:35:28.8548|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 15:35:28.8684|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 15:35:28.8684|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] 2025-11-21 15:35:28.8684|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]]'. 2025-11-21 15:35:28.8684|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 7.4991ms 2025-11-21 15:35:28.8684|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 15:35:28.8684|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 46.053ms 200 application/json; charset=utf-8 2025-11-21 15:35:28.8684|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] 2025-11-21 15:35:28.8883|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]]'. 2025-11-21 15:35:28.8883|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 23.4383ms 2025-11-21 15:35:28.8883|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 15:35:28.8883|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 61.7115ms 200 application/json; charset=utf-8 2025-11-21 15:35:32.0242|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=209 2025-11-21 15:35:32.0242|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 15:35:32.0242|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 15:35:32.0242|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:35:32.0242|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:35:32.0242|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:35:32.0242|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.6046ms 204 2025-11-21 15:35:32.0242|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 13.7366ms 204 2025-11-21 15:35:32.0397|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 15.4927ms 204 2025-11-21 15:35:32.0649|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=209 2025-11-21 15:35:32.0649|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 15:35:32.0649|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 15:35:32.0649|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 15:35:32.0707|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 15:35:32.0707|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 15:35:32.0707|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:35:32.0707|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:35:32.0707|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:35:32.0707|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 15:35:32.0707|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 15:35:32.0707|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 15:35:32.0707|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 15:35:32.0707|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 15:35:32.0865|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 15:35:32.0865|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). 2025-11-21 15:35:32.0865|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). 2025-11-21 15:35:32.0865|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). 2025-11-21 15:35:32.0865|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 15:35:32.0865|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 15:35:32.0865||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 209 2025-11-21 15:35:32.0865|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)) 2025-11-21 15:35:32.0865|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 2025-11-21 15:35:32.1031||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 15:35:32.1031|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]]'. 2025-11-21 15:35:32.1031||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 15:35:32.1031||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/80 2025-11-21 15:35:32.1031|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 13.5251ms 2025-11-21 15:35:32.1031||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/80 2025-11-21 15:35:32.1031|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 15:35:32.1031|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 50.5706ms 200 application/json; charset=utf-8 2025-11-21 15:35:32.1270||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 2025-11-21 15:35:32.1270||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:35:32.1356||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 2025-11-21 15:35:32.1356||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0112012335 2025-11-21 15:35:32.1356||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 15:35:32.1356||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 15:35:33.2287||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:35:33.2287||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:35:33.2287||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 15:35:33.2287||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:35:33.2287|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]]'. 2025-11-21 15:35:33.2287|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1144.7101ms 2025-11-21 15:35:33.2287||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:35:33.2287|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 15:35:33.2451|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1179.5258ms 200 application/json; charset=utf-8 2025-11-21 15:35:33.2451||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:35:33.2583||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:35:33.2583||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011201233545 2025-11-21 15:35:34.3506||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:35:34.3551||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:35:34.3551||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:35:34.3757||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:35:34.3846|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; 2025-11-21 15:35:34.3846|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; 2025-11-21 15:35:34.3846|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 2025-11-21 15:35:34.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' 2025-11-21 15:35:34.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)) 2025-11-21 15:35:34.4009|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:35:34.4009|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 15:35:34.4441|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]]'. 2025-11-21 15:35:34.4468|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 2354.7944ms 2025-11-21 15:35:34.4468|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 15:35:34.4468|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2384.7641ms 200 application/json; charset=utf-8 2025-11-21 15:36:25.6247|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 15:36:25.6247|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 15:36:25.6247|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 15:36:25.6298|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:36:25.6298|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:36:25.6298|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:36:25.6298|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.8756ms 204 2025-11-21 15:36:25.6298|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.1498ms 204 2025-11-21 15:36:25.6298|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.5353ms 204 2025-11-21 15:36:25.6298|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 15:36:25.6421|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 15:36:25.6421|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 15:36:25.6421|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() 2025-11-21 15:36:25.6421|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() 2025-11-21 15:36:25.6421|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() 2025-11-21 15:36:25.6421|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'. 2025-11-21 15:36:25.6421|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'. 2025-11-21 15:36:25.6421|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'. 2025-11-21 15:36:25.6421|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:36:25.6421|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:36:25.6574|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:36:25.6574|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2025-11-21 15:36:25.6574|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2025-11-21 15:36:25.6574|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2025-11-21 15:36:25.6574|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2025-11-21 15:36:25.6574|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2025-11-21 15:36:25.6574|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2025-11-21 15:36:25.6574|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 27.2113ms 401 2025-11-21 15:36:25.6574|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 27.3986ms 401 2025-11-21 15:36:25.6574|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 29.1659ms 401 2025-11-21 15:37:08.5095|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=519 2025-11-21 15:37:08.5095|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:37:08.5095|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4.8948ms 204 2025-11-21 15:37:08.5201|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=519 2025-11-21 15:37:08.5201|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 15:37:08.5201|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:37:08.5201|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 15:37:08.5201|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 15:37:08.5201|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 15:37:08.5201|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 15:37:08.5201|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:37:08.5201|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:37:08.5334|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:37:08.5334|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 15:37:08.5334|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.7748ms 204 2025-11-21 15:37:08.5334|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.5909ms 204 2025-11-21 15:37:08.5334|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 13.8815ms 204 2025-11-21 15:37:08.5334|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). 2025-11-21 15:37:08.5334|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 15:37:08.5334|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 15:37:08.5483|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 15:37:08.5483|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 15:37:08.5483|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 15:37:08.5483|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 15:37:08.5483|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 15:37:08.5483|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:37:08.5483|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)) 2025-11-21 15:37:08.5483|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:37:08.5483|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:37:08.5635|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 15:37:08.5635|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]]'. 2025-11-21 15:37:08.5635|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 15:37:08.5635|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 15:37:08.5635|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 15:37:08.5635|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 21.9113ms 2025-11-21 15:37:08.5635|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 15:37:08.5799|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). 2025-11-21 15:37:08.5799|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). 2025-11-21 15:37:08.5799|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 15:37:08.5799|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 72.3977ms 200 application/json; charset=utf-8 2025-11-21 15:37:08.5799|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 15:37:08.5799|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 15:37:08.5799|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 15:37:08.5986|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 2025-11-21 15:37:08.5986|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)) 2025-11-21 15:37:08.5986|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). 2025-11-21 15:37:08.5986|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]]'. 2025-11-21 15:37:08.5986||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 15:37:08.5986||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 15:37:08.6106|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 22.9359ms 2025-11-21 15:37:08.6106||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 15:37:08.6106|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 15:37:08.6106|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 74.5646ms 200 application/json; charset=utf-8 2025-11-21 15:37:08.6106||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 15:37:08.6106||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 15:37:08.6344||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 15:37:08.6344||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:37:08.6344||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 15:37:08.6423||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 15:37:08.6423||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 15:37:08.6423||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 15:37:09.7243||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:37:09.7243||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:37:09.7243||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:37:09.7243||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 15:37:09.7243||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:37:09.7243|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]]'. 2025-11-21 15:37:09.7364|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1127.9934ms 2025-11-21 15:37:09.7364|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 15:37:09.7364|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1191.2194ms 200 application/json; charset=utf-8 2025-11-21 15:37:09.7364||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:37:09.7364||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:37:09.7364||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 15:37:10.8290||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:37:10.8290||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:37:10.8290||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:37:10.8509||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:37:10.8509||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:37:10.8509||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 15:37:11.9314||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:37:11.9314||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:37:11.9314||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:37:11.9529||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:37:11.9529||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:37:11.9602||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 15:37:13.0368||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:37:13.0368||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:37:13.0368||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:37:13.0558||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:37:13.0558||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:37:13.0558||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 15:37:14.1491||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:37:14.1536||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:37:14.1536||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:37:14.1709||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:37:14.1709||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:37:14.1709||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 15:37:15.2458||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:37:15.2458||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:37:15.2458||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:37:15.2642||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:37:15.2642|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; 2025-11-21 15:37:15.2805|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 2025-11-21 15:37:15.2805|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:37:15.2805|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 15:37:15.2909|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:37:15.2909|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 15:37:15.2909|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:37:15.2909|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 15:37:15.2909|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:37:15.2909|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 15:37:15.2909|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:37:15.3096|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)) 2025-11-21 15:37:15.3096|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:37:15.3096|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 15:37:15.3514|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]]'. 2025-11-21 15:37:15.3540|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6764.1372ms 2025-11-21 15:37:15.3540|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 15:37:15.3540|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6813.6772ms 200 application/json; charset=utf-8 2025-11-21 15:39:06.5207|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100492643 2025-11-21 15:39:06.5207|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 15:39:06.5268|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 15:39:06.5268|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2025-11-21 15:39:06.5268|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). 2025-11-21 15:39:06.5268|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 15:39:06.5268|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)) 2025-11-21 15:39:06.5268|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]]'. 2025-11-21 15:39:06.5268|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 5.9136ms 2025-11-21 15:39:06.5268|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2025-11-21 15:39:06.5268|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 19.6633ms 200 application/json; charset=utf-8 2025-11-21 15:39:13.2855|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100127923 2025-11-21 15:39:13.2855|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 15:39:13.2855|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 15:39:13.2855|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2025-11-21 15:39:13.2910|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). 2025-11-21 15:39:13.2910|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 15:39:13.2910|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)) 2025-11-21 15:39:13.2910|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]]'. 2025-11-21 15:39:13.2910|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 8.0723ms 2025-11-21 15:39:13.2910|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2025-11-21 15:39:13.2910|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 17.5676ms 200 application/json; charset=utf-8 2025-11-21 15:39:19.5855|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 15:39:19.5867|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 15:39:19.5867|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 15:39:19.5867|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:39:19.5867|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:39:19.5867|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:39:19.5867|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.2857ms 204 2025-11-21 15:39:19.5867|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.8745ms 204 2025-11-21 15:39:19.5867|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.5976ms 204 2025-11-21 15:39:19.5867|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 15:39:19.5867|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 15:39:19.5867|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 15:39:19.5867|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 15:39:19.5867|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 15:39:19.6029|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 15:39:19.6029|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:39:19.6029|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:39:19.6029|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:39:19.6029|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 15:39:19.6029|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 15:39:19.6029|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 15:39:19.6029|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 15:39:19.6029|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 15:39:19.6029|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 15:39:19.6029|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). 2025-11-21 15:39:19.6029|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). 2025-11-21 15:39:19.6029|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). 2025-11-21 15:39:19.6184||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 15:39:19.6184|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 15:39:19.6184|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 15:39:19.6184|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)) 2025-11-21 15:39:19.6184||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 15:39:19.6184||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 15:39:19.6184||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 15:39:19.6184|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 2025-11-21 15:39:19.6184||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 15:39:19.6359|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]]'. 2025-11-21 15:39:19.6359|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 20.6156ms 2025-11-21 15:39:19.6359|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 15:39:19.6359|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 45.5522ms 200 application/json; charset=utf-8 2025-11-21 15:39:19.6359||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 15:39:19.6502||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 15:39:19.6502||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 15:39:19.6502||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 15:39:19.6502||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:39:19.6502||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 15:39:20.7267||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:39:20.7267||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 15:39:20.7329|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]]'. 2025-11-21 15:39:20.7329||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:39:20.7329|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1116.5766ms 2025-11-21 15:39:20.7329|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 15:39:20.7329||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:39:20.7329|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1142.5483ms 200 application/json; charset=utf-8 2025-11-21 15:39:20.7329||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:39:20.7571||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:39:20.7571||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:39:20.7571||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 15:39:21.8422||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:39:21.8422||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:39:21.8422||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:39:21.8641||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:39:21.8641||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:39:21.8714||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 15:39:22.9558||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:39:22.9558||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:39:22.9558||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:39:22.9812||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:39:22.9863||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:39:22.9863||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 15:39:24.0823||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:39:24.0823||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:39:24.0823||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:39:24.1027||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:39:24.1027||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:39:24.1093||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 15:39:25.1833||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:39:25.1881||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:39:25.1881||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:39:25.2053||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:39:25.2053||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:39:25.2053||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 15:39:26.2961||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:39:26.2961||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:39:26.2961||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:39:26.3176||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:39:26.3176|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; 2025-11-21 15:39:26.3665|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)) ORDER BY [s].[DateCreated] DESC 2025-11-21 15:39:26.3665|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:39:26.3764|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 15:39:26.3764|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:39:26.3764|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 15:39:26.3764|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:39:26.3764|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 15:39:26.3912|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:39:26.3912|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 15:39:26.3912|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:39:26.3912|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 15:39:26.4051|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:39:26.4051|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 15:39:26.4512|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]]'. 2025-11-21 15:39:26.4538|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6834.7973ms 2025-11-21 15:39:26.4538|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 15:39:26.4538|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6859.0434ms 200 application/json; charset=utf-8 2025-11-21 15:46:24.5361|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=501 2025-11-21 15:46:24.5361|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:46:24.5415|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.4396ms 204 2025-11-21 15:46:24.5415|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=501 2025-11-21 15:46:24.5415|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 15:46:24.5415|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:46:24.5415|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 15:46:24.5575|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 15:46:24.5575|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). 2025-11-21 15:46:24.5575|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 15:46:24.5791|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)) 2025-11-21 15:46:24.5791|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]]'. 2025-11-21 15:46:24.5791|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 20.4371ms 2025-11-21 15:46:24.5791|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 15:46:24.5791|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 36.7127ms 200 application/json; charset=utf-8 2025-11-21 15:47:03.6174|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=551 2025-11-21 15:47:03.6174|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:47:03.6174|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.1146ms 204 2025-11-21 15:47:03.6964|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=208 2025-11-21 15:47:03.6964|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 15:47:03.6964|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 15:47:03.6964|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:47:03.7024|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:47:03.7024|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:47:03.7024|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.0238ms 204 2025-11-21 15:47:03.7024|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.4711ms 204 2025-11-21 15:47:03.7024|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.8845ms 204 2025-11-21 15:47:03.9704|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=551 2025-11-21 15:47:03.9704|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 15:47:03.9704|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:47:03.9704|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 15:47:03.9704|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 15:47:03.9704|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=208 2025-11-21 15:47:03.9704|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 15:47:03.9704|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). 2025-11-21 15:47:03.9836|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 15:47:03.9836|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 15:47:03.9836|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 15:47:03.9836|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 15:47:03.9836|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 15:47:03.9836|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:47:03.9836|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:47:03.9998|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:47:03.9998|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)) 2025-11-21 15:47:03.9998|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 15:47:03.9998|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 15:47:03.9998|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 15:47:03.9998|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]]'. 2025-11-21 15:47:03.9998|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 15:47:03.9998|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 15:47:03.9998|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 15:47:03.9998|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 23.2362ms 2025-11-21 15:47:03.9998|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). 2025-11-21 15:47:04.0154|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). 2025-11-21 15:47:04.0154|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). 2025-11-21 15:47:04.0154|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 15:47:04.0154|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 15:47:04.0154||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 208 2025-11-21 15:47:04.0154|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 15:47:04.0154|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 53.525ms 200 application/json; charset=utf-8 2025-11-21 15:47:04.0154|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)) 2025-11-21 15:47:04.0385||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 15:47:04.0385|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 2025-11-21 15:47:04.0385||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/80 2025-11-21 15:47:04.0385|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]]'. 2025-11-21 15:47:04.0385||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 15:47:04.0461|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 23.9324ms 2025-11-21 15:47:04.0461|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 15:47:04.0461||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/80 2025-11-21 15:47:04.0461|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 66.2916ms 200 application/json; charset=utf-8 2025-11-21 15:47:04.0630||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 2025-11-21 15:47:04.0630||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 15:47:04.0630||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 15:47:04.0630||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 2025-11-21 15:47:04.0630||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:47:04.0793||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011201235970 2025-11-21 15:47:05.1638||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:47:05.1638||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:47:05.1638||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:47:05.1715||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 15:47:05.1715||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:47:05.1715|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]]'. 2025-11-21 15:47:05.1715|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1155.0255ms 2025-11-21 15:47:05.1715|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 15:47:05.1715|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1196.092ms 200 application/json; charset=utf-8 2025-11-21 15:47:05.1876||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:47:05.1876|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (4ms) [Parameters=[@p4='?' (DbType = Int64), @p0='?' (DbType = Decimal), @p1='?' (DbType = DateTime2), @p2='?' (DbType = DateTime2), @p3='?' (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; 2025-11-21 15:47:05.2024|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 2025-11-21 15:47:05.2024|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:47:05.2024|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)) 2025-11-21 15:47:05.2536|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]]'. 2025-11-21 15:47:05.2536|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 1236.62ms 2025-11-21 15:47:05.2536|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 15:47:05.2536|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1276.9165ms 200 application/json; charset=utf-8 2025-11-21 15:47:14.2558|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=545 2025-11-21 15:47:14.2558|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:47:14.2558|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4.2615ms 204 2025-11-21 15:47:14.2663|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=545 2025-11-21 15:47:14.2663|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 15:47:14.2663|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:47:14.2663|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 15:47:14.2663|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 15:47:14.2663|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). 2025-11-21 15:47:14.2811|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 15:47:14.2811|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)) 2025-11-21 15:47:14.2811|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]]'. 2025-11-21 15:47:14.2811|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 7.5463ms 2025-11-21 15:47:14.2811|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 15:47:14.2811|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 23.0943ms 200 application/json; charset=utf-8 2025-11-21 15:47:14.3148|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 15:47:14.3148|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 15:47:14.3148|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=208 2025-11-21 15:47:14.3148|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:47:14.3148|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:47:14.3148|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:47:14.3148|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.7077ms 204 2025-11-21 15:47:14.3277|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.8063ms 204 2025-11-21 15:47:14.3277|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 15:47:14.3277|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 14.6911ms 204 2025-11-21 15:47:14.3277|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 15:47:14.3277|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=208 2025-11-21 15:47:14.3277|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 15:47:14.3277|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 15:47:14.3438|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 15:47:14.3438|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:47:14.3438|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:47:14.3438|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:47:14.3438|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 15:47:14.3438|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 15:47:14.3438|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 15:47:14.3591|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 15:47:14.3438|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 15:47:14.3438|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 15:47:14.3591|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). 2025-11-21 15:47:14.3591|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). 2025-11-21 15:47:14.3591|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). 2025-11-21 15:47:14.3591|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 15:47:14.3591||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 208 2025-11-21 15:47:14.3591|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 15:47:14.3591|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)) 2025-11-21 15:47:14.3750||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 15:47:14.3750|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 2025-11-21 15:47:14.3750||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 15:47:14.3750||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/80 2025-11-21 15:47:14.3750|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]]'. 2025-11-21 15:47:14.3750||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/80 2025-11-21 15:47:14.3750|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 13.2765ms 2025-11-21 15:47:14.3750|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 15:47:14.3750|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 57.7681ms 200 application/json; charset=utf-8 2025-11-21 15:47:14.3973||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 2025-11-21 15:47:14.3973||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 2025-11-21 15:47:14.3973||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 15:47:14.3973||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:47:14.4055||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 15:47:14.4055||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011201235970 2025-11-21 15:47:15.4926||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:47:15.4926||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:47:15.4926||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:47:15.4926||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:47:15.4926||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 15:47:15.5067|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]]'. 2025-11-21 15:47:15.5067|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1141.37ms 2025-11-21 15:47:15.5067|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 15:47:15.5067|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1178.9702ms 200 application/json; charset=utf-8 2025-11-21 15:47:15.5067||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:47:15.5210|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; 2025-11-21 15:47:15.5210|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 2025-11-21 15:47:15.5210|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:47:15.5349|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)) 2025-11-21 15:47:15.5881|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]]'. 2025-11-21 15:47:15.5881|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 1224.4331ms 2025-11-21 15:47:15.5881|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 15:47:15.5881|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1259.6854ms 200 application/json; charset=utf-8 2025-11-21 15:48:00.8286|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 15:48:00.8286|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 15:48:00.8314|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:48:00.8314|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:48:00.8314|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6.8032ms 204 2025-11-21 15:48:00.8314|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.8475ms 204 2025-11-21 15:48:00.8314|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 15:48:00.8314|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 15:48:00.8314|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 15:48:00.8477|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 15:48:00.8477|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:48:00.8477|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:48:00.8477|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 15:48:00.8477|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 15:48:00.8477|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 15:48:00.8477|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 15:48:00.8477|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). 2025-11-21 15:48:00.8477|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). 2025-11-21 15:48:00.8477|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 15:48:00.8477|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 15:48:00.8634|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] 2025-11-21 15:48:00.8634|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]]'. 2025-11-21 15:48:00.8634|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 7.9283ms 2025-11-21 15:48:00.8634|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 15:48:00.8634|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 26.2997ms 200 application/json; charset=utf-8 2025-11-21 15:48:00.8634|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] 2025-11-21 15:48:00.8800|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]]'. 2025-11-21 15:48:00.8800|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 22.2545ms 2025-11-21 15:48:00.8800|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 15:48:00.8800|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 41.9585ms 200 application/json; charset=utf-8 2025-11-21 15:48:28.1885|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 15:48:28.1885|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 15:48:28.1885|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 15:48:28.1885|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:48:28.1885|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:48:28.1937|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:48:28.1937|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6.109ms 204 2025-11-21 15:48:28.1937|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6.5362ms 204 2025-11-21 15:48:28.1937|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.0837ms 204 2025-11-21 15:48:28.1937|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 15:48:28.1937|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 15:48:28.1937|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 15:48:28.1937|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 15:48:28.1937|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 15:48:28.1937|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 15:48:28.1937|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:48:28.1937|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:48:28.1937|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:48:28.1937|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 15:48:28.1937|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 15:48:28.2083|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 15:48:28.2083|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 15:48:28.2083|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 15:48:28.2083|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 15:48:28.2083|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). 2025-11-21 15:48:28.2083|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). 2025-11-21 15:48:28.2083|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). 2025-11-21 15:48:28.2083|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 15:48:28.2083|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 15:48:28.2083||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 15:48:28.2083|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 2025-11-21 15:48:28.2083|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)) 2025-11-21 15:48:28.2083|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]]'. 2025-11-21 15:48:28.2083|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 8.6971ms 2025-11-21 15:48:28.2083||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 15:48:28.2083||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 15:48:28.2083|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 15:48:28.2258||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 15:48:28.2258|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 28.9726ms 200 application/json; charset=utf-8 2025-11-21 15:48:28.2258||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 15:48:28.2397||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 15:48:28.2397||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 15:48:28.2397||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:48:28.2397||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 15:48:28.2397||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 15:48:28.2397||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 15:48:29.3167||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:48:29.3197||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:48:29.3197||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:48:29.3197||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:48:29.3197||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 15:48:29.3197||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:48:29.3349|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]]'. 2025-11-21 15:48:29.3349||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:48:29.3349|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1121.7969ms 2025-11-21 15:48:29.3349|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 15:48:29.3349||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 15:48:29.3349|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1141.5384ms 200 application/json; charset=utf-8 2025-11-21 15:48:30.4264||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:48:30.4306||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:48:30.4306||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:48:30.4504||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:48:30.4504||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:48:30.4504||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 15:48:31.5373||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:48:31.5373||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:48:31.5373||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:48:31.5559||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:48:31.5559||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:48:31.5559||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 15:48:32.6444||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:48:32.6500||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:48:32.6500||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:48:32.6694||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:48:32.6694||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:48:32.6694||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 15:48:33.7573||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:48:33.7573||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:48:33.7573||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:48:33.7776||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:48:33.7776||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:48:33.7776||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 15:48:34.8656||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:48:34.8656||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:48:34.8656||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:48:34.8899||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:48:34.9012|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; 2025-11-21 15:48:34.9012|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 2025-11-21 15:48:34.9012|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:48:34.9129|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 15:48:34.9129|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:48:34.9129|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 15:48:34.9129|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:48:34.9274|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 15:48:34.9274|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:48:34.9274|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 15:48:34.9274|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:48:34.9274|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 15:48:34.9274|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:48:34.9456|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 15:48:34.9844|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]]'. 2025-11-21 15:48:34.9844|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6774.0877ms 2025-11-21 15:48:34.9901|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 15:48:34.9901|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6792.707ms 200 application/json; charset=utf-8 2025-11-21 15:52:15.2788|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 15:52:15.2788|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 15:52:15.2788|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 15:52:15.2788|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:52:15.2788|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:52:15.2788|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:52:15.2872|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.4415ms 204 2025-11-21 15:52:15.2872|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.8271ms 204 2025-11-21 15:52:15.2872|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.683ms 204 2025-11-21 15:52:15.2872|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 15:52:15.2872|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 15:52:15.2872|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 15:52:15.2872|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 15:52:15.2872|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 15:52:15.2872|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 15:52:15.2872|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:52:15.3032|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:52:15.3032|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:52:15.3032|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 15:52:15.3032|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 15:52:15.3032|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 15:52:15.3032|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 15:52:15.3032|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 15:52:15.3032|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). 2025-11-21 15:52:15.3032|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). 2025-11-21 15:52:15.3032|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 15:52:15.3032|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 15:52:15.3032|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 15:52:15.3182|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). 2025-11-21 15:52:15.3182|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 2025-11-21 15:52:15.3182||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 15:52:15.3182|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)) 2025-11-21 15:52:15.3182|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]]'. 2025-11-21 15:52:15.3182||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 15:52:15.3182|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 14.2838ms 2025-11-21 15:52:15.3182||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 15:52:15.3182|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 15:52:15.3182||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 15:52:15.3352||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 15:52:15.3352|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 40.9072ms 200 application/json; charset=utf-8 2025-11-21 15:52:15.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 2025-11-21 15:52:15.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 2025-11-21 15:52:15.3530||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:52:15.3530||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 15:52:15.3530||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 15:52:15.3530||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 15:52:16.4500||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:52:16.4500||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:52:16.4500||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 15:52:16.4500||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:52:16.4593|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]]'. 2025-11-21 15:52:16.4593||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:52:16.4593|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1137.8262ms 2025-11-21 15:52:16.4593|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 15:52:16.4593|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1169.6981ms 200 application/json; charset=utf-8 2025-11-21 15:52:16.4593||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:52:16.4761||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:52:16.4761||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 15:52:17.5535||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:52:17.5535||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:52:17.5535||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:52:17.5753||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:52:17.5753||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:52:17.5753||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 15:52:18.6662||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:52:18.6662||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:52:18.6662||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:52:18.6863||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:52:18.6863||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:52:18.6863||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 15:52:19.7731||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:52:19.7731||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:52:19.7731||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:52:19.7923||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:52:19.7923||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:52:19.7923||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 15:52:20.8799||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:52:20.8828||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:52:20.8828||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:52:20.8969||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:52:20.8969||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:52:20.8969||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 15:52:21.9898||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:52:21.9898||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:52:21.9898||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:52:22.0097||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:52:22.0190|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; 2025-11-21 15:52:22.0190|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 2025-11-21 15:52:22.0190|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:52:22.0342|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (5ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 15:52:22.0342|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:52:22.0342|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)) 2025-11-21 15:52:22.0342|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:52:22.0342|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 15:52:22.0503|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:52:22.0503|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)) 2025-11-21 15:52:22.0503|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:52:22.0503|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)) 2025-11-21 15:52:22.0684|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' 2025-11-21 15:52:22.0684|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 15:52:22.1183|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]]'. 2025-11-21 15:52:22.1183|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6804.0842ms 2025-11-21 15:52:22.1183|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 15:52:22.1183|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6830.2511ms 200 application/json; charset=utf-8 2025-11-21 15:53:44.4754|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 15:53:44.4754|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 15:53:44.4754|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 15:53:44.4754|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:53:44.4817|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:53:44.4817|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:53:44.4817|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.9674ms 204 2025-11-21 15:53:44.4817|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.6865ms 204 2025-11-21 15:53:44.4817|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.9433ms 204 2025-11-21 15:53:44.4817|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 15:53:44.4817|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 15:53:44.4817|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 15:53:44.4817|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 15:53:44.4817|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 15:53:44.4980|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 15:53:44.4980|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:53:44.4980|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:53:44.4980|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:53:44.4980|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 15:53:44.4980|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 15:53:44.4980|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 15:53:44.4980|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 15:53:44.4980|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 15:53:44.4980|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 15:53:44.4980|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). 2025-11-21 15:53:44.4980|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). 2025-11-21 15:53:44.4980|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). 2025-11-21 15:53:44.5117||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 15:53:44.5117|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 15:53:44.5117|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 15:53:44.5117||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 15:53:44.5117|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 2025-11-21 15:53:44.5117|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)) 2025-11-21 15:53:44.5117||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 15:53:44.5117|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]]'. 2025-11-21 15:53:44.5117||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 15:53:44.5282|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 15.4252ms 2025-11-21 15:53:44.5282||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 15:53:44.5282|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 15:53:44.5282|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 42.7833ms 200 application/json; charset=utf-8 2025-11-21 15:53:44.5433||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 15:53:44.5433||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 15:53:44.5433||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 15:53:44.5433||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:53:44.5433||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 15:53:44.5433||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 15:53:45.6275||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:53:45.6275||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:53:45.6275||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:53:45.6275||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 15:53:45.6275||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:53:45.6413|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]]'. 2025-11-21 15:53:45.6413|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1132.3821ms 2025-11-21 15:53:45.6413|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 15:53:45.6413|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1157.6775ms 200 application/json; charset=utf-8 2025-11-21 15:53:45.6413||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:53:45.6413||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:53:45.6553||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 15:53:46.7375||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:53:46.7375||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:53:46.7375||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:53:46.7578||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:53:46.7578||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:53:46.7661||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 15:53:47.8526||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:53:47.8526||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:53:47.8526||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:53:47.8763||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:53:47.8811||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:53:47.8811||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 15:53:48.9728||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:53:48.9728||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:53:48.9728||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:53:48.9944||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:53:48.9944||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:53:48.9944||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 15:53:50.0850||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:53:50.0850||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:53:50.0850||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:53:50.1021||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:53:50.1021||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:53:50.1021||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 15:53:51.1953||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:53:51.1953||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:53:51.1953||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:53:51.2188||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:53:51.2273|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; 2025-11-21 15:53:51.2273|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 2025-11-21 15:53:51.2273|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:53:51.2414|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 15:53:51.2414|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:53:51.2414|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 15:53:51.2533|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:53:51.2533|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 15:53:51.2533|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:53:51.2533|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 15:53:51.2533|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:53:51.2712|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 15:53:51.2712|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:53:51.2712|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 15:53:51.3207|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]]'. 2025-11-21 15:53:51.3207|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6809.119ms 2025-11-21 15:53:51.3207|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 15:53:51.3207|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6833.9882ms 200 application/json; charset=utf-8 2025-11-21 15:54:12.8417|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 15:54:12.8417|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 15:54:12.8417|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 15:54:12.8417|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:54:12.8477|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:54:12.8477|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:54:12.8477|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.1947ms 204 2025-11-21 15:54:12.8477|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.5839ms 204 2025-11-21 15:54:12.8477|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.4552ms 204 2025-11-21 15:54:12.8477|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 15:54:12.8477|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 15:54:12.8477|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 15:54:12.8477|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 15:54:12.8477|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 15:54:12.8633|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 15:54:12.8633|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:54:12.8633|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:54:12.8633|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:54:12.8633|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 15:54:12.8633|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 15:54:12.8633|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 15:54:12.8633|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 15:54:12.8633|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 15:54:12.8633|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 15:54:12.8633|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). 2025-11-21 15:54:12.8633|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). 2025-11-21 15:54:12.8633|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). 2025-11-21 15:54:12.8799|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 15:54:12.8799||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 15:54:12.8799|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 15:54:12.8799|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)) 2025-11-21 15:54:12.8799|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 2025-11-21 15:54:12.8799||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 15:54:12.8799||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 15:54:12.8799|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]]'. 2025-11-21 15:54:12.8953||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 15:54:12.8953|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 15.3266ms 2025-11-21 15:54:12.8953||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 15:54:12.8953|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 15:54:12.8953|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 44.9187ms 200 application/json; charset=utf-8 2025-11-21 15:54:12.9153||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 15:54:12.9153||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 15:54:12.9153||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 15:54:12.9153||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:54:12.9153||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 15:54:12.9283||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 15:54:14.0184||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:54:14.0224||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 15:54:14.0224||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:54:14.0224|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]]'. 2025-11-21 15:54:14.0224||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:54:14.0224|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1146.2866ms 2025-11-21 15:54:14.0224||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:54:14.0224|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 15:54:14.0224|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1175.225ms 200 application/json; charset=utf-8 2025-11-21 15:54:14.0411||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:54:14.0411||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:54:14.0411||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 15:54:15.1261||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:54:15.1289||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:54:15.1289||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:54:15.1448||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:54:15.1448||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:54:15.1448||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 15:54:15.4034|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 15:54:15.4034|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 15:54:15.4034|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:54:15.4100|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:54:15.4100|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.117ms 204 2025-11-21 15:54:15.4100|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.2374ms 204 2025-11-21 15:54:15.4100|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 15:54:15.4100|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 15:54:15.4257|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 15:54:15.4257|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 15:54:15.4257|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:54:15.4257|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:54:15.4257|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 15:54:15.4257|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 15:54:15.4257|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 15:54:15.4257|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 15:54:15.4257|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). 2025-11-21 15:54:15.4425|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). 2025-11-21 15:54:15.4425|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 15:54:15.4425|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 15:54:15.4425|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (4ms) [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] 2025-11-21 15:54:15.4425|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] 2025-11-21 15:54:15.4568|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]]'. 2025-11-21 15:54:15.4568|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 13.7392ms 2025-11-21 15:54:15.4568|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 15:54:15.4568|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 40.8196ms 200 application/json; charset=utf-8 2025-11-21 15:54:15.4568|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]]'. 2025-11-21 15:54:15.4568|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 27.4611ms 2025-11-21 15:54:15.4727|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 15:54:15.4727|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 55.3728ms 200 application/json; charset=utf-8 2025-11-21 15:54:16.2313||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:54:16.2313||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:54:16.2313||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:54:16.2510||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:54:16.2510||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:54:16.2510||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 15:54:17.3424||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:54:17.3424||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:54:17.3424||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:54:17.3607||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:54:17.3607||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:54:17.3607||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 15:54:18.4510||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:54:18.4510||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:54:18.4510||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:54:18.4719||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:54:18.4719||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:54:18.4719||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 15:54:19.5580||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:54:19.5580||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:54:19.5580||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:54:19.5843||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:54:19.5964|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; 2025-11-21 15:54:19.6051|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 2025-11-21 15:54:19.6051|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:54:19.6051|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 15:54:19.6051|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:54:19.6209|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)) 2025-11-21 15:54:19.6209|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:54:19.6209|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)) 2025-11-21 15:54:19.6209|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' 2025-11-21 15:54:19.6381|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 15:54:19.6381|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:54:19.6381|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 15:54:19.6381|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:54:19.6381|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 15:54:19.6896|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]]'. 2025-11-21 15:54:19.6896|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6813.7085ms 2025-11-21 15:54:19.6896|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 15:54:19.6983|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6840.9318ms 200 application/json; charset=utf-8 2025-11-21 15:54:23.0990|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 15:54:23.0990|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 15:54:23.0990|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 15:54:23.0990|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:54:23.1065|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:54:23.1065|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:54:23.1065|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 13.1206ms 204 2025-11-21 15:54:23.1065|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 16.5707ms 204 2025-11-21 15:54:23.1065|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 19.5613ms 204 2025-11-21 15:54:23.1211|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 15:54:23.1211|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 15:54:23.1211|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 15:54:23.1211|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 15:54:23.1211|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 15:54:23.1211|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 15:54:23.1211|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:54:23.1211|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:54:23.1211|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:54:23.1352|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 15:54:23.1352|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 15:54:23.1352|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 15:54:23.1352|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 15:54:23.1352|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 15:54:23.1352|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 15:54:23.1352|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). 2025-11-21 15:54:23.1352|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). 2025-11-21 15:54:23.1352|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). 2025-11-21 15:54:23.1352|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 15:54:23.1516||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 15:54:23.1516|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 15:54:23.1516|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 2025-11-21 15:54:23.1516||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 15:54:23.1516|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]]'. 2025-11-21 15:54:23.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)) 2025-11-21 15:54:23.1516||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 15:54:23.1516|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 14.4548ms 2025-11-21 15:54:23.1663||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 15:54:23.1663|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 15:54:23.1663|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 49.1925ms 200 application/json; charset=utf-8 2025-11-21 15:54:23.1663||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 15:54:23.1821||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 15:54:23.1821||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 15:54:23.1821||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 15:54:23.1821||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 15:54:23.1821||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:54:23.1821||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 15:54:24.2762||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:54:24.2762||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:54:24.2762||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 15:54:24.2762||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:54:24.2762|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]]'. 2025-11-21 15:54:24.2762|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1132.9573ms 2025-11-21 15:54:24.2762||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:54:24.2762|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 15:54:24.2762|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1162.9251ms 200 application/json; charset=utf-8 2025-11-21 15:54:24.2967||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:54:24.2967||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:54:24.2967||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 15:54:24.8553|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 15:54:24.8553|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 15:54:24.8553|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:54:24.8553|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:54:24.8553|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.7055ms 204 2025-11-21 15:54:24.8553|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.242ms 204 2025-11-21 15:54:24.8702|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 15:54:24.8702|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 15:54:24.8702|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 15:54:24.8702|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 15:54:24.8702|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:54:24.8702|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:54:24.8851|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 15:54:24.8851|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 15:54:24.8851|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 15:54:24.8851|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 15:54:24.8851|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). 2025-11-21 15:54:24.8851|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). 2025-11-21 15:54:24.8851|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 15:54:24.8851|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 15:54:24.8851|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] 2025-11-21 15:54:24.8851|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]]'. 2025-11-21 15:54:24.9018|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 9.0258ms 2025-11-21 15:54:24.9018|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 15:54:24.9018|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 33.8999ms 200 application/json; charset=utf-8 2025-11-21 15:54:24.9018|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] 2025-11-21 15:54:24.9213|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]]'. 2025-11-21 15:54:24.9213|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 29.3348ms 2025-11-21 15:54:24.9213|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 15:54:24.9213|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 51.5536ms 200 application/json; charset=utf-8 2025-11-21 15:54:25.4018||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:54:25.4018||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:54:25.4018||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:54:25.4221||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:54:25.4221||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:54:25.4221||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 15:54:26.5121||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:54:26.5121||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:54:26.5121||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:54:26.5317||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:54:26.5317||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:54:26.5317||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 15:54:27.6190||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:54:27.6251||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:54:27.6251||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:54:27.6449||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:54:27.6449||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:54:27.6560||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 15:54:28.7502||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:54:28.7502||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:54:28.7502||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:54:28.7744||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:54:28.7786||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:54:28.7786||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 15:54:29.8699||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:54:29.8699||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:54:29.8699||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:54:29.8886||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:54:29.8886|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; 2025-11-21 15:54:29.9030|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 2025-11-21 15:54:29.9030|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:54:29.9030|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 15:54:29.9030|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:54:29.9030|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 15:54:29.9187|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:54:29.9187|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)) 2025-11-21 15:54:29.9187|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:54:29.9187|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 15:54:29.9330|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:54:29.9330|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 15:54:29.9330|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:54:29.9330|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)) 2025-11-21 15:54:29.9825|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]]'. 2025-11-21 15:54:29.9825|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6833.2325ms 2025-11-21 15:54:29.9825|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 15:54:29.9825|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6864.8789ms 200 application/json; charset=utf-8 2025-11-21 15:54:30.8358|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 15:54:30.8358|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 15:54:30.8358|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 15:54:30.8391|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:54:30.8391|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:54:30.8391|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:54:30.8391|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 15.8916ms 204 2025-11-21 15:54:30.8539|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 18.048ms 204 2025-11-21 15:54:30.8539|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 19.7293ms 204 2025-11-21 15:54:30.8539|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 15:54:30.8539|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 15:54:30.8539|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 15:54:30.8539|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 15:54:30.8539|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 15:54:30.8539|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 15:54:30.8539|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:54:30.8539|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:54:30.8539|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:54:30.8700|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 15:54:30.8700|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 15:54:30.8700|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 15:54:30.8700|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 15:54:30.8700|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 15:54:30.8700|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 15:54:30.8700|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). 2025-11-21 15:54:30.8700|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). 2025-11-21 15:54:30.8700|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). 2025-11-21 15:54:30.8700||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 15:54:30.8700|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 15:54:30.8700|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 15:54:30.8891||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 15:54:30.8891|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)) 2025-11-21 15:54:30.8891|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 2025-11-21 15:54:30.8891||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 15:54:30.8891|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]]'. 2025-11-21 15:54:30.8891||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 15:54:30.8891|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 11.8307ms 2025-11-21 15:54:30.8891||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 15:54:30.8891|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 15:54:30.9006|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 38.5913ms 200 application/json; charset=utf-8 2025-11-21 15:54:30.9006||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 15:54:30.9006||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 15:54:30.9006||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 15:54:30.9006||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 15:54:30.9006||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:54:30.9183||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 15:54:31.9965||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:54:31.9965||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:54:31.9965||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:54:31.9965||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 15:54:31.9965||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:54:31.9965|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]]'. 2025-11-21 15:54:31.9965|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1127.5242ms 2025-11-21 15:54:31.9965|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 15:54:32.0113|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1152.9245ms 200 application/json; charset=utf-8 2025-11-21 15:54:32.0113||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:54:32.0113||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:54:32.0113||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 15:54:33.0918||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:54:33.0918||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:54:33.0918||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:54:33.1133||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:54:33.1133||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:54:33.1133||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 15:54:34.1968||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:54:34.1997||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:54:34.1997||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:54:34.2146||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:54:34.2146||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:54:34.2146||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 15:54:35.3106||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:54:35.3106||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:54:35.3106||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:54:35.3288||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:54:35.3288||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:54:35.3288||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 15:54:36.4168||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:54:36.4207||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:54:36.4207||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:54:36.4388||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:54:36.4388||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:54:36.4388||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 15:54:37.5222||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:54:37.5222||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:54:37.5283||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:54:37.5283||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:54:37.5463|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; 2025-11-21 15:54:37.5463|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 2025-11-21 15:54:37.5463|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:54:37.5463|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 15:54:37.5604|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:54:37.5604|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 15:54:37.5604|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:54:37.5604|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 15:54:37.5604|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:54:37.5757|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)) 2025-11-21 15:54:37.5757|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:54:37.5757|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 15:54:37.5757|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:54:37.5894|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 15:54:37.6358|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]]'. 2025-11-21 15:54:37.6382|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6756.2002ms 2025-11-21 15:54:37.6382|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 15:54:37.6382|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6780.431ms 200 application/json; charset=utf-8 2025-11-21 15:58:02.6752|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 15:58:02.6752|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 15:58:02.6752|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:58:02.6752|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:58:02.6752|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.7992ms 204 2025-11-21 15:58:02.6968|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 20.9485ms 204 2025-11-21 15:58:02.6968|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 15:58:02.7043|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 15:58:02.7043|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() 2025-11-21 15:58:02.7043|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() 2025-11-21 15:58:02.7206|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'. 2025-11-21 15:58:02.7206|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'. 2025-11-21 15:58:02.7206|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:58:02.7206|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:58:02.7337|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2025-11-21 15:58:02.7337|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2025-11-21 15:58:02.7337|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2025-11-21 15:58:02.7337|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2025-11-21 15:58:02.7337|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 45.4724ms 401 2025-11-21 15:58:02.7503|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 45.934ms 401 2025-11-21 15:58:02.8518|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 15:58:02.8518|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 15:58:02.8592|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:58:02.8592|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 15:58:02.8592|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 15:58:02.8592|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 15:58:02.8592|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 15:58:02.8592|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). 2025-11-21 15:58:02.8592|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:58:02.8592|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 15:58:02.8739|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 15:58:02.8739|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 15:58:02.8739|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). 2025-11-21 15:58:02.8739|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 15:58:02.8739|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] 2025-11-21 15:58:02.8739|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] 2025-11-21 15:58:02.8739|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]]'. 2025-11-21 15:58:02.8739|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 6.7157ms 2025-11-21 15:58:02.8739|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 15:58:02.8739|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 24.4557ms 200 application/json; charset=utf-8 2025-11-21 15:58:02.8739|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]]'. 2025-11-21 15:58:02.8898|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 17.1326ms 2025-11-21 15:58:02.8898|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 15:58:02.8898|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 39.7865ms 200 application/json; charset=utf-8 2025-11-21 15:58:02.8898|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 15:58:02.8898|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 15:58:02.8898|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:58:02.8898|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 15:58:02.8898|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 15:58:02.8898|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). 2025-11-21 15:58:02.8898|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 15:58:02.9104|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] 2025-11-21 15:58:02.9280|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]]'. 2025-11-21 15:58:02.9280|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 32.721ms 2025-11-21 15:58:02.9280|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 15:58:02.9280|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 41.8775ms 200 application/json; charset=utf-8 2025-11-21 15:58:08.8169|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 15:58:08.8169|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 15:58:08.8169|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 15:58:08.8195|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:58:08.8195|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:58:08.8195|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:58:08.8195|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.5491ms 204 2025-11-21 15:58:08.8195|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.7432ms 204 2025-11-21 15:58:08.8195|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.8802ms 204 2025-11-21 15:58:08.8195|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 15:58:08.8342|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 15:58:08.8342|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 15:58:08.8342|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 15:58:08.8342|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 15:58:08.8342|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 15:58:08.8342|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:58:08.8342|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:58:08.8342|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 15:58:08.8342|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 15:58:08.8342|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 15:58:08.8342|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 15:58:08.8342|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 15:58:08.8342|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 15:58:08.8342|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 15:58:08.8504|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). 2025-11-21 15:58:08.8504|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). 2025-11-21 15:58:08.8504|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). 2025-11-21 15:58:08.8504||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 15:58:08.8504|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 15:58:08.8504|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 15:58:08.8504||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 15:58:08.8504|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 2025-11-21 15:58:08.8674|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]]'. 2025-11-21 15:58:08.8674||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 15:58:08.8674|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)) 2025-11-21 15:58:08.8674|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 11.5802ms 2025-11-21 15:58:08.8674|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 15:58:08.8674||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 15:58:08.8674|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 39.8056ms 200 application/json; charset=utf-8 2025-11-21 15:58:08.8674||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 15:58:08.8891||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 15:58:08.8891||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 15:58:08.8891||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 15:58:08.8891||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 15:58:08.8970||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:58:08.8970||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 15:58:09.9824||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:58:09.9824||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:58:09.9824||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 15:58:09.9824||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:58:09.9824|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]]'. 2025-11-21 15:58:09.9911||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:58:09.9911|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1136.0478ms 2025-11-21 15:58:09.9911|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 15:58:09.9911|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1162.5609ms 200 application/json; charset=utf-8 2025-11-21 15:58:09.9911||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:58:09.9911||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:58:10.0070||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 15:58:11.0990||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:58:11.1035||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:58:11.1035||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:58:11.1201||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:58:11.1201||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:58:11.1201||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 15:58:12.1991||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:58:12.1991||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:58:12.1991||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:58:12.2236||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:58:12.2283||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:58:12.2283||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 15:58:13.3172||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:58:13.3202||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:58:13.3202||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:58:13.3202||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:58:13.3376||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:58:13.3376||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 15:58:14.4159||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:58:14.4159||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:58:14.4159||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:58:14.4416||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:58:14.4463||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 15:58:14.4463||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 15:58:15.5376||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 15:58:15.5426||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 15:58:15.5426||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 15:58:15.5569||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 15:58:15.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; 2025-11-21 15:58:15.5569|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 2025-11-21 15:58:15.5720|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:58:15.5720|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)) 2025-11-21 15:58:15.5720|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:58:15.5720|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 15:58:15.5720|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:58:15.5720|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 15:58:15.5871|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:58:15.5871|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 15:58:15.5871|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:58:15.5871|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 15:58:15.6029|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 15:58:15.6029|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)) 2025-11-21 15:58:15.6591|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]]'. 2025-11-21 15:58:15.6591|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6803.9522ms 2025-11-21 15:58:15.6591|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 15:58:15.6658|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6830.2828ms 200 application/json; charset=utf-8 2025-11-21 16:04:36.7555|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 16:04:36.7555|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 16:04:36.7555|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 16:04:36.7555|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:04:36.7555|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:04:36.7555|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:04:36.7555|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.916ms 204 2025-11-21 16:04:36.7555|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.2834ms 204 2025-11-21 16:04:36.7555|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.5775ms 204 2025-11-21 16:04:36.7555|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 16:04:36.7690|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 16:04:36.7690|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 16:04:36.7690|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:04:36.7690|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:04:36.7690|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:04:36.7690|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:04:36.7690|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:04:36.7690|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:04:36.7690|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:04:36.7690|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:04:36.7690|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:04:36.7854|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 16:04:36.7854|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 16:04:36.7854|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 16:04:36.7854|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). 2025-11-21 16:04:36.7854|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). 2025-11-21 16:04:36.7854|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). 2025-11-21 16:04:36.7854||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 16:04:36.7854|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 16:04:36.7854|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 16:04:36.8036|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 2025-11-21 16:04:36.8036||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 16:04:36.8036|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]]'. 2025-11-21 16:04:36.8036||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 16:04:36.8036|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 15.4273ms 2025-11-21 16:04:36.8036|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 16:04:36.8036|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)) 2025-11-21 16:04:36.8036|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 43.7266ms 200 application/json; charset=utf-8 2025-11-21 16:04:36.8180||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 16:04:36.8180||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 16:04:36.8180||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 16:04:36.8180||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 16:04:36.8325||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 16:04:36.8325||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 16:04:36.8325||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:04:36.8325||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 16:04:37.9259||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 16:04:37.9259||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:04:37.9259||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 16:04:37.9259||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:04:37.9259||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 16:04:37.9259|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]]'. 2025-11-21 16:04:37.9259|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1148.1001ms 2025-11-21 16:04:37.9410|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 16:04:37.9410|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1173.9065ms 200 application/json; charset=utf-8 2025-11-21 16:04:37.9410||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:04:37.9410||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:04:37.9410||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 16:04:39.0357||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 16:04:39.0357||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:04:39.0357||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:04:39.0609||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:04:39.0609||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:04:39.0678||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 16:04:39.4238|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 16:04:39.4238|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 16:04:39.4271|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:04:39.4271|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:04:39.4271|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6.9682ms 204 2025-11-21 16:04:39.4271|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.2973ms 204 2025-11-21 16:04:39.4271|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 16:04:39.4271|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 16:04:39.4271|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:04:39.4417|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:04:39.4417|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:04:39.4417|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:04:39.4417|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:04:39.4417|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:04:39.4417|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 16:04:39.4417|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 16:04:39.4417|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). 2025-11-21 16:04:39.4567|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). 2025-11-21 16:04:39.4567|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 16:04:39.4567|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 16:04:39.4567|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] 2025-11-21 16:04:39.4567|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]]'. 2025-11-21 16:04:39.4567|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 7.8935ms 2025-11-21 16:04:39.4567|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 16:04:39.4567|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 31.0362ms 200 application/json; charset=utf-8 2025-11-21 16:04:39.5018|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (39ms) [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] 2025-11-21 16:04:39.5195|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]]'. 2025-11-21 16:04:39.5195|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 62.1946ms 2025-11-21 16:04:39.5195|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 16:04:39.5195|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 88.4788ms 200 application/json; charset=utf-8 2025-11-21 16:04:40.1423||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 16:04:40.1460||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:04:40.1460||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:04:40.1633||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:04:40.1633||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:04:40.1633||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 16:04:41.2523||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 16:04:41.2568||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:04:41.2568||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:04:41.2741||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:04:41.2741||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:04:41.2741||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 16:04:42.3595||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 16:04:42.3658||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:04:42.3658||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:04:42.3834||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:04:42.3834||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:04:42.3834||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 16:04:43.4731||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 16:04:43.4731||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:04:43.4731||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:04:43.4914||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:04:43.4914|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; 2025-11-21 16:04:43.5102|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 2025-11-21 16:04:43.5102|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:04:43.5196|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:04:43.5196|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:04:43.5196|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:04:43.5196|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' 2025-11-21 16:04:43.5373|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)) 2025-11-21 16:04:43.5373|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:04:43.5373|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:04:43.5373|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:04:43.5373|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:04:43.5506|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:04:43.5506|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:04:43.5893|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]]'. 2025-11-21 16:04:43.5893|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6799.4412ms 2025-11-21 16:04:43.5893|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 16:04:43.5976|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6828.6051ms 200 application/json; charset=utf-8 2025-11-21 16:04:45.3046|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 16:04:45.3046|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 16:04:45.3046|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 16:04:45.3046|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:04:45.3195|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:04:45.3195|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:04:45.3195|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 24.092ms 204 2025-11-21 16:04:45.3346|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 29.9444ms 204 2025-11-21 16:04:45.3346|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 35.5834ms 204 2025-11-21 16:04:45.3346|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 16:04:45.3495|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 16:04:45.3495|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 16:04:45.3495|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:04:45.3495|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:04:45.3495|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:04:45.3644|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:04:45.3644|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:04:45.3644|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:04:45.3644|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:04:45.3644|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 16:04:45.3644|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). 2025-11-21 16:04:45.3644|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:04:45.3644|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:04:45.3644|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 16:04:45.3807|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 16:04:45.3807|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 16:04:45.3807|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)) 2025-11-21 16:04:45.3807|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). 2025-11-21 16:04:45.3807|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). 2025-11-21 16:04:45.3958|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 16:04:45.3958||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 16:04:45.3958||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 16:04:45.3958|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 2025-11-21 16:04:45.3958||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 16:04:45.3958|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]]'. 2025-11-21 16:04:45.3958||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 16:04:45.4118|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 16.4354ms 2025-11-21 16:04:45.4118|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 16:04:45.4118||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 16:04:45.4118|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 68.3388ms 200 application/json; charset=utf-8 2025-11-21 16:04:45.4287||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 16:04:45.4287||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:04:45.4287||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 16:04:45.4287||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 16:04:45.4413||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 16:04:45.4413||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 16:04:46.5161||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 16:04:46.5196||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 16:04:46.5196||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 16:04:46.5196|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]]'. 2025-11-21 16:04:46.5196||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:04:46.5196|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1127.9718ms 2025-11-21 16:04:46.5196||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:04:46.5196|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 16:04:46.5196|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1176.7669ms 200 application/json; charset=utf-8 2025-11-21 16:04:46.5408||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:04:46.5408||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:04:46.5408||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 16:04:47.6093||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 16:04:47.6093||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:04:47.6144||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:04:47.6144||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:04:47.6315||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:04:47.6315||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 16:04:48.7079||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 16:04:48.7079||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:04:48.7079||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:04:48.7305||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:04:48.7305||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:04:48.7385||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 16:04:49.5006|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetBanksByCorporate 2025-11-21 16:04:49.5039|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:04:49.5039|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6.5155ms 204 2025-11-21 16:04:49.5039|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetBanksByCorporate 2025-11-21 16:04:49.5039|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:04:49.5039|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:04:49.5039|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:04:49.5202|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetBankForCorporateAsync (AccountManagement)' 2025-11-21 16:04:49.5202|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). 2025-11-21 16:04:49.5202|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 16:04:49.5505|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]]'. 2025-11-21 16:04:49.5505|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetBankForCorporateAsync (AccountManagement) in 28.6796ms 2025-11-21 16:04:49.5505|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetBankForCorporateAsync (AccountManagement)' 2025-11-21 16:04:49.5505|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 48.4745ms 200 application/json; charset=utf-8 2025-11-21 16:04:49.8186||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 16:04:49.8186||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:04:49.8186||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:04:49.8378||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:04:49.8378||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:04:49.8378||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 16:04:50.9292||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 16:04:50.9292||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:04:50.9292||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:04:50.9508||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:04:50.9508||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:04:50.9566||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 16:04:52.0326||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 16:04:52.0363||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:04:52.0363||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:04:52.0517||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:04:52.0517|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; 2025-11-21 16:04:52.0517|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 2025-11-21 16:04:52.0662|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:04:52.0662|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:04:52.0662|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:04:52.0662|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:04:52.0818|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:04:52.0818|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)) 2025-11-21 16:04:52.0818|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:04:52.0818|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)) 2025-11-21 16:04:52.0995|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:04:52.0995|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:04:52.0995|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:04:52.0995|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:04:52.1498|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]]'. 2025-11-21 16:04:52.1498|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6775.9012ms 2025-11-21 16:04:52.1498|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 16:04:52.1498|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6810.0826ms 200 application/json; charset=utf-8 2025-11-21 16:04:52.1837|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 16:04:52.1837|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:04:52.1837|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:04:52.1837|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:04:52.1910|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 16:04:52.1910|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). 2025-11-21 16:04:52.1910|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 16:04:52.2388|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)) 2025-11-21 16:04:52.2388||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 16:04:52.2388||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 16:04:52.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 2025-11-21 16:04:52.2690||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:04:52.2690||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 16:04:53.3665||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 16:04:53.3665||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:04:53.3665||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:04:53.3885||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:04:53.3885||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:04:53.3954||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 16:04:54.4727||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 16:04:54.4727||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:04:54.4727||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:04:54.4946||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:04:54.4946||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:04:54.4946||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 16:04:55.3664|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 16:04:55.3664|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 16:04:55.3664|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 16:04:55.3664|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:04:55.3664|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:04:55.3664|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:04:55.3786|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.1709ms 204 2025-11-21 16:04:55.3786|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 13.2873ms 204 2025-11-21 16:04:55.3786|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 15.1264ms 204 2025-11-21 16:04:55.3786|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 16:04:55.3786|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 16:04:55.3786|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:04:55.3786|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:04:55.3786|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:04:55.3786|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:04:55.3952|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:04:55.3952|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:04:55.3952|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 16:04:55.3952|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 16:04:55.3952|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). 2025-11-21 16:04:55.3952|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). 2025-11-21 16:04:55.3952|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 16:04:55.3952||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 16:04:55.3952|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 2025-11-21 16:04:55.4108|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]]'. 2025-11-21 16:04:55.4108||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 16:04:55.4108|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 7.4852ms 2025-11-21 16:04:55.4108|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 16:04:55.4108||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 16:04:55.4108|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 34.2633ms 200 application/json; charset=utf-8 2025-11-21 16:04:55.4381||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 16:04:55.4433||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 16:04:55.4433||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 16:04:55.5824||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 16:04:55.5824||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:04:55.5824||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:04:55.6082||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:04:55.6130||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:04:55.6130||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 16:04:56.5346||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 16:04:56.5346||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 16:04:56.5346|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]]'. 2025-11-21 16:04:56.5346|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1138.2019ms 2025-11-21 16:04:56.5346|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 16:04:56.5346|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1163.5244ms 200 application/json; charset=utf-8 2025-11-21 16:04:56.6875||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 16:04:56.6912||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:04:56.6912||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:04:56.7065||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:04:56.7065||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:04:56.7065||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 16:04:57.8021||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 16:04:57.8021||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:04:57.8021||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:04:57.8227||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:04:57.8227||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:04:57.8227||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 16:04:58.9072||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 16:04:58.9102||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:04:58.9102||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:04:58.9278||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:04:58.9278|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; 2025-11-21 16:04:58.9419|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 2025-11-21 16:04:58.9419|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:04:58.9419|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:04:58.9419|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:04:58.9419|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:04:58.9568|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:04:58.9568|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (5ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:04:58.9568|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:04:58.9727|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:04:58.9727|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:04:58.9727|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)) 2025-11-21 16:04:58.9727|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' 2025-11-21 16:04:58.9911|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)) 2025-11-21 16:04:59.0371|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]]'. 2025-11-21 16:04:59.0371|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6846.0332ms 2025-11-21 16:04:59.0371|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 16:04:59.0371|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6860.0446ms 200 application/json; charset=utf-8 2025-11-21 16:04:59.0371|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 16:04:59.0371|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:04:59.0510|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:04:59.0510|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:04:59.0510|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 16:04:59.0510|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). 2025-11-21 16:04:59.0510|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 16:04:59.0510|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)) 2025-11-21 16:04:59.0510||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 16:04:59.0676||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 16:04:59.0874||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 16:04:59.0874||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:04:59.0874||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 16:05:00.1743||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 16:05:00.1780||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:05:00.1780||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:05:00.1944||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:05:00.1944||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:05:00.1944||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 16:05:01.2719||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 16:05:01.2769||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:05:01.2769||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:05:01.2932||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:05:01.2932||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:05:01.3044||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 16:05:02.3947||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 16:05:02.3980||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:05:02.3980||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:05:02.3980||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:05:02.4164||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:05:02.4164||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 16:05:03.5046||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 16:05:03.5083||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:05:03.5083||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:05:03.5246||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:05:03.5246||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:05:03.5246||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 16:05:04.6191||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 16:05:04.6191||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:05:04.6191||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:05:04.6404||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:05:04.6404||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:05:04.6500||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 16:05:05.7459||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 16:05:05.7459||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:05:05.7588||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:05:05.7776||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:05:05.7886|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; 2025-11-21 16:05:05.7886|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 2025-11-21 16:05:05.7886|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:05:05.7886|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:05:05.7886|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:05:05.8051|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:05:05.8051|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:05:05.8051|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:05:05.8051|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:05:05.8199|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:05:05.8199|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:05:05.8199|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:05:05.8199|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:05:05.8199|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:05:05.8759|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]]'. 2025-11-21 16:05:05.8759|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6819.9948ms 2025-11-21 16:05:05.8759|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 16:05:05.8759|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6832.8213ms 200 application/json; charset=utf-8 2025-11-21 16:05:22.3253|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100127923 2025-11-21 16:05:22.3287|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:05:22.3287|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:05:22.3287|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2025-11-21 16:05:22.3287|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). 2025-11-21 16:05:22.3287|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 16:05:22.3421|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)) 2025-11-21 16:05:22.3421|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]]'. 2025-11-21 16:05:22.3421|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 8.9107ms 2025-11-21 16:05:22.3421|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2025-11-21 16:05:22.3421|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 23.1414ms 200 application/json; charset=utf-8 2025-11-21 16:05:28.1599|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100127923 2025-11-21 16:05:28.1599|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:05:28.1599|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:05:28.1599|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2025-11-21 16:05:28.1599|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). 2025-11-21 16:05:28.1704|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 16:05:28.1704|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)) 2025-11-21 16:05:28.1704|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]]'. 2025-11-21 16:05:28.1704|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 6.981ms 2025-11-21 16:05:28.1704|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2025-11-21 16:05:28.1704|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 20.0759ms 200 application/json; charset=utf-8 2025-11-21 16:05:29.4202|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100127923 2025-11-21 16:05:29.4202|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:05:29.4202|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:05:29.4202|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2025-11-21 16:05:29.4202|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). 2025-11-21 16:05:29.4202|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 16:05:29.4202|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)) 2025-11-21 16:05:29.4370|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]]'. 2025-11-21 16:05:29.4370|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 8.3788ms 2025-11-21 16:05:29.4370|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2025-11-21 16:05:29.4370|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 23.2075ms 200 application/json; charset=utf-8 2025-11-21 16:05:40.2794|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 16:05:40.2794|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 16:05:40.2794|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 16:05:40.2794|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:05:40.2794|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:05:40.2794|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:05:40.2794|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 13.0898ms 204 2025-11-21 16:05:40.2945|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 15.0784ms 204 2025-11-21 16:05:40.2945|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 16:05:40.2945|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 17.1922ms 204 2025-11-21 16:05:40.2945|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 16:05:40.2945|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 16:05:40.2945|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:05:40.2945|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:05:40.2945|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:05:40.2945|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:05:40.2945|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:05:40.2945|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:05:40.2945|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:05:40.2945|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:05:40.2945|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:05:40.2945|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 16:05:40.2945|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 16:05:40.3099|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 16:05:40.3099|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). 2025-11-21 16:05:40.3099|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). 2025-11-21 16:05:40.3099|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). 2025-11-21 16:05:40.3099|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 16:05:40.3099||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 16:05:40.3099|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 16:05:40.3099|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 2025-11-21 16:05:40.3099||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 16:05:40.3099|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]]'. 2025-11-21 16:05:40.3099|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 5.8904ms 2025-11-21 16:05:40.3099||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 16:05:40.3099|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 16:05:40.3099|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 25.641ms 200 application/json; charset=utf-8 2025-11-21 16:05:40.3322||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 16:05:40.3322||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 16:05:40.3322||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 16:05:40.3415|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (25ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:05:40.3415||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 16:05:40.3415||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 16:05:40.3646||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 16:05:40.3646||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:05:40.3724||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 16:05:41.4160||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 16:05:41.4160||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 16:05:41.4217|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]]'. 2025-11-21 16:05:41.4217|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1109.9206ms 2025-11-21 16:05:41.4217|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 16:05:41.4217|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1127.564ms 200 application/json; charset=utf-8 2025-11-21 16:05:41.4503||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 16:05:41.4526||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:05:41.4526||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:05:41.4526||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:05:41.4672||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:05:41.4672||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 16:05:42.5452||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 16:05:42.5452||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:05:42.5452||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:05:42.5631||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:05:42.5631||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:05:42.5631||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 16:05:42.8627|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 16:05:42.8627|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 16:05:42.8627|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:05:42.8627|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:05:42.8627|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.2781ms 204 2025-11-21 16:05:42.8727|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.5429ms 204 2025-11-21 16:05:42.8727|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 16:05:42.8727|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 16:05:42.8727|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:05:42.8727|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:05:42.8727|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:05:42.8727|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:05:42.8727|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:05:42.8727|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:05:42.8727|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 16:05:42.8898|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 16:05:42.8898|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). 2025-11-21 16:05:42.8898|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). 2025-11-21 16:05:42.8898|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 16:05:42.8898|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 16:05:42.8898|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] 2025-11-21 16:05:42.8898|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]]'. 2025-11-21 16:05:42.9043|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 8.867ms 2025-11-21 16:05:42.9043|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 16:05:42.9043|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 30.4862ms 200 application/json; charset=utf-8 2025-11-21 16:05:42.9043|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] 2025-11-21 16:05:42.9261|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]]'. 2025-11-21 16:05:42.9261|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 29.7345ms 2025-11-21 16:05:42.9261|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 16:05:42.9261|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 54.9329ms 200 application/json; charset=utf-8 2025-11-21 16:05:43.6525||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 16:05:43.6566||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:05:43.6566||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:05:43.6566||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:05:43.6700||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:05:43.6700||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 16:05:44.7464||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 16:05:44.7515||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:05:44.7515||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:05:44.7693||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:05:44.7693||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:05:44.7693||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 16:05:45.8585||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 16:05:45.8585||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:05:45.8585||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:05:45.8861||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:05:45.8914||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:05:45.8914||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 16:05:46.9868||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 16:05:46.9868||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:05:46.9868||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:05:47.0068||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:05:47.0134|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; 2025-11-21 16:05:47.0134|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 2025-11-21 16:05:47.0134|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:05:47.0286|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:05:47.0286|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:05:47.0286|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:05:47.0286|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:05:47.0465|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)) 2025-11-21 16:05:47.0465|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:05:47.0465|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)) 2025-11-21 16:05:47.0601|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:05:47.0601|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)) 2025-11-21 16:05:47.0601|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:05:47.0601|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:05:47.1056|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]]'. 2025-11-21 16:05:47.1090|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6795.0704ms 2025-11-21 16:05:47.1090|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 16:05:47.1090|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6814.1812ms 200 application/json; charset=utf-8 2025-11-21 16:09:26.7800|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 16:09:26.7800|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 16:09:26.7800|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 16:09:26.7800|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:09:26.7800|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:09:26.7800|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:09:26.7800|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.6241ms 204 2025-11-21 16:09:26.7800|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.3206ms 204 2025-11-21 16:09:26.7800|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.726ms 204 2025-11-21 16:09:26.7800|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 16:09:26.7963|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 16:09:26.7963|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 16:09:26.7963|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:09:26.7963|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:09:26.7963|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:09:26.7963|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:09:26.7963|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:09:26.7963|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:09:26.7963|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:09:26.7963|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:09:26.7963|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:09:26.8111|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 16:09:26.8111|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 16:09:26.8111|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 16:09:26.8111|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). 2025-11-21 16:09:26.8111|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). 2025-11-21 16:09:26.8111|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). 2025-11-21 16:09:26.8111|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 16:09:26.8111||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 16:09:26.8111|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 16:09:26.8111|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 2025-11-21 16:09:26.8111|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]]'. 2025-11-21 16:09:26.8111|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 9.8383ms 2025-11-21 16:09:26.8272|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 16:09:26.8272|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 33.8444ms 200 application/json; charset=utf-8 2025-11-21 16:09:26.8272||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 16:09:26.8272||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 16:09:26.8537||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 16:09:26.8537||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 16:09:26.8601||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 16:09:26.8601|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)) 2025-11-21 16:09:26.8601||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 16:09:26.8601||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 16:09:26.8874||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 16:09:26.8911||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:09:26.8911||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 16:09:27.9537||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 16:09:27.9537||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 16:09:27.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]]'. 2025-11-21 16:09:27.9537|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1145.8467ms 2025-11-21 16:09:27.9537|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 16:09:27.9537|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1169.8521ms 200 application/json; charset=utf-8 2025-11-21 16:09:27.9808||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 16:09:27.9847||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:09:27.9847||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:09:28.0002||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:09:28.0002||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:09:28.0002||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 16:09:28.8655|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 16:09:28.8655|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 16:09:28.8655|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:09:28.8655|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:09:28.8655|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.1578ms 204 2025-11-21 16:09:28.8749|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.0526ms 204 2025-11-21 16:09:28.8749|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 16:09:28.8749|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 16:09:28.8749|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:09:28.8749|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:09:28.8749|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:09:28.8749|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:09:28.8749|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:09:28.8891|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:09:28.8891|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 16:09:28.8891|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 16:09:28.8891|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). 2025-11-21 16:09:28.8891|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). 2025-11-21 16:09:28.8891|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 16:09:28.8891|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 16:09:28.8891|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] 2025-11-21 16:09:28.9055|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]]'. 2025-11-21 16:09:28.9055|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] 2025-11-21 16:09:28.9055|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 9.6564ms 2025-11-21 16:09:28.9055|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 16:09:28.9055|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 34.7722ms 200 application/json; charset=utf-8 2025-11-21 16:09:28.9055|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]]'. 2025-11-21 16:09:28.9207|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 21.4432ms 2025-11-21 16:09:28.9207|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 16:09:28.9207|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 44.2463ms 200 application/json; charset=utf-8 2025-11-21 16:09:29.0962||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 16:09:29.0962||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:09:29.0962||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:09:29.1239||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:09:29.1239||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:09:29.1239||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 16:09:30.2033||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 16:09:30.2033||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:09:30.2033||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:09:30.2251||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:09:30.2251||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:09:30.2251||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 16:09:31.3132||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 16:09:31.3132||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:09:31.3132||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:09:31.3367||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:09:31.3421||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:09:31.3421||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 16:09:32.4358||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 16:09:32.4358||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:09:32.4358||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:09:32.4549||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:09:32.4549||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:09:32.4549||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 16:09:33.5459||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 16:09:33.5459||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:09:33.5459||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:09:33.5667||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:09:33.5769|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; 2025-11-21 16:09:33.5769|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 2025-11-21 16:09:33.5769|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:09:33.5769|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:09:33.5946|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:09:33.5946|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:09:33.5946|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:09:33.5946|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:09:33.5946|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:09:33.6088|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:09:33.6088|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:09:33.6088|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:09:33.6088|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:09:33.6088|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:09:33.6641|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]]'. 2025-11-21 16:09:33.6641|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6847.1636ms 2025-11-21 16:09:33.6641|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 16:09:33.6641|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6870.165ms 200 application/json; charset=utf-8 2025-11-21 16:09:34.8850|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 16:09:34.8850|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 16:09:34.8850|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 16:09:34.8892|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:09:34.8892|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:09:34.8892|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:09:34.9078|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 22.8242ms 204 2025-11-21 16:09:34.9078|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 27.1467ms 204 2025-11-21 16:09:34.9210|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 35.3587ms 204 2025-11-21 16:09:34.9210|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 16:09:34.9210|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 16:09:34.9360|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 16:09:34.9360|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:09:34.9360|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:09:34.9360|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:09:34.9360|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:09:34.9514|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:09:34.9514|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:09:34.9514|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:09:34.9514|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:09:34.9514|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:09:34.9514|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 16:09:34.9673|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 16:09:34.9673|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 16:09:34.9673|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). 2025-11-21 16:09:34.9673|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). 2025-11-21 16:09:34.9673|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). 2025-11-21 16:09:34.9673|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 16:09:34.9836||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 16:09:34.9836|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 16:09:34.9836|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 2025-11-21 16:09:34.9836|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]]'. 2025-11-21 16:09:34.9836|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 14.5804ms 2025-11-21 16:09:34.9836||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 16:09:34.9836|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 16:09:34.9996|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 72.8264ms 200 application/json; charset=utf-8 2025-11-21 16:09:34.9996||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 16:09:35.0199||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 16:09:35.0199||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 16:09:35.0199||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 16:09:35.0396|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (46ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:09:35.0396||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 16:09:35.0477||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 16:09:35.0660||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 16:09:35.0660||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:09:35.0660||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 16:09:36.1016||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 16:09:36.1016||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 16:09:36.1016|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]]'. 2025-11-21 16:09:36.1016|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1125.6378ms 2025-11-21 16:09:36.1016|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 16:09:36.1016|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1177.1434ms 200 application/json; charset=utf-8 2025-11-21 16:09:36.1278||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 16:09:36.1278||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:09:36.1350||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:09:36.1350||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:09:36.1493||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:09:36.1493||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 16:09:37.2299||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 16:09:37.2299||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:09:37.2299||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:09:37.2511||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:09:37.2511||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:09:37.2511||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 16:09:38.3327||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 16:09:38.3327||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:09:38.3381||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:09:38.3381||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:09:38.3525||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:09:38.3525||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 16:09:39.4280||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 16:09:39.4312||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:09:39.4312||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:09:39.4471||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:09:39.4471||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:09:39.4471||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 16:09:40.5424||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 16:09:40.5424||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:09:40.5424||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:09:40.5628||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:09:40.5628||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:09:40.5628||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 16:09:41.6503||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 16:09:41.6503||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:09:41.6503||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:09:41.6715||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:09:41.6803|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; 2025-11-21 16:09:41.6803|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 2025-11-21 16:09:41.6803|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:09:41.6803|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:09:41.6973|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:09:41.6973|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:09:41.6973|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:09:41.6973|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:09:41.7118|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:09:41.7118|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)) 2025-11-21 16:09:41.7118|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:09:41.7118|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)) 2025-11-21 16:09:41.7265|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:09:41.7265|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:09:41.7694|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]]'. 2025-11-21 16:09:41.7694|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6785.7455ms 2025-11-21 16:09:41.7739|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 16:09:41.7739|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6839.7653ms 200 application/json; charset=utf-8 2025-11-21 16:13:44.3547|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=518 2025-11-21 16:13:44.3547|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:13:44.3617|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.025ms 204 2025-11-21 16:13:44.3617|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=518 2025-11-21 16:13:44.3770|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:13:44.3770|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:13:44.3770|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:13:44.3770|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 16:13:44.3770|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). 2025-11-21 16:13:44.3770|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 16:13:44.3770|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)) 2025-11-21 16:13:44.3770|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]]'. 2025-11-21 16:13:44.3918|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 7.4262ms 2025-11-21 16:13:44.3918|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 16:13:44.3918|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 21.1179ms 200 application/json; charset=utf-8 2025-11-21 16:13:44.6842|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 16:13:44.6842|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 16:13:44.6842|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 16:13:44.6842|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:13:44.6910|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:13:44.6910|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:13:44.6910|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.9035ms 204 2025-11-21 16:13:44.6910|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.8484ms 204 2025-11-21 16:13:44.6910|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.4151ms 204 2025-11-21 16:13:44.6910|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 16:13:44.6910|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:13:44.6910|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:13:44.7040|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:13:44.7040|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 16:13:44.7040|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). 2025-11-21 16:13:44.7040|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 16:13:44.7040|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)) 2025-11-21 16:13:44.7215|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 16:13:44.7215|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 16:13:44.7215|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:13:44.7215||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 16:13:44.7215|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:13:44.7215|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:13:44.7215|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:13:44.7356||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 16:13:44.7356|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:13:44.7356|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:13:44.7356|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 16:13:44.7356|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 16:13:44.7356|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). 2025-11-21 16:13:44.7356|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). 2025-11-21 16:13:44.7356|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 16:13:44.7356||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 16:13:44.7516|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 2025-11-21 16:13:44.7516|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]]'. 2025-11-21 16:13:44.7516||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 16:13:44.7516|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 8.8786ms 2025-11-21 16:13:44.7516||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 16:13:44.7516||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 16:13:44.7516|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 16:13:44.7516|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 42.6547ms 200 application/json; charset=utf-8 2025-11-21 16:13:44.7516||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:13:44.7681||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 16:13:44.7681||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 16:13:44.7681||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 16:13:44.7858||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 16:13:45.8429||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 16:13:45.8469||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:13:45.8469||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:13:45.8469||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 16:13:45.8631||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 16:13:45.8631||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:13:45.8631|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]]'. 2025-11-21 16:13:45.8631||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:13:45.8631|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1120.5919ms 2025-11-21 16:13:45.8631||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 16:13:45.8631|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 16:13:45.8631|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1152.2639ms 200 application/json; charset=utf-8 2025-11-21 16:13:46.9518||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 16:13:46.9555||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:13:46.9555||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:13:46.9717||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:13:46.9717||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:13:46.9717||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 16:13:48.0625||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 16:13:48.0675||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:13:48.0675||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:13:48.0873||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:13:48.0873||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:13:48.0947||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 16:13:48.2749|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 16:13:48.2749|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 16:13:48.2749|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:13:48.2749|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:13:48.2835|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.6058ms 204 2025-11-21 16:13:48.2835|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.6726ms 204 2025-11-21 16:13:48.2835|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 16:13:48.2835|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 16:13:48.2835|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:13:48.2835|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:13:48.2835|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:13:48.2835|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:13:48.2835|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:13:48.2835|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:13:48.2835|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 16:13:48.2984|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 16:13:48.2984|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). 2025-11-21 16:13:48.2984|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). 2025-11-21 16:13:48.2984|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 16:13:48.2984|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 16:13:48.2984|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] 2025-11-21 16:13:48.2984|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]]'. 2025-11-21 16:13:48.2984|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 7.8492ms 2025-11-21 16:13:48.2984|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 16:13:48.2984|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 25.8323ms 200 application/json; charset=utf-8 2025-11-21 16:13:48.3518|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (45ms) [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] 2025-11-21 16:13:48.3678|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]]'. 2025-11-21 16:13:48.3678|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 66.2494ms 2025-11-21 16:13:48.3678|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 16:13:48.3678|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 83.1922ms 200 application/json; charset=utf-8 2025-11-21 16:13:49.1710||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 16:13:49.1750||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:13:49.1750||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:13:49.1906||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:13:49.1906||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:13:49.1906||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 16:13:49.9325|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 16:13:49.9325|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 16:13:49.9325|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 16:13:49.9325|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:13:49.9325|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:13:49.9425|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:13:49.9425|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.7308ms 204 2025-11-21 16:13:49.9425|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 14.2227ms 204 2025-11-21 16:13:49.9425|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 14.8063ms 204 2025-11-21 16:13:49.9425|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 16:13:49.9425|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 16:13:49.9546|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:13:49.9546|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:13:49.9546|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:13:49.9546|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:13:49.9546|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:13:49.9546|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:13:49.9546|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 16:13:49.9546|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 16:13:49.9546|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). 2025-11-21 16:13:49.9546|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). 2025-11-21 16:13:49.9546||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 16:13:49.9546|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 16:13:49.9739||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 16:13:49.9739|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 2025-11-21 16:13:49.9739||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 16:13:49.9739|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]]'. 2025-11-21 16:13:49.9739|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 10.9063ms 2025-11-21 16:13:49.9739|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 16:13:49.9739|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 30.7426ms 200 application/json; charset=utf-8 2025-11-21 16:13:49.9932||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 16:13:49.9932||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 16:13:49.9932||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 16:13:50.2673||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 16:13:50.2673||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:13:50.2673||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:13:50.2892||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:13:50.2892||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:13:50.2892||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 16:13:51.0813||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 16:13:51.0813||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 16:13:51.0813|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]]'. 2025-11-21 16:13:51.0813|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1126.7958ms 2025-11-21 16:13:51.0976|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 16:13:51.0976|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1148.5338ms 200 application/json; charset=utf-8 2025-11-21 16:13:51.3794||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 16:13:51.3794||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:13:51.3794||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:13:51.4023||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:13:51.4294|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (17ms) [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; 2025-11-21 16:13:51.4815|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (26ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[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 2025-11-21 16:13:51.4905|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' 2025-11-21 16:13:51.4905|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (6ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:13:51.5177|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (16ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:13:51.5343|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (13ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:13:51.5572|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (19ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:13:51.5762|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (15ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:13:51.5857|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (5ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:13:51.5857|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (5ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:13:51.5983|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' 2025-11-21 16:13:51.6131|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (10ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:13:51.6131|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (8ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:13:51.6357|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (6ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:13:51.7212|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]]'. 2025-11-21 16:13:51.7212|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 7015.5025ms 2025-11-21 16:13:51.7212|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 16:13:51.7212|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7024.8369ms 200 application/json; charset=utf-8 2025-11-21 16:13:51.7659|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 16:13:51.7686|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:13:51.7686|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:13:51.7686|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:13:51.7686|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 16:13:51.7686|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). 2025-11-21 16:13:51.7686|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 16:13:51.8405|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (63ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:13:51.8495||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 16:13:51.8495||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 16:13:51.8847||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 16:13:51.8847||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:13:51.8948||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 16:13:52.9664||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 16:13:52.9711||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:13:52.9711||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:13:52.9870||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:13:52.9870||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:13:52.9870||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 16:13:54.0616||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 16:13:54.0671||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:13:54.0671||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:13:54.0829||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:13:54.0829||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:13:54.0829||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 16:13:55.1507||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 16:13:55.1507||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:13:55.1507||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:13:55.1677||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:13:55.1677||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:13:55.1730||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 16:13:56.2540||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 16:13:56.2540||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:13:56.2540||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:13:56.2724||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:13:56.2724||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:13:56.2724||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 16:13:56.6844|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100127923 2025-11-21 16:13:56.6844|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:13:56.6844|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:13:56.6844|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2025-11-21 16:13:56.6902|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). 2025-11-21 16:13:56.6902|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 16:13:56.6902|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)) 2025-11-21 16:13:56.6902|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]]'. 2025-11-21 16:13:56.6902|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 4.759ms 2025-11-21 16:13:56.6902|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2025-11-21 16:13:56.6902|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 14.34ms 200 application/json; charset=utf-8 2025-11-21 16:13:57.3455||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 16:13:57.3494||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:13:57.3494||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:13:57.3638||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:13:57.3638||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:13:57.3638||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 16:13:58.4339||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 16:13:58.4339||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:13:58.4339||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:13:58.4503||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:13:58.4563|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; 2025-11-21 16:13:58.4973|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (39ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[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 2025-11-21 16:13:58.4973|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:13:58.5044|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:13:58.5044|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' 2025-11-21 16:13:58.5044|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:13:58.5044|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:13:58.5044|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:13:58.5196|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:13:58.5196|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:13:58.5196|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:13:58.5196|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)) 2025-11-21 16:13:58.5402|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (7ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:13:58.5531|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (9ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:13:58.5999|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]]'. 2025-11-21 16:13:58.5999|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6826.451ms 2025-11-21 16:13:58.5999|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 16:13:58.5999|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6839.4129ms 200 application/json; charset=utf-8 2025-11-21 16:14:01.1601|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100127923 2025-11-21 16:14:01.1601|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:14:01.1601|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:14:01.1601|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2025-11-21 16:14:01.1601|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). 2025-11-21 16:14:01.1601|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 16:14:01.1601|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)) 2025-11-21 16:14:01.1601|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]]'. 2025-11-21 16:14:01.1601|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 6.5674ms 2025-11-21 16:14:01.1601|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2025-11-21 16:14:01.1601|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 13.7856ms 200 application/json; charset=utf-8 2025-11-21 16:14:02.2297|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100127923 2025-11-21 16:14:02.2297|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:14:02.2297|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:14:02.2297|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2025-11-21 16:14:02.2297|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). 2025-11-21 16:14:02.2373|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 16:14:02.2373|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)) 2025-11-21 16:14:02.2373|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]]'. 2025-11-21 16:14:02.2373|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 3.9784ms 2025-11-21 16:14:02.2373|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2025-11-21 16:14:02.2373|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.3603ms 200 application/json; charset=utf-8 2025-11-21 16:14:29.6366|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100492643 2025-11-21 16:14:29.6384|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:14:29.6384|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:14:29.6384|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2025-11-21 16:14:29.6384|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). 2025-11-21 16:14:29.6384|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 16:14:29.6384|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)) 2025-11-21 16:14:29.6384|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]]'. 2025-11-21 16:14:29.6384|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 6.8818ms 2025-11-21 16:14:29.6384|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2025-11-21 16:14:29.6384|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 15.9264ms 200 application/json; charset=utf-8 2025-11-21 16:14:40.5831|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100492643 2025-11-21 16:14:40.5852|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:14:40.5852|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:14:40.5852|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2025-11-21 16:14:40.5852|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). 2025-11-21 16:14:40.5852|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 16:14:40.5852|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)) 2025-11-21 16:14:40.6005|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]]'. 2025-11-21 16:14:40.6005|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 10.879ms 2025-11-21 16:14:40.6005|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2025-11-21 16:14:40.6005|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 23.8925ms 200 application/json; charset=utf-8 2025-11-21 16:14:41.8591|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100492643 2025-11-21 16:14:41.8591|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:14:41.8652|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:14:41.8652|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2025-11-21 16:14:41.8652|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). 2025-11-21 16:14:41.8652|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 16:14:41.8652|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)) 2025-11-21 16:14:41.8652|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]]'. 2025-11-21 16:14:41.8810|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 9.4797ms 2025-11-21 16:14:41.8810|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2025-11-21 16:14:41.8810|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 26.938ms 200 application/json; charset=utf-8 2025-11-21 16:14:49.2218|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=501 2025-11-21 16:14:49.2218|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:14:49.2218|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.5158ms 204 2025-11-21 16:14:49.2338|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=501 2025-11-21 16:14:49.2338|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:14:49.2338|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:14:49.2338|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:14:49.2338|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 16:14:49.2338|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). 2025-11-21 16:14:49.2478|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 16:14:49.2478|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)) 2025-11-21 16:14:49.2478|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]]'. 2025-11-21 16:14:49.2478|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 6.9354ms 2025-11-21 16:14:49.2478|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 16:14:49.2478|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 23.6299ms 200 application/json; charset=utf-8 2025-11-21 16:15:06.6528|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100492643 2025-11-21 16:15:06.6528|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:15:06.6528|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:15:06.6528|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2025-11-21 16:15:06.6528|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). 2025-11-21 16:15:06.6528|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 16:15:06.6693|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)) 2025-11-21 16:15:06.6693|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]]'. 2025-11-21 16:15:06.6693|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 8.0182ms 2025-11-21 16:15:06.6693|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2025-11-21 16:15:06.6693|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 21.0913ms 200 application/json; charset=utf-8 2025-11-21 16:15:14.3561|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100127923 2025-11-21 16:15:14.3561|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:15:14.3561|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:15:14.3561|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2025-11-21 16:15:14.3561|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). 2025-11-21 16:15:14.3561|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 16:15:14.3561|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)) 2025-11-21 16:15:14.3561|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]]'. 2025-11-21 16:15:14.3561|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 5.2302ms 2025-11-21 16:15:14.3561|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2025-11-21 16:15:14.3561|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.4814ms 200 application/json; charset=utf-8 2025-11-21 16:15:19.5551|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100127923 2025-11-21 16:15:19.5551|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:15:19.5551|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:15:19.5586|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2025-11-21 16:15:19.5586|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). 2025-11-21 16:15:19.5586|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 16:15:19.5586|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)) 2025-11-21 16:15:19.5586|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]]'. 2025-11-21 16:15:19.5586|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 6.0144ms 2025-11-21 16:15:19.5586|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2025-11-21 16:15:19.5586|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 14.6515ms 200 application/json; charset=utf-8 2025-11-21 16:15:20.6695|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100127923 2025-11-21 16:15:20.6695|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:15:20.6695|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:15:20.6695|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2025-11-21 16:15:20.6695|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). 2025-11-21 16:15:20.6695|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 16:15:20.6695|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)) 2025-11-21 16:15:20.6695|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]]'. 2025-11-21 16:15:20.6695|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 3.7693ms 2025-11-21 16:15:20.6695|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2025-11-21 16:15:20.6695|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 13.257ms 200 application/json; charset=utf-8 2025-11-21 16:16:38.8601|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100492643 2025-11-21 16:16:38.8601|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:16:38.8601|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:16:38.8658|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2025-11-21 16:16:38.8658|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). 2025-11-21 16:16:38.8658|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 16:16:38.8658|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)) 2025-11-21 16:16:38.8658|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]]'. 2025-11-21 16:16:38.8658|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 7.1681ms 2025-11-21 16:16:38.8658|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2025-11-21 16:16:38.8658|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 18.7898ms 200 application/json; charset=utf-8 2025-11-21 16:17:00.7210|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100492643 2025-11-21 16:17:00.7243|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:17:00.7243|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:17:00.7243|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2025-11-21 16:17:00.7243|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). 2025-11-21 16:17:00.7243|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 16:17:00.7390|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)) 2025-11-21 16:17:00.7390|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]]'. 2025-11-21 16:17:00.7390|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 8.9831ms 2025-11-21 16:17:00.7390|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2025-11-21 16:17:00.7390|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 24.4034ms 200 application/json; charset=utf-8 2025-11-21 16:19:09.6691|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=492 2025-11-21 16:19:09.6691|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:19:09.6761|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.0098ms 204 2025-11-21 16:19:09.6761|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=492 2025-11-21 16:19:09.6761|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:19:09.6761|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:19:09.6908|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:19:09.6908|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 16:19:09.6908|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). 2025-11-21 16:19:09.6908|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 16:19:09.6908|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)) 2025-11-21 16:19:09.6908|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]]'. 2025-11-21 16:19:09.7047|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 16:19:09.7047|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 16:19:09.7047|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 16:19:09.7047|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 9.2429ms 2025-11-21 16:19:09.7047|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:19:09.7047|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:19:09.7047|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:19:09.7047|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 16:19:09.7047|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.1127ms 204 2025-11-21 16:19:09.7047|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.1294ms 204 2025-11-21 16:19:09.7047|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.0358ms 204 2025-11-21 16:19:09.7047|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 35.1205ms 200 application/json; charset=utf-8 2025-11-21 16:19:09.7215|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 16:19:09.7215|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 16:19:09.7215|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 16:19:09.7215|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:19:09.7215|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:19:09.7215|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:19:09.7215|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:19:09.7215|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:19:09.7215|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:19:09.7215|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:19:09.7362|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:19:09.7362|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:19:09.7362|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 16:19:09.7362|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 16:19:09.7362|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 16:19:09.7362|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). 2025-11-21 16:19:09.7362|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). 2025-11-21 16:19:09.7362|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). 2025-11-21 16:19:09.7362|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 16:19:09.7362||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 16:19:09.7512|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 16:19:09.7512|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 2025-11-21 16:19:09.7512|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]]'. 2025-11-21 16:19:09.7512|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)) 2025-11-21 16:19:09.7512|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 8.9019ms 2025-11-21 16:19:09.7512|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 16:19:09.7512|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 40.3167ms 200 application/json; charset=utf-8 2025-11-21 16:19:09.7512||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 16:19:09.7695||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 16:19:09.7695||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 16:19:09.7695||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 16:19:09.7894||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 16:19:09.7894||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 16:19:09.7894||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 16:19:09.7981||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 16:19:09.7981||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:19:09.7981||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 16:19:10.8802||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 16:19:10.8802||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 16:19:10.8946|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]]'. 2025-11-21 16:19:10.8946|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1146.6305ms 2025-11-21 16:19:10.8946||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 16:19:10.8946|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 16:19:10.8946||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:19:10.8946|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1182.1222ms 200 application/json; charset=utf-8 2025-11-21 16:19:10.9080||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:19:10.9080||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:19:10.9264||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:19:10.9264||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 16:19:12.0247||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 16:19:12.0247||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:19:12.0362||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:19:12.0530||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:19:12.0530||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:19:12.0652||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 16:19:13.1868||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 16:19:13.1903||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:19:13.1903||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:19:13.1903||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:19:13.2047||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:19:13.2047||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 16:19:14.2981||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 16:19:14.2981||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:19:14.2981||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:19:14.3177||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:19:14.3177||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:19:14.3177||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 16:19:15.3906||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 16:19:15.3959||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:19:15.3959||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:19:15.4114||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:19:15.4114||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:19:15.4114||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 16:19:16.5001||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2025-11-21 16:19:16.5045||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:19:16.5045||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:19:16.5244||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:19:16.5343|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; 2025-11-21 16:19:16.5343|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 2025-11-21 16:19:16.5343|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:19:16.5343|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:19:16.5504|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:19:16.5504|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:19:16.5504|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:19:16.5504|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:19:16.5504|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:19:16.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)) 2025-11-21 16:19:16.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' 2025-11-21 16:19:16.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)) 2025-11-21 16:19:16.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' 2025-11-21 16:19:16.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)) 2025-11-21 16:19:16.6150|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]]'. 2025-11-21 16:19:16.6150|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6865.8604ms 2025-11-21 16:19:16.6150|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 16:19:16.6150|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6894.8077ms 200 application/json; charset=utf-8 2025-11-21 16:26:44.7393|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 16:26:44.7393|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 16:26:44.7393|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 16:26:44.7417|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:26:44.7417|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:26:44.7417|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:26:44.7417|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.2357ms 204 2025-11-21 16:26:44.7417|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.3498ms 204 2025-11-21 16:26:44.7417|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.8148ms 204 2025-11-21 16:26:44.7417|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 16:26:44.7565|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 16:26:44.7565|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 16:26:44.7565|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:26:44.7565|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:26:44.7565|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:26:44.7565|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:26:44.7565|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:26:44.7565|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:26:44.7565|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:26:44.7565|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:26:44.7565|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:26:44.7565|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 16:26:44.7723|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 16:26:44.7723|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 16:26:44.7723|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). 2025-11-21 16:26:44.7723|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). 2025-11-21 16:26:44.7723|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). 2025-11-21 16:26:44.7723|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 16:26:44.7723|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 16:26:44.7723||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 16:26:44.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 2025-11-21 16:26:44.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]]'. 2025-11-21 16:26:44.7933||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 16:26:44.7933|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 18.0029ms 2025-11-21 16:26:44.7933||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 16:26:44.7933|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 16:26:44.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)) 2025-11-21 16:26:44.7933|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 48.7252ms 200 application/json; charset=utf-8 2025-11-21 16:26:44.8055||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 16:26:44.8055||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 16:26:44.8055||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 16:26:44.8212||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 16:26:44.8212||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 16:26:44.8212||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 16:26:44.8212||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:26:44.8212||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 16:26:50.6895||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-8624381391.76","bookBalance":0.0,"accountType":null,"accountName":"AGD EXPENDITURE ACCOUNTS-GENERAL","currency":null,"accountno":"0111001279","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 16:26:50.7038||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:26:50.7038||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:26:50.7211||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:26:50.7211||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:26:50.7253||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 16:26:51.9648||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-8624381391.76","bookBalance":0.0,"accountType":null,"accountName":"AGD EXPENDITURE ACCOUNTS-GENERAL","currency":null,"accountno":"0111001279","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 16:26:51.9648||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:26:51.9648||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:26:51.9873||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:26:51.9917||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:26:51.9917||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 16:26:53.1070||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-5092566928.3","bookBalance":0.0,"accountType":null,"accountName":"AGD SALARIES AND WAGES ACCOUNT19","currency":null,"accountno":"0111001293","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 16:26:53.1070||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:26:53.1070||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:26:53.1297||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:26:53.1297||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:26:53.1297||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 16:26:53.2627||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[{"availableBalance":1008205876.55,"formattedAmount":"1,008,205,876.55","bookBalance":1008205876.55,"accountType":"","accountName":"TREASURY MAIN","currency":null,"accountno":"0111001255"},{"availableBalance":-8624381391.76,"formattedAmount":"-8,624,381,391.76","bookBalance":-8624381391.76,"accountType":"","accountName":"AGD EXPENDITURE ACCOUNTS-GENERAL","currency":null,"accountno":"0111001279"},{"availableBalance":-5092566928.3,"formattedAmount":"-5,092,566,928.30","bookBalance":-5092566928.3,"accountType":"","accountName":"AGD SALARIES AND WAGES ACCOUNT19","currency":null,"accountno":"0111001293"},{"availableBalance":-88918787.83,"formattedAmount":"-88,918,787.83","bookBalance":-88918787.83,"accountType":"","accountName":"AGD PENSIONS ACCOUNTS 1998","currency":null,"accountno":"0111001310"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"DIFD (UK) BUDGSUPPORT GRANT","currency":null,"accountno":"0111001358"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SALARY ADVANCES ACCOUNT","currency":null,"accountno":"0111001372"},{"availableBalance":5660770071.02,"formattedAmount":"5,660,770,071.02","bookBalance":5660770071.02,"accountType":"","accountName":"INCOME TAX TREAS AC","currency":null,"accountno":"0111001396"},{"availableBalance":1639971708.73,"formattedAmount":"1,639,971,708.73","bookBalance":1639971708.73,"accountType":"","accountName":"CUSTOMS AND EXCISE TREAS AC","currency":null,"accountno":"0111001413"},{"availableBalance":126840132.89,"formattedAmount":"126,840,132.89","bookBalance":126840132.89,"accountType":"","accountName":"MARINE RESOURCES TREAS AC","currency":null,"accountno":"0111001437"},{"availableBalance":1171902940.16,"formattedAmount":"1,171,902,940.16","bookBalance":1171902940.16,"accountType":"","accountName":"MINERAL RESOURCES TREAS AC","currency":null,"accountno":"0111001451"},{"availableBalance":10582481.0,"formattedAmount":"10,582,481.00","bookBalance":10582481.0,"accountType":"","accountName":"IMMIGRATION TREAS AC","currency":null,"accountno":"0111001475"},{"availableBalance":452767547.26,"formattedAmount":"452,767,547.26","bookBalance":452767547.26,"accountType":"","accountName":"GENERAL REVENUE TREAS AC","currency":null,"accountno":"0111001499"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"IMMIGRATION ESCROW ACCOUNT","currency":null,"accountno":"0111001516"},{"availableBalance":12109569.0,"formattedAmount":"12,109,569.00","bookBalance":12109569.0,"accountType":"","accountName":"ADMINISTRATOR AND REGISTRAR GENE","currency":null,"accountno":"0111001530"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"POLICE-UNCLAIMED SALARIES WAGES","currency":null,"accountno":"0111001578"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"EDU SCIENCE AND TECH-UNCLAIMED S","currency":null,"accountno":"0111001592"},{"availableBalance":2068951.32,"formattedAmount":"2,068,951.32","bookBalance":2068951.32,"accountType":"","accountName":"OTHER DEPTMINISTRIES-UNCLAIMED S","currency":null,"accountno":"0111001657"},{"availableBalance":650610335.09,"formattedAmount":"650,610,335.09","bookBalance":650610335.09,"accountType":"","accountName":"TREASURY WAYS AND MEANS ADVANCES","currency":null,"accountno":"0111001671"},{"availableBalance":990172300.0,"formattedAmount":"990,172,300.00","bookBalance":990172300.0,"accountType":"","accountName":"TREASURY BEARER BOND ACCOUNTS","currency":null,"accountno":"0111001695"},{"availableBalance":-1359921007.56,"formattedAmount":"-1,359,921,007.56","bookBalance":-1359921007.56,"accountType":"","accountName":"INTEREST ON TREASURY BEARER BOND","currency":null,"accountno":"0111001712"},{"availableBalance":-2301895609.95,"formattedAmount":"-2,301,895,609.95","bookBalance":-2301895609.95,"accountType":"","accountName":"EXTERNAL DEBT SERVICE PAYMENTS","currency":null,"accountno":"0111001736"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"KENEMA GOVT TREASURY DEPOSITS AC","currency":null,"accountno":"0111001750"},{"availableBalance":20494300.88,"formattedAmount":"20,494,300.88","bookBalance":20494300.88,"accountType":"","accountName":"HIPC TRUST FUND ACCOUNT","currency":null,"accountno":"0111001774"},{"availableBalance":-729960.98,"formattedAmount":"-729,960.98","bookBalance":-729960.98,"accountType":"","accountName":"TREASURY BILLS AC","currency":null,"accountno":"0111001839"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"OFIDSL GOV DEBT RELIEF AC","currency":null,"accountno":"0111001891"},{"availableBalance":115026697.18,"formattedAmount":"115,026,697.18","bookBalance":115026697.18,"accountType":"","accountName":"NOMINALCOST AC FOR 182-DAYS TREA","currency":null,"accountno":"0111001918"},{"availableBalance":3320175223.38,"formattedAmount":"3,320,175,223.38","bookBalance":3320175223.38,"accountType":"","accountName":"NOMINALCOST AC FOR 364-DAYS TREA","currency":null,"accountno":"0111001932"},{"availableBalance":-8559679.4,"formattedAmount":"-8,559,679.40","bookBalance":-8559679.4,"accountType":"","accountName":"COMMISSION AC FOR TREASURY BILLS","currency":null,"accountno":"0111001970"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"MIN OF FISHERIES AND MARINE RESO","currency":null,"accountno":"0111002032"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"NAT TELECOMS REVENUE ESCROW AC","currency":null,"accountno":"0111002056"},{"availableBalance":4213148.95,"formattedAmount":"4,213,148.95","bookBalance":4213148.95,"accountType":"","accountName":"SIERRA LEONE PHARMACY BOARD REVE","currency":null,"accountno":"0111002070"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SIERRA LEONE MARITIME ADMIN REVE","currency":null,"accountno":"0111002094"},{"availableBalance":13207078.86,"formattedAmount":"13,207,078.86","bookBalance":13207078.86,"accountType":"","accountName":"SLCAA FOREIGN TRAVEL TAX A/C","currency":null,"accountno":"0111002111"},{"availableBalance":2292475373.13,"formattedAmount":"2,292,475,373.13","bookBalance":2292475373.13,"accountType":"","accountName":"GOODS AND SERVICES TAX ACCOUNT","currency":null,"accountno":"0111002135"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"MARINES FINES AC","currency":null,"accountno":"0111002159"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"AFFORESTATION AC","currency":null,"accountno":"0111002197"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"NATIONAL IDENTITY CARD PROJECT E","currency":null,"accountno":"0111002252"},{"availableBalance":412398.2,"formattedAmount":"412,398.20","bookBalance":412398.2,"accountType":"","accountName":"MINISTRY OF PRESIDENTIAL AND PUB","currency":null,"accountno":"0111002276"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"JAPANESE GRANT FOR COPING WITH C","currency":null,"accountno":"0111002317"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"DIAMOND ROYALTIES AC","currency":null,"accountno":"0111002355"},{"availableBalance":11320146.22,"formattedAmount":"11,320,146.22","bookBalance":11320146.22,"accountType":"","accountName":"NON-TAX REVENUE AC","currency":null,"accountno":"0111002379"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"INT. ON 91 182 364 - DAYS TREASU","currency":null,"accountno":"0111002393"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SIERRATELEBID MODERNISATION AND","currency":null,"accountno":"0111002410"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"IMF BUDGET FINANCING TREASURY A/","currency":null,"accountno":"0111002843"},{"availableBalance":962154707.06,"formattedAmount":"962,154,707.06","bookBalance":962154707.06,"accountType":"","accountName":"PETROLEUM EXCISE DUTY ACCOUNT","currency":null,"accountno":"0111002984"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"CATASTROPHE CONTAINMENT RELIEF T","currency":null,"accountno":"0111002991"},{"availableBalance":-47389.02,"formattedAmount":"-47,389.02","bookBalance":-47389.02,"accountType":"","accountName":"INTEREST ON 91 DAYS TREASURY BIL","currency":null,"accountno":"0111003314"},{"availableBalance":-14662146.43,"formattedAmount":"-14,662,146.43","bookBalance":-14662146.43,"accountType":"","accountName":"INTEREST ON 182 DAYS TREASURY BI","currency":null,"accountno":"0111003321"},{"availableBalance":-4861882392.28,"formattedAmount":"-4,861,882,392.28","bookBalance":-4861882392.28,"accountType":"","accountName":"INTEREST ON 364 DAYS TREASURY BI","currency":null,"accountno":"0111003338"},{"availableBalance":13011149.86,"formattedAmount":"13,011,149.86","bookBalance":13011149.86,"accountType":"","accountName":"PETROLEUM REGULATORY AGENCY","currency":null,"accountno":"0111003448"},{"availableBalance":14624361.1,"formattedAmount":"14,624,361.10","bookBalance":14624361.1,"accountType":"","accountName":"PETROLEUM DIRECTORATE","currency":null,"accountno":"0111003455"},{"availableBalance":716682.0,"formattedAmount":"716,682.00","bookBalance":716682.0,"accountType":"","accountName":"ROAD MAINTENANCE FUND","currency":null,"accountno":"0111003462"},{"availableBalance":12446437.0,"formattedAmount":"12,446,437.00","bookBalance":12446437.0,"accountType":"","accountName":"ENVIRONMENTAL PROTECTION AGENCY","currency":null,"accountno":"0111003479"},{"availableBalance":2736797.72,"formattedAmount":"2,736,797.72","bookBalance":2736797.72,"accountType":"","accountName":"NATIONAL TELECOMMUNICATION COMMI","currency":null,"accountno":"0111003486"},{"availableBalance":34714514.21,"formattedAmount":"34,714,514.21","bookBalance":34714514.21,"accountType":"","accountName":"SIERRA LEONE MARITIME ADMINISTRA","currency":null,"accountno":"0111003493"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SPECIAL TAX & DUTIES","currency":null,"accountno":"0111003503"},{"availableBalance":431020263.0,"formattedAmount":"431,020,263.00","bookBalance":431020263.0,"accountType":"","accountName":"TIMBER EXPORT LEVY","currency":null,"accountno":"0111003527"},{"availableBalance":6709406.02,"formattedAmount":"6,709,406.02","bookBalance":6709406.02,"accountType":"","accountName":"AFFORESTATION AND CITIES LEVY","currency":null,"accountno":"0111003534"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"MULTI DONOR BASKET FUND FREE EDU","currency":null,"accountno":"0111003572"},{"availableBalance":622112.00,"formattedAmount":"622,112.00","bookBalance":622112.00,"accountType":"","accountName":"MULTI DONOR BASKET FUND 4 FREE E","currency":null,"accountno":"0111003596"},{"availableBalance":-10000000.00,"formattedAmount":"-10,000,000.00","bookBalance":-10000000.00,"accountType":"","accountName":"CORRUPTION REC FUNDS ACCOUNT (SL","currency":null,"accountno":"0111003637"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"CORRUPTION REC FUNDS ACCOUNT (US","currency":null,"accountno":"0111003644"},{"availableBalance":3983620.62,"formattedAmount":"3,983,620.62","bookBalance":3983620.62,"accountType":"","accountName":"SIERRA LEONE STANDARD BUREAU DIS","currency":null,"accountno":"0111003651"},{"availableBalance":2256323.84,"formattedAmount":"2,256,323.84","bookBalance":2256323.84,"accountType":"","accountName":"SIERRA LEONE ROADS SAFETY AUTHOR","currency":null,"accountno":"0111003668"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SLPA/GOSL CARGO TRACKING","currency":null,"accountno":"0111003699"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"RECO FUNDS BASED ON TECHNICAL AU","currency":null,"accountno":"0111003730"},{"availableBalance":16922324.29,"formattedAmount":"16,922,324.29","bookBalance":16922324.29,"accountType":"","accountName":"FISHERIES PROTECTION STATISTICS&","currency":null,"accountno":"0111003754"},{"availableBalance":673795.84,"formattedAmount":"673,795.84","bookBalance":673795.84,"accountType":"","accountName":"FREE HEALTH CARE INITIATIVE","currency":null,"accountno":"0111003778"},{"availableBalance":66065954.89,"formattedAmount":"66,065,954.89","bookBalance":66065954.89,"accountType":"","accountName":"PRODUCE MONITORING BOARD","currency":null,"accountno":"0111003785"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"USL TEACHING HOSPITAL COMPLEX","currency":null,"accountno":"0111003840"},{"availableBalance":11031596.25,"formattedAmount":"11,031,596.25","bookBalance":11031596.25,"accountType":"","accountName":"DUTY WAIVER JOINT MNT FUND TREAS","currency":null,"accountno":"0111003857"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"PUBLIC AUCTION COMMITTE TREASURY","currency":null,"accountno":"0111003864"},{"availableBalance":3623824.03,"formattedAmount":"3,623,824.03","bookBalance":3623824.03,"accountType":"","accountName":"COMM OF INQUIRY SPECIAL RECOVERY","currency":null,"accountno":"0111003888"},{"availableBalance":-2055291.44,"formattedAmount":"-2,055,291.44","bookBalance":-2055291.44,"accountType":"","accountName":"DAILY SUBSISTENCE ALW/MED EXP AC","currency":null,"accountno":"0111003929"},{"availableBalance":3780.96,"formattedAmount":"3,780.96","bookBalance":3780.96,"accountType":"","accountName":"S/L LOCAL CONTENT DEVELOPMENT FU","currency":null,"accountno":"0111003936"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"LSS/SLPA/GOSL CARGO TRACKING","currency":null,"accountno":"0111003943"},{"availableBalance":5000000.0,"formattedAmount":"5,000,000.00","bookBalance":5000000.0,"accountType":"","accountName":"LOCAL COUNCIL DEVELOPMENT PROJEC","currency":null,"accountno":"0111003950"},{"availableBalance":205694040.46,"formattedAmount":"205,694,040.46","bookBalance":205694040.46,"accountType":"","accountName":"DEBT MANAGEMENT TREASURY","currency":null,"accountno":"0111003967"},{"availableBalance":85000.0,"formattedAmount":"85,000.00","bookBalance":85000.0,"accountType":"","accountName":"AUDIT SERVICE S/L - AUDIT FEES","currency":null,"accountno":"0111003974"},{"availableBalance":911265.54,"formattedAmount":"911,265.54","bookBalance":911265.54,"accountType":"","accountName":"NPPA-REV FROM SALE OF BIDDING DO","currency":null,"accountno":"0111003981"},{"availableBalance":20024585.14,"formattedAmount":"20,024,585.14","bookBalance":20024585.14,"accountType":"","accountName":"VEHICLE LOAN SCHEME","currency":null,"accountno":"0111004005"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SLCAA AVIATION FEES","currency":null,"accountno":"0111004012"},{"availableBalance":3326998.54,"formattedAmount":"3,326,998.54","bookBalance":3326998.54,"accountType":"","accountName":"NACOVERC LAB FEES & ENFORCE FINE","currency":null,"accountno":"0111004029"},{"availableBalance":139164.95,"formattedAmount":"139,164.95","bookBalance":139164.95,"accountType":"","accountName":"CTN FEES - FOREIGN CURRENCY","currency":null,"accountno":"0111004036"},{"availableBalance":0.01,"formattedAmount":"0.01","bookBalance":0.01,"accountType":"","accountName":"NATCOM AND BRADCORP GATEWAY REVE","currency":null,"accountno":"0111004043"},{"availableBalance":1120558.48,"formattedAmount":"1,120,558.48","bookBalance":1120558.48,"accountType":"","accountName":"NAT. WATER RESOURCES MGMT AGENCY","currency":null,"accountno":"0111004067"},{"availableBalance":2252147.11,"formattedAmount":"2,252,147.11","bookBalance":2252147.11,"accountType":"","accountName":"NaCOVERC LABORATORY FEES (USD)","currency":null,"accountno":"0111004074"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"WAGE BILL REVOLVING FUND ACCOUNT","currency":null,"accountno":"0111004098"},{"availableBalance":83069442.86,"formattedAmount":"83,069,442.86","bookBalance":83069442.86,"accountType":"","accountName":"STATE LAND SALES A/C","currency":null,"accountno":"0111004160"},{"availableBalance":59935.0,"formattedAmount":"59,935.00","bookBalance":59935.0,"accountType":"","accountName":"34 MILITARY HOSPITAL","currency":null,"accountno":"0111004201"},{"availableBalance":2206155.0,"formattedAmount":"2,206,155.00","bookBalance":2206155.0,"accountType":"","accountName":"BETTING & GAMBLING LICENCES ACCO","currency":null,"accountno":"0111004232"},{"availableBalance":34865.21,"formattedAmount":"34,865.21","bookBalance":34865.21,"accountType":"","accountName":"PAY NO BRIBE CAMPAIGN PROJECT AC","currency":null,"accountno":"0111004421"},{"availableBalance":2293395.84,"formattedAmount":"2,293,395.84","bookBalance":2293395.84,"accountType":"","accountName":"LUNGI BRIDGE FEASIBILITY STUDY(S","currency":null,"accountno":"0111004438"},{"availableBalance":17.05,"formattedAmount":"17.05","bookBalance":17.05,"accountType":"","accountName":"MOPED UNICEF PROGRAM SUPPORT A/C","currency":null,"accountno":"0111004658"},{"availableBalance":164418.88,"formattedAmount":"164,418.88","bookBalance":164418.88,"accountType":"","accountName":"NAT ELECTIONS SUSTAIN TRUST FUND","currency":null,"accountno":"0111004809"},{"availableBalance":0.79,"formattedAmount":"0.79","bookBalance":0.79,"accountType":"","accountName":"IMF SPECIAL DRAWING RIGHTS RETRO","currency":null,"accountno":"0111004847"},{"availableBalance":74814520.77,"formattedAmount":"74,814,520.77","bookBalance":74814520.77,"accountType":"","accountName":"GoSL TSA REVENUE SHARE ACCOUNT","currency":null,"accountno":"0111004878"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"DUTY WAIVER","currency":null,"accountno":"0111004885"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"IMPREST AC FOR ACC GEN DEPT","currency":null,"accountno":"0111004926"},{"availableBalance":10685160.00,"formattedAmount":"10,685,160.00","bookBalance":10685160.00,"accountType":"","accountName":"SL NATIONAL SHIPPING COMPANY ESC","currency":null,"accountno":"0111004995"},{"availableBalance":-1009872.99,"formattedAmount":"-1,009,872.99","bookBalance":-1009872.99,"accountType":"","accountName":"MINISTRY OF DEFENCE QUARTERLY","currency":null,"accountno":"0111005057"},{"availableBalance":-458150.0,"formattedAmount":"-458,150.00","bookBalance":-458150.0,"accountType":"","accountName":"SIERRA LEONE POLICE GENERAL ACCO","currency":null,"accountno":"0111005129"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"SIERRA LEONE CORRECTIONAL SERVIC","currency":null,"accountno":"0111005136"},{"availableBalance":3446.86,"formattedAmount":"3,446.86","bookBalance":3446.86,"accountType":"","accountName":"IMMIGRATION ACCOUNT","currency":null,"accountno":"0111005150"},{"availableBalance":14952799.83,"formattedAmount":"14,952,799.83","bookBalance":14952799.83,"accountType":"","accountName":"DIAGNOSTIC MEDICAL CENTRE","currency":null,"accountno":"0111005260"},{"availableBalance":6699287.89,"formattedAmount":"6,699,287.89","bookBalance":6699287.89,"accountType":"","accountName":"SALES OF AIRSTRIP LANDS","currency":null,"accountno":"0111005332"},{"availableBalance":245148.43,"formattedAmount":"245,148.43","bookBalance":245148.43,"accountType":"","accountName":"GOSL NATIONAL TREE PLANTING","currency":null,"accountno":"0111005387"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"OFFICE OF THE OMBUDSMAN DISBURSE","currency":null,"accountno":"0111005844"},{"availableBalance":9034.5,"formattedAmount":"9,034.50","bookBalance":9034.5,"accountType":"","accountName":"FERTILIZER SUPPORT FUND","currency":null,"accountno":"0111006054"},{"availableBalance":117899.95,"formattedAmount":"117,899.95","bookBalance":117899.95,"accountType":"","accountName":"TERTIARY EDUCATION COMMISSION DI","currency":null,"accountno":"0111006308"},{"availableBalance":1500000.0,"formattedAmount":"1,500,000.00","bookBalance":1500000.0,"accountType":"","accountName":"SIERRA LEONE PHARMACY BOARD DISB","currency":null,"accountno":"0111006377"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"SLMET AGRIC VAL CHA DEV PROJ (AV","currency":null,"accountno":"0111006456"},{"availableBalance":1384132.82,"formattedAmount":"1,384,132.82","bookBalance":1384132.82,"accountType":"","accountName":"DIGITAL DEVELOPMENT FUND (DDF) A","currency":null,"accountno":"0111006535"}],"code":"01","success":true,"description":"Success"}] 2025-11-21 16:26:53.2627||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 16:26:53.2808|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]]'. 2025-11-21 16:26:53.2808|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 8504.8382ms 2025-11-21 16:26:53.2808|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 16:26:53.2808|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8530.8251ms 200 application/json; charset=utf-8 2025-11-21 16:26:54.1781||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"10547897.45","bookBalance":0.0,"accountType":null,"accountName":"ELECTRONIC FUNDS TRANS SUSPENSE","currency":null,"accountno":"SLE116030002","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 16:26:54.1781||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:26:54.1872||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:26:54.2012||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:26:54.2012||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:26:54.2012||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 16:26:55.1430||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-5092566928.3","bookBalance":0.0,"accountType":null,"accountName":"AGD SALARIES AND WAGES ACCOUNT19","currency":null,"accountno":"0111001293","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 16:26:55.1430||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:26:55.1430||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:26:55.1661||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:26:55.1701||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:26:55.1701||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 16:26:56.0792||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-88918787.83","bookBalance":0.0,"accountType":null,"accountName":"AGD PENSIONS ACCOUNTS 1998","currency":null,"accountno":"0111001310","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 16:26:56.0792||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:26:56.0792||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:26:56.1000||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:26:56.1196|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (14ms) [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; 2025-11-21 16:26:56.1277|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 2025-11-21 16:26:56.1277|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' 2025-11-21 16:26:56.1277|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:26:56.1390|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:26:56.1390|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:26:56.1390|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' 2025-11-21 16:26:56.1390|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)) 2025-11-21 16:26:56.1534|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:26:56.1534|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)) 2025-11-21 16:26:56.1534|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' 2025-11-21 16:26:56.1534|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)) 2025-11-21 16:26:56.1705|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' 2025-11-21 16:26:56.1705|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)) 2025-11-21 16:26:56.2245|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]]'. 2025-11-21 16:26:56.2245|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 11447.7066ms 2025-11-21 16:26:56.2245|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 16:26:56.2331|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11476.562ms 200 application/json; charset=utf-8 2025-11-21 16:33:50.1092|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=492 2025-11-21 16:33:50.1135|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:33:50.1135|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6.452ms 204 2025-11-21 16:33:50.1135|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=492 2025-11-21 16:33:50.1283|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:33:50.1283|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:33:50.1283|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:33:50.1283|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 16:33:50.1283|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). 2025-11-21 16:33:50.1283|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 16:33:50.1542|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)) 2025-11-21 16:33:50.1542|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]]'. 2025-11-21 16:33:50.1542|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 19.2722ms 2025-11-21 16:33:50.1593|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 16:33:50.1593|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 36.4899ms 200 application/json; charset=utf-8 2025-11-21 16:33:50.1882|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 16:33:50.1882|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 16:33:50.1882|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 16:33:50.1908|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:33:50.1908|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:33:50.1908|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:33:50.1908|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.348ms 204 2025-11-21 16:33:50.1908|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.9106ms 204 2025-11-21 16:33:50.1908|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.6018ms 204 2025-11-21 16:33:50.2095|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 16:33:50.2095|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 16:33:50.2095|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 16:33:50.2095|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:33:50.2095|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:33:50.2095|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:33:50.2095|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:33:50.2242|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:33:50.2242|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:33:50.2242|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:33:50.2242|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:33:50.2242|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:33:50.2242|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 16:33:50.2242|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 16:33:50.2242|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 16:33:50.2386|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). 2025-11-21 16:33:50.2386|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). 2025-11-21 16:33:50.2386|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). 2025-11-21 16:33:50.2386|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 16:33:50.2386|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 16:33:50.2386||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 16:33:50.2386|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 2025-11-21 16:33:50.2566|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]]'. 2025-11-21 16:33:50.2566|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 16.5488ms 2025-11-21 16:33:50.2566|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 16:33:50.2566|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 53.9182ms 200 application/json; charset=utf-8 2025-11-21 16:33:50.2566|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)) 2025-11-21 16:33:50.2566||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 16:33:50.2693||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 16:33:50.2693||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 16:33:50.2693||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 16:33:50.2944||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 16:33:50.2944||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 16:33:50.2999||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 16:33:50.2999||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:33:50.2999||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 16:33:50.2999||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 16:33:51.1145||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-8624381391.76","bookBalance":0.0,"accountType":null,"accountName":"AGD EXPENDITURE ACCOUNTS-GENERAL","currency":null,"accountno":"0111001279","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 16:33:51.1145||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:33:51.1145||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:33:51.1328||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:33:51.1328||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:33:51.1328||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 16:33:52.1142||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-8624381391.76","bookBalance":0.0,"accountType":null,"accountName":"AGD EXPENDITURE ACCOUNTS-GENERAL","currency":null,"accountno":"0111001279","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 16:33:52.1142||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:33:52.1142||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:33:52.1340||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:33:52.1340||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:33:52.1340||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 16:33:52.9892||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-5092566928.3","bookBalance":0.0,"accountType":null,"accountName":"AGD SALARIES AND WAGES ACCOUNT19","currency":null,"accountno":"0111001293","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 16:33:52.9892||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:33:52.9892||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:33:53.0073||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:33:53.0073||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:33:53.0073||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 16:33:53.7607||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[{"availableBalance":1008205876.55,"formattedAmount":"1,008,205,876.55","bookBalance":1008205876.55,"accountType":"","accountName":"TREASURY MAIN","currency":null,"accountno":"0111001255"},{"availableBalance":-8624381391.76,"formattedAmount":"-8,624,381,391.76","bookBalance":-8624381391.76,"accountType":"","accountName":"AGD EXPENDITURE ACCOUNTS-GENERAL","currency":null,"accountno":"0111001279"},{"availableBalance":-5092566928.3,"formattedAmount":"-5,092,566,928.30","bookBalance":-5092566928.3,"accountType":"","accountName":"AGD SALARIES AND WAGES ACCOUNT19","currency":null,"accountno":"0111001293"},{"availableBalance":-88918787.83,"formattedAmount":"-88,918,787.83","bookBalance":-88918787.83,"accountType":"","accountName":"AGD PENSIONS ACCOUNTS 1998","currency":null,"accountno":"0111001310"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"DIFD (UK) BUDGSUPPORT GRANT","currency":null,"accountno":"0111001358"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SALARY ADVANCES ACCOUNT","currency":null,"accountno":"0111001372"},{"availableBalance":5660770071.02,"formattedAmount":"5,660,770,071.02","bookBalance":5660770071.02,"accountType":"","accountName":"INCOME TAX TREAS AC","currency":null,"accountno":"0111001396"},{"availableBalance":1639971708.73,"formattedAmount":"1,639,971,708.73","bookBalance":1639971708.73,"accountType":"","accountName":"CUSTOMS AND EXCISE TREAS AC","currency":null,"accountno":"0111001413"},{"availableBalance":126840132.89,"formattedAmount":"126,840,132.89","bookBalance":126840132.89,"accountType":"","accountName":"MARINE RESOURCES TREAS AC","currency":null,"accountno":"0111001437"},{"availableBalance":1171902940.16,"formattedAmount":"1,171,902,940.16","bookBalance":1171902940.16,"accountType":"","accountName":"MINERAL RESOURCES TREAS AC","currency":null,"accountno":"0111001451"},{"availableBalance":10582481.0,"formattedAmount":"10,582,481.00","bookBalance":10582481.0,"accountType":"","accountName":"IMMIGRATION TREAS AC","currency":null,"accountno":"0111001475"},{"availableBalance":452767547.26,"formattedAmount":"452,767,547.26","bookBalance":452767547.26,"accountType":"","accountName":"GENERAL REVENUE TREAS AC","currency":null,"accountno":"0111001499"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"IMMIGRATION ESCROW ACCOUNT","currency":null,"accountno":"0111001516"},{"availableBalance":12109569.0,"formattedAmount":"12,109,569.00","bookBalance":12109569.0,"accountType":"","accountName":"ADMINISTRATOR AND REGISTRAR GENE","currency":null,"accountno":"0111001530"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"POLICE-UNCLAIMED SALARIES WAGES","currency":null,"accountno":"0111001578"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"EDU SCIENCE AND TECH-UNCLAIMED S","currency":null,"accountno":"0111001592"},{"availableBalance":2068951.32,"formattedAmount":"2,068,951.32","bookBalance":2068951.32,"accountType":"","accountName":"OTHER DEPTMINISTRIES-UNCLAIMED S","currency":null,"accountno":"0111001657"},{"availableBalance":650610335.09,"formattedAmount":"650,610,335.09","bookBalance":650610335.09,"accountType":"","accountName":"TREASURY WAYS AND MEANS ADVANCES","currency":null,"accountno":"0111001671"},{"availableBalance":990172300.0,"formattedAmount":"990,172,300.00","bookBalance":990172300.0,"accountType":"","accountName":"TREASURY BEARER BOND ACCOUNTS","currency":null,"accountno":"0111001695"},{"availableBalance":-1359921007.56,"formattedAmount":"-1,359,921,007.56","bookBalance":-1359921007.56,"accountType":"","accountName":"INTEREST ON TREASURY BEARER BOND","currency":null,"accountno":"0111001712"},{"availableBalance":-2301895609.95,"formattedAmount":"-2,301,895,609.95","bookBalance":-2301895609.95,"accountType":"","accountName":"EXTERNAL DEBT SERVICE PAYMENTS","currency":null,"accountno":"0111001736"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"KENEMA GOVT TREASURY DEPOSITS AC","currency":null,"accountno":"0111001750"},{"availableBalance":20494300.88,"formattedAmount":"20,494,300.88","bookBalance":20494300.88,"accountType":"","accountName":"HIPC TRUST FUND ACCOUNT","currency":null,"accountno":"0111001774"},{"availableBalance":-729960.98,"formattedAmount":"-729,960.98","bookBalance":-729960.98,"accountType":"","accountName":"TREASURY BILLS AC","currency":null,"accountno":"0111001839"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"OFIDSL GOV DEBT RELIEF AC","currency":null,"accountno":"0111001891"},{"availableBalance":115026697.18,"formattedAmount":"115,026,697.18","bookBalance":115026697.18,"accountType":"","accountName":"NOMINALCOST AC FOR 182-DAYS TREA","currency":null,"accountno":"0111001918"},{"availableBalance":3320175223.38,"formattedAmount":"3,320,175,223.38","bookBalance":3320175223.38,"accountType":"","accountName":"NOMINALCOST AC FOR 364-DAYS TREA","currency":null,"accountno":"0111001932"},{"availableBalance":-8559679.4,"formattedAmount":"-8,559,679.40","bookBalance":-8559679.4,"accountType":"","accountName":"COMMISSION AC FOR TREASURY BILLS","currency":null,"accountno":"0111001970"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"MIN OF FISHERIES AND MARINE RESO","currency":null,"accountno":"0111002032"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"NAT TELECOMS REVENUE ESCROW AC","currency":null,"accountno":"0111002056"},{"availableBalance":4213148.95,"formattedAmount":"4,213,148.95","bookBalance":4213148.95,"accountType":"","accountName":"SIERRA LEONE PHARMACY BOARD REVE","currency":null,"accountno":"0111002070"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SIERRA LEONE MARITIME ADMIN REVE","currency":null,"accountno":"0111002094"},{"availableBalance":13207078.86,"formattedAmount":"13,207,078.86","bookBalance":13207078.86,"accountType":"","accountName":"SLCAA FOREIGN TRAVEL TAX A/C","currency":null,"accountno":"0111002111"},{"availableBalance":2292475373.13,"formattedAmount":"2,292,475,373.13","bookBalance":2292475373.13,"accountType":"","accountName":"GOODS AND SERVICES TAX ACCOUNT","currency":null,"accountno":"0111002135"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"MARINES FINES AC","currency":null,"accountno":"0111002159"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"AFFORESTATION AC","currency":null,"accountno":"0111002197"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"NATIONAL IDENTITY CARD PROJECT E","currency":null,"accountno":"0111002252"},{"availableBalance":412398.2,"formattedAmount":"412,398.20","bookBalance":412398.2,"accountType":"","accountName":"MINISTRY OF PRESIDENTIAL AND PUB","currency":null,"accountno":"0111002276"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"JAPANESE GRANT FOR COPING WITH C","currency":null,"accountno":"0111002317"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"DIAMOND ROYALTIES AC","currency":null,"accountno":"0111002355"},{"availableBalance":11320146.22,"formattedAmount":"11,320,146.22","bookBalance":11320146.22,"accountType":"","accountName":"NON-TAX REVENUE AC","currency":null,"accountno":"0111002379"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"INT. ON 91 182 364 - DAYS TREASU","currency":null,"accountno":"0111002393"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SIERRATELEBID MODERNISATION AND","currency":null,"accountno":"0111002410"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"IMF BUDGET FINANCING TREASURY A/","currency":null,"accountno":"0111002843"},{"availableBalance":962154707.06,"formattedAmount":"962,154,707.06","bookBalance":962154707.06,"accountType":"","accountName":"PETROLEUM EXCISE DUTY ACCOUNT","currency":null,"accountno":"0111002984"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"CATASTROPHE CONTAINMENT RELIEF T","currency":null,"accountno":"0111002991"},{"availableBalance":-47389.02,"formattedAmount":"-47,389.02","bookBalance":-47389.02,"accountType":"","accountName":"INTEREST ON 91 DAYS TREASURY BIL","currency":null,"accountno":"0111003314"},{"availableBalance":-14662146.43,"formattedAmount":"-14,662,146.43","bookBalance":-14662146.43,"accountType":"","accountName":"INTEREST ON 182 DAYS TREASURY BI","currency":null,"accountno":"0111003321"},{"availableBalance":-4861882392.28,"formattedAmount":"-4,861,882,392.28","bookBalance":-4861882392.28,"accountType":"","accountName":"INTEREST ON 364 DAYS TREASURY BI","currency":null,"accountno":"0111003338"},{"availableBalance":13011149.86,"formattedAmount":"13,011,149.86","bookBalance":13011149.86,"accountType":"","accountName":"PETROLEUM REGULATORY AGENCY","currency":null,"accountno":"0111003448"},{"availableBalance":14624361.1,"formattedAmount":"14,624,361.10","bookBalance":14624361.1,"accountType":"","accountName":"PETROLEUM DIRECTORATE","currency":null,"accountno":"0111003455"},{"availableBalance":716682.0,"formattedAmount":"716,682.00","bookBalance":716682.0,"accountType":"","accountName":"ROAD MAINTENANCE FUND","currency":null,"accountno":"0111003462"},{"availableBalance":12446437.0,"formattedAmount":"12,446,437.00","bookBalance":12446437.0,"accountType":"","accountName":"ENVIRONMENTAL PROTECTION AGENCY","currency":null,"accountno":"0111003479"},{"availableBalance":2736797.72,"formattedAmount":"2,736,797.72","bookBalance":2736797.72,"accountType":"","accountName":"NATIONAL TELECOMMUNICATION COMMI","currency":null,"accountno":"0111003486"},{"availableBalance":34714514.21,"formattedAmount":"34,714,514.21","bookBalance":34714514.21,"accountType":"","accountName":"SIERRA LEONE MARITIME ADMINISTRA","currency":null,"accountno":"0111003493"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SPECIAL TAX & DUTIES","currency":null,"accountno":"0111003503"},{"availableBalance":431020263.0,"formattedAmount":"431,020,263.00","bookBalance":431020263.0,"accountType":"","accountName":"TIMBER EXPORT LEVY","currency":null,"accountno":"0111003527"},{"availableBalance":6709406.02,"formattedAmount":"6,709,406.02","bookBalance":6709406.02,"accountType":"","accountName":"AFFORESTATION AND CITIES LEVY","currency":null,"accountno":"0111003534"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"MULTI DONOR BASKET FUND FREE EDU","currency":null,"accountno":"0111003572"},{"availableBalance":622112.00,"formattedAmount":"622,112.00","bookBalance":622112.00,"accountType":"","accountName":"MULTI DONOR BASKET FUND 4 FREE E","currency":null,"accountno":"0111003596"},{"availableBalance":-10000000.00,"formattedAmount":"-10,000,000.00","bookBalance":-10000000.00,"accountType":"","accountName":"CORRUPTION REC FUNDS ACCOUNT (SL","currency":null,"accountno":"0111003637"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"CORRUPTION REC FUNDS ACCOUNT (US","currency":null,"accountno":"0111003644"},{"availableBalance":3983620.62,"formattedAmount":"3,983,620.62","bookBalance":3983620.62,"accountType":"","accountName":"SIERRA LEONE STANDARD BUREAU DIS","currency":null,"accountno":"0111003651"},{"availableBalance":2256323.84,"formattedAmount":"2,256,323.84","bookBalance":2256323.84,"accountType":"","accountName":"SIERRA LEONE ROADS SAFETY AUTHOR","currency":null,"accountno":"0111003668"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SLPA/GOSL CARGO TRACKING","currency":null,"accountno":"0111003699"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"RECO FUNDS BASED ON TECHNICAL AU","currency":null,"accountno":"0111003730"},{"availableBalance":16922324.29,"formattedAmount":"16,922,324.29","bookBalance":16922324.29,"accountType":"","accountName":"FISHERIES PROTECTION STATISTICS&","currency":null,"accountno":"0111003754"},{"availableBalance":673795.84,"formattedAmount":"673,795.84","bookBalance":673795.84,"accountType":"","accountName":"FREE HEALTH CARE INITIATIVE","currency":null,"accountno":"0111003778"},{"availableBalance":66065954.89,"formattedAmount":"66,065,954.89","bookBalance":66065954.89,"accountType":"","accountName":"PRODUCE MONITORING BOARD","currency":null,"accountno":"0111003785"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"USL TEACHING HOSPITAL COMPLEX","currency":null,"accountno":"0111003840"},{"availableBalance":11031596.25,"formattedAmount":"11,031,596.25","bookBalance":11031596.25,"accountType":"","accountName":"DUTY WAIVER JOINT MNT FUND TREAS","currency":null,"accountno":"0111003857"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"PUBLIC AUCTION COMMITTE TREASURY","currency":null,"accountno":"0111003864"},{"availableBalance":3623824.03,"formattedAmount":"3,623,824.03","bookBalance":3623824.03,"accountType":"","accountName":"COMM OF INQUIRY SPECIAL RECOVERY","currency":null,"accountno":"0111003888"},{"availableBalance":-2055291.44,"formattedAmount":"-2,055,291.44","bookBalance":-2055291.44,"accountType":"","accountName":"DAILY SUBSISTENCE ALW/MED EXP AC","currency":null,"accountno":"0111003929"},{"availableBalance":3780.96,"formattedAmount":"3,780.96","bookBalance":3780.96,"accountType":"","accountName":"S/L LOCAL CONTENT DEVELOPMENT FU","currency":null,"accountno":"0111003936"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"LSS/SLPA/GOSL CARGO TRACKING","currency":null,"accountno":"0111003943"},{"availableBalance":5000000.0,"formattedAmount":"5,000,000.00","bookBalance":5000000.0,"accountType":"","accountName":"LOCAL COUNCIL DEVELOPMENT PROJEC","currency":null,"accountno":"0111003950"},{"availableBalance":205694040.46,"formattedAmount":"205,694,040.46","bookBalance":205694040.46,"accountType":"","accountName":"DEBT MANAGEMENT TREASURY","currency":null,"accountno":"0111003967"},{"availableBalance":85000.0,"formattedAmount":"85,000.00","bookBalance":85000.0,"accountType":"","accountName":"AUDIT SERVICE S/L - AUDIT FEES","currency":null,"accountno":"0111003974"},{"availableBalance":911265.54,"formattedAmount":"911,265.54","bookBalance":911265.54,"accountType":"","accountName":"NPPA-REV FROM SALE OF BIDDING DO","currency":null,"accountno":"0111003981"},{"availableBalance":20024585.14,"formattedAmount":"20,024,585.14","bookBalance":20024585.14,"accountType":"","accountName":"VEHICLE LOAN SCHEME","currency":null,"accountno":"0111004005"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SLCAA AVIATION FEES","currency":null,"accountno":"0111004012"},{"availableBalance":3326998.54,"formattedAmount":"3,326,998.54","bookBalance":3326998.54,"accountType":"","accountName":"NACOVERC LAB FEES & ENFORCE FINE","currency":null,"accountno":"0111004029"},{"availableBalance":139164.95,"formattedAmount":"139,164.95","bookBalance":139164.95,"accountType":"","accountName":"CTN FEES - FOREIGN CURRENCY","currency":null,"accountno":"0111004036"},{"availableBalance":0.01,"formattedAmount":"0.01","bookBalance":0.01,"accountType":"","accountName":"NATCOM AND BRADCORP GATEWAY REVE","currency":null,"accountno":"0111004043"},{"availableBalance":1120558.48,"formattedAmount":"1,120,558.48","bookBalance":1120558.48,"accountType":"","accountName":"NAT. WATER RESOURCES MGMT AGENCY","currency":null,"accountno":"0111004067"},{"availableBalance":2252147.11,"formattedAmount":"2,252,147.11","bookBalance":2252147.11,"accountType":"","accountName":"NaCOVERC LABORATORY FEES (USD)","currency":null,"accountno":"0111004074"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"WAGE BILL REVOLVING FUND ACCOUNT","currency":null,"accountno":"0111004098"},{"availableBalance":83069442.86,"formattedAmount":"83,069,442.86","bookBalance":83069442.86,"accountType":"","accountName":"STATE LAND SALES A/C","currency":null,"accountno":"0111004160"},{"availableBalance":59935.0,"formattedAmount":"59,935.00","bookBalance":59935.0,"accountType":"","accountName":"34 MILITARY HOSPITAL","currency":null,"accountno":"0111004201"},{"availableBalance":2206155.0,"formattedAmount":"2,206,155.00","bookBalance":2206155.0,"accountType":"","accountName":"BETTING & GAMBLING LICENCES ACCO","currency":null,"accountno":"0111004232"},{"availableBalance":34865.21,"formattedAmount":"34,865.21","bookBalance":34865.21,"accountType":"","accountName":"PAY NO BRIBE CAMPAIGN PROJECT AC","currency":null,"accountno":"0111004421"},{"availableBalance":2293395.84,"formattedAmount":"2,293,395.84","bookBalance":2293395.84,"accountType":"","accountName":"LUNGI BRIDGE FEASIBILITY STUDY(S","currency":null,"accountno":"0111004438"},{"availableBalance":17.05,"formattedAmount":"17.05","bookBalance":17.05,"accountType":"","accountName":"MOPED UNICEF PROGRAM SUPPORT A/C","currency":null,"accountno":"0111004658"},{"availableBalance":164418.88,"formattedAmount":"164,418.88","bookBalance":164418.88,"accountType":"","accountName":"NAT ELECTIONS SUSTAIN TRUST FUND","currency":null,"accountno":"0111004809"},{"availableBalance":0.79,"formattedAmount":"0.79","bookBalance":0.79,"accountType":"","accountName":"IMF SPECIAL DRAWING RIGHTS RETRO","currency":null,"accountno":"0111004847"},{"availableBalance":74814520.77,"formattedAmount":"74,814,520.77","bookBalance":74814520.77,"accountType":"","accountName":"GoSL TSA REVENUE SHARE ACCOUNT","currency":null,"accountno":"0111004878"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"DUTY WAIVER","currency":null,"accountno":"0111004885"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"IMPREST AC FOR ACC GEN DEPT","currency":null,"accountno":"0111004926"},{"availableBalance":10685160.00,"formattedAmount":"10,685,160.00","bookBalance":10685160.00,"accountType":"","accountName":"SL NATIONAL SHIPPING COMPANY ESC","currency":null,"accountno":"0111004995"},{"availableBalance":-1009872.99,"formattedAmount":"-1,009,872.99","bookBalance":-1009872.99,"accountType":"","accountName":"MINISTRY OF DEFENCE QUARTERLY","currency":null,"accountno":"0111005057"},{"availableBalance":-458150.0,"formattedAmount":"-458,150.00","bookBalance":-458150.0,"accountType":"","accountName":"SIERRA LEONE POLICE GENERAL ACCO","currency":null,"accountno":"0111005129"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"SIERRA LEONE CORRECTIONAL SERVIC","currency":null,"accountno":"0111005136"},{"availableBalance":3446.86,"formattedAmount":"3,446.86","bookBalance":3446.86,"accountType":"","accountName":"IMMIGRATION ACCOUNT","currency":null,"accountno":"0111005150"},{"availableBalance":14952799.83,"formattedAmount":"14,952,799.83","bookBalance":14952799.83,"accountType":"","accountName":"DIAGNOSTIC MEDICAL CENTRE","currency":null,"accountno":"0111005260"},{"availableBalance":6699287.89,"formattedAmount":"6,699,287.89","bookBalance":6699287.89,"accountType":"","accountName":"SALES OF AIRSTRIP LANDS","currency":null,"accountno":"0111005332"},{"availableBalance":245148.43,"formattedAmount":"245,148.43","bookBalance":245148.43,"accountType":"","accountName":"GOSL NATIONAL TREE PLANTING","currency":null,"accountno":"0111005387"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"OFFICE OF THE OMBUDSMAN DISBURSE","currency":null,"accountno":"0111005844"},{"availableBalance":9034.5,"formattedAmount":"9,034.50","bookBalance":9034.5,"accountType":"","accountName":"FERTILIZER SUPPORT FUND","currency":null,"accountno":"0111006054"},{"availableBalance":117899.95,"formattedAmount":"117,899.95","bookBalance":117899.95,"accountType":"","accountName":"TERTIARY EDUCATION COMMISSION DI","currency":null,"accountno":"0111006308"},{"availableBalance":1500000.0,"formattedAmount":"1,500,000.00","bookBalance":1500000.0,"accountType":"","accountName":"SIERRA LEONE PHARMACY BOARD DISB","currency":null,"accountno":"0111006377"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"SLMET AGRIC VAL CHA DEV PROJ (AV","currency":null,"accountno":"0111006456"},{"availableBalance":1384132.82,"formattedAmount":"1,384,132.82","bookBalance":1384132.82,"accountType":"","accountName":"DIGITAL DEVELOPMENT FUND (DDF) A","currency":null,"accountno":"0111006535"}],"code":"01","success":true,"description":"Success"}] 2025-11-21 16:33:53.7607||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 16:33:53.7691|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]]'. 2025-11-21 16:33:53.7691|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 3523.2527ms 2025-11-21 16:33:53.7691|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 16:33:53.7691|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 3562.729ms 200 application/json; charset=utf-8 2025-11-21 16:33:53.9506||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"10547897.45","bookBalance":0.0,"accountType":null,"accountName":"ELECTRONIC FUNDS TRANS SUSPENSE","currency":null,"accountno":"SLE116030002","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 16:33:53.9506||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:33:53.9578||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:33:53.9578||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:33:53.9733||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:33:53.9733||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 16:33:55.0366||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-5092566928.3","bookBalance":0.0,"accountType":null,"accountName":"AGD SALARIES AND WAGES ACCOUNT19","currency":null,"accountno":"0111001293","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 16:33:55.0366||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:33:55.0366||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:33:55.0580||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:33:55.0580||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:33:55.0580||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 16:33:55.8476||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-88918787.83","bookBalance":0.0,"accountType":null,"accountName":"AGD PENSIONS ACCOUNTS 1998","currency":null,"accountno":"0111001310","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 16:33:55.8476||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:33:55.8476||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:33:55.8683||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:33:55.8683|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; 2025-11-21 16:33:55.8795|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 2025-11-21 16:33:55.8795|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:33:55.8795|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)) 2025-11-21 16:33:55.8795|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:33:55.8970|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)) 2025-11-21 16:33:55.8970|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:33:55.8970|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:33:55.8970|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:33:55.9111|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:33:55.9111|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:33:55.9111|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:33:55.9111|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:33:55.9111|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)) 2025-11-21 16:33:55.9725|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]]'. 2025-11-21 16:33:55.9725|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 5730.5199ms 2025-11-21 16:33:55.9725|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 16:33:55.9725|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5771.0155ms 200 application/json; charset=utf-8 2025-11-21 16:35:42.9084|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 16:35:42.9093|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 16:35:42.9093|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 16:35:42.9093|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:35:42.9093|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:35:42.9093|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:35:42.9093|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.2998ms 204 2025-11-21 16:35:42.9093|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.4636ms 204 2025-11-21 16:35:42.9093|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.5711ms 204 2025-11-21 16:35:42.9445|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 16:35:42.9445|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 16:35:42.9445|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 16:35:42.9445|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:35:42.9445|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:35:42.9445|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:35:42.9581|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:35:42.9581|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:35:42.9581|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 16:35:42.9581|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). 2025-11-21 16:35:42.9445|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:35:42.9581|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:35:42.9581||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 16:35:42.9581|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:35:42.9581|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:35:42.9748|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 16:35:42.9748||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 16:35:42.9748|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 16:35:42.9748|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). 2025-11-21 16:35:42.9748||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 16:35:42.9748|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). 2025-11-21 16:35:42.9748|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 16:35:42.9896|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 16:35:42.9896|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)) 2025-11-21 16:35:42.9896|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 2025-11-21 16:35:42.9896|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]]'. 2025-11-21 16:35:42.9896||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 16:35:42.9896|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 9.8097ms 2025-11-21 16:35:43.0030|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 16:35:43.0030||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 16:35:43.0030|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 59.5799ms 200 application/json; charset=utf-8 2025-11-21 16:35:43.0030||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 16:35:43.0030||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 16:35:43.0030||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 16:35:43.0211||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 16:35:43.0211||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:35:43.0211||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 16:35:44.9595||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-8624381391.76","bookBalance":0.0,"accountType":null,"accountName":"AGD EXPENDITURE ACCOUNTS-GENERAL","currency":null,"accountno":"0111001279","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 16:35:44.9595||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:35:44.9595||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:35:44.9813||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:35:44.9813||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:35:44.9813||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 16:35:45.2240||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[{"availableBalance":1008205876.55,"formattedAmount":"1,008,205,876.55","bookBalance":1008205876.55,"accountType":"","accountName":"TREASURY MAIN","currency":null,"accountno":"0111001255"},{"availableBalance":-8624381391.76,"formattedAmount":"-8,624,381,391.76","bookBalance":-8624381391.76,"accountType":"","accountName":"AGD EXPENDITURE ACCOUNTS-GENERAL","currency":null,"accountno":"0111001279"},{"availableBalance":-5092566928.3,"formattedAmount":"-5,092,566,928.30","bookBalance":-5092566928.3,"accountType":"","accountName":"AGD SALARIES AND WAGES ACCOUNT19","currency":null,"accountno":"0111001293"},{"availableBalance":-88918787.83,"formattedAmount":"-88,918,787.83","bookBalance":-88918787.83,"accountType":"","accountName":"AGD PENSIONS ACCOUNTS 1998","currency":null,"accountno":"0111001310"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"DIFD (UK) BUDGSUPPORT GRANT","currency":null,"accountno":"0111001358"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SALARY ADVANCES ACCOUNT","currency":null,"accountno":"0111001372"},{"availableBalance":5660770071.02,"formattedAmount":"5,660,770,071.02","bookBalance":5660770071.02,"accountType":"","accountName":"INCOME TAX TREAS AC","currency":null,"accountno":"0111001396"},{"availableBalance":1639971708.73,"formattedAmount":"1,639,971,708.73","bookBalance":1639971708.73,"accountType":"","accountName":"CUSTOMS AND EXCISE TREAS AC","currency":null,"accountno":"0111001413"},{"availableBalance":126840132.89,"formattedAmount":"126,840,132.89","bookBalance":126840132.89,"accountType":"","accountName":"MARINE RESOURCES TREAS AC","currency":null,"accountno":"0111001437"},{"availableBalance":1171902940.16,"formattedAmount":"1,171,902,940.16","bookBalance":1171902940.16,"accountType":"","accountName":"MINERAL RESOURCES TREAS AC","currency":null,"accountno":"0111001451"},{"availableBalance":10582481.0,"formattedAmount":"10,582,481.00","bookBalance":10582481.0,"accountType":"","accountName":"IMMIGRATION TREAS AC","currency":null,"accountno":"0111001475"},{"availableBalance":452767547.26,"formattedAmount":"452,767,547.26","bookBalance":452767547.26,"accountType":"","accountName":"GENERAL REVENUE TREAS AC","currency":null,"accountno":"0111001499"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"IMMIGRATION ESCROW ACCOUNT","currency":null,"accountno":"0111001516"},{"availableBalance":12109569.0,"formattedAmount":"12,109,569.00","bookBalance":12109569.0,"accountType":"","accountName":"ADMINISTRATOR AND REGISTRAR GENE","currency":null,"accountno":"0111001530"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"POLICE-UNCLAIMED SALARIES WAGES","currency":null,"accountno":"0111001578"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"EDU SCIENCE AND TECH-UNCLAIMED S","currency":null,"accountno":"0111001592"},{"availableBalance":2068951.32,"formattedAmount":"2,068,951.32","bookBalance":2068951.32,"accountType":"","accountName":"OTHER DEPTMINISTRIES-UNCLAIMED S","currency":null,"accountno":"0111001657"},{"availableBalance":650610335.09,"formattedAmount":"650,610,335.09","bookBalance":650610335.09,"accountType":"","accountName":"TREASURY WAYS AND MEANS ADVANCES","currency":null,"accountno":"0111001671"},{"availableBalance":990172300.0,"formattedAmount":"990,172,300.00","bookBalance":990172300.0,"accountType":"","accountName":"TREASURY BEARER BOND ACCOUNTS","currency":null,"accountno":"0111001695"},{"availableBalance":-1359921007.56,"formattedAmount":"-1,359,921,007.56","bookBalance":-1359921007.56,"accountType":"","accountName":"INTEREST ON TREASURY BEARER BOND","currency":null,"accountno":"0111001712"},{"availableBalance":-2301895609.95,"formattedAmount":"-2,301,895,609.95","bookBalance":-2301895609.95,"accountType":"","accountName":"EXTERNAL DEBT SERVICE PAYMENTS","currency":null,"accountno":"0111001736"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"KENEMA GOVT TREASURY DEPOSITS AC","currency":null,"accountno":"0111001750"},{"availableBalance":20494300.88,"formattedAmount":"20,494,300.88","bookBalance":20494300.88,"accountType":"","accountName":"HIPC TRUST FUND ACCOUNT","currency":null,"accountno":"0111001774"},{"availableBalance":-729960.98,"formattedAmount":"-729,960.98","bookBalance":-729960.98,"accountType":"","accountName":"TREASURY BILLS AC","currency":null,"accountno":"0111001839"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"OFIDSL GOV DEBT RELIEF AC","currency":null,"accountno":"0111001891"},{"availableBalance":115026697.18,"formattedAmount":"115,026,697.18","bookBalance":115026697.18,"accountType":"","accountName":"NOMINALCOST AC FOR 182-DAYS TREA","currency":null,"accountno":"0111001918"},{"availableBalance":3320175223.38,"formattedAmount":"3,320,175,223.38","bookBalance":3320175223.38,"accountType":"","accountName":"NOMINALCOST AC FOR 364-DAYS TREA","currency":null,"accountno":"0111001932"},{"availableBalance":-8559679.4,"formattedAmount":"-8,559,679.40","bookBalance":-8559679.4,"accountType":"","accountName":"COMMISSION AC FOR TREASURY BILLS","currency":null,"accountno":"0111001970"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"MIN OF FISHERIES AND MARINE RESO","currency":null,"accountno":"0111002032"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"NAT TELECOMS REVENUE ESCROW AC","currency":null,"accountno":"0111002056"},{"availableBalance":4213148.95,"formattedAmount":"4,213,148.95","bookBalance":4213148.95,"accountType":"","accountName":"SIERRA LEONE PHARMACY BOARD REVE","currency":null,"accountno":"0111002070"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SIERRA LEONE MARITIME ADMIN REVE","currency":null,"accountno":"0111002094"},{"availableBalance":13207078.86,"formattedAmount":"13,207,078.86","bookBalance":13207078.86,"accountType":"","accountName":"SLCAA FOREIGN TRAVEL TAX A/C","currency":null,"accountno":"0111002111"},{"availableBalance":2292475373.13,"formattedAmount":"2,292,475,373.13","bookBalance":2292475373.13,"accountType":"","accountName":"GOODS AND SERVICES TAX ACCOUNT","currency":null,"accountno":"0111002135"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"MARINES FINES AC","currency":null,"accountno":"0111002159"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"AFFORESTATION AC","currency":null,"accountno":"0111002197"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"NATIONAL IDENTITY CARD PROJECT E","currency":null,"accountno":"0111002252"},{"availableBalance":412398.2,"formattedAmount":"412,398.20","bookBalance":412398.2,"accountType":"","accountName":"MINISTRY OF PRESIDENTIAL AND PUB","currency":null,"accountno":"0111002276"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"JAPANESE GRANT FOR COPING WITH C","currency":null,"accountno":"0111002317"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"DIAMOND ROYALTIES AC","currency":null,"accountno":"0111002355"},{"availableBalance":11320146.22,"formattedAmount":"11,320,146.22","bookBalance":11320146.22,"accountType":"","accountName":"NON-TAX REVENUE AC","currency":null,"accountno":"0111002379"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"INT. ON 91 182 364 - DAYS TREASU","currency":null,"accountno":"0111002393"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SIERRATELEBID MODERNISATION AND","currency":null,"accountno":"0111002410"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"IMF BUDGET FINANCING TREASURY A/","currency":null,"accountno":"0111002843"},{"availableBalance":962154707.06,"formattedAmount":"962,154,707.06","bookBalance":962154707.06,"accountType":"","accountName":"PETROLEUM EXCISE DUTY ACCOUNT","currency":null,"accountno":"0111002984"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"CATASTROPHE CONTAINMENT RELIEF T","currency":null,"accountno":"0111002991"},{"availableBalance":-47389.02,"formattedAmount":"-47,389.02","bookBalance":-47389.02,"accountType":"","accountName":"INTEREST ON 91 DAYS TREASURY BIL","currency":null,"accountno":"0111003314"},{"availableBalance":-14662146.43,"formattedAmount":"-14,662,146.43","bookBalance":-14662146.43,"accountType":"","accountName":"INTEREST ON 182 DAYS TREASURY BI","currency":null,"accountno":"0111003321"},{"availableBalance":-4861882392.28,"formattedAmount":"-4,861,882,392.28","bookBalance":-4861882392.28,"accountType":"","accountName":"INTEREST ON 364 DAYS TREASURY BI","currency":null,"accountno":"0111003338"},{"availableBalance":13011149.86,"formattedAmount":"13,011,149.86","bookBalance":13011149.86,"accountType":"","accountName":"PETROLEUM REGULATORY AGENCY","currency":null,"accountno":"0111003448"},{"availableBalance":14624361.1,"formattedAmount":"14,624,361.10","bookBalance":14624361.1,"accountType":"","accountName":"PETROLEUM DIRECTORATE","currency":null,"accountno":"0111003455"},{"availableBalance":716682.0,"formattedAmount":"716,682.00","bookBalance":716682.0,"accountType":"","accountName":"ROAD MAINTENANCE FUND","currency":null,"accountno":"0111003462"},{"availableBalance":12446437.0,"formattedAmount":"12,446,437.00","bookBalance":12446437.0,"accountType":"","accountName":"ENVIRONMENTAL PROTECTION AGENCY","currency":null,"accountno":"0111003479"},{"availableBalance":2736797.72,"formattedAmount":"2,736,797.72","bookBalance":2736797.72,"accountType":"","accountName":"NATIONAL TELECOMMUNICATION COMMI","currency":null,"accountno":"0111003486"},{"availableBalance":34714514.21,"formattedAmount":"34,714,514.21","bookBalance":34714514.21,"accountType":"","accountName":"SIERRA LEONE MARITIME ADMINISTRA","currency":null,"accountno":"0111003493"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SPECIAL TAX & DUTIES","currency":null,"accountno":"0111003503"},{"availableBalance":431020263.0,"formattedAmount":"431,020,263.00","bookBalance":431020263.0,"accountType":"","accountName":"TIMBER EXPORT LEVY","currency":null,"accountno":"0111003527"},{"availableBalance":6709406.02,"formattedAmount":"6,709,406.02","bookBalance":6709406.02,"accountType":"","accountName":"AFFORESTATION AND CITIES LEVY","currency":null,"accountno":"0111003534"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"MULTI DONOR BASKET FUND FREE EDU","currency":null,"accountno":"0111003572"},{"availableBalance":622112.00,"formattedAmount":"622,112.00","bookBalance":622112.00,"accountType":"","accountName":"MULTI DONOR BASKET FUND 4 FREE E","currency":null,"accountno":"0111003596"},{"availableBalance":-10000000.00,"formattedAmount":"-10,000,000.00","bookBalance":-10000000.00,"accountType":"","accountName":"CORRUPTION REC FUNDS ACCOUNT (SL","currency":null,"accountno":"0111003637"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"CORRUPTION REC FUNDS ACCOUNT (US","currency":null,"accountno":"0111003644"},{"availableBalance":3983620.62,"formattedAmount":"3,983,620.62","bookBalance":3983620.62,"accountType":"","accountName":"SIERRA LEONE STANDARD BUREAU DIS","currency":null,"accountno":"0111003651"},{"availableBalance":2256323.84,"formattedAmount":"2,256,323.84","bookBalance":2256323.84,"accountType":"","accountName":"SIERRA LEONE ROADS SAFETY AUTHOR","currency":null,"accountno":"0111003668"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SLPA/GOSL CARGO TRACKING","currency":null,"accountno":"0111003699"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"RECO FUNDS BASED ON TECHNICAL AU","currency":null,"accountno":"0111003730"},{"availableBalance":16922324.29,"formattedAmount":"16,922,324.29","bookBalance":16922324.29,"accountType":"","accountName":"FISHERIES PROTECTION STATISTICS&","currency":null,"accountno":"0111003754"},{"availableBalance":673795.84,"formattedAmount":"673,795.84","bookBalance":673795.84,"accountType":"","accountName":"FREE HEALTH CARE INITIATIVE","currency":null,"accountno":"0111003778"},{"availableBalance":66065954.89,"formattedAmount":"66,065,954.89","bookBalance":66065954.89,"accountType":"","accountName":"PRODUCE MONITORING BOARD","currency":null,"accountno":"0111003785"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"USL TEACHING HOSPITAL COMPLEX","currency":null,"accountno":"0111003840"},{"availableBalance":11031596.25,"formattedAmount":"11,031,596.25","bookBalance":11031596.25,"accountType":"","accountName":"DUTY WAIVER JOINT MNT FUND TREAS","currency":null,"accountno":"0111003857"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"PUBLIC AUCTION COMMITTE TREASURY","currency":null,"accountno":"0111003864"},{"availableBalance":3623824.03,"formattedAmount":"3,623,824.03","bookBalance":3623824.03,"accountType":"","accountName":"COMM OF INQUIRY SPECIAL RECOVERY","currency":null,"accountno":"0111003888"},{"availableBalance":-2055291.44,"formattedAmount":"-2,055,291.44","bookBalance":-2055291.44,"accountType":"","accountName":"DAILY SUBSISTENCE ALW/MED EXP AC","currency":null,"accountno":"0111003929"},{"availableBalance":3780.96,"formattedAmount":"3,780.96","bookBalance":3780.96,"accountType":"","accountName":"S/L LOCAL CONTENT DEVELOPMENT FU","currency":null,"accountno":"0111003936"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"LSS/SLPA/GOSL CARGO TRACKING","currency":null,"accountno":"0111003943"},{"availableBalance":5000000.0,"formattedAmount":"5,000,000.00","bookBalance":5000000.0,"accountType":"","accountName":"LOCAL COUNCIL DEVELOPMENT PROJEC","currency":null,"accountno":"0111003950"},{"availableBalance":205694040.46,"formattedAmount":"205,694,040.46","bookBalance":205694040.46,"accountType":"","accountName":"DEBT MANAGEMENT TREASURY","currency":null,"accountno":"0111003967"},{"availableBalance":85000.0,"formattedAmount":"85,000.00","bookBalance":85000.0,"accountType":"","accountName":"AUDIT SERVICE S/L - AUDIT FEES","currency":null,"accountno":"0111003974"},{"availableBalance":911265.54,"formattedAmount":"911,265.54","bookBalance":911265.54,"accountType":"","accountName":"NPPA-REV FROM SALE OF BIDDING DO","currency":null,"accountno":"0111003981"},{"availableBalance":20024585.14,"formattedAmount":"20,024,585.14","bookBalance":20024585.14,"accountType":"","accountName":"VEHICLE LOAN SCHEME","currency":null,"accountno":"0111004005"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SLCAA AVIATION FEES","currency":null,"accountno":"0111004012"},{"availableBalance":3326998.54,"formattedAmount":"3,326,998.54","bookBalance":3326998.54,"accountType":"","accountName":"NACOVERC LAB FEES & ENFORCE FINE","currency":null,"accountno":"0111004029"},{"availableBalance":139164.95,"formattedAmount":"139,164.95","bookBalance":139164.95,"accountType":"","accountName":"CTN FEES - FOREIGN CURRENCY","currency":null,"accountno":"0111004036"},{"availableBalance":0.01,"formattedAmount":"0.01","bookBalance":0.01,"accountType":"","accountName":"NATCOM AND BRADCORP GATEWAY REVE","currency":null,"accountno":"0111004043"},{"availableBalance":1120558.48,"formattedAmount":"1,120,558.48","bookBalance":1120558.48,"accountType":"","accountName":"NAT. WATER RESOURCES MGMT AGENCY","currency":null,"accountno":"0111004067"},{"availableBalance":2252147.11,"formattedAmount":"2,252,147.11","bookBalance":2252147.11,"accountType":"","accountName":"NaCOVERC LABORATORY FEES (USD)","currency":null,"accountno":"0111004074"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"WAGE BILL REVOLVING FUND ACCOUNT","currency":null,"accountno":"0111004098"},{"availableBalance":83069442.86,"formattedAmount":"83,069,442.86","bookBalance":83069442.86,"accountType":"","accountName":"STATE LAND SALES A/C","currency":null,"accountno":"0111004160"},{"availableBalance":59935.0,"formattedAmount":"59,935.00","bookBalance":59935.0,"accountType":"","accountName":"34 MILITARY HOSPITAL","currency":null,"accountno":"0111004201"},{"availableBalance":2206155.0,"formattedAmount":"2,206,155.00","bookBalance":2206155.0,"accountType":"","accountName":"BETTING & GAMBLING LICENCES ACCO","currency":null,"accountno":"0111004232"},{"availableBalance":34865.21,"formattedAmount":"34,865.21","bookBalance":34865.21,"accountType":"","accountName":"PAY NO BRIBE CAMPAIGN PROJECT AC","currency":null,"accountno":"0111004421"},{"availableBalance":2293395.84,"formattedAmount":"2,293,395.84","bookBalance":2293395.84,"accountType":"","accountName":"LUNGI BRIDGE FEASIBILITY STUDY(S","currency":null,"accountno":"0111004438"},{"availableBalance":17.05,"formattedAmount":"17.05","bookBalance":17.05,"accountType":"","accountName":"MOPED UNICEF PROGRAM SUPPORT A/C","currency":null,"accountno":"0111004658"},{"availableBalance":164418.88,"formattedAmount":"164,418.88","bookBalance":164418.88,"accountType":"","accountName":"NAT ELECTIONS SUSTAIN TRUST FUND","currency":null,"accountno":"0111004809"},{"availableBalance":0.79,"formattedAmount":"0.79","bookBalance":0.79,"accountType":"","accountName":"IMF SPECIAL DRAWING RIGHTS RETRO","currency":null,"accountno":"0111004847"},{"availableBalance":74814520.77,"formattedAmount":"74,814,520.77","bookBalance":74814520.77,"accountType":"","accountName":"GoSL TSA REVENUE SHARE ACCOUNT","currency":null,"accountno":"0111004878"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"DUTY WAIVER","currency":null,"accountno":"0111004885"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"IMPREST AC FOR ACC GEN DEPT","currency":null,"accountno":"0111004926"},{"availableBalance":10685160.00,"formattedAmount":"10,685,160.00","bookBalance":10685160.00,"accountType":"","accountName":"SL NATIONAL SHIPPING COMPANY ESC","currency":null,"accountno":"0111004995"},{"availableBalance":-1009872.99,"formattedAmount":"-1,009,872.99","bookBalance":-1009872.99,"accountType":"","accountName":"MINISTRY OF DEFENCE QUARTERLY","currency":null,"accountno":"0111005057"},{"availableBalance":-458150.0,"formattedAmount":"-458,150.00","bookBalance":-458150.0,"accountType":"","accountName":"SIERRA LEONE POLICE GENERAL ACCO","currency":null,"accountno":"0111005129"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"SIERRA LEONE CORRECTIONAL SERVIC","currency":null,"accountno":"0111005136"},{"availableBalance":3446.86,"formattedAmount":"3,446.86","bookBalance":3446.86,"accountType":"","accountName":"IMMIGRATION ACCOUNT","currency":null,"accountno":"0111005150"},{"availableBalance":14952799.83,"formattedAmount":"14,952,799.83","bookBalance":14952799.83,"accountType":"","accountName":"DIAGNOSTIC MEDICAL CENTRE","currency":null,"accountno":"0111005260"},{"availableBalance":6699287.89,"formattedAmount":"6,699,287.89","bookBalance":6699287.89,"accountType":"","accountName":"SALES OF AIRSTRIP LANDS","currency":null,"accountno":"0111005332"},{"availableBalance":245148.43,"formattedAmount":"245,148.43","bookBalance":245148.43,"accountType":"","accountName":"GOSL NATIONAL TREE PLANTING","currency":null,"accountno":"0111005387"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"OFFICE OF THE OMBUDSMAN DISBURSE","currency":null,"accountno":"0111005844"},{"availableBalance":9034.5,"formattedAmount":"9,034.50","bookBalance":9034.5,"accountType":"","accountName":"FERTILIZER SUPPORT FUND","currency":null,"accountno":"0111006054"},{"availableBalance":117899.95,"formattedAmount":"117,899.95","bookBalance":117899.95,"accountType":"","accountName":"TERTIARY EDUCATION COMMISSION DI","currency":null,"accountno":"0111006308"},{"availableBalance":1500000.0,"formattedAmount":"1,500,000.00","bookBalance":1500000.0,"accountType":"","accountName":"SIERRA LEONE PHARMACY BOARD DISB","currency":null,"accountno":"0111006377"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"SLMET AGRIC VAL CHA DEV PROJ (AV","currency":null,"accountno":"0111006456"},{"availableBalance":1384132.82,"formattedAmount":"1,384,132.82","bookBalance":1384132.82,"accountType":"","accountName":"DIGITAL DEVELOPMENT FUND (DDF) A","currency":null,"accountno":"0111006535"}],"code":"01","success":true,"description":"Success"}] 2025-11-21 16:35:45.2240||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 16:35:45.2240|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]]'. 2025-11-21 16:35:45.2240|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 2269.4407ms 2025-11-21 16:35:45.2240|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 16:35:45.2391|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2294.561ms 200 application/json; charset=utf-8 2025-11-21 16:35:45.7973||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-8624381391.76","bookBalance":0.0,"accountType":null,"accountName":"AGD EXPENDITURE ACCOUNTS-GENERAL","currency":null,"accountno":"0111001279","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 16:35:45.8015||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:35:45.8015||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:35:45.8174||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:35:45.8174||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:35:45.8174||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 16:35:46.6899||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-5092566928.3","bookBalance":0.0,"accountType":null,"accountName":"AGD SALARIES AND WAGES ACCOUNT19","currency":null,"accountno":"0111001293","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 16:35:46.6940||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:35:46.6940||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:35:46.7094||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:35:46.7094||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:35:46.7094||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 16:35:47.5365||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"10547897.45","bookBalance":0.0,"accountType":null,"accountName":"ELECTRONIC FUNDS TRANS SUSPENSE","currency":null,"accountno":"SLE116030002","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 16:35:47.5365||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:35:47.5365||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:35:47.5578||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:35:47.5578||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:35:47.5661||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 16:35:48.3904||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-5092566928.3","bookBalance":0.0,"accountType":null,"accountName":"AGD SALARIES AND WAGES ACCOUNT19","currency":null,"accountno":"0111001293","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 16:35:48.3957||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:35:48.3957||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:35:48.4146||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:35:48.4146||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:35:48.4146||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 16:35:49.3127||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-88918787.83","bookBalance":0.0,"accountType":null,"accountName":"AGD PENSIONS ACCOUNTS 1998","currency":null,"accountno":"0111001310","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 16:35:49.3210||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:35:49.3210||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:35:49.3455||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:35:49.3559|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; 2025-11-21 16:35:49.3559|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 2025-11-21 16:35:49.3645|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:35:49.3645|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:35:49.3645|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:35:49.3790|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:35:49.3790|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:35:49.3790|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:35:49.3790|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:35:49.3966|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:35:49.3966|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:35:49.3966|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:35:49.3966|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:35:49.3966|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:35:49.4435|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]]'. 2025-11-21 16:35:49.4435|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6462.2677ms 2025-11-21 16:35:49.4435|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 16:35:49.4435|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6507.0654ms 200 application/json; charset=utf-8 2025-11-21 16:35:55.1601|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 16:35:55.1601|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 16:35:55.1601|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:35:55.1601|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:35:55.1601|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.9482ms 204 2025-11-21 16:35:55.1601|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.0676ms 204 2025-11-21 16:35:55.1601|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 16:35:55.1601|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 16:35:55.1601|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:35:55.1760|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:35:55.1760|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:35:55.1760|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:35:55.1760|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:35:55.1760|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:35:55.1760|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 16:35:55.1760|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 16:35:55.1760|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). 2025-11-21 16:35:55.1916|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). 2025-11-21 16:35:55.1916|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 16:35:55.1916|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 16:35:55.1916|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] 2025-11-21 16:35:55.1916|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]]'. 2025-11-21 16:35:55.1916|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 10.1984ms 2025-11-21 16:35:55.1916|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] 2025-11-21 16:35:55.1916|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 16:35:55.2075|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 34.2228ms 200 application/json; charset=utf-8 2025-11-21 16:35:55.2075|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]]'. 2025-11-21 16:35:55.2075|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 22.6045ms 2025-11-21 16:35:55.2075|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 16:35:55.2075|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 47.971ms 200 application/json; charset=utf-8 2025-11-21 16:37:05.5586|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 16:37:05.5586|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 16:37:05.5586|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 16:37:05.5586|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:37:05.5586|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:37:05.5586|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:37:05.5586|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.4334ms 204 2025-11-21 16:37:05.5586|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.6127ms 204 2025-11-21 16:37:05.5586|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.6859ms 204 2025-11-21 16:37:05.5759|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 16:37:05.5759|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 16:37:05.5759|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 16:37:05.5759|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:37:05.5759|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:37:05.5759|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:37:05.5759|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:37:05.5909|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:37:05.5909|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:37:05.5909|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:37:05.5909|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:37:05.5909|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:37:05.5909|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 16:37:05.5909|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 16:37:05.6055|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 16:37:05.6055|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). 2025-11-21 16:37:05.6055|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). 2025-11-21 16:37:05.6055|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). 2025-11-21 16:37:05.6055|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 16:37:05.6055|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 16:37:05.6055||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 16:37:05.6232|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)) 2025-11-21 16:37:05.6232|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 2025-11-21 16:37:05.6232|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]]'. 2025-11-21 16:37:05.6232||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 16:37:05.6232|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 16.1846ms 2025-11-21 16:37:05.6374||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 16:37:05.6374|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 16:37:05.6374||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 16:37:05.6374|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 65.7389ms 200 application/json; charset=utf-8 2025-11-21 16:37:05.6374||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 16:37:05.6550||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 16:37:05.6550||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 16:37:05.6550||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 16:37:05.6550||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 16:37:05.6550||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:37:05.6682||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 16:37:06.4648||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-8624381391.76","bookBalance":0.0,"accountType":null,"accountName":"AGD EXPENDITURE ACCOUNTS-GENERAL","currency":null,"accountno":"0111001279","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 16:37:06.4648||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:37:06.4648||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:37:06.4837||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:37:06.4837||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:37:06.4837||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 16:37:07.2945||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-8624381391.76","bookBalance":0.0,"accountType":null,"accountName":"AGD EXPENDITURE ACCOUNTS-GENERAL","currency":null,"accountno":"0111001279","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 16:37:07.2945||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:37:07.2945||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:37:07.3196||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:37:07.3239||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:37:07.3239||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 16:37:08.1902||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-5092566928.3","bookBalance":0.0,"accountType":null,"accountName":"AGD SALARIES AND WAGES ACCOUNT19","currency":null,"accountno":"0111001293","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 16:37:08.1902||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:37:08.1902||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:37:08.2078||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:37:08.2078||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:37:08.2078||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 16:37:09.0192||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[{"availableBalance":1008205876.55,"formattedAmount":"1,008,205,876.55","bookBalance":1008205876.55,"accountType":"","accountName":"TREASURY MAIN","currency":null,"accountno":"0111001255"},{"availableBalance":-8624381391.76,"formattedAmount":"-8,624,381,391.76","bookBalance":-8624381391.76,"accountType":"","accountName":"AGD EXPENDITURE ACCOUNTS-GENERAL","currency":null,"accountno":"0111001279"},{"availableBalance":-5092566928.3,"formattedAmount":"-5,092,566,928.30","bookBalance":-5092566928.3,"accountType":"","accountName":"AGD SALARIES AND WAGES ACCOUNT19","currency":null,"accountno":"0111001293"},{"availableBalance":-88918787.83,"formattedAmount":"-88,918,787.83","bookBalance":-88918787.83,"accountType":"","accountName":"AGD PENSIONS ACCOUNTS 1998","currency":null,"accountno":"0111001310"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"DIFD (UK) BUDGSUPPORT GRANT","currency":null,"accountno":"0111001358"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SALARY ADVANCES ACCOUNT","currency":null,"accountno":"0111001372"},{"availableBalance":5660770071.02,"formattedAmount":"5,660,770,071.02","bookBalance":5660770071.02,"accountType":"","accountName":"INCOME TAX TREAS AC","currency":null,"accountno":"0111001396"},{"availableBalance":1639971708.73,"formattedAmount":"1,639,971,708.73","bookBalance":1639971708.73,"accountType":"","accountName":"CUSTOMS AND EXCISE TREAS AC","currency":null,"accountno":"0111001413"},{"availableBalance":126840132.89,"formattedAmount":"126,840,132.89","bookBalance":126840132.89,"accountType":"","accountName":"MARINE RESOURCES TREAS AC","currency":null,"accountno":"0111001437"},{"availableBalance":1171902940.16,"formattedAmount":"1,171,902,940.16","bookBalance":1171902940.16,"accountType":"","accountName":"MINERAL RESOURCES TREAS AC","currency":null,"accountno":"0111001451"},{"availableBalance":10582481.0,"formattedAmount":"10,582,481.00","bookBalance":10582481.0,"accountType":"","accountName":"IMMIGRATION TREAS AC","currency":null,"accountno":"0111001475"},{"availableBalance":452767547.26,"formattedAmount":"452,767,547.26","bookBalance":452767547.26,"accountType":"","accountName":"GENERAL REVENUE TREAS AC","currency":null,"accountno":"0111001499"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"IMMIGRATION ESCROW ACCOUNT","currency":null,"accountno":"0111001516"},{"availableBalance":12109569.0,"formattedAmount":"12,109,569.00","bookBalance":12109569.0,"accountType":"","accountName":"ADMINISTRATOR AND REGISTRAR GENE","currency":null,"accountno":"0111001530"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"POLICE-UNCLAIMED SALARIES WAGES","currency":null,"accountno":"0111001578"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"EDU SCIENCE AND TECH-UNCLAIMED S","currency":null,"accountno":"0111001592"},{"availableBalance":2068951.32,"formattedAmount":"2,068,951.32","bookBalance":2068951.32,"accountType":"","accountName":"OTHER DEPTMINISTRIES-UNCLAIMED S","currency":null,"accountno":"0111001657"},{"availableBalance":650610335.09,"formattedAmount":"650,610,335.09","bookBalance":650610335.09,"accountType":"","accountName":"TREASURY WAYS AND MEANS ADVANCES","currency":null,"accountno":"0111001671"},{"availableBalance":990172300.0,"formattedAmount":"990,172,300.00","bookBalance":990172300.0,"accountType":"","accountName":"TREASURY BEARER BOND ACCOUNTS","currency":null,"accountno":"0111001695"},{"availableBalance":-1359921007.56,"formattedAmount":"-1,359,921,007.56","bookBalance":-1359921007.56,"accountType":"","accountName":"INTEREST ON TREASURY BEARER BOND","currency":null,"accountno":"0111001712"},{"availableBalance":-2301895609.95,"formattedAmount":"-2,301,895,609.95","bookBalance":-2301895609.95,"accountType":"","accountName":"EXTERNAL DEBT SERVICE PAYMENTS","currency":null,"accountno":"0111001736"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"KENEMA GOVT TREASURY DEPOSITS AC","currency":null,"accountno":"0111001750"},{"availableBalance":20494300.88,"formattedAmount":"20,494,300.88","bookBalance":20494300.88,"accountType":"","accountName":"HIPC TRUST FUND ACCOUNT","currency":null,"accountno":"0111001774"},{"availableBalance":-729960.98,"formattedAmount":"-729,960.98","bookBalance":-729960.98,"accountType":"","accountName":"TREASURY BILLS AC","currency":null,"accountno":"0111001839"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"OFIDSL GOV DEBT RELIEF AC","currency":null,"accountno":"0111001891"},{"availableBalance":115026697.18,"formattedAmount":"115,026,697.18","bookBalance":115026697.18,"accountType":"","accountName":"NOMINALCOST AC FOR 182-DAYS TREA","currency":null,"accountno":"0111001918"},{"availableBalance":3320175223.38,"formattedAmount":"3,320,175,223.38","bookBalance":3320175223.38,"accountType":"","accountName":"NOMINALCOST AC FOR 364-DAYS TREA","currency":null,"accountno":"0111001932"},{"availableBalance":-8559679.4,"formattedAmount":"-8,559,679.40","bookBalance":-8559679.4,"accountType":"","accountName":"COMMISSION AC FOR TREASURY BILLS","currency":null,"accountno":"0111001970"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"MIN OF FISHERIES AND MARINE RESO","currency":null,"accountno":"0111002032"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"NAT TELECOMS REVENUE ESCROW AC","currency":null,"accountno":"0111002056"},{"availableBalance":4213148.95,"formattedAmount":"4,213,148.95","bookBalance":4213148.95,"accountType":"","accountName":"SIERRA LEONE PHARMACY BOARD REVE","currency":null,"accountno":"0111002070"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SIERRA LEONE MARITIME ADMIN REVE","currency":null,"accountno":"0111002094"},{"availableBalance":13207078.86,"formattedAmount":"13,207,078.86","bookBalance":13207078.86,"accountType":"","accountName":"SLCAA FOREIGN TRAVEL TAX A/C","currency":null,"accountno":"0111002111"},{"availableBalance":2292475373.13,"formattedAmount":"2,292,475,373.13","bookBalance":2292475373.13,"accountType":"","accountName":"GOODS AND SERVICES TAX ACCOUNT","currency":null,"accountno":"0111002135"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"MARINES FINES AC","currency":null,"accountno":"0111002159"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"AFFORESTATION AC","currency":null,"accountno":"0111002197"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"NATIONAL IDENTITY CARD PROJECT E","currency":null,"accountno":"0111002252"},{"availableBalance":412398.2,"formattedAmount":"412,398.20","bookBalance":412398.2,"accountType":"","accountName":"MINISTRY OF PRESIDENTIAL AND PUB","currency":null,"accountno":"0111002276"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"JAPANESE GRANT FOR COPING WITH C","currency":null,"accountno":"0111002317"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"DIAMOND ROYALTIES AC","currency":null,"accountno":"0111002355"},{"availableBalance":11320146.22,"formattedAmount":"11,320,146.22","bookBalance":11320146.22,"accountType":"","accountName":"NON-TAX REVENUE AC","currency":null,"accountno":"0111002379"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"INT. ON 91 182 364 - DAYS TREASU","currency":null,"accountno":"0111002393"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SIERRATELEBID MODERNISATION AND","currency":null,"accountno":"0111002410"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"IMF BUDGET FINANCING TREASURY A/","currency":null,"accountno":"0111002843"},{"availableBalance":962154707.06,"formattedAmount":"962,154,707.06","bookBalance":962154707.06,"accountType":"","accountName":"PETROLEUM EXCISE DUTY ACCOUNT","currency":null,"accountno":"0111002984"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"CATASTROPHE CONTAINMENT RELIEF T","currency":null,"accountno":"0111002991"},{"availableBalance":-47389.02,"formattedAmount":"-47,389.02","bookBalance":-47389.02,"accountType":"","accountName":"INTEREST ON 91 DAYS TREASURY BIL","currency":null,"accountno":"0111003314"},{"availableBalance":-14662146.43,"formattedAmount":"-14,662,146.43","bookBalance":-14662146.43,"accountType":"","accountName":"INTEREST ON 182 DAYS TREASURY BI","currency":null,"accountno":"0111003321"},{"availableBalance":-4861882392.28,"formattedAmount":"-4,861,882,392.28","bookBalance":-4861882392.28,"accountType":"","accountName":"INTEREST ON 364 DAYS TREASURY BI","currency":null,"accountno":"0111003338"},{"availableBalance":13011149.86,"formattedAmount":"13,011,149.86","bookBalance":13011149.86,"accountType":"","accountName":"PETROLEUM REGULATORY AGENCY","currency":null,"accountno":"0111003448"},{"availableBalance":14624361.1,"formattedAmount":"14,624,361.10","bookBalance":14624361.1,"accountType":"","accountName":"PETROLEUM DIRECTORATE","currency":null,"accountno":"0111003455"},{"availableBalance":716682.0,"formattedAmount":"716,682.00","bookBalance":716682.0,"accountType":"","accountName":"ROAD MAINTENANCE FUND","currency":null,"accountno":"0111003462"},{"availableBalance":12446437.0,"formattedAmount":"12,446,437.00","bookBalance":12446437.0,"accountType":"","accountName":"ENVIRONMENTAL PROTECTION AGENCY","currency":null,"accountno":"0111003479"},{"availableBalance":2736797.72,"formattedAmount":"2,736,797.72","bookBalance":2736797.72,"accountType":"","accountName":"NATIONAL TELECOMMUNICATION COMMI","currency":null,"accountno":"0111003486"},{"availableBalance":34714514.21,"formattedAmount":"34,714,514.21","bookBalance":34714514.21,"accountType":"","accountName":"SIERRA LEONE MARITIME ADMINISTRA","currency":null,"accountno":"0111003493"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SPECIAL TAX & DUTIES","currency":null,"accountno":"0111003503"},{"availableBalance":431020263.0,"formattedAmount":"431,020,263.00","bookBalance":431020263.0,"accountType":"","accountName":"TIMBER EXPORT LEVY","currency":null,"accountno":"0111003527"},{"availableBalance":6709406.02,"formattedAmount":"6,709,406.02","bookBalance":6709406.02,"accountType":"","accountName":"AFFORESTATION AND CITIES LEVY","currency":null,"accountno":"0111003534"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"MULTI DONOR BASKET FUND FREE EDU","currency":null,"accountno":"0111003572"},{"availableBalance":622112.00,"formattedAmount":"622,112.00","bookBalance":622112.00,"accountType":"","accountName":"MULTI DONOR BASKET FUND 4 FREE E","currency":null,"accountno":"0111003596"},{"availableBalance":-10000000.00,"formattedAmount":"-10,000,000.00","bookBalance":-10000000.00,"accountType":"","accountName":"CORRUPTION REC FUNDS ACCOUNT (SL","currency":null,"accountno":"0111003637"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"CORRUPTION REC FUNDS ACCOUNT (US","currency":null,"accountno":"0111003644"},{"availableBalance":3983620.62,"formattedAmount":"3,983,620.62","bookBalance":3983620.62,"accountType":"","accountName":"SIERRA LEONE STANDARD BUREAU DIS","currency":null,"accountno":"0111003651"},{"availableBalance":2256323.84,"formattedAmount":"2,256,323.84","bookBalance":2256323.84,"accountType":"","accountName":"SIERRA LEONE ROADS SAFETY AUTHOR","currency":null,"accountno":"0111003668"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SLPA/GOSL CARGO TRACKING","currency":null,"accountno":"0111003699"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"RECO FUNDS BASED ON TECHNICAL AU","currency":null,"accountno":"0111003730"},{"availableBalance":16922324.29,"formattedAmount":"16,922,324.29","bookBalance":16922324.29,"accountType":"","accountName":"FISHERIES PROTECTION STATISTICS&","currency":null,"accountno":"0111003754"},{"availableBalance":673795.84,"formattedAmount":"673,795.84","bookBalance":673795.84,"accountType":"","accountName":"FREE HEALTH CARE INITIATIVE","currency":null,"accountno":"0111003778"},{"availableBalance":66065954.89,"formattedAmount":"66,065,954.89","bookBalance":66065954.89,"accountType":"","accountName":"PRODUCE MONITORING BOARD","currency":null,"accountno":"0111003785"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"USL TEACHING HOSPITAL COMPLEX","currency":null,"accountno":"0111003840"},{"availableBalance":11031596.25,"formattedAmount":"11,031,596.25","bookBalance":11031596.25,"accountType":"","accountName":"DUTY WAIVER JOINT MNT FUND TREAS","currency":null,"accountno":"0111003857"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"PUBLIC AUCTION COMMITTE TREASURY","currency":null,"accountno":"0111003864"},{"availableBalance":3623824.03,"formattedAmount":"3,623,824.03","bookBalance":3623824.03,"accountType":"","accountName":"COMM OF INQUIRY SPECIAL RECOVERY","currency":null,"accountno":"0111003888"},{"availableBalance":-2055291.44,"formattedAmount":"-2,055,291.44","bookBalance":-2055291.44,"accountType":"","accountName":"DAILY SUBSISTENCE ALW/MED EXP AC","currency":null,"accountno":"0111003929"},{"availableBalance":3780.96,"formattedAmount":"3,780.96","bookBalance":3780.96,"accountType":"","accountName":"S/L LOCAL CONTENT DEVELOPMENT FU","currency":null,"accountno":"0111003936"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"LSS/SLPA/GOSL CARGO TRACKING","currency":null,"accountno":"0111003943"},{"availableBalance":5000000.0,"formattedAmount":"5,000,000.00","bookBalance":5000000.0,"accountType":"","accountName":"LOCAL COUNCIL DEVELOPMENT PROJEC","currency":null,"accountno":"0111003950"},{"availableBalance":205694040.46,"formattedAmount":"205,694,040.46","bookBalance":205694040.46,"accountType":"","accountName":"DEBT MANAGEMENT TREASURY","currency":null,"accountno":"0111003967"},{"availableBalance":85000.0,"formattedAmount":"85,000.00","bookBalance":85000.0,"accountType":"","accountName":"AUDIT SERVICE S/L - AUDIT FEES","currency":null,"accountno":"0111003974"},{"availableBalance":911265.54,"formattedAmount":"911,265.54","bookBalance":911265.54,"accountType":"","accountName":"NPPA-REV FROM SALE OF BIDDING DO","currency":null,"accountno":"0111003981"},{"availableBalance":20024585.14,"formattedAmount":"20,024,585.14","bookBalance":20024585.14,"accountType":"","accountName":"VEHICLE LOAN SCHEME","currency":null,"accountno":"0111004005"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SLCAA AVIATION FEES","currency":null,"accountno":"0111004012"},{"availableBalance":3326998.54,"formattedAmount":"3,326,998.54","bookBalance":3326998.54,"accountType":"","accountName":"NACOVERC LAB FEES & ENFORCE FINE","currency":null,"accountno":"0111004029"},{"availableBalance":139164.95,"formattedAmount":"139,164.95","bookBalance":139164.95,"accountType":"","accountName":"CTN FEES - FOREIGN CURRENCY","currency":null,"accountno":"0111004036"},{"availableBalance":0.01,"formattedAmount":"0.01","bookBalance":0.01,"accountType":"","accountName":"NATCOM AND BRADCORP GATEWAY REVE","currency":null,"accountno":"0111004043"},{"availableBalance":1120558.48,"formattedAmount":"1,120,558.48","bookBalance":1120558.48,"accountType":"","accountName":"NAT. WATER RESOURCES MGMT AGENCY","currency":null,"accountno":"0111004067"},{"availableBalance":2252147.11,"formattedAmount":"2,252,147.11","bookBalance":2252147.11,"accountType":"","accountName":"NaCOVERC LABORATORY FEES (USD)","currency":null,"accountno":"0111004074"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"WAGE BILL REVOLVING FUND ACCOUNT","currency":null,"accountno":"0111004098"},{"availableBalance":83069442.86,"formattedAmount":"83,069,442.86","bookBalance":83069442.86,"accountType":"","accountName":"STATE LAND SALES A/C","currency":null,"accountno":"0111004160"},{"availableBalance":59935.0,"formattedAmount":"59,935.00","bookBalance":59935.0,"accountType":"","accountName":"34 MILITARY HOSPITAL","currency":null,"accountno":"0111004201"},{"availableBalance":2206155.0,"formattedAmount":"2,206,155.00","bookBalance":2206155.0,"accountType":"","accountName":"BETTING & GAMBLING LICENCES ACCO","currency":null,"accountno":"0111004232"},{"availableBalance":34865.21,"formattedAmount":"34,865.21","bookBalance":34865.21,"accountType":"","accountName":"PAY NO BRIBE CAMPAIGN PROJECT AC","currency":null,"accountno":"0111004421"},{"availableBalance":2293395.84,"formattedAmount":"2,293,395.84","bookBalance":2293395.84,"accountType":"","accountName":"LUNGI BRIDGE FEASIBILITY STUDY(S","currency":null,"accountno":"0111004438"},{"availableBalance":17.05,"formattedAmount":"17.05","bookBalance":17.05,"accountType":"","accountName":"MOPED UNICEF PROGRAM SUPPORT A/C","currency":null,"accountno":"0111004658"},{"availableBalance":164418.88,"formattedAmount":"164,418.88","bookBalance":164418.88,"accountType":"","accountName":"NAT ELECTIONS SUSTAIN TRUST FUND","currency":null,"accountno":"0111004809"},{"availableBalance":0.79,"formattedAmount":"0.79","bookBalance":0.79,"accountType":"","accountName":"IMF SPECIAL DRAWING RIGHTS RETRO","currency":null,"accountno":"0111004847"},{"availableBalance":74814520.77,"formattedAmount":"74,814,520.77","bookBalance":74814520.77,"accountType":"","accountName":"GoSL TSA REVENUE SHARE ACCOUNT","currency":null,"accountno":"0111004878"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"DUTY WAIVER","currency":null,"accountno":"0111004885"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"IMPREST AC FOR ACC GEN DEPT","currency":null,"accountno":"0111004926"},{"availableBalance":10685160.00,"formattedAmount":"10,685,160.00","bookBalance":10685160.00,"accountType":"","accountName":"SL NATIONAL SHIPPING COMPANY ESC","currency":null,"accountno":"0111004995"},{"availableBalance":-1009872.99,"formattedAmount":"-1,009,872.99","bookBalance":-1009872.99,"accountType":"","accountName":"MINISTRY OF DEFENCE QUARTERLY","currency":null,"accountno":"0111005057"},{"availableBalance":-458150.0,"formattedAmount":"-458,150.00","bookBalance":-458150.0,"accountType":"","accountName":"SIERRA LEONE POLICE GENERAL ACCO","currency":null,"accountno":"0111005129"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"SIERRA LEONE CORRECTIONAL SERVIC","currency":null,"accountno":"0111005136"},{"availableBalance":3446.86,"formattedAmount":"3,446.86","bookBalance":3446.86,"accountType":"","accountName":"IMMIGRATION ACCOUNT","currency":null,"accountno":"0111005150"},{"availableBalance":14952799.83,"formattedAmount":"14,952,799.83","bookBalance":14952799.83,"accountType":"","accountName":"DIAGNOSTIC MEDICAL CENTRE","currency":null,"accountno":"0111005260"},{"availableBalance":6699287.89,"formattedAmount":"6,699,287.89","bookBalance":6699287.89,"accountType":"","accountName":"SALES OF AIRSTRIP LANDS","currency":null,"accountno":"0111005332"},{"availableBalance":245148.43,"formattedAmount":"245,148.43","bookBalance":245148.43,"accountType":"","accountName":"GOSL NATIONAL TREE PLANTING","currency":null,"accountno":"0111005387"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"OFFICE OF THE OMBUDSMAN DISBURSE","currency":null,"accountno":"0111005844"},{"availableBalance":9034.5,"formattedAmount":"9,034.50","bookBalance":9034.5,"accountType":"","accountName":"FERTILIZER SUPPORT FUND","currency":null,"accountno":"0111006054"},{"availableBalance":117899.95,"formattedAmount":"117,899.95","bookBalance":117899.95,"accountType":"","accountName":"TERTIARY EDUCATION COMMISSION DI","currency":null,"accountno":"0111006308"},{"availableBalance":1500000.0,"formattedAmount":"1,500,000.00","bookBalance":1500000.0,"accountType":"","accountName":"SIERRA LEONE PHARMACY BOARD DISB","currency":null,"accountno":"0111006377"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"SLMET AGRIC VAL CHA DEV PROJ (AV","currency":null,"accountno":"0111006456"},{"availableBalance":1384132.82,"formattedAmount":"1,384,132.82","bookBalance":1384132.82,"accountType":"","accountName":"DIGITAL DEVELOPMENT FUND (DDF) A","currency":null,"accountno":"0111006535"}],"code":"01","success":true,"description":"Success"}] 2025-11-21 16:37:09.0313||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 16:37:09.0313|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]]'. 2025-11-21 16:37:09.0313|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 3421.9862ms 2025-11-21 16:37:09.0420|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 16:37:09.0420|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 3467.1503ms 200 application/json; charset=utf-8 2025-11-21 16:37:09.1467||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"10547897.45","bookBalance":0.0,"accountType":null,"accountName":"ELECTRONIC FUNDS TRANS SUSPENSE","currency":null,"accountno":"SLE116030002","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 16:37:09.1523||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:37:09.1523||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:37:09.1755||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:37:09.1755||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:37:09.1837||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 16:37:10.0102||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-5092566928.3","bookBalance":0.0,"accountType":null,"accountName":"AGD SALARIES AND WAGES ACCOUNT19","currency":null,"accountno":"0111001293","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 16:37:10.0102||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:37:10.0102||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:37:10.0434||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:37:10.0434||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:37:10.0434||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 16:37:10.8555||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-88918787.83","bookBalance":0.0,"accountType":null,"accountName":"AGD PENSIONS ACCOUNTS 1998","currency":null,"accountno":"0111001310","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 16:37:10.8555||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:37:10.8555||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:37:10.8772||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:37:10.8857|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; 2025-11-21 16:37:10.8857|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 2025-11-21 16:37:10.8857|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:37:10.8857|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)) 2025-11-21 16:37:10.9048|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' 2025-11-21 16:37:10.9048|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:37:10.9048|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:37:10.9048|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:37:10.9200|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' 2025-11-21 16:37:10.9200|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:37:10.9200|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:37:10.9338|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:37:10.9338|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:37:10.9338|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:37:10.9843|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]]'. 2025-11-21 16:37:10.9843|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 5373.3563ms 2025-11-21 16:37:10.9843|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 16:37:10.9843|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5416.82ms 200 application/json; charset=utf-8 2025-11-21 16:38:12.6218|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 16:38:12.6218|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 16:38:12.6218|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 16:38:12.6218|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:38:12.6218|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:38:12.6318|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:38:12.6318|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.3676ms 204 2025-11-21 16:38:12.6318|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.0483ms 204 2025-11-21 16:38:12.6318|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.3809ms 204 2025-11-21 16:38:12.6520|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 16:38:12.6520|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 16:38:12.6520|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 16:38:12.6520|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:38:12.6520|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:38:12.6520|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:38:12.6520|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:38:12.6520|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:38:12.6520|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:38:12.6520|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:38:12.6520|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:38:12.6628|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 16:38:12.6628|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 16:38:12.6628|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:38:12.6628|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). 2025-11-21 16:38:12.6628|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). 2025-11-21 16:38:12.6628|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 16:38:12.6628|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 16:38:12.6628|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 16:38:12.6628|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). 2025-11-21 16:38:12.6628||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 16:38:12.6628|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 2025-11-21 16:38:12.6628|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)) 2025-11-21 16:38:12.6784|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]]'. 2025-11-21 16:38:12.6784||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 16:38:12.6784||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 16:38:12.6784|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 12.0806ms 2025-11-21 16:38:12.6784||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 16:38:12.6784||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 16:38:12.6784|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 16:38:12.6784|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 38.3127ms 200 application/json; charset=utf-8 2025-11-21 16:38:12.7035||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 16:38:12.7035||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 16:38:12.7035||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:38:12.7103||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 16:38:12.7103||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 16:38:12.7103||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 16:38:13.5055||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-8624381391.76","bookBalance":0.0,"accountType":null,"accountName":"AGD EXPENDITURE ACCOUNTS-GENERAL","currency":null,"accountno":"0111001279","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 16:38:13.5111||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:38:13.5111||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:38:13.5279||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:38:13.5279||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:38:13.5279||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 16:38:14.3303||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-8624381391.76","bookBalance":0.0,"accountType":null,"accountName":"AGD EXPENDITURE ACCOUNTS-GENERAL","currency":null,"accountno":"0111001279","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 16:38:14.3360||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:38:14.3360||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:38:14.3555||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:38:14.3555||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:38:14.3652||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 16:38:15.1645||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-5092566928.3","bookBalance":0.0,"accountType":null,"accountName":"AGD SALARIES AND WAGES ACCOUNT19","currency":null,"accountno":"0111001293","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 16:38:15.1645||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:38:15.1645||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:38:15.1839||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:38:15.1839||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:38:15.1839||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 16:38:16.0334||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[{"availableBalance":1008205876.55,"formattedAmount":"1,008,205,876.55","bookBalance":1008205876.55,"accountType":"","accountName":"TREASURY MAIN","currency":null,"accountno":"0111001255"},{"availableBalance":-8624381391.76,"formattedAmount":"-8,624,381,391.76","bookBalance":-8624381391.76,"accountType":"","accountName":"AGD EXPENDITURE ACCOUNTS-GENERAL","currency":null,"accountno":"0111001279"},{"availableBalance":-5092566928.3,"formattedAmount":"-5,092,566,928.30","bookBalance":-5092566928.3,"accountType":"","accountName":"AGD SALARIES AND WAGES ACCOUNT19","currency":null,"accountno":"0111001293"},{"availableBalance":-88918787.83,"formattedAmount":"-88,918,787.83","bookBalance":-88918787.83,"accountType":"","accountName":"AGD PENSIONS ACCOUNTS 1998","currency":null,"accountno":"0111001310"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"DIFD (UK) BUDGSUPPORT GRANT","currency":null,"accountno":"0111001358"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SALARY ADVANCES ACCOUNT","currency":null,"accountno":"0111001372"},{"availableBalance":5660770071.02,"formattedAmount":"5,660,770,071.02","bookBalance":5660770071.02,"accountType":"","accountName":"INCOME TAX TREAS AC","currency":null,"accountno":"0111001396"},{"availableBalance":1639971708.73,"formattedAmount":"1,639,971,708.73","bookBalance":1639971708.73,"accountType":"","accountName":"CUSTOMS AND EXCISE TREAS AC","currency":null,"accountno":"0111001413"},{"availableBalance":126840132.89,"formattedAmount":"126,840,132.89","bookBalance":126840132.89,"accountType":"","accountName":"MARINE RESOURCES TREAS AC","currency":null,"accountno":"0111001437"},{"availableBalance":1171902940.16,"formattedAmount":"1,171,902,940.16","bookBalance":1171902940.16,"accountType":"","accountName":"MINERAL RESOURCES TREAS AC","currency":null,"accountno":"0111001451"},{"availableBalance":10582481.0,"formattedAmount":"10,582,481.00","bookBalance":10582481.0,"accountType":"","accountName":"IMMIGRATION TREAS AC","currency":null,"accountno":"0111001475"},{"availableBalance":452767547.26,"formattedAmount":"452,767,547.26","bookBalance":452767547.26,"accountType":"","accountName":"GENERAL REVENUE TREAS AC","currency":null,"accountno":"0111001499"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"IMMIGRATION ESCROW ACCOUNT","currency":null,"accountno":"0111001516"},{"availableBalance":12109569.0,"formattedAmount":"12,109,569.00","bookBalance":12109569.0,"accountType":"","accountName":"ADMINISTRATOR AND REGISTRAR GENE","currency":null,"accountno":"0111001530"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"POLICE-UNCLAIMED SALARIES WAGES","currency":null,"accountno":"0111001578"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"EDU SCIENCE AND TECH-UNCLAIMED S","currency":null,"accountno":"0111001592"},{"availableBalance":2068951.32,"formattedAmount":"2,068,951.32","bookBalance":2068951.32,"accountType":"","accountName":"OTHER DEPTMINISTRIES-UNCLAIMED S","currency":null,"accountno":"0111001657"},{"availableBalance":650610335.09,"formattedAmount":"650,610,335.09","bookBalance":650610335.09,"accountType":"","accountName":"TREASURY WAYS AND MEANS ADVANCES","currency":null,"accountno":"0111001671"},{"availableBalance":990172300.0,"formattedAmount":"990,172,300.00","bookBalance":990172300.0,"accountType":"","accountName":"TREASURY BEARER BOND ACCOUNTS","currency":null,"accountno":"0111001695"},{"availableBalance":-1359921007.56,"formattedAmount":"-1,359,921,007.56","bookBalance":-1359921007.56,"accountType":"","accountName":"INTEREST ON TREASURY BEARER BOND","currency":null,"accountno":"0111001712"},{"availableBalance":-2301895609.95,"formattedAmount":"-2,301,895,609.95","bookBalance":-2301895609.95,"accountType":"","accountName":"EXTERNAL DEBT SERVICE PAYMENTS","currency":null,"accountno":"0111001736"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"KENEMA GOVT TREASURY DEPOSITS AC","currency":null,"accountno":"0111001750"},{"availableBalance":20494300.88,"formattedAmount":"20,494,300.88","bookBalance":20494300.88,"accountType":"","accountName":"HIPC TRUST FUND ACCOUNT","currency":null,"accountno":"0111001774"},{"availableBalance":-729960.98,"formattedAmount":"-729,960.98","bookBalance":-729960.98,"accountType":"","accountName":"TREASURY BILLS AC","currency":null,"accountno":"0111001839"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"OFIDSL GOV DEBT RELIEF AC","currency":null,"accountno":"0111001891"},{"availableBalance":115026697.18,"formattedAmount":"115,026,697.18","bookBalance":115026697.18,"accountType":"","accountName":"NOMINALCOST AC FOR 182-DAYS TREA","currency":null,"accountno":"0111001918"},{"availableBalance":3320175223.38,"formattedAmount":"3,320,175,223.38","bookBalance":3320175223.38,"accountType":"","accountName":"NOMINALCOST AC FOR 364-DAYS TREA","currency":null,"accountno":"0111001932"},{"availableBalance":-8559679.4,"formattedAmount":"-8,559,679.40","bookBalance":-8559679.4,"accountType":"","accountName":"COMMISSION AC FOR TREASURY BILLS","currency":null,"accountno":"0111001970"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"MIN OF FISHERIES AND MARINE RESO","currency":null,"accountno":"0111002032"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"NAT TELECOMS REVENUE ESCROW AC","currency":null,"accountno":"0111002056"},{"availableBalance":4213148.95,"formattedAmount":"4,213,148.95","bookBalance":4213148.95,"accountType":"","accountName":"SIERRA LEONE PHARMACY BOARD REVE","currency":null,"accountno":"0111002070"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SIERRA LEONE MARITIME ADMIN REVE","currency":null,"accountno":"0111002094"},{"availableBalance":13207078.86,"formattedAmount":"13,207,078.86","bookBalance":13207078.86,"accountType":"","accountName":"SLCAA FOREIGN TRAVEL TAX A/C","currency":null,"accountno":"0111002111"},{"availableBalance":2292475373.13,"formattedAmount":"2,292,475,373.13","bookBalance":2292475373.13,"accountType":"","accountName":"GOODS AND SERVICES TAX ACCOUNT","currency":null,"accountno":"0111002135"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"MARINES FINES AC","currency":null,"accountno":"0111002159"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"AFFORESTATION AC","currency":null,"accountno":"0111002197"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"NATIONAL IDENTITY CARD PROJECT E","currency":null,"accountno":"0111002252"},{"availableBalance":412398.2,"formattedAmount":"412,398.20","bookBalance":412398.2,"accountType":"","accountName":"MINISTRY OF PRESIDENTIAL AND PUB","currency":null,"accountno":"0111002276"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"JAPANESE GRANT FOR COPING WITH C","currency":null,"accountno":"0111002317"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"DIAMOND ROYALTIES AC","currency":null,"accountno":"0111002355"},{"availableBalance":11320146.22,"formattedAmount":"11,320,146.22","bookBalance":11320146.22,"accountType":"","accountName":"NON-TAX REVENUE AC","currency":null,"accountno":"0111002379"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"INT. ON 91 182 364 - DAYS TREASU","currency":null,"accountno":"0111002393"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SIERRATELEBID MODERNISATION AND","currency":null,"accountno":"0111002410"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"IMF BUDGET FINANCING TREASURY A/","currency":null,"accountno":"0111002843"},{"availableBalance":962154707.06,"formattedAmount":"962,154,707.06","bookBalance":962154707.06,"accountType":"","accountName":"PETROLEUM EXCISE DUTY ACCOUNT","currency":null,"accountno":"0111002984"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"CATASTROPHE CONTAINMENT RELIEF T","currency":null,"accountno":"0111002991"},{"availableBalance":-47389.02,"formattedAmount":"-47,389.02","bookBalance":-47389.02,"accountType":"","accountName":"INTEREST ON 91 DAYS TREASURY BIL","currency":null,"accountno":"0111003314"},{"availableBalance":-14662146.43,"formattedAmount":"-14,662,146.43","bookBalance":-14662146.43,"accountType":"","accountName":"INTEREST ON 182 DAYS TREASURY BI","currency":null,"accountno":"0111003321"},{"availableBalance":-4861882392.28,"formattedAmount":"-4,861,882,392.28","bookBalance":-4861882392.28,"accountType":"","accountName":"INTEREST ON 364 DAYS TREASURY BI","currency":null,"accountno":"0111003338"},{"availableBalance":13011149.86,"formattedAmount":"13,011,149.86","bookBalance":13011149.86,"accountType":"","accountName":"PETROLEUM REGULATORY AGENCY","currency":null,"accountno":"0111003448"},{"availableBalance":14624361.1,"formattedAmount":"14,624,361.10","bookBalance":14624361.1,"accountType":"","accountName":"PETROLEUM DIRECTORATE","currency":null,"accountno":"0111003455"},{"availableBalance":716682.0,"formattedAmount":"716,682.00","bookBalance":716682.0,"accountType":"","accountName":"ROAD MAINTENANCE FUND","currency":null,"accountno":"0111003462"},{"availableBalance":12446437.0,"formattedAmount":"12,446,437.00","bookBalance":12446437.0,"accountType":"","accountName":"ENVIRONMENTAL PROTECTION AGENCY","currency":null,"accountno":"0111003479"},{"availableBalance":2736797.72,"formattedAmount":"2,736,797.72","bookBalance":2736797.72,"accountType":"","accountName":"NATIONAL TELECOMMUNICATION COMMI","currency":null,"accountno":"0111003486"},{"availableBalance":34714514.21,"formattedAmount":"34,714,514.21","bookBalance":34714514.21,"accountType":"","accountName":"SIERRA LEONE MARITIME ADMINISTRA","currency":null,"accountno":"0111003493"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SPECIAL TAX & DUTIES","currency":null,"accountno":"0111003503"},{"availableBalance":431020263.0,"formattedAmount":"431,020,263.00","bookBalance":431020263.0,"accountType":"","accountName":"TIMBER EXPORT LEVY","currency":null,"accountno":"0111003527"},{"availableBalance":6709406.02,"formattedAmount":"6,709,406.02","bookBalance":6709406.02,"accountType":"","accountName":"AFFORESTATION AND CITIES LEVY","currency":null,"accountno":"0111003534"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"MULTI DONOR BASKET FUND FREE EDU","currency":null,"accountno":"0111003572"},{"availableBalance":622112.00,"formattedAmount":"622,112.00","bookBalance":622112.00,"accountType":"","accountName":"MULTI DONOR BASKET FUND 4 FREE E","currency":null,"accountno":"0111003596"},{"availableBalance":-10000000.00,"formattedAmount":"-10,000,000.00","bookBalance":-10000000.00,"accountType":"","accountName":"CORRUPTION REC FUNDS ACCOUNT (SL","currency":null,"accountno":"0111003637"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"CORRUPTION REC FUNDS ACCOUNT (US","currency":null,"accountno":"0111003644"},{"availableBalance":3983620.62,"formattedAmount":"3,983,620.62","bookBalance":3983620.62,"accountType":"","accountName":"SIERRA LEONE STANDARD BUREAU DIS","currency":null,"accountno":"0111003651"},{"availableBalance":2256323.84,"formattedAmount":"2,256,323.84","bookBalance":2256323.84,"accountType":"","accountName":"SIERRA LEONE ROADS SAFETY AUTHOR","currency":null,"accountno":"0111003668"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SLPA/GOSL CARGO TRACKING","currency":null,"accountno":"0111003699"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"RECO FUNDS BASED ON TECHNICAL AU","currency":null,"accountno":"0111003730"},{"availableBalance":16922324.29,"formattedAmount":"16,922,324.29","bookBalance":16922324.29,"accountType":"","accountName":"FISHERIES PROTECTION STATISTICS&","currency":null,"accountno":"0111003754"},{"availableBalance":673795.84,"formattedAmount":"673,795.84","bookBalance":673795.84,"accountType":"","accountName":"FREE HEALTH CARE INITIATIVE","currency":null,"accountno":"0111003778"},{"availableBalance":66065954.89,"formattedAmount":"66,065,954.89","bookBalance":66065954.89,"accountType":"","accountName":"PRODUCE MONITORING BOARD","currency":null,"accountno":"0111003785"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"USL TEACHING HOSPITAL COMPLEX","currency":null,"accountno":"0111003840"},{"availableBalance":11031596.25,"formattedAmount":"11,031,596.25","bookBalance":11031596.25,"accountType":"","accountName":"DUTY WAIVER JOINT MNT FUND TREAS","currency":null,"accountno":"0111003857"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"PUBLIC AUCTION COMMITTE TREASURY","currency":null,"accountno":"0111003864"},{"availableBalance":3623824.03,"formattedAmount":"3,623,824.03","bookBalance":3623824.03,"accountType":"","accountName":"COMM OF INQUIRY SPECIAL RECOVERY","currency":null,"accountno":"0111003888"},{"availableBalance":-2055291.44,"formattedAmount":"-2,055,291.44","bookBalance":-2055291.44,"accountType":"","accountName":"DAILY SUBSISTENCE ALW/MED EXP AC","currency":null,"accountno":"0111003929"},{"availableBalance":3780.96,"formattedAmount":"3,780.96","bookBalance":3780.96,"accountType":"","accountName":"S/L LOCAL CONTENT DEVELOPMENT FU","currency":null,"accountno":"0111003936"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"LSS/SLPA/GOSL CARGO TRACKING","currency":null,"accountno":"0111003943"},{"availableBalance":5000000.0,"formattedAmount":"5,000,000.00","bookBalance":5000000.0,"accountType":"","accountName":"LOCAL COUNCIL DEVELOPMENT PROJEC","currency":null,"accountno":"0111003950"},{"availableBalance":205694040.46,"formattedAmount":"205,694,040.46","bookBalance":205694040.46,"accountType":"","accountName":"DEBT MANAGEMENT TREASURY","currency":null,"accountno":"0111003967"},{"availableBalance":85000.0,"formattedAmount":"85,000.00","bookBalance":85000.0,"accountType":"","accountName":"AUDIT SERVICE S/L - AUDIT FEES","currency":null,"accountno":"0111003974"},{"availableBalance":911265.54,"formattedAmount":"911,265.54","bookBalance":911265.54,"accountType":"","accountName":"NPPA-REV FROM SALE OF BIDDING DO","currency":null,"accountno":"0111003981"},{"availableBalance":20024585.14,"formattedAmount":"20,024,585.14","bookBalance":20024585.14,"accountType":"","accountName":"VEHICLE LOAN SCHEME","currency":null,"accountno":"0111004005"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SLCAA AVIATION FEES","currency":null,"accountno":"0111004012"},{"availableBalance":3326998.54,"formattedAmount":"3,326,998.54","bookBalance":3326998.54,"accountType":"","accountName":"NACOVERC LAB FEES & ENFORCE FINE","currency":null,"accountno":"0111004029"},{"availableBalance":139164.95,"formattedAmount":"139,164.95","bookBalance":139164.95,"accountType":"","accountName":"CTN FEES - FOREIGN CURRENCY","currency":null,"accountno":"0111004036"},{"availableBalance":0.01,"formattedAmount":"0.01","bookBalance":0.01,"accountType":"","accountName":"NATCOM AND BRADCORP GATEWAY REVE","currency":null,"accountno":"0111004043"},{"availableBalance":1120558.48,"formattedAmount":"1,120,558.48","bookBalance":1120558.48,"accountType":"","accountName":"NAT. WATER RESOURCES MGMT AGENCY","currency":null,"accountno":"0111004067"},{"availableBalance":2252147.11,"formattedAmount":"2,252,147.11","bookBalance":2252147.11,"accountType":"","accountName":"NaCOVERC LABORATORY FEES (USD)","currency":null,"accountno":"0111004074"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"WAGE BILL REVOLVING FUND ACCOUNT","currency":null,"accountno":"0111004098"},{"availableBalance":83069442.86,"formattedAmount":"83,069,442.86","bookBalance":83069442.86,"accountType":"","accountName":"STATE LAND SALES A/C","currency":null,"accountno":"0111004160"},{"availableBalance":59935.0,"formattedAmount":"59,935.00","bookBalance":59935.0,"accountType":"","accountName":"34 MILITARY HOSPITAL","currency":null,"accountno":"0111004201"},{"availableBalance":2206155.0,"formattedAmount":"2,206,155.00","bookBalance":2206155.0,"accountType":"","accountName":"BETTING & GAMBLING LICENCES ACCO","currency":null,"accountno":"0111004232"},{"availableBalance":34865.21,"formattedAmount":"34,865.21","bookBalance":34865.21,"accountType":"","accountName":"PAY NO BRIBE CAMPAIGN PROJECT AC","currency":null,"accountno":"0111004421"},{"availableBalance":2293395.84,"formattedAmount":"2,293,395.84","bookBalance":2293395.84,"accountType":"","accountName":"LUNGI BRIDGE FEASIBILITY STUDY(S","currency":null,"accountno":"0111004438"},{"availableBalance":17.05,"formattedAmount":"17.05","bookBalance":17.05,"accountType":"","accountName":"MOPED UNICEF PROGRAM SUPPORT A/C","currency":null,"accountno":"0111004658"},{"availableBalance":164418.88,"formattedAmount":"164,418.88","bookBalance":164418.88,"accountType":"","accountName":"NAT ELECTIONS SUSTAIN TRUST FUND","currency":null,"accountno":"0111004809"},{"availableBalance":0.79,"formattedAmount":"0.79","bookBalance":0.79,"accountType":"","accountName":"IMF SPECIAL DRAWING RIGHTS RETRO","currency":null,"accountno":"0111004847"},{"availableBalance":74814520.77,"formattedAmount":"74,814,520.77","bookBalance":74814520.77,"accountType":"","accountName":"GoSL TSA REVENUE SHARE ACCOUNT","currency":null,"accountno":"0111004878"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"DUTY WAIVER","currency":null,"accountno":"0111004885"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"IMPREST AC FOR ACC GEN DEPT","currency":null,"accountno":"0111004926"},{"availableBalance":10685160.00,"formattedAmount":"10,685,160.00","bookBalance":10685160.00,"accountType":"","accountName":"SL NATIONAL SHIPPING COMPANY ESC","currency":null,"accountno":"0111004995"},{"availableBalance":-1009872.99,"formattedAmount":"-1,009,872.99","bookBalance":-1009872.99,"accountType":"","accountName":"MINISTRY OF DEFENCE QUARTERLY","currency":null,"accountno":"0111005057"},{"availableBalance":-458150.0,"formattedAmount":"-458,150.00","bookBalance":-458150.0,"accountType":"","accountName":"SIERRA LEONE POLICE GENERAL ACCO","currency":null,"accountno":"0111005129"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"SIERRA LEONE CORRECTIONAL SERVIC","currency":null,"accountno":"0111005136"},{"availableBalance":3446.86,"formattedAmount":"3,446.86","bookBalance":3446.86,"accountType":"","accountName":"IMMIGRATION ACCOUNT","currency":null,"accountno":"0111005150"},{"availableBalance":14952799.83,"formattedAmount":"14,952,799.83","bookBalance":14952799.83,"accountType":"","accountName":"DIAGNOSTIC MEDICAL CENTRE","currency":null,"accountno":"0111005260"},{"availableBalance":6699287.89,"formattedAmount":"6,699,287.89","bookBalance":6699287.89,"accountType":"","accountName":"SALES OF AIRSTRIP LANDS","currency":null,"accountno":"0111005332"},{"availableBalance":245148.43,"formattedAmount":"245,148.43","bookBalance":245148.43,"accountType":"","accountName":"GOSL NATIONAL TREE PLANTING","currency":null,"accountno":"0111005387"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"OFFICE OF THE OMBUDSMAN DISBURSE","currency":null,"accountno":"0111005844"},{"availableBalance":9034.5,"formattedAmount":"9,034.50","bookBalance":9034.5,"accountType":"","accountName":"FERTILIZER SUPPORT FUND","currency":null,"accountno":"0111006054"},{"availableBalance":117899.95,"formattedAmount":"117,899.95","bookBalance":117899.95,"accountType":"","accountName":"TERTIARY EDUCATION COMMISSION DI","currency":null,"accountno":"0111006308"},{"availableBalance":1500000.0,"formattedAmount":"1,500,000.00","bookBalance":1500000.0,"accountType":"","accountName":"SIERRA LEONE PHARMACY BOARD DISB","currency":null,"accountno":"0111006377"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"SLMET AGRIC VAL CHA DEV PROJ (AV","currency":null,"accountno":"0111006456"},{"availableBalance":1384132.82,"formattedAmount":"1,384,132.82","bookBalance":1384132.82,"accountType":"","accountName":"DIGITAL DEVELOPMENT FUND (DDF) A","currency":null,"accountno":"0111006535"}],"code":"01","success":true,"description":"Success"}] 2025-11-21 16:38:16.0400||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 16:38:16.0400|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]]'. 2025-11-21 16:38:16.0400|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 3371.7047ms 2025-11-21 16:38:16.0400|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 16:38:16.0400|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 3397.5996ms 200 application/json; charset=utf-8 2025-11-21 16:38:16.0400||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"10547897.45","bookBalance":0.0,"accountType":null,"accountName":"ELECTRONIC FUNDS TRANS SUSPENSE","currency":null,"accountno":"SLE116030002","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 16:38:16.0557||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:38:16.0557||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:38:16.0729||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:38:16.0729||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:38:16.0729||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 16:38:16.8560||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-5092566928.3","bookBalance":0.0,"accountType":null,"accountName":"AGD SALARIES AND WAGES ACCOUNT19","currency":null,"accountno":"0111001293","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 16:38:16.8560||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:38:16.8652||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:38:16.8652||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:38:16.8652||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:38:16.8831||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 16:38:17.6447||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-88918787.83","bookBalance":0.0,"accountType":null,"accountName":"AGD PENSIONS ACCOUNTS 1998","currency":null,"accountno":"0111001310","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 16:38:17.6501||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:38:17.6501||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:38:17.6658||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:38:17.6658|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; 2025-11-21 16:38:17.6791|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 2025-11-21 16:38:17.6791|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:38:17.6791|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:38:17.6791|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:38:17.6791|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:38:17.6957|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:38:17.6957|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:38:17.6957|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:38:17.6957|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:38:17.6957|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:38:17.6957|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:38:17.7109|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:38:17.7109|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:38:17.7531|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]]'. 2025-11-21 16:38:17.7531|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 5084.5584ms 2025-11-21 16:38:17.7558|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 16:38:17.7558|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5104.9718ms 200 application/json; charset=utf-8 2025-11-21 16:43:04.8465|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 16:43:04.8465|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 16:43:04.8465|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 16:43:04.8465|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:43:04.8465|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:43:04.8563|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:43:04.8563|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.371ms 204 2025-11-21 16:43:04.8563|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.631ms 204 2025-11-21 16:43:04.8563|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.6011ms 204 2025-11-21 16:43:04.8563|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 16:43:04.8563|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 16:43:04.8563|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 16:43:04.8563|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() 2025-11-21 16:43:04.8713|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() 2025-11-21 16:43:04.8713|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() 2025-11-21 16:43:04.8713|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'. 2025-11-21 16:43:04.8713|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'. 2025-11-21 16:43:04.8713|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'. 2025-11-21 16:43:04.8713|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:43:04.8713|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:43:04.8713|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:43:04.8713|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2025-11-21 16:43:04.8713|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2025-11-21 16:43:04.8892|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2025-11-21 16:43:04.8892|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2025-11-21 16:43:04.8892|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2025-11-21 16:43:04.8892|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2025-11-21 16:43:04.8892|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 31.4304ms 401 2025-11-21 16:43:04.8892|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 33.9601ms 401 2025-11-21 16:43:04.8892|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 34.0241ms 401 2025-11-21 16:46:23.8563|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=519 2025-11-21 16:46:23.8563|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:46:23.8644|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.1377ms 204 2025-11-21 16:46:23.8644|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=519 2025-11-21 16:46:23.8644|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:46:23.8644|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:46:23.8644|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 16:46:23.8644|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 16:46:23.8644|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 16:46:23.8783|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:46:23.8783|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:46:23.8783|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:46:23.8783|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:46:23.8783|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 16:46:23.8783|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 13.1396ms 204 2025-11-21 16:46:23.8783|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 14.009ms 204 2025-11-21 16:46:23.8783|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 15.5439ms 204 2025-11-21 16:46:23.8943|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). 2025-11-21 16:46:23.8943|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 16:46:23.8943|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 16:46:23.8943|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 16:46:23.8943|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 16:46:23.8943|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:46:23.8943|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:46:23.8943|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:46:23.8943|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:46:23.9100|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:46:23.9100|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:46:23.9100|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:46:23.9100|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:46:23.9100|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:46:23.9100|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 16:46:23.9100|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 16:46:23.9100|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 16:46:23.9100|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)) 2025-11-21 16:46:23.9100|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). 2025-11-21 16:46:23.9100|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). 2025-11-21 16:46:23.9100|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). 2025-11-21 16:46:23.9100|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]]'. 2025-11-21 16:46:23.9100|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 16:46:23.9257|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 16:46:23.9257||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 16:46:23.9257|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 25.5787ms 2025-11-21 16:46:23.9257|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 2025-11-21 16:46:23.9257|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 16:46:23.9257|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]]'. 2025-11-21 16:46:23.9257|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 66.5136ms 200 application/json; charset=utf-8 2025-11-21 16:46:23.9257|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 15.5703ms 2025-11-21 16:46:23.9257|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)) 2025-11-21 16:46:23.9419|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 16:46:23.9419||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 16:46:23.9419|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 42.6425ms 200 application/json; charset=utf-8 2025-11-21 16:46:23.9419||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 16:46:23.9419||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 16:46:23.9419||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 16:46:23.9632||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 16:46:23.9632||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 16:46:23.9632||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 16:46:23.9632||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 16:46:23.9742||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:46:23.9742||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 16:46:25.9432||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-8624381391.76","bookBalance":0.0,"accountType":null,"accountName":"AGD EXPENDITURE ACCOUNTS-GENERAL","currency":null,"accountno":"0111001279","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 16:46:25.9432||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:46:25.9432||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:46:25.9624||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:46:25.9624||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:46:25.9624||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 16:46:26.0485||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[{"availableBalance":1008205876.55,"formattedAmount":"1,008,205,876.55","bookBalance":1008205876.55,"accountType":"","accountName":"TREASURY MAIN","currency":null,"accountno":"0111001255"},{"availableBalance":-8624381391.76,"formattedAmount":"-8,624,381,391.76","bookBalance":-8624381391.76,"accountType":"","accountName":"AGD EXPENDITURE ACCOUNTS-GENERAL","currency":null,"accountno":"0111001279"},{"availableBalance":-5092566928.3,"formattedAmount":"-5,092,566,928.30","bookBalance":-5092566928.3,"accountType":"","accountName":"AGD SALARIES AND WAGES ACCOUNT19","currency":null,"accountno":"0111001293"},{"availableBalance":-88918787.83,"formattedAmount":"-88,918,787.83","bookBalance":-88918787.83,"accountType":"","accountName":"AGD PENSIONS ACCOUNTS 1998","currency":null,"accountno":"0111001310"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"DIFD (UK) BUDGSUPPORT GRANT","currency":null,"accountno":"0111001358"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SALARY ADVANCES ACCOUNT","currency":null,"accountno":"0111001372"},{"availableBalance":5660770071.02,"formattedAmount":"5,660,770,071.02","bookBalance":5660770071.02,"accountType":"","accountName":"INCOME TAX TREAS AC","currency":null,"accountno":"0111001396"},{"availableBalance":1639971708.73,"formattedAmount":"1,639,971,708.73","bookBalance":1639971708.73,"accountType":"","accountName":"CUSTOMS AND EXCISE TREAS AC","currency":null,"accountno":"0111001413"},{"availableBalance":126840132.89,"formattedAmount":"126,840,132.89","bookBalance":126840132.89,"accountType":"","accountName":"MARINE RESOURCES TREAS AC","currency":null,"accountno":"0111001437"},{"availableBalance":1171902940.16,"formattedAmount":"1,171,902,940.16","bookBalance":1171902940.16,"accountType":"","accountName":"MINERAL RESOURCES TREAS AC","currency":null,"accountno":"0111001451"},{"availableBalance":10582481.0,"formattedAmount":"10,582,481.00","bookBalance":10582481.0,"accountType":"","accountName":"IMMIGRATION TREAS AC","currency":null,"accountno":"0111001475"},{"availableBalance":452767547.26,"formattedAmount":"452,767,547.26","bookBalance":452767547.26,"accountType":"","accountName":"GENERAL REVENUE TREAS AC","currency":null,"accountno":"0111001499"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"IMMIGRATION ESCROW ACCOUNT","currency":null,"accountno":"0111001516"},{"availableBalance":12109569.0,"formattedAmount":"12,109,569.00","bookBalance":12109569.0,"accountType":"","accountName":"ADMINISTRATOR AND REGISTRAR GENE","currency":null,"accountno":"0111001530"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"POLICE-UNCLAIMED SALARIES WAGES","currency":null,"accountno":"0111001578"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"EDU SCIENCE AND TECH-UNCLAIMED S","currency":null,"accountno":"0111001592"},{"availableBalance":2068951.32,"formattedAmount":"2,068,951.32","bookBalance":2068951.32,"accountType":"","accountName":"OTHER DEPTMINISTRIES-UNCLAIMED S","currency":null,"accountno":"0111001657"},{"availableBalance":650610335.09,"formattedAmount":"650,610,335.09","bookBalance":650610335.09,"accountType":"","accountName":"TREASURY WAYS AND MEANS ADVANCES","currency":null,"accountno":"0111001671"},{"availableBalance":990172300.0,"formattedAmount":"990,172,300.00","bookBalance":990172300.0,"accountType":"","accountName":"TREASURY BEARER BOND ACCOUNTS","currency":null,"accountno":"0111001695"},{"availableBalance":-1359921007.56,"formattedAmount":"-1,359,921,007.56","bookBalance":-1359921007.56,"accountType":"","accountName":"INTEREST ON TREASURY BEARER BOND","currency":null,"accountno":"0111001712"},{"availableBalance":-2301895609.95,"formattedAmount":"-2,301,895,609.95","bookBalance":-2301895609.95,"accountType":"","accountName":"EXTERNAL DEBT SERVICE PAYMENTS","currency":null,"accountno":"0111001736"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"KENEMA GOVT TREASURY DEPOSITS AC","currency":null,"accountno":"0111001750"},{"availableBalance":20494300.88,"formattedAmount":"20,494,300.88","bookBalance":20494300.88,"accountType":"","accountName":"HIPC TRUST FUND ACCOUNT","currency":null,"accountno":"0111001774"},{"availableBalance":-729960.98,"formattedAmount":"-729,960.98","bookBalance":-729960.98,"accountType":"","accountName":"TREASURY BILLS AC","currency":null,"accountno":"0111001839"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"OFIDSL GOV DEBT RELIEF AC","currency":null,"accountno":"0111001891"},{"availableBalance":115026697.18,"formattedAmount":"115,026,697.18","bookBalance":115026697.18,"accountType":"","accountName":"NOMINALCOST AC FOR 182-DAYS TREA","currency":null,"accountno":"0111001918"},{"availableBalance":3320175223.38,"formattedAmount":"3,320,175,223.38","bookBalance":3320175223.38,"accountType":"","accountName":"NOMINALCOST AC FOR 364-DAYS TREA","currency":null,"accountno":"0111001932"},{"availableBalance":-8559679.4,"formattedAmount":"-8,559,679.40","bookBalance":-8559679.4,"accountType":"","accountName":"COMMISSION AC FOR TREASURY BILLS","currency":null,"accountno":"0111001970"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"MIN OF FISHERIES AND MARINE RESO","currency":null,"accountno":"0111002032"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"NAT TELECOMS REVENUE ESCROW AC","currency":null,"accountno":"0111002056"},{"availableBalance":4213148.95,"formattedAmount":"4,213,148.95","bookBalance":4213148.95,"accountType":"","accountName":"SIERRA LEONE PHARMACY BOARD REVE","currency":null,"accountno":"0111002070"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SIERRA LEONE MARITIME ADMIN REVE","currency":null,"accountno":"0111002094"},{"availableBalance":13207078.86,"formattedAmount":"13,207,078.86","bookBalance":13207078.86,"accountType":"","accountName":"SLCAA FOREIGN TRAVEL TAX A/C","currency":null,"accountno":"0111002111"},{"availableBalance":2292475373.13,"formattedAmount":"2,292,475,373.13","bookBalance":2292475373.13,"accountType":"","accountName":"GOODS AND SERVICES TAX ACCOUNT","currency":null,"accountno":"0111002135"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"MARINES FINES AC","currency":null,"accountno":"0111002159"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"AFFORESTATION AC","currency":null,"accountno":"0111002197"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"NATIONAL IDENTITY CARD PROJECT E","currency":null,"accountno":"0111002252"},{"availableBalance":412398.2,"formattedAmount":"412,398.20","bookBalance":412398.2,"accountType":"","accountName":"MINISTRY OF PRESIDENTIAL AND PUB","currency":null,"accountno":"0111002276"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"JAPANESE GRANT FOR COPING WITH C","currency":null,"accountno":"0111002317"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"DIAMOND ROYALTIES AC","currency":null,"accountno":"0111002355"},{"availableBalance":11320146.22,"formattedAmount":"11,320,146.22","bookBalance":11320146.22,"accountType":"","accountName":"NON-TAX REVENUE AC","currency":null,"accountno":"0111002379"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"INT. ON 91 182 364 - DAYS TREASU","currency":null,"accountno":"0111002393"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SIERRATELEBID MODERNISATION AND","currency":null,"accountno":"0111002410"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"IMF BUDGET FINANCING TREASURY A/","currency":null,"accountno":"0111002843"},{"availableBalance":962154707.06,"formattedAmount":"962,154,707.06","bookBalance":962154707.06,"accountType":"","accountName":"PETROLEUM EXCISE DUTY ACCOUNT","currency":null,"accountno":"0111002984"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"CATASTROPHE CONTAINMENT RELIEF T","currency":null,"accountno":"0111002991"},{"availableBalance":-47389.02,"formattedAmount":"-47,389.02","bookBalance":-47389.02,"accountType":"","accountName":"INTEREST ON 91 DAYS TREASURY BIL","currency":null,"accountno":"0111003314"},{"availableBalance":-14662146.43,"formattedAmount":"-14,662,146.43","bookBalance":-14662146.43,"accountType":"","accountName":"INTEREST ON 182 DAYS TREASURY BI","currency":null,"accountno":"0111003321"},{"availableBalance":-4861882392.28,"formattedAmount":"-4,861,882,392.28","bookBalance":-4861882392.28,"accountType":"","accountName":"INTEREST ON 364 DAYS TREASURY BI","currency":null,"accountno":"0111003338"},{"availableBalance":13011149.86,"formattedAmount":"13,011,149.86","bookBalance":13011149.86,"accountType":"","accountName":"PETROLEUM REGULATORY AGENCY","currency":null,"accountno":"0111003448"},{"availableBalance":14624361.1,"formattedAmount":"14,624,361.10","bookBalance":14624361.1,"accountType":"","accountName":"PETROLEUM DIRECTORATE","currency":null,"accountno":"0111003455"},{"availableBalance":716682.0,"formattedAmount":"716,682.00","bookBalance":716682.0,"accountType":"","accountName":"ROAD MAINTENANCE FUND","currency":null,"accountno":"0111003462"},{"availableBalance":12446437.0,"formattedAmount":"12,446,437.00","bookBalance":12446437.0,"accountType":"","accountName":"ENVIRONMENTAL PROTECTION AGENCY","currency":null,"accountno":"0111003479"},{"availableBalance":2736797.72,"formattedAmount":"2,736,797.72","bookBalance":2736797.72,"accountType":"","accountName":"NATIONAL TELECOMMUNICATION COMMI","currency":null,"accountno":"0111003486"},{"availableBalance":34714514.21,"formattedAmount":"34,714,514.21","bookBalance":34714514.21,"accountType":"","accountName":"SIERRA LEONE MARITIME ADMINISTRA","currency":null,"accountno":"0111003493"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SPECIAL TAX & DUTIES","currency":null,"accountno":"0111003503"},{"availableBalance":431020263.0,"formattedAmount":"431,020,263.00","bookBalance":431020263.0,"accountType":"","accountName":"TIMBER EXPORT LEVY","currency":null,"accountno":"0111003527"},{"availableBalance":6709406.02,"formattedAmount":"6,709,406.02","bookBalance":6709406.02,"accountType":"","accountName":"AFFORESTATION AND CITIES LEVY","currency":null,"accountno":"0111003534"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"MULTI DONOR BASKET FUND FREE EDU","currency":null,"accountno":"0111003572"},{"availableBalance":622112.00,"formattedAmount":"622,112.00","bookBalance":622112.00,"accountType":"","accountName":"MULTI DONOR BASKET FUND 4 FREE E","currency":null,"accountno":"0111003596"},{"availableBalance":-10000000.00,"formattedAmount":"-10,000,000.00","bookBalance":-10000000.00,"accountType":"","accountName":"CORRUPTION REC FUNDS ACCOUNT (SL","currency":null,"accountno":"0111003637"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"CORRUPTION REC FUNDS ACCOUNT (US","currency":null,"accountno":"0111003644"},{"availableBalance":3983620.62,"formattedAmount":"3,983,620.62","bookBalance":3983620.62,"accountType":"","accountName":"SIERRA LEONE STANDARD BUREAU DIS","currency":null,"accountno":"0111003651"},{"availableBalance":2256323.84,"formattedAmount":"2,256,323.84","bookBalance":2256323.84,"accountType":"","accountName":"SIERRA LEONE ROADS SAFETY AUTHOR","currency":null,"accountno":"0111003668"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SLPA/GOSL CARGO TRACKING","currency":null,"accountno":"0111003699"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"RECO FUNDS BASED ON TECHNICAL AU","currency":null,"accountno":"0111003730"},{"availableBalance":16922324.29,"formattedAmount":"16,922,324.29","bookBalance":16922324.29,"accountType":"","accountName":"FISHERIES PROTECTION STATISTICS&","currency":null,"accountno":"0111003754"},{"availableBalance":673795.84,"formattedAmount":"673,795.84","bookBalance":673795.84,"accountType":"","accountName":"FREE HEALTH CARE INITIATIVE","currency":null,"accountno":"0111003778"},{"availableBalance":66065954.89,"formattedAmount":"66,065,954.89","bookBalance":66065954.89,"accountType":"","accountName":"PRODUCE MONITORING BOARD","currency":null,"accountno":"0111003785"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"USL TEACHING HOSPITAL COMPLEX","currency":null,"accountno":"0111003840"},{"availableBalance":11031596.25,"formattedAmount":"11,031,596.25","bookBalance":11031596.25,"accountType":"","accountName":"DUTY WAIVER JOINT MNT FUND TREAS","currency":null,"accountno":"0111003857"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"PUBLIC AUCTION COMMITTE TREASURY","currency":null,"accountno":"0111003864"},{"availableBalance":3623824.03,"formattedAmount":"3,623,824.03","bookBalance":3623824.03,"accountType":"","accountName":"COMM OF INQUIRY SPECIAL RECOVERY","currency":null,"accountno":"0111003888"},{"availableBalance":-2055291.44,"formattedAmount":"-2,055,291.44","bookBalance":-2055291.44,"accountType":"","accountName":"DAILY SUBSISTENCE ALW/MED EXP AC","currency":null,"accountno":"0111003929"},{"availableBalance":3780.96,"formattedAmount":"3,780.96","bookBalance":3780.96,"accountType":"","accountName":"S/L LOCAL CONTENT DEVELOPMENT FU","currency":null,"accountno":"0111003936"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"LSS/SLPA/GOSL CARGO TRACKING","currency":null,"accountno":"0111003943"},{"availableBalance":5000000.0,"formattedAmount":"5,000,000.00","bookBalance":5000000.0,"accountType":"","accountName":"LOCAL COUNCIL DEVELOPMENT PROJEC","currency":null,"accountno":"0111003950"},{"availableBalance":205694040.46,"formattedAmount":"205,694,040.46","bookBalance":205694040.46,"accountType":"","accountName":"DEBT MANAGEMENT TREASURY","currency":null,"accountno":"0111003967"},{"availableBalance":85000.0,"formattedAmount":"85,000.00","bookBalance":85000.0,"accountType":"","accountName":"AUDIT SERVICE S/L - AUDIT FEES","currency":null,"accountno":"0111003974"},{"availableBalance":911265.54,"formattedAmount":"911,265.54","bookBalance":911265.54,"accountType":"","accountName":"NPPA-REV FROM SALE OF BIDDING DO","currency":null,"accountno":"0111003981"},{"availableBalance":20024585.14,"formattedAmount":"20,024,585.14","bookBalance":20024585.14,"accountType":"","accountName":"VEHICLE LOAN SCHEME","currency":null,"accountno":"0111004005"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SLCAA AVIATION FEES","currency":null,"accountno":"0111004012"},{"availableBalance":3326998.54,"formattedAmount":"3,326,998.54","bookBalance":3326998.54,"accountType":"","accountName":"NACOVERC LAB FEES & ENFORCE FINE","currency":null,"accountno":"0111004029"},{"availableBalance":139164.95,"formattedAmount":"139,164.95","bookBalance":139164.95,"accountType":"","accountName":"CTN FEES - FOREIGN CURRENCY","currency":null,"accountno":"0111004036"},{"availableBalance":0.01,"formattedAmount":"0.01","bookBalance":0.01,"accountType":"","accountName":"NATCOM AND BRADCORP GATEWAY REVE","currency":null,"accountno":"0111004043"},{"availableBalance":1120558.48,"formattedAmount":"1,120,558.48","bookBalance":1120558.48,"accountType":"","accountName":"NAT. WATER RESOURCES MGMT AGENCY","currency":null,"accountno":"0111004067"},{"availableBalance":2252147.11,"formattedAmount":"2,252,147.11","bookBalance":2252147.11,"accountType":"","accountName":"NaCOVERC LABORATORY FEES (USD)","currency":null,"accountno":"0111004074"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"WAGE BILL REVOLVING FUND ACCOUNT","currency":null,"accountno":"0111004098"},{"availableBalance":83069442.86,"formattedAmount":"83,069,442.86","bookBalance":83069442.86,"accountType":"","accountName":"STATE LAND SALES A/C","currency":null,"accountno":"0111004160"},{"availableBalance":59935.0,"formattedAmount":"59,935.00","bookBalance":59935.0,"accountType":"","accountName":"34 MILITARY HOSPITAL","currency":null,"accountno":"0111004201"},{"availableBalance":2206155.0,"formattedAmount":"2,206,155.00","bookBalance":2206155.0,"accountType":"","accountName":"BETTING & GAMBLING LICENCES ACCO","currency":null,"accountno":"0111004232"},{"availableBalance":34865.21,"formattedAmount":"34,865.21","bookBalance":34865.21,"accountType":"","accountName":"PAY NO BRIBE CAMPAIGN PROJECT AC","currency":null,"accountno":"0111004421"},{"availableBalance":2293395.84,"formattedAmount":"2,293,395.84","bookBalance":2293395.84,"accountType":"","accountName":"LUNGI BRIDGE FEASIBILITY STUDY(S","currency":null,"accountno":"0111004438"},{"availableBalance":17.05,"formattedAmount":"17.05","bookBalance":17.05,"accountType":"","accountName":"MOPED UNICEF PROGRAM SUPPORT A/C","currency":null,"accountno":"0111004658"},{"availableBalance":164418.88,"formattedAmount":"164,418.88","bookBalance":164418.88,"accountType":"","accountName":"NAT ELECTIONS SUSTAIN TRUST FUND","currency":null,"accountno":"0111004809"},{"availableBalance":0.79,"formattedAmount":"0.79","bookBalance":0.79,"accountType":"","accountName":"IMF SPECIAL DRAWING RIGHTS RETRO","currency":null,"accountno":"0111004847"},{"availableBalance":74814520.77,"formattedAmount":"74,814,520.77","bookBalance":74814520.77,"accountType":"","accountName":"GoSL TSA REVENUE SHARE ACCOUNT","currency":null,"accountno":"0111004878"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"DUTY WAIVER","currency":null,"accountno":"0111004885"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"IMPREST AC FOR ACC GEN DEPT","currency":null,"accountno":"0111004926"},{"availableBalance":10685160.00,"formattedAmount":"10,685,160.00","bookBalance":10685160.00,"accountType":"","accountName":"SL NATIONAL SHIPPING COMPANY ESC","currency":null,"accountno":"0111004995"},{"availableBalance":-1009872.99,"formattedAmount":"-1,009,872.99","bookBalance":-1009872.99,"accountType":"","accountName":"MINISTRY OF DEFENCE QUARTERLY","currency":null,"accountno":"0111005057"},{"availableBalance":-458150.0,"formattedAmount":"-458,150.00","bookBalance":-458150.0,"accountType":"","accountName":"SIERRA LEONE POLICE GENERAL ACCO","currency":null,"accountno":"0111005129"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"SIERRA LEONE CORRECTIONAL SERVIC","currency":null,"accountno":"0111005136"},{"availableBalance":3446.86,"formattedAmount":"3,446.86","bookBalance":3446.86,"accountType":"","accountName":"IMMIGRATION ACCOUNT","currency":null,"accountno":"0111005150"},{"availableBalance":14952799.83,"formattedAmount":"14,952,799.83","bookBalance":14952799.83,"accountType":"","accountName":"DIAGNOSTIC MEDICAL CENTRE","currency":null,"accountno":"0111005260"},{"availableBalance":6699287.89,"formattedAmount":"6,699,287.89","bookBalance":6699287.89,"accountType":"","accountName":"SALES OF AIRSTRIP LANDS","currency":null,"accountno":"0111005332"},{"availableBalance":245148.43,"formattedAmount":"245,148.43","bookBalance":245148.43,"accountType":"","accountName":"GOSL NATIONAL TREE PLANTING","currency":null,"accountno":"0111005387"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"OFFICE OF THE OMBUDSMAN DISBURSE","currency":null,"accountno":"0111005844"},{"availableBalance":9034.5,"formattedAmount":"9,034.50","bookBalance":9034.5,"accountType":"","accountName":"FERTILIZER SUPPORT FUND","currency":null,"accountno":"0111006054"},{"availableBalance":117899.95,"formattedAmount":"117,899.95","bookBalance":117899.95,"accountType":"","accountName":"TERTIARY EDUCATION COMMISSION DI","currency":null,"accountno":"0111006308"},{"availableBalance":1500000.0,"formattedAmount":"1,500,000.00","bookBalance":1500000.0,"accountType":"","accountName":"SIERRA LEONE PHARMACY BOARD DISB","currency":null,"accountno":"0111006377"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"SLMET AGRIC VAL CHA DEV PROJ (AV","currency":null,"accountno":"0111006456"},{"availableBalance":1384132.82,"formattedAmount":"1,384,132.82","bookBalance":1384132.82,"accountType":"","accountName":"DIGITAL DEVELOPMENT FUND (DDF) A","currency":null,"accountno":"0111006535"}],"code":"01","success":true,"description":"Success"}] 2025-11-21 16:46:26.0543||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 16:46:26.0543|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]]'. 2025-11-21 16:46:26.0543|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 2132.0916ms 2025-11-21 16:46:26.0543|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 16:46:26.0543|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2164.4467ms 200 application/json; charset=utf-8 2025-11-21 16:46:26.8185||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-8624381391.76","bookBalance":0.0,"accountType":null,"accountName":"AGD EXPENDITURE ACCOUNTS-GENERAL","currency":null,"accountno":"0111001279","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 16:46:26.8185||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:46:26.8185||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:46:26.8437||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:46:26.8479||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:46:26.8479||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 16:46:26.8742|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 16:46:26.8742|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 16:46:26.8742|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:46:26.8794|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:46:26.8794|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.2952ms 204 2025-11-21 16:46:26.8794|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.0741ms 204 2025-11-21 16:46:26.8794|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 16:46:26.8794|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 16:46:26.8794|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:46:26.8794|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:46:26.8794|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:46:26.8794|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:46:26.8945|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:46:26.8945|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:46:26.8945|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 16:46:26.8945|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 16:46:26.8945|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). 2025-11-21 16:46:26.8945|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). 2025-11-21 16:46:26.8945|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 16:46:26.8945|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 16:46:26.9113|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] 2025-11-21 16:46:26.9113|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]]'. 2025-11-21 16:46:26.9113|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 8.8541ms 2025-11-21 16:46:26.9113|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 16:46:26.9113|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] 2025-11-21 16:46:26.9113|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 31.2125ms 200 application/json; charset=utf-8 2025-11-21 16:46:26.9280|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]]'. 2025-11-21 16:46:26.9280|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 24.9264ms 2025-11-21 16:46:26.9280|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 16:46:26.9280|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 44.5408ms 200 application/json; charset=utf-8 2025-11-21 16:46:27.6693||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-5092566928.3","bookBalance":0.0,"accountType":null,"accountName":"AGD SALARIES AND WAGES ACCOUNT19","currency":null,"accountno":"0111001293","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 16:46:27.6693||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:46:27.6754||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:46:27.6754||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:46:27.6754||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:46:27.6754||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 16:46:28.4434||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"10547897.45","bookBalance":0.0,"accountType":null,"accountName":"ELECTRONIC FUNDS TRANS SUSPENSE","currency":null,"accountno":"SLE116030002","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 16:46:28.4434||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:46:28.4434||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:46:28.4649||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:46:28.4649||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:46:28.4649||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 16:46:29.3664||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-5092566928.3","bookBalance":0.0,"accountType":null,"accountName":"AGD SALARIES AND WAGES ACCOUNT19","currency":null,"accountno":"0111001293","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 16:46:29.3664||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:46:29.3664||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:46:29.3894||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:46:29.3894||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:46:29.3947||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 16:46:30.2190||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-88918787.83","bookBalance":0.0,"accountType":null,"accountName":"AGD PENSIONS ACCOUNTS 1998","currency":null,"accountno":"0111001310","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 16:46:30.2241||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:46:30.2241||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:46:30.2421||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:46:30.2421|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; 2025-11-21 16:46:30.2537|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 2025-11-21 16:46:30.2537|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:46:30.2537|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:46:30.2537|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:46:30.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)) 2025-11-21 16:46:30.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' 2025-11-21 16:46:30.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)) 2025-11-21 16:46:30.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' 2025-11-21 16:46:30.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)) 2025-11-21 16:46:30.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' 2025-11-21 16:46:30.2853|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:46:30.2853|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:46:30.2853|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:46:30.3391|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]]'. 2025-11-21 16:46:30.3391|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6416.904ms 2025-11-21 16:46:30.3391|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 16:46:30.3391|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6446.4778ms 200 application/json; charset=utf-8 2025-11-21 16:46:44.6732|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 16:46:44.6732|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 16:46:44.6815|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:46:44.6732|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:46:44.6732|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 16:46:44.6815|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.8599ms 204 2025-11-21 16:46:44.6815|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 13.4349ms 204 2025-11-21 16:46:44.6815|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:46:44.6815|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 16:46:44.6815|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 16:46:44.6815|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 21.2323ms 204 2025-11-21 16:46:44.6985|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:46:44.6985|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 16:46:44.6985|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:46:44.6985|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:46:44.6985|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:46:44.6985|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:46:44.6985|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:46:44.6985|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:46:44.6985|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:46:44.6985|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 16:46:44.6985|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:46:44.7129|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 16:46:44.7129|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). 2025-11-21 16:46:44.7129|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 16:46:44.7129|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). 2025-11-21 16:46:44.7129|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 16:46:44.7129|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). 2025-11-21 16:46:44.7129|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 16:46:44.7129||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 16:46:44.7129|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 2025-11-21 16:46:44.7319|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)) 2025-11-21 16:46:44.7319|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]]'. 2025-11-21 16:46:44.7319||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 16:46:44.7319||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 16:46:44.7319|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 19.907ms 2025-11-21 16:46:44.7319||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 16:46:44.7319||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 16:46:44.7439|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 16:46:44.7439|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 59.2317ms 200 application/json; charset=utf-8 2025-11-21 16:46:44.7439||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 16:46:44.7602||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 16:46:44.7602||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:46:44.7602||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 16:46:44.7602||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 16:46:44.7602||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 16:46:45.5743||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-8624381391.76","bookBalance":0.0,"accountType":null,"accountName":"AGD EXPENDITURE ACCOUNTS-GENERAL","currency":null,"accountno":"0111001279","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 16:46:45.5743||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:46:45.5743||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:46:45.5945||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:46:45.5945||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:46:45.5945||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 16:46:46.4218||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-8624381391.76","bookBalance":0.0,"accountType":null,"accountName":"AGD EXPENDITURE ACCOUNTS-GENERAL","currency":null,"accountno":"0111001279","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 16:46:46.4218||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:46:46.4218||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:46:46.4429||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:46:46.4480||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:46:46.4480||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 16:46:46.8693|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 16:46:46.8693|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 16:46:46.8693|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:46:46.8693|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:46:46.8693|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.6839ms 204 2025-11-21 16:46:46.8693|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.9341ms 204 2025-11-21 16:46:46.8693|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 16:46:46.8842|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 16:46:46.8842|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:46:46.8842|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:46:46.8842|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:46:46.8842|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:46:46.8842|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:46:46.8842|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:46:46.8842|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 16:46:46.8842|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 16:46:46.8842|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). 2025-11-21 16:46:46.8998|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). 2025-11-21 16:46:46.8998|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 16:46:46.8998|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 16:46:46.8998|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] 2025-11-21 16:46:46.8998|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]]'. 2025-11-21 16:46:46.8998|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 9.0791ms 2025-11-21 16:46:46.8998|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 16:46:46.8998|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] 2025-11-21 16:46:46.8998|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 30.7604ms 200 application/json; charset=utf-8 2025-11-21 16:46:46.9204|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]]'. 2025-11-21 16:46:46.9204|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 19.4776ms 2025-11-21 16:46:46.9204|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 16:46:46.9204|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 39.7728ms 200 application/json; charset=utf-8 2025-11-21 16:46:47.2208||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-5092566928.3","bookBalance":0.0,"accountType":null,"accountName":"AGD SALARIES AND WAGES ACCOUNT19","currency":null,"accountno":"0111001293","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 16:46:47.2208||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:46:47.2300||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:46:47.2436||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:46:47.2436||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:46:47.2436||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 16:46:48.1212||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[{"availableBalance":1008205876.55,"formattedAmount":"1,008,205,876.55","bookBalance":1008205876.55,"accountType":"","accountName":"TREASURY MAIN","currency":null,"accountno":"0111001255"},{"availableBalance":-8624381391.76,"formattedAmount":"-8,624,381,391.76","bookBalance":-8624381391.76,"accountType":"","accountName":"AGD EXPENDITURE ACCOUNTS-GENERAL","currency":null,"accountno":"0111001279"},{"availableBalance":-5092566928.3,"formattedAmount":"-5,092,566,928.30","bookBalance":-5092566928.3,"accountType":"","accountName":"AGD SALARIES AND WAGES ACCOUNT19","currency":null,"accountno":"0111001293"},{"availableBalance":-88918787.83,"formattedAmount":"-88,918,787.83","bookBalance":-88918787.83,"accountType":"","accountName":"AGD PENSIONS ACCOUNTS 1998","currency":null,"accountno":"0111001310"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"DIFD (UK) BUDGSUPPORT GRANT","currency":null,"accountno":"0111001358"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SALARY ADVANCES ACCOUNT","currency":null,"accountno":"0111001372"},{"availableBalance":5660770071.02,"formattedAmount":"5,660,770,071.02","bookBalance":5660770071.02,"accountType":"","accountName":"INCOME TAX TREAS AC","currency":null,"accountno":"0111001396"},{"availableBalance":1639971708.73,"formattedAmount":"1,639,971,708.73","bookBalance":1639971708.73,"accountType":"","accountName":"CUSTOMS AND EXCISE TREAS AC","currency":null,"accountno":"0111001413"},{"availableBalance":126840132.89,"formattedAmount":"126,840,132.89","bookBalance":126840132.89,"accountType":"","accountName":"MARINE RESOURCES TREAS AC","currency":null,"accountno":"0111001437"},{"availableBalance":1171902940.16,"formattedAmount":"1,171,902,940.16","bookBalance":1171902940.16,"accountType":"","accountName":"MINERAL RESOURCES TREAS AC","currency":null,"accountno":"0111001451"},{"availableBalance":10582481.0,"formattedAmount":"10,582,481.00","bookBalance":10582481.0,"accountType":"","accountName":"IMMIGRATION TREAS AC","currency":null,"accountno":"0111001475"},{"availableBalance":452767547.26,"formattedAmount":"452,767,547.26","bookBalance":452767547.26,"accountType":"","accountName":"GENERAL REVENUE TREAS AC","currency":null,"accountno":"0111001499"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"IMMIGRATION ESCROW ACCOUNT","currency":null,"accountno":"0111001516"},{"availableBalance":12109569.0,"formattedAmount":"12,109,569.00","bookBalance":12109569.0,"accountType":"","accountName":"ADMINISTRATOR AND REGISTRAR GENE","currency":null,"accountno":"0111001530"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"POLICE-UNCLAIMED SALARIES WAGES","currency":null,"accountno":"0111001578"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"EDU SCIENCE AND TECH-UNCLAIMED S","currency":null,"accountno":"0111001592"},{"availableBalance":2068951.32,"formattedAmount":"2,068,951.32","bookBalance":2068951.32,"accountType":"","accountName":"OTHER DEPTMINISTRIES-UNCLAIMED S","currency":null,"accountno":"0111001657"},{"availableBalance":650610335.09,"formattedAmount":"650,610,335.09","bookBalance":650610335.09,"accountType":"","accountName":"TREASURY WAYS AND MEANS ADVANCES","currency":null,"accountno":"0111001671"},{"availableBalance":990172300.0,"formattedAmount":"990,172,300.00","bookBalance":990172300.0,"accountType":"","accountName":"TREASURY BEARER BOND ACCOUNTS","currency":null,"accountno":"0111001695"},{"availableBalance":-1359921007.56,"formattedAmount":"-1,359,921,007.56","bookBalance":-1359921007.56,"accountType":"","accountName":"INTEREST ON TREASURY BEARER BOND","currency":null,"accountno":"0111001712"},{"availableBalance":-2301895609.95,"formattedAmount":"-2,301,895,609.95","bookBalance":-2301895609.95,"accountType":"","accountName":"EXTERNAL DEBT SERVICE PAYMENTS","currency":null,"accountno":"0111001736"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"KENEMA GOVT TREASURY DEPOSITS AC","currency":null,"accountno":"0111001750"},{"availableBalance":20494300.88,"formattedAmount":"20,494,300.88","bookBalance":20494300.88,"accountType":"","accountName":"HIPC TRUST FUND ACCOUNT","currency":null,"accountno":"0111001774"},{"availableBalance":-729960.98,"formattedAmount":"-729,960.98","bookBalance":-729960.98,"accountType":"","accountName":"TREASURY BILLS AC","currency":null,"accountno":"0111001839"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"OFIDSL GOV DEBT RELIEF AC","currency":null,"accountno":"0111001891"},{"availableBalance":115026697.18,"formattedAmount":"115,026,697.18","bookBalance":115026697.18,"accountType":"","accountName":"NOMINALCOST AC FOR 182-DAYS TREA","currency":null,"accountno":"0111001918"},{"availableBalance":3320175223.38,"formattedAmount":"3,320,175,223.38","bookBalance":3320175223.38,"accountType":"","accountName":"NOMINALCOST AC FOR 364-DAYS TREA","currency":null,"accountno":"0111001932"},{"availableBalance":-8559679.4,"formattedAmount":"-8,559,679.40","bookBalance":-8559679.4,"accountType":"","accountName":"COMMISSION AC FOR TREASURY BILLS","currency":null,"accountno":"0111001970"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"MIN OF FISHERIES AND MARINE RESO","currency":null,"accountno":"0111002032"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"NAT TELECOMS REVENUE ESCROW AC","currency":null,"accountno":"0111002056"},{"availableBalance":4213148.95,"formattedAmount":"4,213,148.95","bookBalance":4213148.95,"accountType":"","accountName":"SIERRA LEONE PHARMACY BOARD REVE","currency":null,"accountno":"0111002070"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SIERRA LEONE MARITIME ADMIN REVE","currency":null,"accountno":"0111002094"},{"availableBalance":13207078.86,"formattedAmount":"13,207,078.86","bookBalance":13207078.86,"accountType":"","accountName":"SLCAA FOREIGN TRAVEL TAX A/C","currency":null,"accountno":"0111002111"},{"availableBalance":2292475373.13,"formattedAmount":"2,292,475,373.13","bookBalance":2292475373.13,"accountType":"","accountName":"GOODS AND SERVICES TAX ACCOUNT","currency":null,"accountno":"0111002135"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"MARINES FINES AC","currency":null,"accountno":"0111002159"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"AFFORESTATION AC","currency":null,"accountno":"0111002197"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"NATIONAL IDENTITY CARD PROJECT E","currency":null,"accountno":"0111002252"},{"availableBalance":412398.2,"formattedAmount":"412,398.20","bookBalance":412398.2,"accountType":"","accountName":"MINISTRY OF PRESIDENTIAL AND PUB","currency":null,"accountno":"0111002276"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"JAPANESE GRANT FOR COPING WITH C","currency":null,"accountno":"0111002317"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"DIAMOND ROYALTIES AC","currency":null,"accountno":"0111002355"},{"availableBalance":11320146.22,"formattedAmount":"11,320,146.22","bookBalance":11320146.22,"accountType":"","accountName":"NON-TAX REVENUE AC","currency":null,"accountno":"0111002379"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"INT. ON 91 182 364 - DAYS TREASU","currency":null,"accountno":"0111002393"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SIERRATELEBID MODERNISATION AND","currency":null,"accountno":"0111002410"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"IMF BUDGET FINANCING TREASURY A/","currency":null,"accountno":"0111002843"},{"availableBalance":962154707.06,"formattedAmount":"962,154,707.06","bookBalance":962154707.06,"accountType":"","accountName":"PETROLEUM EXCISE DUTY ACCOUNT","currency":null,"accountno":"0111002984"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"CATASTROPHE CONTAINMENT RELIEF T","currency":null,"accountno":"0111002991"},{"availableBalance":-47389.02,"formattedAmount":"-47,389.02","bookBalance":-47389.02,"accountType":"","accountName":"INTEREST ON 91 DAYS TREASURY BIL","currency":null,"accountno":"0111003314"},{"availableBalance":-14662146.43,"formattedAmount":"-14,662,146.43","bookBalance":-14662146.43,"accountType":"","accountName":"INTEREST ON 182 DAYS TREASURY BI","currency":null,"accountno":"0111003321"},{"availableBalance":-4861882392.28,"formattedAmount":"-4,861,882,392.28","bookBalance":-4861882392.28,"accountType":"","accountName":"INTEREST ON 364 DAYS TREASURY BI","currency":null,"accountno":"0111003338"},{"availableBalance":13011149.86,"formattedAmount":"13,011,149.86","bookBalance":13011149.86,"accountType":"","accountName":"PETROLEUM REGULATORY AGENCY","currency":null,"accountno":"0111003448"},{"availableBalance":14624361.1,"formattedAmount":"14,624,361.10","bookBalance":14624361.1,"accountType":"","accountName":"PETROLEUM DIRECTORATE","currency":null,"accountno":"0111003455"},{"availableBalance":716682.0,"formattedAmount":"716,682.00","bookBalance":716682.0,"accountType":"","accountName":"ROAD MAINTENANCE FUND","currency":null,"accountno":"0111003462"},{"availableBalance":12446437.0,"formattedAmount":"12,446,437.00","bookBalance":12446437.0,"accountType":"","accountName":"ENVIRONMENTAL PROTECTION AGENCY","currency":null,"accountno":"0111003479"},{"availableBalance":2736797.72,"formattedAmount":"2,736,797.72","bookBalance":2736797.72,"accountType":"","accountName":"NATIONAL TELECOMMUNICATION COMMI","currency":null,"accountno":"0111003486"},{"availableBalance":34714514.21,"formattedAmount":"34,714,514.21","bookBalance":34714514.21,"accountType":"","accountName":"SIERRA LEONE MARITIME ADMINISTRA","currency":null,"accountno":"0111003493"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SPECIAL TAX & DUTIES","currency":null,"accountno":"0111003503"},{"availableBalance":431020263.0,"formattedAmount":"431,020,263.00","bookBalance":431020263.0,"accountType":"","accountName":"TIMBER EXPORT LEVY","currency":null,"accountno":"0111003527"},{"availableBalance":6709406.02,"formattedAmount":"6,709,406.02","bookBalance":6709406.02,"accountType":"","accountName":"AFFORESTATION AND CITIES LEVY","currency":null,"accountno":"0111003534"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"MULTI DONOR BASKET FUND FREE EDU","currency":null,"accountno":"0111003572"},{"availableBalance":622112.00,"formattedAmount":"622,112.00","bookBalance":622112.00,"accountType":"","accountName":"MULTI DONOR BASKET FUND 4 FREE E","currency":null,"accountno":"0111003596"},{"availableBalance":-10000000.00,"formattedAmount":"-10,000,000.00","bookBalance":-10000000.00,"accountType":"","accountName":"CORRUPTION REC FUNDS ACCOUNT (SL","currency":null,"accountno":"0111003637"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"CORRUPTION REC FUNDS ACCOUNT (US","currency":null,"accountno":"0111003644"},{"availableBalance":3983620.62,"formattedAmount":"3,983,620.62","bookBalance":3983620.62,"accountType":"","accountName":"SIERRA LEONE STANDARD BUREAU DIS","currency":null,"accountno":"0111003651"},{"availableBalance":2256323.84,"formattedAmount":"2,256,323.84","bookBalance":2256323.84,"accountType":"","accountName":"SIERRA LEONE ROADS SAFETY AUTHOR","currency":null,"accountno":"0111003668"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SLPA/GOSL CARGO TRACKING","currency":null,"accountno":"0111003699"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"RECO FUNDS BASED ON TECHNICAL AU","currency":null,"accountno":"0111003730"},{"availableBalance":16922324.29,"formattedAmount":"16,922,324.29","bookBalance":16922324.29,"accountType":"","accountName":"FISHERIES PROTECTION STATISTICS&","currency":null,"accountno":"0111003754"},{"availableBalance":673795.84,"formattedAmount":"673,795.84","bookBalance":673795.84,"accountType":"","accountName":"FREE HEALTH CARE INITIATIVE","currency":null,"accountno":"0111003778"},{"availableBalance":66065954.89,"formattedAmount":"66,065,954.89","bookBalance":66065954.89,"accountType":"","accountName":"PRODUCE MONITORING BOARD","currency":null,"accountno":"0111003785"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"USL TEACHING HOSPITAL COMPLEX","currency":null,"accountno":"0111003840"},{"availableBalance":11031596.25,"formattedAmount":"11,031,596.25","bookBalance":11031596.25,"accountType":"","accountName":"DUTY WAIVER JOINT MNT FUND TREAS","currency":null,"accountno":"0111003857"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"PUBLIC AUCTION COMMITTE TREASURY","currency":null,"accountno":"0111003864"},{"availableBalance":3623824.03,"formattedAmount":"3,623,824.03","bookBalance":3623824.03,"accountType":"","accountName":"COMM OF INQUIRY SPECIAL RECOVERY","currency":null,"accountno":"0111003888"},{"availableBalance":-2055291.44,"formattedAmount":"-2,055,291.44","bookBalance":-2055291.44,"accountType":"","accountName":"DAILY SUBSISTENCE ALW/MED EXP AC","currency":null,"accountno":"0111003929"},{"availableBalance":3780.96,"formattedAmount":"3,780.96","bookBalance":3780.96,"accountType":"","accountName":"S/L LOCAL CONTENT DEVELOPMENT FU","currency":null,"accountno":"0111003936"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"LSS/SLPA/GOSL CARGO TRACKING","currency":null,"accountno":"0111003943"},{"availableBalance":5000000.0,"formattedAmount":"5,000,000.00","bookBalance":5000000.0,"accountType":"","accountName":"LOCAL COUNCIL DEVELOPMENT PROJEC","currency":null,"accountno":"0111003950"},{"availableBalance":205694040.46,"formattedAmount":"205,694,040.46","bookBalance":205694040.46,"accountType":"","accountName":"DEBT MANAGEMENT TREASURY","currency":null,"accountno":"0111003967"},{"availableBalance":85000.0,"formattedAmount":"85,000.00","bookBalance":85000.0,"accountType":"","accountName":"AUDIT SERVICE S/L - AUDIT FEES","currency":null,"accountno":"0111003974"},{"availableBalance":911265.54,"formattedAmount":"911,265.54","bookBalance":911265.54,"accountType":"","accountName":"NPPA-REV FROM SALE OF BIDDING DO","currency":null,"accountno":"0111003981"},{"availableBalance":20024585.14,"formattedAmount":"20,024,585.14","bookBalance":20024585.14,"accountType":"","accountName":"VEHICLE LOAN SCHEME","currency":null,"accountno":"0111004005"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SLCAA AVIATION FEES","currency":null,"accountno":"0111004012"},{"availableBalance":3326998.54,"formattedAmount":"3,326,998.54","bookBalance":3326998.54,"accountType":"","accountName":"NACOVERC LAB FEES & ENFORCE FINE","currency":null,"accountno":"0111004029"},{"availableBalance":139164.95,"formattedAmount":"139,164.95","bookBalance":139164.95,"accountType":"","accountName":"CTN FEES - FOREIGN CURRENCY","currency":null,"accountno":"0111004036"},{"availableBalance":0.01,"formattedAmount":"0.01","bookBalance":0.01,"accountType":"","accountName":"NATCOM AND BRADCORP GATEWAY REVE","currency":null,"accountno":"0111004043"},{"availableBalance":1120558.48,"formattedAmount":"1,120,558.48","bookBalance":1120558.48,"accountType":"","accountName":"NAT. WATER RESOURCES MGMT AGENCY","currency":null,"accountno":"0111004067"},{"availableBalance":2252147.11,"formattedAmount":"2,252,147.11","bookBalance":2252147.11,"accountType":"","accountName":"NaCOVERC LABORATORY FEES (USD)","currency":null,"accountno":"0111004074"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"WAGE BILL REVOLVING FUND ACCOUNT","currency":null,"accountno":"0111004098"},{"availableBalance":83069442.86,"formattedAmount":"83,069,442.86","bookBalance":83069442.86,"accountType":"","accountName":"STATE LAND SALES A/C","currency":null,"accountno":"0111004160"},{"availableBalance":59935.0,"formattedAmount":"59,935.00","bookBalance":59935.0,"accountType":"","accountName":"34 MILITARY HOSPITAL","currency":null,"accountno":"0111004201"},{"availableBalance":2206155.0,"formattedAmount":"2,206,155.00","bookBalance":2206155.0,"accountType":"","accountName":"BETTING & GAMBLING LICENCES ACCO","currency":null,"accountno":"0111004232"},{"availableBalance":34865.21,"formattedAmount":"34,865.21","bookBalance":34865.21,"accountType":"","accountName":"PAY NO BRIBE CAMPAIGN PROJECT AC","currency":null,"accountno":"0111004421"},{"availableBalance":2293395.84,"formattedAmount":"2,293,395.84","bookBalance":2293395.84,"accountType":"","accountName":"LUNGI BRIDGE FEASIBILITY STUDY(S","currency":null,"accountno":"0111004438"},{"availableBalance":17.05,"formattedAmount":"17.05","bookBalance":17.05,"accountType":"","accountName":"MOPED UNICEF PROGRAM SUPPORT A/C","currency":null,"accountno":"0111004658"},{"availableBalance":164418.88,"formattedAmount":"164,418.88","bookBalance":164418.88,"accountType":"","accountName":"NAT ELECTIONS SUSTAIN TRUST FUND","currency":null,"accountno":"0111004809"},{"availableBalance":0.79,"formattedAmount":"0.79","bookBalance":0.79,"accountType":"","accountName":"IMF SPECIAL DRAWING RIGHTS RETRO","currency":null,"accountno":"0111004847"},{"availableBalance":74814520.77,"formattedAmount":"74,814,520.77","bookBalance":74814520.77,"accountType":"","accountName":"GoSL TSA REVENUE SHARE ACCOUNT","currency":null,"accountno":"0111004878"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"DUTY WAIVER","currency":null,"accountno":"0111004885"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"IMPREST AC FOR ACC GEN DEPT","currency":null,"accountno":"0111004926"},{"availableBalance":10685160.00,"formattedAmount":"10,685,160.00","bookBalance":10685160.00,"accountType":"","accountName":"SL NATIONAL SHIPPING COMPANY ESC","currency":null,"accountno":"0111004995"},{"availableBalance":-1009872.99,"formattedAmount":"-1,009,872.99","bookBalance":-1009872.99,"accountType":"","accountName":"MINISTRY OF DEFENCE QUARTERLY","currency":null,"accountno":"0111005057"},{"availableBalance":-458150.0,"formattedAmount":"-458,150.00","bookBalance":-458150.0,"accountType":"","accountName":"SIERRA LEONE POLICE GENERAL ACCO","currency":null,"accountno":"0111005129"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"SIERRA LEONE CORRECTIONAL SERVIC","currency":null,"accountno":"0111005136"},{"availableBalance":3446.86,"formattedAmount":"3,446.86","bookBalance":3446.86,"accountType":"","accountName":"IMMIGRATION ACCOUNT","currency":null,"accountno":"0111005150"},{"availableBalance":14952799.83,"formattedAmount":"14,952,799.83","bookBalance":14952799.83,"accountType":"","accountName":"DIAGNOSTIC MEDICAL CENTRE","currency":null,"accountno":"0111005260"},{"availableBalance":6699287.89,"formattedAmount":"6,699,287.89","bookBalance":6699287.89,"accountType":"","accountName":"SALES OF AIRSTRIP LANDS","currency":null,"accountno":"0111005332"},{"availableBalance":245148.43,"formattedAmount":"245,148.43","bookBalance":245148.43,"accountType":"","accountName":"GOSL NATIONAL TREE PLANTING","currency":null,"accountno":"0111005387"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"OFFICE OF THE OMBUDSMAN DISBURSE","currency":null,"accountno":"0111005844"},{"availableBalance":9034.5,"formattedAmount":"9,034.50","bookBalance":9034.5,"accountType":"","accountName":"FERTILIZER SUPPORT FUND","currency":null,"accountno":"0111006054"},{"availableBalance":117899.95,"formattedAmount":"117,899.95","bookBalance":117899.95,"accountType":"","accountName":"TERTIARY EDUCATION COMMISSION DI","currency":null,"accountno":"0111006308"},{"availableBalance":1500000.0,"formattedAmount":"1,500,000.00","bookBalance":1500000.0,"accountType":"","accountName":"SIERRA LEONE PHARMACY BOARD DISB","currency":null,"accountno":"0111006377"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"SLMET AGRIC VAL CHA DEV PROJ (AV","currency":null,"accountno":"0111006456"},{"availableBalance":1384132.82,"formattedAmount":"1,384,132.82","bookBalance":1384132.82,"accountType":"","accountName":"DIGITAL DEVELOPMENT FUND (DDF) A","currency":null,"accountno":"0111006535"}],"code":"01","success":true,"description":"Success"}] 2025-11-21 16:46:48.1212||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 16:46:48.1212|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]]'. 2025-11-21 16:46:48.1212||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"10547897.45","bookBalance":0.0,"accountType":null,"accountName":"ELECTRONIC FUNDS TRANS SUSPENSE","currency":null,"accountno":"SLE116030002","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 16:46:48.1212|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 3406.4324ms 2025-11-21 16:46:48.1348|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 16:46:48.1348||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:46:48.1348|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 3436.3386ms 200 application/json; charset=utf-8 2025-11-21 16:46:48.1348||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:46:48.1348||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:46:48.1511||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:46:48.1511||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 16:46:48.9603||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-5092566928.3","bookBalance":0.0,"accountType":null,"accountName":"AGD SALARIES AND WAGES ACCOUNT19","currency":null,"accountno":"0111001293","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 16:46:48.9653||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:46:48.9653||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:46:48.9821||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:46:48.9821||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:46:48.9821||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 16:46:49.8015||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-88918787.83","bookBalance":0.0,"accountType":null,"accountName":"AGD PENSIONS ACCOUNTS 1998","currency":null,"accountno":"0111001310","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 16:46:49.8015||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:46:49.8076||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:46:49.8076||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:46:49.8273|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; 2025-11-21 16:46:49.8273|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 2025-11-21 16:46:49.8273|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:46:49.8387|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:46:49.8387|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:46:49.8387|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:46:49.8387|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:46:49.8387|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:46:49.8387|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:46:49.8535|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:46:49.8535|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:46:49.8535|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:46:49.8535|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:46:49.8713|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:46:49.9122|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]]'. 2025-11-21 16:46:49.9157|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 5193.1795ms 2025-11-21 16:46:49.9157|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 16:46:49.9157|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5226.8147ms 200 application/json; charset=utf-8 2025-11-21 16:47:30.1746|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 16:47:30.1746|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 16:47:30.1746|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 16:47:30.1746|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:47:30.1811|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:47:30.1811|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:47:30.1811|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.2449ms 204 2025-11-21 16:47:30.1811|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.7981ms 204 2025-11-21 16:47:30.1811|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.5462ms 204 2025-11-21 16:47:30.1811|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 16:47:30.1811|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 16:47:30.1811|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 16:47:30.1811|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:47:30.1982|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:47:30.1982|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:47:30.1982|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:47:30.1982|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:47:30.1982|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:47:30.1982|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:47:30.1982|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:47:30.1982|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:47:30.1982|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 16:47:30.1982|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 16:47:30.2138|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 16:47:30.2138|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). 2025-11-21 16:47:30.2138|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). 2025-11-21 16:47:30.2138|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). 2025-11-21 16:47:30.2138|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 16:47:30.2138|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 16:47:30.2138||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 16:47:30.2287|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)) 2025-11-21 16:47:30.2287|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 2025-11-21 16:47:30.2287||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 16:47:30.2287|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]]'. 2025-11-21 16:47:30.2287||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 16:47:30.2287|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 14.6451ms 2025-11-21 16:47:30.2287|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 16:47:30.2287|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 47.6521ms 200 application/json; charset=utf-8 2025-11-21 16:47:30.2287||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 16:47:30.2446||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 16:47:30.2446||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 16:47:30.2446||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:47:30.2446||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 16:47:30.2599||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 16:47:30.2599||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 16:47:30.2599||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 16:47:32.1403||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-8624381391.76","bookBalance":0.0,"accountType":null,"accountName":"AGD EXPENDITURE ACCOUNTS-GENERAL","currency":null,"accountno":"0111001279","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 16:47:32.1403||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:47:32.1499||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:47:32.1499|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 16:47:32.1499|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 16:47:32.1499|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:47:32.1499|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:47:32.1499|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 13.0919ms 204 2025-11-21 16:47:32.1499||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:47:32.1663|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 15.3961ms 204 2025-11-21 16:47:32.1663|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 16:47:32.1663||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:47:32.1663|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 16:47:32.1663|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:47:32.1663||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 16:47:32.1663|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:47:32.1815|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:47:32.1815|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:47:32.1815|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:47:32.1815|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:47:32.1815|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 16:47:32.1981|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 16:47:32.1981|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). 2025-11-21 16:47:32.1981|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). 2025-11-21 16:47:32.2127|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 16:47:32.2127|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 16:47:32.2127|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] 2025-11-21 16:47:32.2127|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]]'. 2025-11-21 16:47:32.2127|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 14.859ms 2025-11-21 16:47:32.2279|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] 2025-11-21 16:47:32.2279|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 16:47:32.2279|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 64.9777ms 200 application/json; charset=utf-8 2025-11-21 16:47:32.2279|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]]'. 2025-11-21 16:47:32.2279|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 22.7454ms 2025-11-21 16:47:32.2279|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 16:47:32.2279|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 71.4923ms 200 application/json; charset=utf-8 2025-11-21 16:47:32.3303||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[{"availableBalance":1008205876.55,"formattedAmount":"1,008,205,876.55","bookBalance":1008205876.55,"accountType":"","accountName":"TREASURY MAIN","currency":null,"accountno":"0111001255"},{"availableBalance":-8624381391.76,"formattedAmount":"-8,624,381,391.76","bookBalance":-8624381391.76,"accountType":"","accountName":"AGD EXPENDITURE ACCOUNTS-GENERAL","currency":null,"accountno":"0111001279"},{"availableBalance":-5092566928.3,"formattedAmount":"-5,092,566,928.30","bookBalance":-5092566928.3,"accountType":"","accountName":"AGD SALARIES AND WAGES ACCOUNT19","currency":null,"accountno":"0111001293"},{"availableBalance":-88918787.83,"formattedAmount":"-88,918,787.83","bookBalance":-88918787.83,"accountType":"","accountName":"AGD PENSIONS ACCOUNTS 1998","currency":null,"accountno":"0111001310"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"DIFD (UK) BUDGSUPPORT GRANT","currency":null,"accountno":"0111001358"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SALARY ADVANCES ACCOUNT","currency":null,"accountno":"0111001372"},{"availableBalance":5660770071.02,"formattedAmount":"5,660,770,071.02","bookBalance":5660770071.02,"accountType":"","accountName":"INCOME TAX TREAS AC","currency":null,"accountno":"0111001396"},{"availableBalance":1639971708.73,"formattedAmount":"1,639,971,708.73","bookBalance":1639971708.73,"accountType":"","accountName":"CUSTOMS AND EXCISE TREAS AC","currency":null,"accountno":"0111001413"},{"availableBalance":126840132.89,"formattedAmount":"126,840,132.89","bookBalance":126840132.89,"accountType":"","accountName":"MARINE RESOURCES TREAS AC","currency":null,"accountno":"0111001437"},{"availableBalance":1171902940.16,"formattedAmount":"1,171,902,940.16","bookBalance":1171902940.16,"accountType":"","accountName":"MINERAL RESOURCES TREAS AC","currency":null,"accountno":"0111001451"},{"availableBalance":10582481.0,"formattedAmount":"10,582,481.00","bookBalance":10582481.0,"accountType":"","accountName":"IMMIGRATION TREAS AC","currency":null,"accountno":"0111001475"},{"availableBalance":452767547.26,"formattedAmount":"452,767,547.26","bookBalance":452767547.26,"accountType":"","accountName":"GENERAL REVENUE TREAS AC","currency":null,"accountno":"0111001499"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"IMMIGRATION ESCROW ACCOUNT","currency":null,"accountno":"0111001516"},{"availableBalance":12109569.0,"formattedAmount":"12,109,569.00","bookBalance":12109569.0,"accountType":"","accountName":"ADMINISTRATOR AND REGISTRAR GENE","currency":null,"accountno":"0111001530"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"POLICE-UNCLAIMED SALARIES WAGES","currency":null,"accountno":"0111001578"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"EDU SCIENCE AND TECH-UNCLAIMED S","currency":null,"accountno":"0111001592"},{"availableBalance":2068951.32,"formattedAmount":"2,068,951.32","bookBalance":2068951.32,"accountType":"","accountName":"OTHER DEPTMINISTRIES-UNCLAIMED S","currency":null,"accountno":"0111001657"},{"availableBalance":650610335.09,"formattedAmount":"650,610,335.09","bookBalance":650610335.09,"accountType":"","accountName":"TREASURY WAYS AND MEANS ADVANCES","currency":null,"accountno":"0111001671"},{"availableBalance":990172300.0,"formattedAmount":"990,172,300.00","bookBalance":990172300.0,"accountType":"","accountName":"TREASURY BEARER BOND ACCOUNTS","currency":null,"accountno":"0111001695"},{"availableBalance":-1359921007.56,"formattedAmount":"-1,359,921,007.56","bookBalance":-1359921007.56,"accountType":"","accountName":"INTEREST ON TREASURY BEARER BOND","currency":null,"accountno":"0111001712"},{"availableBalance":-2301895609.95,"formattedAmount":"-2,301,895,609.95","bookBalance":-2301895609.95,"accountType":"","accountName":"EXTERNAL DEBT SERVICE PAYMENTS","currency":null,"accountno":"0111001736"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"KENEMA GOVT TREASURY DEPOSITS AC","currency":null,"accountno":"0111001750"},{"availableBalance":20494300.88,"formattedAmount":"20,494,300.88","bookBalance":20494300.88,"accountType":"","accountName":"HIPC TRUST FUND ACCOUNT","currency":null,"accountno":"0111001774"},{"availableBalance":-729960.98,"formattedAmount":"-729,960.98","bookBalance":-729960.98,"accountType":"","accountName":"TREASURY BILLS AC","currency":null,"accountno":"0111001839"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"OFIDSL GOV DEBT RELIEF AC","currency":null,"accountno":"0111001891"},{"availableBalance":115026697.18,"formattedAmount":"115,026,697.18","bookBalance":115026697.18,"accountType":"","accountName":"NOMINALCOST AC FOR 182-DAYS TREA","currency":null,"accountno":"0111001918"},{"availableBalance":3320175223.38,"formattedAmount":"3,320,175,223.38","bookBalance":3320175223.38,"accountType":"","accountName":"NOMINALCOST AC FOR 364-DAYS TREA","currency":null,"accountno":"0111001932"},{"availableBalance":-8559679.4,"formattedAmount":"-8,559,679.40","bookBalance":-8559679.4,"accountType":"","accountName":"COMMISSION AC FOR TREASURY BILLS","currency":null,"accountno":"0111001970"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"MIN OF FISHERIES AND MARINE RESO","currency":null,"accountno":"0111002032"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"NAT TELECOMS REVENUE ESCROW AC","currency":null,"accountno":"0111002056"},{"availableBalance":4213148.95,"formattedAmount":"4,213,148.95","bookBalance":4213148.95,"accountType":"","accountName":"SIERRA LEONE PHARMACY BOARD REVE","currency":null,"accountno":"0111002070"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SIERRA LEONE MARITIME ADMIN REVE","currency":null,"accountno":"0111002094"},{"availableBalance":13207078.86,"formattedAmount":"13,207,078.86","bookBalance":13207078.86,"accountType":"","accountName":"SLCAA FOREIGN TRAVEL TAX A/C","currency":null,"accountno":"0111002111"},{"availableBalance":2292475373.13,"formattedAmount":"2,292,475,373.13","bookBalance":2292475373.13,"accountType":"","accountName":"GOODS AND SERVICES TAX ACCOUNT","currency":null,"accountno":"0111002135"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"MARINES FINES AC","currency":null,"accountno":"0111002159"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"AFFORESTATION AC","currency":null,"accountno":"0111002197"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"NATIONAL IDENTITY CARD PROJECT E","currency":null,"accountno":"0111002252"},{"availableBalance":412398.2,"formattedAmount":"412,398.20","bookBalance":412398.2,"accountType":"","accountName":"MINISTRY OF PRESIDENTIAL AND PUB","currency":null,"accountno":"0111002276"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"JAPANESE GRANT FOR COPING WITH C","currency":null,"accountno":"0111002317"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"DIAMOND ROYALTIES AC","currency":null,"accountno":"0111002355"},{"availableBalance":11320146.22,"formattedAmount":"11,320,146.22","bookBalance":11320146.22,"accountType":"","accountName":"NON-TAX REVENUE AC","currency":null,"accountno":"0111002379"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"INT. ON 91 182 364 - DAYS TREASU","currency":null,"accountno":"0111002393"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SIERRATELEBID MODERNISATION AND","currency":null,"accountno":"0111002410"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"IMF BUDGET FINANCING TREASURY A/","currency":null,"accountno":"0111002843"},{"availableBalance":962154707.06,"formattedAmount":"962,154,707.06","bookBalance":962154707.06,"accountType":"","accountName":"PETROLEUM EXCISE DUTY ACCOUNT","currency":null,"accountno":"0111002984"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"CATASTROPHE CONTAINMENT RELIEF T","currency":null,"accountno":"0111002991"},{"availableBalance":-47389.02,"formattedAmount":"-47,389.02","bookBalance":-47389.02,"accountType":"","accountName":"INTEREST ON 91 DAYS TREASURY BIL","currency":null,"accountno":"0111003314"},{"availableBalance":-14662146.43,"formattedAmount":"-14,662,146.43","bookBalance":-14662146.43,"accountType":"","accountName":"INTEREST ON 182 DAYS TREASURY BI","currency":null,"accountno":"0111003321"},{"availableBalance":-4861882392.28,"formattedAmount":"-4,861,882,392.28","bookBalance":-4861882392.28,"accountType":"","accountName":"INTEREST ON 364 DAYS TREASURY BI","currency":null,"accountno":"0111003338"},{"availableBalance":13011149.86,"formattedAmount":"13,011,149.86","bookBalance":13011149.86,"accountType":"","accountName":"PETROLEUM REGULATORY AGENCY","currency":null,"accountno":"0111003448"},{"availableBalance":14624361.1,"formattedAmount":"14,624,361.10","bookBalance":14624361.1,"accountType":"","accountName":"PETROLEUM DIRECTORATE","currency":null,"accountno":"0111003455"},{"availableBalance":716682.0,"formattedAmount":"716,682.00","bookBalance":716682.0,"accountType":"","accountName":"ROAD MAINTENANCE FUND","currency":null,"accountno":"0111003462"},{"availableBalance":12446437.0,"formattedAmount":"12,446,437.00","bookBalance":12446437.0,"accountType":"","accountName":"ENVIRONMENTAL PROTECTION AGENCY","currency":null,"accountno":"0111003479"},{"availableBalance":2736797.72,"formattedAmount":"2,736,797.72","bookBalance":2736797.72,"accountType":"","accountName":"NATIONAL TELECOMMUNICATION COMMI","currency":null,"accountno":"0111003486"},{"availableBalance":34714514.21,"formattedAmount":"34,714,514.21","bookBalance":34714514.21,"accountType":"","accountName":"SIERRA LEONE MARITIME ADMINISTRA","currency":null,"accountno":"0111003493"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SPECIAL TAX & DUTIES","currency":null,"accountno":"0111003503"},{"availableBalance":431020263.0,"formattedAmount":"431,020,263.00","bookBalance":431020263.0,"accountType":"","accountName":"TIMBER EXPORT LEVY","currency":null,"accountno":"0111003527"},{"availableBalance":6709406.02,"formattedAmount":"6,709,406.02","bookBalance":6709406.02,"accountType":"","accountName":"AFFORESTATION AND CITIES LEVY","currency":null,"accountno":"0111003534"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"MULTI DONOR BASKET FUND FREE EDU","currency":null,"accountno":"0111003572"},{"availableBalance":622112.00,"formattedAmount":"622,112.00","bookBalance":622112.00,"accountType":"","accountName":"MULTI DONOR BASKET FUND 4 FREE E","currency":null,"accountno":"0111003596"},{"availableBalance":-10000000.00,"formattedAmount":"-10,000,000.00","bookBalance":-10000000.00,"accountType":"","accountName":"CORRUPTION REC FUNDS ACCOUNT (SL","currency":null,"accountno":"0111003637"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"CORRUPTION REC FUNDS ACCOUNT (US","currency":null,"accountno":"0111003644"},{"availableBalance":3983620.62,"formattedAmount":"3,983,620.62","bookBalance":3983620.62,"accountType":"","accountName":"SIERRA LEONE STANDARD BUREAU DIS","currency":null,"accountno":"0111003651"},{"availableBalance":2256323.84,"formattedAmount":"2,256,323.84","bookBalance":2256323.84,"accountType":"","accountName":"SIERRA LEONE ROADS SAFETY AUTHOR","currency":null,"accountno":"0111003668"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SLPA/GOSL CARGO TRACKING","currency":null,"accountno":"0111003699"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"RECO FUNDS BASED ON TECHNICAL AU","currency":null,"accountno":"0111003730"},{"availableBalance":16922324.29,"formattedAmount":"16,922,324.29","bookBalance":16922324.29,"accountType":"","accountName":"FISHERIES PROTECTION STATISTICS&","currency":null,"accountno":"0111003754"},{"availableBalance":673795.84,"formattedAmount":"673,795.84","bookBalance":673795.84,"accountType":"","accountName":"FREE HEALTH CARE INITIATIVE","currency":null,"accountno":"0111003778"},{"availableBalance":66065954.89,"formattedAmount":"66,065,954.89","bookBalance":66065954.89,"accountType":"","accountName":"PRODUCE MONITORING BOARD","currency":null,"accountno":"0111003785"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"USL TEACHING HOSPITAL COMPLEX","currency":null,"accountno":"0111003840"},{"availableBalance":11031596.25,"formattedAmount":"11,031,596.25","bookBalance":11031596.25,"accountType":"","accountName":"DUTY WAIVER JOINT MNT FUND TREAS","currency":null,"accountno":"0111003857"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"PUBLIC AUCTION COMMITTE TREASURY","currency":null,"accountno":"0111003864"},{"availableBalance":3623824.03,"formattedAmount":"3,623,824.03","bookBalance":3623824.03,"accountType":"","accountName":"COMM OF INQUIRY SPECIAL RECOVERY","currency":null,"accountno":"0111003888"},{"availableBalance":-2055291.44,"formattedAmount":"-2,055,291.44","bookBalance":-2055291.44,"accountType":"","accountName":"DAILY SUBSISTENCE ALW/MED EXP AC","currency":null,"accountno":"0111003929"},{"availableBalance":3780.96,"formattedAmount":"3,780.96","bookBalance":3780.96,"accountType":"","accountName":"S/L LOCAL CONTENT DEVELOPMENT FU","currency":null,"accountno":"0111003936"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"LSS/SLPA/GOSL CARGO TRACKING","currency":null,"accountno":"0111003943"},{"availableBalance":5000000.0,"formattedAmount":"5,000,000.00","bookBalance":5000000.0,"accountType":"","accountName":"LOCAL COUNCIL DEVELOPMENT PROJEC","currency":null,"accountno":"0111003950"},{"availableBalance":205694040.46,"formattedAmount":"205,694,040.46","bookBalance":205694040.46,"accountType":"","accountName":"DEBT MANAGEMENT TREASURY","currency":null,"accountno":"0111003967"},{"availableBalance":85000.0,"formattedAmount":"85,000.00","bookBalance":85000.0,"accountType":"","accountName":"AUDIT SERVICE S/L - AUDIT FEES","currency":null,"accountno":"0111003974"},{"availableBalance":911265.54,"formattedAmount":"911,265.54","bookBalance":911265.54,"accountType":"","accountName":"NPPA-REV FROM SALE OF BIDDING DO","currency":null,"accountno":"0111003981"},{"availableBalance":20024585.14,"formattedAmount":"20,024,585.14","bookBalance":20024585.14,"accountType":"","accountName":"VEHICLE LOAN SCHEME","currency":null,"accountno":"0111004005"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SLCAA AVIATION FEES","currency":null,"accountno":"0111004012"},{"availableBalance":3326998.54,"formattedAmount":"3,326,998.54","bookBalance":3326998.54,"accountType":"","accountName":"NACOVERC LAB FEES & ENFORCE FINE","currency":null,"accountno":"0111004029"},{"availableBalance":139164.95,"formattedAmount":"139,164.95","bookBalance":139164.95,"accountType":"","accountName":"CTN FEES - FOREIGN CURRENCY","currency":null,"accountno":"0111004036"},{"availableBalance":0.01,"formattedAmount":"0.01","bookBalance":0.01,"accountType":"","accountName":"NATCOM AND BRADCORP GATEWAY REVE","currency":null,"accountno":"0111004043"},{"availableBalance":1120558.48,"formattedAmount":"1,120,558.48","bookBalance":1120558.48,"accountType":"","accountName":"NAT. WATER RESOURCES MGMT AGENCY","currency":null,"accountno":"0111004067"},{"availableBalance":2252147.11,"formattedAmount":"2,252,147.11","bookBalance":2252147.11,"accountType":"","accountName":"NaCOVERC LABORATORY FEES (USD)","currency":null,"accountno":"0111004074"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"WAGE BILL REVOLVING FUND ACCOUNT","currency":null,"accountno":"0111004098"},{"availableBalance":83069442.86,"formattedAmount":"83,069,442.86","bookBalance":83069442.86,"accountType":"","accountName":"STATE LAND SALES A/C","currency":null,"accountno":"0111004160"},{"availableBalance":59935.0,"formattedAmount":"59,935.00","bookBalance":59935.0,"accountType":"","accountName":"34 MILITARY HOSPITAL","currency":null,"accountno":"0111004201"},{"availableBalance":2206155.0,"formattedAmount":"2,206,155.00","bookBalance":2206155.0,"accountType":"","accountName":"BETTING & GAMBLING LICENCES ACCO","currency":null,"accountno":"0111004232"},{"availableBalance":34865.21,"formattedAmount":"34,865.21","bookBalance":34865.21,"accountType":"","accountName":"PAY NO BRIBE CAMPAIGN PROJECT AC","currency":null,"accountno":"0111004421"},{"availableBalance":2293395.84,"formattedAmount":"2,293,395.84","bookBalance":2293395.84,"accountType":"","accountName":"LUNGI BRIDGE FEASIBILITY STUDY(S","currency":null,"accountno":"0111004438"},{"availableBalance":17.05,"formattedAmount":"17.05","bookBalance":17.05,"accountType":"","accountName":"MOPED UNICEF PROGRAM SUPPORT A/C","currency":null,"accountno":"0111004658"},{"availableBalance":164418.88,"formattedAmount":"164,418.88","bookBalance":164418.88,"accountType":"","accountName":"NAT ELECTIONS SUSTAIN TRUST FUND","currency":null,"accountno":"0111004809"},{"availableBalance":0.79,"formattedAmount":"0.79","bookBalance":0.79,"accountType":"","accountName":"IMF SPECIAL DRAWING RIGHTS RETRO","currency":null,"accountno":"0111004847"},{"availableBalance":74814520.77,"formattedAmount":"74,814,520.77","bookBalance":74814520.77,"accountType":"","accountName":"GoSL TSA REVENUE SHARE ACCOUNT","currency":null,"accountno":"0111004878"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"DUTY WAIVER","currency":null,"accountno":"0111004885"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"IMPREST AC FOR ACC GEN DEPT","currency":null,"accountno":"0111004926"},{"availableBalance":10685160.00,"formattedAmount":"10,685,160.00","bookBalance":10685160.00,"accountType":"","accountName":"SL NATIONAL SHIPPING COMPANY ESC","currency":null,"accountno":"0111004995"},{"availableBalance":-1009872.99,"formattedAmount":"-1,009,872.99","bookBalance":-1009872.99,"accountType":"","accountName":"MINISTRY OF DEFENCE QUARTERLY","currency":null,"accountno":"0111005057"},{"availableBalance":-458150.0,"formattedAmount":"-458,150.00","bookBalance":-458150.0,"accountType":"","accountName":"SIERRA LEONE POLICE GENERAL ACCO","currency":null,"accountno":"0111005129"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"SIERRA LEONE CORRECTIONAL SERVIC","currency":null,"accountno":"0111005136"},{"availableBalance":3446.86,"formattedAmount":"3,446.86","bookBalance":3446.86,"accountType":"","accountName":"IMMIGRATION ACCOUNT","currency":null,"accountno":"0111005150"},{"availableBalance":14952799.83,"formattedAmount":"14,952,799.83","bookBalance":14952799.83,"accountType":"","accountName":"DIAGNOSTIC MEDICAL CENTRE","currency":null,"accountno":"0111005260"},{"availableBalance":6699287.89,"formattedAmount":"6,699,287.89","bookBalance":6699287.89,"accountType":"","accountName":"SALES OF AIRSTRIP LANDS","currency":null,"accountno":"0111005332"},{"availableBalance":245148.43,"formattedAmount":"245,148.43","bookBalance":245148.43,"accountType":"","accountName":"GOSL NATIONAL TREE PLANTING","currency":null,"accountno":"0111005387"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"OFFICE OF THE OMBUDSMAN DISBURSE","currency":null,"accountno":"0111005844"},{"availableBalance":9034.5,"formattedAmount":"9,034.50","bookBalance":9034.5,"accountType":"","accountName":"FERTILIZER SUPPORT FUND","currency":null,"accountno":"0111006054"},{"availableBalance":117899.95,"formattedAmount":"117,899.95","bookBalance":117899.95,"accountType":"","accountName":"TERTIARY EDUCATION COMMISSION DI","currency":null,"accountno":"0111006308"},{"availableBalance":1500000.0,"formattedAmount":"1,500,000.00","bookBalance":1500000.0,"accountType":"","accountName":"SIERRA LEONE PHARMACY BOARD DISB","currency":null,"accountno":"0111006377"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"SLMET AGRIC VAL CHA DEV PROJ (AV","currency":null,"accountno":"0111006456"},{"availableBalance":1384132.82,"formattedAmount":"1,384,132.82","bookBalance":1384132.82,"accountType":"","accountName":"DIGITAL DEVELOPMENT FUND (DDF) A","currency":null,"accountno":"0111006535"}],"code":"01","success":true,"description":"Success"}] 2025-11-21 16:47:32.3303||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 16:47:32.3412|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]]'. 2025-11-21 16:47:32.3412|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 2119.0768ms 2025-11-21 16:47:32.3412|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 16:47:32.3412|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2152.548ms 200 application/json; charset=utf-8 2025-11-21 16:47:32.9957||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-8624381391.76","bookBalance":0.0,"accountType":null,"accountName":"AGD EXPENDITURE ACCOUNTS-GENERAL","currency":null,"accountno":"0111001279","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 16:47:32.9957||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:47:32.9957||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:47:33.0204||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:47:33.0249||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:47:33.0249||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 16:47:33.8097||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-5092566928.3","bookBalance":0.0,"accountType":null,"accountName":"AGD SALARIES AND WAGES ACCOUNT19","currency":null,"accountno":"0111001293","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 16:47:33.8097||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:47:33.8097||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:47:33.8307||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:47:33.8307||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:47:33.8307||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 16:47:34.5814||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"10547897.45","bookBalance":0.0,"accountType":null,"accountName":"ELECTRONIC FUNDS TRANS SUSPENSE","currency":null,"accountno":"SLE116030002","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 16:47:34.5814||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:47:34.5896||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:47:34.6044||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:47:34.6044||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:47:34.6044||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 16:47:35.1577|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 16:47:35.1577|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 16:47:35.1577|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:47:35.1577|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:47:35.1577|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:47:35.1718|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:47:35.1718|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:47:35.1718|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:47:35.1718|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 16:47:35.1718|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 16:47:35.1718|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). 2025-11-21 16:47:35.1718|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). 2025-11-21 16:47:35.1718|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 16:47:35.1718||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 16:47:35.1880|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 2025-11-21 16:47:35.1880|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]]'. 2025-11-21 16:47:35.1880|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 7.5941ms 2025-11-21 16:47:35.1880|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 16:47:35.1880|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 36.114ms 200 application/json; charset=utf-8 2025-11-21 16:47:35.1880||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 16:47:35.1880||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 16:47:35.2144||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 16:47:35.2182||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 16:47:35.2182||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 16:47:35.4098||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-5092566928.3","bookBalance":0.0,"accountType":null,"accountName":"AGD SALARIES AND WAGES ACCOUNT19","currency":null,"accountno":"0111001293","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 16:47:35.4098||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:47:35.4098||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:47:35.4291||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:47:35.4291||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:47:35.4291||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 16:47:36.2362||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-88918787.83","bookBalance":0.0,"accountType":null,"accountName":"AGD PENSIONS ACCOUNTS 1998","currency":null,"accountno":"0111001310","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 16:47:36.2362||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:47:36.2458||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:47:36.2615||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:47:36.2615|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; 2025-11-21 16:47:36.2806|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 2025-11-21 16:47:36.2806|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:47:36.2806|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)) 2025-11-21 16:47:36.2939|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:47:36.2939|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:47:36.2939|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:47:36.2939|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:47:36.3071|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:47:36.3071|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:47:36.3071|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:47:36.3071|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:47:36.3071|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:47:36.3071|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:47:36.3586|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]]'. 2025-11-21 16:47:36.3586|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6142.5423ms 2025-11-21 16:47:36.3586|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 16:47:36.3586|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6172.3627ms 200 application/json; charset=utf-8 2025-11-21 16:47:36.3698|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 16:47:36.3698|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:47:36.3698|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:47:36.3698|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:47:36.3698|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 16:47:36.3698|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). 2025-11-21 16:47:36.3698|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 16:47:36.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)) 2025-11-21 16:47:36.3698||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 16:47:36.3862||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 16:47:36.4063||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 16:47:36.4063||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:47:36.4063||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 16:47:37.2590||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-8624381391.76","bookBalance":0.0,"accountType":null,"accountName":"AGD EXPENDITURE ACCOUNTS-GENERAL","currency":null,"accountno":"0111001279","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 16:47:37.2613||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:47:37.2613||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:47:37.2613||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:47:37.2768||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:47:37.2768||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 16:47:37.3272||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[{"availableBalance":1008205876.55,"formattedAmount":"1,008,205,876.55","bookBalance":1008205876.55,"accountType":"","accountName":"TREASURY MAIN","currency":null,"accountno":"0111001255"},{"availableBalance":-8624381391.76,"formattedAmount":"-8,624,381,391.76","bookBalance":-8624381391.76,"accountType":"","accountName":"AGD EXPENDITURE ACCOUNTS-GENERAL","currency":null,"accountno":"0111001279"},{"availableBalance":-5092566928.3,"formattedAmount":"-5,092,566,928.30","bookBalance":-5092566928.3,"accountType":"","accountName":"AGD SALARIES AND WAGES ACCOUNT19","currency":null,"accountno":"0111001293"},{"availableBalance":-88918787.83,"formattedAmount":"-88,918,787.83","bookBalance":-88918787.83,"accountType":"","accountName":"AGD PENSIONS ACCOUNTS 1998","currency":null,"accountno":"0111001310"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"DIFD (UK) BUDGSUPPORT GRANT","currency":null,"accountno":"0111001358"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SALARY ADVANCES ACCOUNT","currency":null,"accountno":"0111001372"},{"availableBalance":5660770071.02,"formattedAmount":"5,660,770,071.02","bookBalance":5660770071.02,"accountType":"","accountName":"INCOME TAX TREAS AC","currency":null,"accountno":"0111001396"},{"availableBalance":1639971708.73,"formattedAmount":"1,639,971,708.73","bookBalance":1639971708.73,"accountType":"","accountName":"CUSTOMS AND EXCISE TREAS AC","currency":null,"accountno":"0111001413"},{"availableBalance":126840132.89,"formattedAmount":"126,840,132.89","bookBalance":126840132.89,"accountType":"","accountName":"MARINE RESOURCES TREAS AC","currency":null,"accountno":"0111001437"},{"availableBalance":1171902940.16,"formattedAmount":"1,171,902,940.16","bookBalance":1171902940.16,"accountType":"","accountName":"MINERAL RESOURCES TREAS AC","currency":null,"accountno":"0111001451"},{"availableBalance":10582481.0,"formattedAmount":"10,582,481.00","bookBalance":10582481.0,"accountType":"","accountName":"IMMIGRATION TREAS AC","currency":null,"accountno":"0111001475"},{"availableBalance":452767547.26,"formattedAmount":"452,767,547.26","bookBalance":452767547.26,"accountType":"","accountName":"GENERAL REVENUE TREAS AC","currency":null,"accountno":"0111001499"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"IMMIGRATION ESCROW ACCOUNT","currency":null,"accountno":"0111001516"},{"availableBalance":12109569.0,"formattedAmount":"12,109,569.00","bookBalance":12109569.0,"accountType":"","accountName":"ADMINISTRATOR AND REGISTRAR GENE","currency":null,"accountno":"0111001530"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"POLICE-UNCLAIMED SALARIES WAGES","currency":null,"accountno":"0111001578"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"EDU SCIENCE AND TECH-UNCLAIMED S","currency":null,"accountno":"0111001592"},{"availableBalance":2068951.32,"formattedAmount":"2,068,951.32","bookBalance":2068951.32,"accountType":"","accountName":"OTHER DEPTMINISTRIES-UNCLAIMED S","currency":null,"accountno":"0111001657"},{"availableBalance":650610335.09,"formattedAmount":"650,610,335.09","bookBalance":650610335.09,"accountType":"","accountName":"TREASURY WAYS AND MEANS ADVANCES","currency":null,"accountno":"0111001671"},{"availableBalance":990172300.0,"formattedAmount":"990,172,300.00","bookBalance":990172300.0,"accountType":"","accountName":"TREASURY BEARER BOND ACCOUNTS","currency":null,"accountno":"0111001695"},{"availableBalance":-1359921007.56,"formattedAmount":"-1,359,921,007.56","bookBalance":-1359921007.56,"accountType":"","accountName":"INTEREST ON TREASURY BEARER BOND","currency":null,"accountno":"0111001712"},{"availableBalance":-2301895609.95,"formattedAmount":"-2,301,895,609.95","bookBalance":-2301895609.95,"accountType":"","accountName":"EXTERNAL DEBT SERVICE PAYMENTS","currency":null,"accountno":"0111001736"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"KENEMA GOVT TREASURY DEPOSITS AC","currency":null,"accountno":"0111001750"},{"availableBalance":20494300.88,"formattedAmount":"20,494,300.88","bookBalance":20494300.88,"accountType":"","accountName":"HIPC TRUST FUND ACCOUNT","currency":null,"accountno":"0111001774"},{"availableBalance":-729960.98,"formattedAmount":"-729,960.98","bookBalance":-729960.98,"accountType":"","accountName":"TREASURY BILLS AC","currency":null,"accountno":"0111001839"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"OFIDSL GOV DEBT RELIEF AC","currency":null,"accountno":"0111001891"},{"availableBalance":115026697.18,"formattedAmount":"115,026,697.18","bookBalance":115026697.18,"accountType":"","accountName":"NOMINALCOST AC FOR 182-DAYS TREA","currency":null,"accountno":"0111001918"},{"availableBalance":3320175223.38,"formattedAmount":"3,320,175,223.38","bookBalance":3320175223.38,"accountType":"","accountName":"NOMINALCOST AC FOR 364-DAYS TREA","currency":null,"accountno":"0111001932"},{"availableBalance":-8559679.4,"formattedAmount":"-8,559,679.40","bookBalance":-8559679.4,"accountType":"","accountName":"COMMISSION AC FOR TREASURY BILLS","currency":null,"accountno":"0111001970"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"MIN OF FISHERIES AND MARINE RESO","currency":null,"accountno":"0111002032"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"NAT TELECOMS REVENUE ESCROW AC","currency":null,"accountno":"0111002056"},{"availableBalance":4213148.95,"formattedAmount":"4,213,148.95","bookBalance":4213148.95,"accountType":"","accountName":"SIERRA LEONE PHARMACY BOARD REVE","currency":null,"accountno":"0111002070"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SIERRA LEONE MARITIME ADMIN REVE","currency":null,"accountno":"0111002094"},{"availableBalance":13207078.86,"formattedAmount":"13,207,078.86","bookBalance":13207078.86,"accountType":"","accountName":"SLCAA FOREIGN TRAVEL TAX A/C","currency":null,"accountno":"0111002111"},{"availableBalance":2292475373.13,"formattedAmount":"2,292,475,373.13","bookBalance":2292475373.13,"accountType":"","accountName":"GOODS AND SERVICES TAX ACCOUNT","currency":null,"accountno":"0111002135"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"MARINES FINES AC","currency":null,"accountno":"0111002159"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"AFFORESTATION AC","currency":null,"accountno":"0111002197"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"NATIONAL IDENTITY CARD PROJECT E","currency":null,"accountno":"0111002252"},{"availableBalance":412398.2,"formattedAmount":"412,398.20","bookBalance":412398.2,"accountType":"","accountName":"MINISTRY OF PRESIDENTIAL AND PUB","currency":null,"accountno":"0111002276"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"JAPANESE GRANT FOR COPING WITH C","currency":null,"accountno":"0111002317"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"DIAMOND ROYALTIES AC","currency":null,"accountno":"0111002355"},{"availableBalance":11320146.22,"formattedAmount":"11,320,146.22","bookBalance":11320146.22,"accountType":"","accountName":"NON-TAX REVENUE AC","currency":null,"accountno":"0111002379"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"INT. ON 91 182 364 - DAYS TREASU","currency":null,"accountno":"0111002393"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SIERRATELEBID MODERNISATION AND","currency":null,"accountno":"0111002410"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"IMF BUDGET FINANCING TREASURY A/","currency":null,"accountno":"0111002843"},{"availableBalance":962154707.06,"formattedAmount":"962,154,707.06","bookBalance":962154707.06,"accountType":"","accountName":"PETROLEUM EXCISE DUTY ACCOUNT","currency":null,"accountno":"0111002984"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"CATASTROPHE CONTAINMENT RELIEF T","currency":null,"accountno":"0111002991"},{"availableBalance":-47389.02,"formattedAmount":"-47,389.02","bookBalance":-47389.02,"accountType":"","accountName":"INTEREST ON 91 DAYS TREASURY BIL","currency":null,"accountno":"0111003314"},{"availableBalance":-14662146.43,"formattedAmount":"-14,662,146.43","bookBalance":-14662146.43,"accountType":"","accountName":"INTEREST ON 182 DAYS TREASURY BI","currency":null,"accountno":"0111003321"},{"availableBalance":-4861882392.28,"formattedAmount":"-4,861,882,392.28","bookBalance":-4861882392.28,"accountType":"","accountName":"INTEREST ON 364 DAYS TREASURY BI","currency":null,"accountno":"0111003338"},{"availableBalance":13011149.86,"formattedAmount":"13,011,149.86","bookBalance":13011149.86,"accountType":"","accountName":"PETROLEUM REGULATORY AGENCY","currency":null,"accountno":"0111003448"},{"availableBalance":14624361.1,"formattedAmount":"14,624,361.10","bookBalance":14624361.1,"accountType":"","accountName":"PETROLEUM DIRECTORATE","currency":null,"accountno":"0111003455"},{"availableBalance":716682.0,"formattedAmount":"716,682.00","bookBalance":716682.0,"accountType":"","accountName":"ROAD MAINTENANCE FUND","currency":null,"accountno":"0111003462"},{"availableBalance":12446437.0,"formattedAmount":"12,446,437.00","bookBalance":12446437.0,"accountType":"","accountName":"ENVIRONMENTAL PROTECTION AGENCY","currency":null,"accountno":"0111003479"},{"availableBalance":2736797.72,"formattedAmount":"2,736,797.72","bookBalance":2736797.72,"accountType":"","accountName":"NATIONAL TELECOMMUNICATION COMMI","currency":null,"accountno":"0111003486"},{"availableBalance":34714514.21,"formattedAmount":"34,714,514.21","bookBalance":34714514.21,"accountType":"","accountName":"SIERRA LEONE MARITIME ADMINISTRA","currency":null,"accountno":"0111003493"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SPECIAL TAX & DUTIES","currency":null,"accountno":"0111003503"},{"availableBalance":431020263.0,"formattedAmount":"431,020,263.00","bookBalance":431020263.0,"accountType":"","accountName":"TIMBER EXPORT LEVY","currency":null,"accountno":"0111003527"},{"availableBalance":6709406.02,"formattedAmount":"6,709,406.02","bookBalance":6709406.02,"accountType":"","accountName":"AFFORESTATION AND CITIES LEVY","currency":null,"accountno":"0111003534"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"MULTI DONOR BASKET FUND FREE EDU","currency":null,"accountno":"0111003572"},{"availableBalance":622112.00,"formattedAmount":"622,112.00","bookBalance":622112.00,"accountType":"","accountName":"MULTI DONOR BASKET FUND 4 FREE E","currency":null,"accountno":"0111003596"},{"availableBalance":-10000000.00,"formattedAmount":"-10,000,000.00","bookBalance":-10000000.00,"accountType":"","accountName":"CORRUPTION REC FUNDS ACCOUNT (SL","currency":null,"accountno":"0111003637"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"CORRUPTION REC FUNDS ACCOUNT (US","currency":null,"accountno":"0111003644"},{"availableBalance":3983620.62,"formattedAmount":"3,983,620.62","bookBalance":3983620.62,"accountType":"","accountName":"SIERRA LEONE STANDARD BUREAU DIS","currency":null,"accountno":"0111003651"},{"availableBalance":2256323.84,"formattedAmount":"2,256,323.84","bookBalance":2256323.84,"accountType":"","accountName":"SIERRA LEONE ROADS SAFETY AUTHOR","currency":null,"accountno":"0111003668"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SLPA/GOSL CARGO TRACKING","currency":null,"accountno":"0111003699"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"RECO FUNDS BASED ON TECHNICAL AU","currency":null,"accountno":"0111003730"},{"availableBalance":16922324.29,"formattedAmount":"16,922,324.29","bookBalance":16922324.29,"accountType":"","accountName":"FISHERIES PROTECTION STATISTICS&","currency":null,"accountno":"0111003754"},{"availableBalance":673795.84,"formattedAmount":"673,795.84","bookBalance":673795.84,"accountType":"","accountName":"FREE HEALTH CARE INITIATIVE","currency":null,"accountno":"0111003778"},{"availableBalance":66065954.89,"formattedAmount":"66,065,954.89","bookBalance":66065954.89,"accountType":"","accountName":"PRODUCE MONITORING BOARD","currency":null,"accountno":"0111003785"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"USL TEACHING HOSPITAL COMPLEX","currency":null,"accountno":"0111003840"},{"availableBalance":11031596.25,"formattedAmount":"11,031,596.25","bookBalance":11031596.25,"accountType":"","accountName":"DUTY WAIVER JOINT MNT FUND TREAS","currency":null,"accountno":"0111003857"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"PUBLIC AUCTION COMMITTE TREASURY","currency":null,"accountno":"0111003864"},{"availableBalance":3623824.03,"formattedAmount":"3,623,824.03","bookBalance":3623824.03,"accountType":"","accountName":"COMM OF INQUIRY SPECIAL RECOVERY","currency":null,"accountno":"0111003888"},{"availableBalance":-2055291.44,"formattedAmount":"-2,055,291.44","bookBalance":-2055291.44,"accountType":"","accountName":"DAILY SUBSISTENCE ALW/MED EXP AC","currency":null,"accountno":"0111003929"},{"availableBalance":3780.96,"formattedAmount":"3,780.96","bookBalance":3780.96,"accountType":"","accountName":"S/L LOCAL CONTENT DEVELOPMENT FU","currency":null,"accountno":"0111003936"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"LSS/SLPA/GOSL CARGO TRACKING","currency":null,"accountno":"0111003943"},{"availableBalance":5000000.0,"formattedAmount":"5,000,000.00","bookBalance":5000000.0,"accountType":"","accountName":"LOCAL COUNCIL DEVELOPMENT PROJEC","currency":null,"accountno":"0111003950"},{"availableBalance":205694040.46,"formattedAmount":"205,694,040.46","bookBalance":205694040.46,"accountType":"","accountName":"DEBT MANAGEMENT TREASURY","currency":null,"accountno":"0111003967"},{"availableBalance":85000.0,"formattedAmount":"85,000.00","bookBalance":85000.0,"accountType":"","accountName":"AUDIT SERVICE S/L - AUDIT FEES","currency":null,"accountno":"0111003974"},{"availableBalance":911265.54,"formattedAmount":"911,265.54","bookBalance":911265.54,"accountType":"","accountName":"NPPA-REV FROM SALE OF BIDDING DO","currency":null,"accountno":"0111003981"},{"availableBalance":20024585.14,"formattedAmount":"20,024,585.14","bookBalance":20024585.14,"accountType":"","accountName":"VEHICLE LOAN SCHEME","currency":null,"accountno":"0111004005"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SLCAA AVIATION FEES","currency":null,"accountno":"0111004012"},{"availableBalance":3326998.54,"formattedAmount":"3,326,998.54","bookBalance":3326998.54,"accountType":"","accountName":"NACOVERC LAB FEES & ENFORCE FINE","currency":null,"accountno":"0111004029"},{"availableBalance":139164.95,"formattedAmount":"139,164.95","bookBalance":139164.95,"accountType":"","accountName":"CTN FEES - FOREIGN CURRENCY","currency":null,"accountno":"0111004036"},{"availableBalance":0.01,"formattedAmount":"0.01","bookBalance":0.01,"accountType":"","accountName":"NATCOM AND BRADCORP GATEWAY REVE","currency":null,"accountno":"0111004043"},{"availableBalance":1120558.48,"formattedAmount":"1,120,558.48","bookBalance":1120558.48,"accountType":"","accountName":"NAT. WATER RESOURCES MGMT AGENCY","currency":null,"accountno":"0111004067"},{"availableBalance":2252147.11,"formattedAmount":"2,252,147.11","bookBalance":2252147.11,"accountType":"","accountName":"NaCOVERC LABORATORY FEES (USD)","currency":null,"accountno":"0111004074"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"WAGE BILL REVOLVING FUND ACCOUNT","currency":null,"accountno":"0111004098"},{"availableBalance":83069442.86,"formattedAmount":"83,069,442.86","bookBalance":83069442.86,"accountType":"","accountName":"STATE LAND SALES A/C","currency":null,"accountno":"0111004160"},{"availableBalance":59935.0,"formattedAmount":"59,935.00","bookBalance":59935.0,"accountType":"","accountName":"34 MILITARY HOSPITAL","currency":null,"accountno":"0111004201"},{"availableBalance":2206155.0,"formattedAmount":"2,206,155.00","bookBalance":2206155.0,"accountType":"","accountName":"BETTING & GAMBLING LICENCES ACCO","currency":null,"accountno":"0111004232"},{"availableBalance":34865.21,"formattedAmount":"34,865.21","bookBalance":34865.21,"accountType":"","accountName":"PAY NO BRIBE CAMPAIGN PROJECT AC","currency":null,"accountno":"0111004421"},{"availableBalance":2293395.84,"formattedAmount":"2,293,395.84","bookBalance":2293395.84,"accountType":"","accountName":"LUNGI BRIDGE FEASIBILITY STUDY(S","currency":null,"accountno":"0111004438"},{"availableBalance":17.05,"formattedAmount":"17.05","bookBalance":17.05,"accountType":"","accountName":"MOPED UNICEF PROGRAM SUPPORT A/C","currency":null,"accountno":"0111004658"},{"availableBalance":164418.88,"formattedAmount":"164,418.88","bookBalance":164418.88,"accountType":"","accountName":"NAT ELECTIONS SUSTAIN TRUST FUND","currency":null,"accountno":"0111004809"},{"availableBalance":0.79,"formattedAmount":"0.79","bookBalance":0.79,"accountType":"","accountName":"IMF SPECIAL DRAWING RIGHTS RETRO","currency":null,"accountno":"0111004847"},{"availableBalance":74814520.77,"formattedAmount":"74,814,520.77","bookBalance":74814520.77,"accountType":"","accountName":"GoSL TSA REVENUE SHARE ACCOUNT","currency":null,"accountno":"0111004878"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"DUTY WAIVER","currency":null,"accountno":"0111004885"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"IMPREST AC FOR ACC GEN DEPT","currency":null,"accountno":"0111004926"},{"availableBalance":10685160.00,"formattedAmount":"10,685,160.00","bookBalance":10685160.00,"accountType":"","accountName":"SL NATIONAL SHIPPING COMPANY ESC","currency":null,"accountno":"0111004995"},{"availableBalance":-1009872.99,"formattedAmount":"-1,009,872.99","bookBalance":-1009872.99,"accountType":"","accountName":"MINISTRY OF DEFENCE QUARTERLY","currency":null,"accountno":"0111005057"},{"availableBalance":-458150.0,"formattedAmount":"-458,150.00","bookBalance":-458150.0,"accountType":"","accountName":"SIERRA LEONE POLICE GENERAL ACCO","currency":null,"accountno":"0111005129"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"SIERRA LEONE CORRECTIONAL SERVIC","currency":null,"accountno":"0111005136"},{"availableBalance":3446.86,"formattedAmount":"3,446.86","bookBalance":3446.86,"accountType":"","accountName":"IMMIGRATION ACCOUNT","currency":null,"accountno":"0111005150"},{"availableBalance":14952799.83,"formattedAmount":"14,952,799.83","bookBalance":14952799.83,"accountType":"","accountName":"DIAGNOSTIC MEDICAL CENTRE","currency":null,"accountno":"0111005260"},{"availableBalance":6699287.89,"formattedAmount":"6,699,287.89","bookBalance":6699287.89,"accountType":"","accountName":"SALES OF AIRSTRIP LANDS","currency":null,"accountno":"0111005332"},{"availableBalance":245148.43,"formattedAmount":"245,148.43","bookBalance":245148.43,"accountType":"","accountName":"GOSL NATIONAL TREE PLANTING","currency":null,"accountno":"0111005387"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"OFFICE OF THE OMBUDSMAN DISBURSE","currency":null,"accountno":"0111005844"},{"availableBalance":9034.5,"formattedAmount":"9,034.50","bookBalance":9034.5,"accountType":"","accountName":"FERTILIZER SUPPORT FUND","currency":null,"accountno":"0111006054"},{"availableBalance":117899.95,"formattedAmount":"117,899.95","bookBalance":117899.95,"accountType":"","accountName":"TERTIARY EDUCATION COMMISSION DI","currency":null,"accountno":"0111006308"},{"availableBalance":1500000.0,"formattedAmount":"1,500,000.00","bookBalance":1500000.0,"accountType":"","accountName":"SIERRA LEONE PHARMACY BOARD DISB","currency":null,"accountno":"0111006377"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"SLMET AGRIC VAL CHA DEV PROJ (AV","currency":null,"accountno":"0111006456"},{"availableBalance":1384132.82,"formattedAmount":"1,384,132.82","bookBalance":1384132.82,"accountType":"","accountName":"DIGITAL DEVELOPMENT FUND (DDF) A","currency":null,"accountno":"0111006535"}],"code":"01","success":true,"description":"Success"}] 2025-11-21 16:47:37.3272||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 16:47:37.3272|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]]'. 2025-11-21 16:47:37.3388|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 2153.524ms 2025-11-21 16:47:37.3388|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 16:47:37.3388|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2183.5978ms 200 application/json; charset=utf-8 2025-11-21 16:47:38.0948||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-8624381391.76","bookBalance":0.0,"accountType":null,"accountName":"AGD EXPENDITURE ACCOUNTS-GENERAL","currency":null,"accountno":"0111001279","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 16:47:38.0948||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:47:38.0948||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:47:38.1163||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:47:38.1198||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:47:38.1198||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 16:47:38.9287||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-5092566928.3","bookBalance":0.0,"accountType":null,"accountName":"AGD SALARIES AND WAGES ACCOUNT19","currency":null,"accountno":"0111001293","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 16:47:38.9341||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:47:38.9341||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:47:38.9544||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:47:38.9544||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:47:38.9544||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 16:47:39.7861||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"10547897.45","bookBalance":0.0,"accountType":null,"accountName":"ELECTRONIC FUNDS TRANS SUSPENSE","currency":null,"accountno":"SLE116030002","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 16:47:39.7861||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:47:39.7929||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:47:39.7929||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:47:39.8110||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:47:39.8110||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 16:47:40.6216||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-5092566928.3","bookBalance":0.0,"accountType":null,"accountName":"AGD SALARIES AND WAGES ACCOUNT19","currency":null,"accountno":"0111001293","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 16:47:40.6216||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:47:40.6216||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:47:40.6402||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:47:40.6402||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:47:40.6402||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 16:47:41.4262||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-88918787.83","bookBalance":0.0,"accountType":null,"accountName":"AGD PENSIONS ACCOUNTS 1998","currency":null,"accountno":"0111001310","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 16:47:41.4262||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:47:41.4334||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:47:41.4485||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:47:41.4485|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; 2025-11-21 16:47:41.4658|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 2025-11-21 16:47:41.4658|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:47:41.4658|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:47:41.4658|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:47:41.4827|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)) 2025-11-21 16:47:41.4827|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:47:41.4827|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:47:41.4827|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:47:41.4827|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:47:41.4947|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:47:41.4947|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:47:41.4947|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:47:41.4947|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:47:41.5462|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]]'. 2025-11-21 16:47:41.5462|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 5171.9973ms 2025-11-21 16:47:41.5462|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 16:47:41.5462|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5182.1373ms 200 application/json; charset=utf-8 2025-11-21 16:48:02.5882|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 16:48:02.5882|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 16:48:02.5882|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 16:48:02.5916|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:48:02.5916|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:48:02.5916|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:48:02.5916|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.1137ms 204 2025-11-21 16:48:02.5916|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.5117ms 204 2025-11-21 16:48:02.5916|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.1185ms 204 2025-11-21 16:48:02.5916|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 16:48:02.5916|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 16:48:02.6067|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 16:48:02.6067|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:48:02.6067|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:48:02.6067|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:48:02.6067|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:48:02.6067|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:48:02.6067|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:48:02.6067|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:48:02.6212|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:48:02.6212|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:48:02.6212|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 16:48:02.6212|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 16:48:02.6212|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 16:48:02.6212|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). 2025-11-21 16:48:02.6212|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). 2025-11-21 16:48:02.6212|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). 2025-11-21 16:48:02.6380||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 16:48:02.6380|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 16:48:02.6380|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 16:48:02.6380||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 16:48:02.6380|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)) 2025-11-21 16:48:02.6380|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 2025-11-21 16:48:02.6522||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 16:48:02.6522||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 16:48:02.6522|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]]'. 2025-11-21 16:48:02.6522||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 16:48:02.6522|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 18.8455ms 2025-11-21 16:48:02.6522|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 16:48:02.6522|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 62.4762ms 200 application/json; charset=utf-8 2025-11-21 16:48:02.6722||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 16:48:02.6722||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 16:48:02.6722||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 16:48:02.6722||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:48:02.6722||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 16:48:02.6722||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 16:48:04.5272||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-8624381391.76","bookBalance":0.0,"accountType":null,"accountName":"AGD EXPENDITURE ACCOUNTS-GENERAL","currency":null,"accountno":"0111001279","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 16:48:04.5272||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:48:04.5272||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:48:04.5517||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:48:04.5517||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:48:04.5517||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 16:48:04.7966||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[{"availableBalance":1008205876.55,"formattedAmount":"1,008,205,876.55","bookBalance":1008205876.55,"accountType":"","accountName":"TREASURY MAIN","currency":null,"accountno":"0111001255"},{"availableBalance":-8624381391.76,"formattedAmount":"-8,624,381,391.76","bookBalance":-8624381391.76,"accountType":"","accountName":"AGD EXPENDITURE ACCOUNTS-GENERAL","currency":null,"accountno":"0111001279"},{"availableBalance":-5092566928.3,"formattedAmount":"-5,092,566,928.30","bookBalance":-5092566928.3,"accountType":"","accountName":"AGD SALARIES AND WAGES ACCOUNT19","currency":null,"accountno":"0111001293"},{"availableBalance":-88918787.83,"formattedAmount":"-88,918,787.83","bookBalance":-88918787.83,"accountType":"","accountName":"AGD PENSIONS ACCOUNTS 1998","currency":null,"accountno":"0111001310"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"DIFD (UK) BUDGSUPPORT GRANT","currency":null,"accountno":"0111001358"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SALARY ADVANCES ACCOUNT","currency":null,"accountno":"0111001372"},{"availableBalance":5660770071.02,"formattedAmount":"5,660,770,071.02","bookBalance":5660770071.02,"accountType":"","accountName":"INCOME TAX TREAS AC","currency":null,"accountno":"0111001396"},{"availableBalance":1639971708.73,"formattedAmount":"1,639,971,708.73","bookBalance":1639971708.73,"accountType":"","accountName":"CUSTOMS AND EXCISE TREAS AC","currency":null,"accountno":"0111001413"},{"availableBalance":126840132.89,"formattedAmount":"126,840,132.89","bookBalance":126840132.89,"accountType":"","accountName":"MARINE RESOURCES TREAS AC","currency":null,"accountno":"0111001437"},{"availableBalance":1171902940.16,"formattedAmount":"1,171,902,940.16","bookBalance":1171902940.16,"accountType":"","accountName":"MINERAL RESOURCES TREAS AC","currency":null,"accountno":"0111001451"},{"availableBalance":10582481.0,"formattedAmount":"10,582,481.00","bookBalance":10582481.0,"accountType":"","accountName":"IMMIGRATION TREAS AC","currency":null,"accountno":"0111001475"},{"availableBalance":452767547.26,"formattedAmount":"452,767,547.26","bookBalance":452767547.26,"accountType":"","accountName":"GENERAL REVENUE TREAS AC","currency":null,"accountno":"0111001499"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"IMMIGRATION ESCROW ACCOUNT","currency":null,"accountno":"0111001516"},{"availableBalance":12109569.0,"formattedAmount":"12,109,569.00","bookBalance":12109569.0,"accountType":"","accountName":"ADMINISTRATOR AND REGISTRAR GENE","currency":null,"accountno":"0111001530"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"POLICE-UNCLAIMED SALARIES WAGES","currency":null,"accountno":"0111001578"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"EDU SCIENCE AND TECH-UNCLAIMED S","currency":null,"accountno":"0111001592"},{"availableBalance":2068951.32,"formattedAmount":"2,068,951.32","bookBalance":2068951.32,"accountType":"","accountName":"OTHER DEPTMINISTRIES-UNCLAIMED S","currency":null,"accountno":"0111001657"},{"availableBalance":650610335.09,"formattedAmount":"650,610,335.09","bookBalance":650610335.09,"accountType":"","accountName":"TREASURY WAYS AND MEANS ADVANCES","currency":null,"accountno":"0111001671"},{"availableBalance":990172300.0,"formattedAmount":"990,172,300.00","bookBalance":990172300.0,"accountType":"","accountName":"TREASURY BEARER BOND ACCOUNTS","currency":null,"accountno":"0111001695"},{"availableBalance":-1359921007.56,"formattedAmount":"-1,359,921,007.56","bookBalance":-1359921007.56,"accountType":"","accountName":"INTEREST ON TREASURY BEARER BOND","currency":null,"accountno":"0111001712"},{"availableBalance":-2301895609.95,"formattedAmount":"-2,301,895,609.95","bookBalance":-2301895609.95,"accountType":"","accountName":"EXTERNAL DEBT SERVICE PAYMENTS","currency":null,"accountno":"0111001736"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"KENEMA GOVT TREASURY DEPOSITS AC","currency":null,"accountno":"0111001750"},{"availableBalance":20494300.88,"formattedAmount":"20,494,300.88","bookBalance":20494300.88,"accountType":"","accountName":"HIPC TRUST FUND ACCOUNT","currency":null,"accountno":"0111001774"},{"availableBalance":-729960.98,"formattedAmount":"-729,960.98","bookBalance":-729960.98,"accountType":"","accountName":"TREASURY BILLS AC","currency":null,"accountno":"0111001839"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"OFIDSL GOV DEBT RELIEF AC","currency":null,"accountno":"0111001891"},{"availableBalance":115026697.18,"formattedAmount":"115,026,697.18","bookBalance":115026697.18,"accountType":"","accountName":"NOMINALCOST AC FOR 182-DAYS TREA","currency":null,"accountno":"0111001918"},{"availableBalance":3320175223.38,"formattedAmount":"3,320,175,223.38","bookBalance":3320175223.38,"accountType":"","accountName":"NOMINALCOST AC FOR 364-DAYS TREA","currency":null,"accountno":"0111001932"},{"availableBalance":-8559679.4,"formattedAmount":"-8,559,679.40","bookBalance":-8559679.4,"accountType":"","accountName":"COMMISSION AC FOR TREASURY BILLS","currency":null,"accountno":"0111001970"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"MIN OF FISHERIES AND MARINE RESO","currency":null,"accountno":"0111002032"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"NAT TELECOMS REVENUE ESCROW AC","currency":null,"accountno":"0111002056"},{"availableBalance":4213148.95,"formattedAmount":"4,213,148.95","bookBalance":4213148.95,"accountType":"","accountName":"SIERRA LEONE PHARMACY BOARD REVE","currency":null,"accountno":"0111002070"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SIERRA LEONE MARITIME ADMIN REVE","currency":null,"accountno":"0111002094"},{"availableBalance":13207078.86,"formattedAmount":"13,207,078.86","bookBalance":13207078.86,"accountType":"","accountName":"SLCAA FOREIGN TRAVEL TAX A/C","currency":null,"accountno":"0111002111"},{"availableBalance":2292475373.13,"formattedAmount":"2,292,475,373.13","bookBalance":2292475373.13,"accountType":"","accountName":"GOODS AND SERVICES TAX ACCOUNT","currency":null,"accountno":"0111002135"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"MARINES FINES AC","currency":null,"accountno":"0111002159"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"AFFORESTATION AC","currency":null,"accountno":"0111002197"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"NATIONAL IDENTITY CARD PROJECT E","currency":null,"accountno":"0111002252"},{"availableBalance":412398.2,"formattedAmount":"412,398.20","bookBalance":412398.2,"accountType":"","accountName":"MINISTRY OF PRESIDENTIAL AND PUB","currency":null,"accountno":"0111002276"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"JAPANESE GRANT FOR COPING WITH C","currency":null,"accountno":"0111002317"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"DIAMOND ROYALTIES AC","currency":null,"accountno":"0111002355"},{"availableBalance":11320146.22,"formattedAmount":"11,320,146.22","bookBalance":11320146.22,"accountType":"","accountName":"NON-TAX REVENUE AC","currency":null,"accountno":"0111002379"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"INT. ON 91 182 364 - DAYS TREASU","currency":null,"accountno":"0111002393"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SIERRATELEBID MODERNISATION AND","currency":null,"accountno":"0111002410"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"IMF BUDGET FINANCING TREASURY A/","currency":null,"accountno":"0111002843"},{"availableBalance":962154707.06,"formattedAmount":"962,154,707.06","bookBalance":962154707.06,"accountType":"","accountName":"PETROLEUM EXCISE DUTY ACCOUNT","currency":null,"accountno":"0111002984"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"CATASTROPHE CONTAINMENT RELIEF T","currency":null,"accountno":"0111002991"},{"availableBalance":-47389.02,"formattedAmount":"-47,389.02","bookBalance":-47389.02,"accountType":"","accountName":"INTEREST ON 91 DAYS TREASURY BIL","currency":null,"accountno":"0111003314"},{"availableBalance":-14662146.43,"formattedAmount":"-14,662,146.43","bookBalance":-14662146.43,"accountType":"","accountName":"INTEREST ON 182 DAYS TREASURY BI","currency":null,"accountno":"0111003321"},{"availableBalance":-4861882392.28,"formattedAmount":"-4,861,882,392.28","bookBalance":-4861882392.28,"accountType":"","accountName":"INTEREST ON 364 DAYS TREASURY BI","currency":null,"accountno":"0111003338"},{"availableBalance":13011149.86,"formattedAmount":"13,011,149.86","bookBalance":13011149.86,"accountType":"","accountName":"PETROLEUM REGULATORY AGENCY","currency":null,"accountno":"0111003448"},{"availableBalance":14624361.1,"formattedAmount":"14,624,361.10","bookBalance":14624361.1,"accountType":"","accountName":"PETROLEUM DIRECTORATE","currency":null,"accountno":"0111003455"},{"availableBalance":716682.0,"formattedAmount":"716,682.00","bookBalance":716682.0,"accountType":"","accountName":"ROAD MAINTENANCE FUND","currency":null,"accountno":"0111003462"},{"availableBalance":12446437.0,"formattedAmount":"12,446,437.00","bookBalance":12446437.0,"accountType":"","accountName":"ENVIRONMENTAL PROTECTION AGENCY","currency":null,"accountno":"0111003479"},{"availableBalance":2736797.72,"formattedAmount":"2,736,797.72","bookBalance":2736797.72,"accountType":"","accountName":"NATIONAL TELECOMMUNICATION COMMI","currency":null,"accountno":"0111003486"},{"availableBalance":34714514.21,"formattedAmount":"34,714,514.21","bookBalance":34714514.21,"accountType":"","accountName":"SIERRA LEONE MARITIME ADMINISTRA","currency":null,"accountno":"0111003493"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SPECIAL TAX & DUTIES","currency":null,"accountno":"0111003503"},{"availableBalance":431020263.0,"formattedAmount":"431,020,263.00","bookBalance":431020263.0,"accountType":"","accountName":"TIMBER EXPORT LEVY","currency":null,"accountno":"0111003527"},{"availableBalance":6709406.02,"formattedAmount":"6,709,406.02","bookBalance":6709406.02,"accountType":"","accountName":"AFFORESTATION AND CITIES LEVY","currency":null,"accountno":"0111003534"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"MULTI DONOR BASKET FUND FREE EDU","currency":null,"accountno":"0111003572"},{"availableBalance":622112.00,"formattedAmount":"622,112.00","bookBalance":622112.00,"accountType":"","accountName":"MULTI DONOR BASKET FUND 4 FREE E","currency":null,"accountno":"0111003596"},{"availableBalance":-10000000.00,"formattedAmount":"-10,000,000.00","bookBalance":-10000000.00,"accountType":"","accountName":"CORRUPTION REC FUNDS ACCOUNT (SL","currency":null,"accountno":"0111003637"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"CORRUPTION REC FUNDS ACCOUNT (US","currency":null,"accountno":"0111003644"},{"availableBalance":3983620.62,"formattedAmount":"3,983,620.62","bookBalance":3983620.62,"accountType":"","accountName":"SIERRA LEONE STANDARD BUREAU DIS","currency":null,"accountno":"0111003651"},{"availableBalance":2256323.84,"formattedAmount":"2,256,323.84","bookBalance":2256323.84,"accountType":"","accountName":"SIERRA LEONE ROADS SAFETY AUTHOR","currency":null,"accountno":"0111003668"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SLPA/GOSL CARGO TRACKING","currency":null,"accountno":"0111003699"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"RECO FUNDS BASED ON TECHNICAL AU","currency":null,"accountno":"0111003730"},{"availableBalance":16922324.29,"formattedAmount":"16,922,324.29","bookBalance":16922324.29,"accountType":"","accountName":"FISHERIES PROTECTION STATISTICS&","currency":null,"accountno":"0111003754"},{"availableBalance":673795.84,"formattedAmount":"673,795.84","bookBalance":673795.84,"accountType":"","accountName":"FREE HEALTH CARE INITIATIVE","currency":null,"accountno":"0111003778"},{"availableBalance":66065954.89,"formattedAmount":"66,065,954.89","bookBalance":66065954.89,"accountType":"","accountName":"PRODUCE MONITORING BOARD","currency":null,"accountno":"0111003785"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"USL TEACHING HOSPITAL COMPLEX","currency":null,"accountno":"0111003840"},{"availableBalance":11031596.25,"formattedAmount":"11,031,596.25","bookBalance":11031596.25,"accountType":"","accountName":"DUTY WAIVER JOINT MNT FUND TREAS","currency":null,"accountno":"0111003857"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"PUBLIC AUCTION COMMITTE TREASURY","currency":null,"accountno":"0111003864"},{"availableBalance":3623824.03,"formattedAmount":"3,623,824.03","bookBalance":3623824.03,"accountType":"","accountName":"COMM OF INQUIRY SPECIAL RECOVERY","currency":null,"accountno":"0111003888"},{"availableBalance":-2055291.44,"formattedAmount":"-2,055,291.44","bookBalance":-2055291.44,"accountType":"","accountName":"DAILY SUBSISTENCE ALW/MED EXP AC","currency":null,"accountno":"0111003929"},{"availableBalance":3780.96,"formattedAmount":"3,780.96","bookBalance":3780.96,"accountType":"","accountName":"S/L LOCAL CONTENT DEVELOPMENT FU","currency":null,"accountno":"0111003936"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"LSS/SLPA/GOSL CARGO TRACKING","currency":null,"accountno":"0111003943"},{"availableBalance":5000000.0,"formattedAmount":"5,000,000.00","bookBalance":5000000.0,"accountType":"","accountName":"LOCAL COUNCIL DEVELOPMENT PROJEC","currency":null,"accountno":"0111003950"},{"availableBalance":205694040.46,"formattedAmount":"205,694,040.46","bookBalance":205694040.46,"accountType":"","accountName":"DEBT MANAGEMENT TREASURY","currency":null,"accountno":"0111003967"},{"availableBalance":85000.0,"formattedAmount":"85,000.00","bookBalance":85000.0,"accountType":"","accountName":"AUDIT SERVICE S/L - AUDIT FEES","currency":null,"accountno":"0111003974"},{"availableBalance":911265.54,"formattedAmount":"911,265.54","bookBalance":911265.54,"accountType":"","accountName":"NPPA-REV FROM SALE OF BIDDING DO","currency":null,"accountno":"0111003981"},{"availableBalance":20024585.14,"formattedAmount":"20,024,585.14","bookBalance":20024585.14,"accountType":"","accountName":"VEHICLE LOAN SCHEME","currency":null,"accountno":"0111004005"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SLCAA AVIATION FEES","currency":null,"accountno":"0111004012"},{"availableBalance":3326998.54,"formattedAmount":"3,326,998.54","bookBalance":3326998.54,"accountType":"","accountName":"NACOVERC LAB FEES & ENFORCE FINE","currency":null,"accountno":"0111004029"},{"availableBalance":139164.95,"formattedAmount":"139,164.95","bookBalance":139164.95,"accountType":"","accountName":"CTN FEES - FOREIGN CURRENCY","currency":null,"accountno":"0111004036"},{"availableBalance":0.01,"formattedAmount":"0.01","bookBalance":0.01,"accountType":"","accountName":"NATCOM AND BRADCORP GATEWAY REVE","currency":null,"accountno":"0111004043"},{"availableBalance":1120558.48,"formattedAmount":"1,120,558.48","bookBalance":1120558.48,"accountType":"","accountName":"NAT. WATER RESOURCES MGMT AGENCY","currency":null,"accountno":"0111004067"},{"availableBalance":2252147.11,"formattedAmount":"2,252,147.11","bookBalance":2252147.11,"accountType":"","accountName":"NaCOVERC LABORATORY FEES (USD)","currency":null,"accountno":"0111004074"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"WAGE BILL REVOLVING FUND ACCOUNT","currency":null,"accountno":"0111004098"},{"availableBalance":83069442.86,"formattedAmount":"83,069,442.86","bookBalance":83069442.86,"accountType":"","accountName":"STATE LAND SALES A/C","currency":null,"accountno":"0111004160"},{"availableBalance":59935.0,"formattedAmount":"59,935.00","bookBalance":59935.0,"accountType":"","accountName":"34 MILITARY HOSPITAL","currency":null,"accountno":"0111004201"},{"availableBalance":2206155.0,"formattedAmount":"2,206,155.00","bookBalance":2206155.0,"accountType":"","accountName":"BETTING & GAMBLING LICENCES ACCO","currency":null,"accountno":"0111004232"},{"availableBalance":34865.21,"formattedAmount":"34,865.21","bookBalance":34865.21,"accountType":"","accountName":"PAY NO BRIBE CAMPAIGN PROJECT AC","currency":null,"accountno":"0111004421"},{"availableBalance":2293395.84,"formattedAmount":"2,293,395.84","bookBalance":2293395.84,"accountType":"","accountName":"LUNGI BRIDGE FEASIBILITY STUDY(S","currency":null,"accountno":"0111004438"},{"availableBalance":17.05,"formattedAmount":"17.05","bookBalance":17.05,"accountType":"","accountName":"MOPED UNICEF PROGRAM SUPPORT A/C","currency":null,"accountno":"0111004658"},{"availableBalance":164418.88,"formattedAmount":"164,418.88","bookBalance":164418.88,"accountType":"","accountName":"NAT ELECTIONS SUSTAIN TRUST FUND","currency":null,"accountno":"0111004809"},{"availableBalance":0.79,"formattedAmount":"0.79","bookBalance":0.79,"accountType":"","accountName":"IMF SPECIAL DRAWING RIGHTS RETRO","currency":null,"accountno":"0111004847"},{"availableBalance":74814520.77,"formattedAmount":"74,814,520.77","bookBalance":74814520.77,"accountType":"","accountName":"GoSL TSA REVENUE SHARE ACCOUNT","currency":null,"accountno":"0111004878"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"DUTY WAIVER","currency":null,"accountno":"0111004885"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"IMPREST AC FOR ACC GEN DEPT","currency":null,"accountno":"0111004926"},{"availableBalance":10685160.00,"formattedAmount":"10,685,160.00","bookBalance":10685160.00,"accountType":"","accountName":"SL NATIONAL SHIPPING COMPANY ESC","currency":null,"accountno":"0111004995"},{"availableBalance":-1009872.99,"formattedAmount":"-1,009,872.99","bookBalance":-1009872.99,"accountType":"","accountName":"MINISTRY OF DEFENCE QUARTERLY","currency":null,"accountno":"0111005057"},{"availableBalance":-458150.0,"formattedAmount":"-458,150.00","bookBalance":-458150.0,"accountType":"","accountName":"SIERRA LEONE POLICE GENERAL ACCO","currency":null,"accountno":"0111005129"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"SIERRA LEONE CORRECTIONAL SERVIC","currency":null,"accountno":"0111005136"},{"availableBalance":3446.86,"formattedAmount":"3,446.86","bookBalance":3446.86,"accountType":"","accountName":"IMMIGRATION ACCOUNT","currency":null,"accountno":"0111005150"},{"availableBalance":14952799.83,"formattedAmount":"14,952,799.83","bookBalance":14952799.83,"accountType":"","accountName":"DIAGNOSTIC MEDICAL CENTRE","currency":null,"accountno":"0111005260"},{"availableBalance":6699287.89,"formattedAmount":"6,699,287.89","bookBalance":6699287.89,"accountType":"","accountName":"SALES OF AIRSTRIP LANDS","currency":null,"accountno":"0111005332"},{"availableBalance":245148.43,"formattedAmount":"245,148.43","bookBalance":245148.43,"accountType":"","accountName":"GOSL NATIONAL TREE PLANTING","currency":null,"accountno":"0111005387"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"OFFICE OF THE OMBUDSMAN DISBURSE","currency":null,"accountno":"0111005844"},{"availableBalance":9034.5,"formattedAmount":"9,034.50","bookBalance":9034.5,"accountType":"","accountName":"FERTILIZER SUPPORT FUND","currency":null,"accountno":"0111006054"},{"availableBalance":117899.95,"formattedAmount":"117,899.95","bookBalance":117899.95,"accountType":"","accountName":"TERTIARY EDUCATION COMMISSION DI","currency":null,"accountno":"0111006308"},{"availableBalance":1500000.0,"formattedAmount":"1,500,000.00","bookBalance":1500000.0,"accountType":"","accountName":"SIERRA LEONE PHARMACY BOARD DISB","currency":null,"accountno":"0111006377"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"SLMET AGRIC VAL CHA DEV PROJ (AV","currency":null,"accountno":"0111006456"},{"availableBalance":1384132.82,"formattedAmount":"1,384,132.82","bookBalance":1384132.82,"accountType":"","accountName":"DIGITAL DEVELOPMENT FUND (DDF) A","currency":null,"accountno":"0111006535"}],"code":"01","success":true,"description":"Success"}] 2025-11-21 16:48:04.7966||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 16:48:04.7966|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]]'. 2025-11-21 16:48:04.7966|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 2168.6546ms 2025-11-21 16:48:04.7966|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 16:48:04.8089|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2202.2231ms 200 application/json; charset=utf-8 2025-11-21 16:48:05.2998||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-8624381391.76","bookBalance":0.0,"accountType":null,"accountName":"AGD EXPENDITURE ACCOUNTS-GENERAL","currency":null,"accountno":"0111001279","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 16:48:05.2998||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:48:05.2998||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:48:05.3208||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:48:05.3208||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:48:05.3208||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 16:48:06.0971||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-5092566928.3","bookBalance":0.0,"accountType":null,"accountName":"AGD SALARIES AND WAGES ACCOUNT19","currency":null,"accountno":"0111001293","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 16:48:06.0971||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:48:06.0971||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:48:06.1228||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:48:06.1278||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:48:06.1278||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 16:48:06.9455||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"10547897.45","bookBalance":0.0,"accountType":null,"accountName":"ELECTRONIC FUNDS TRANS SUSPENSE","currency":null,"accountno":"SLE116030002","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 16:48:06.9455||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:48:06.9582||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:48:06.9770||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:48:06.9770||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:48:06.9770||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 16:48:07.7429||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-5092566928.3","bookBalance":0.0,"accountType":null,"accountName":"AGD SALARIES AND WAGES ACCOUNT19","currency":null,"accountno":"0111001293","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 16:48:07.7429||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:48:07.7517||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:48:07.7663||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:48:07.7663||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:48:07.7663||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 16:48:08.5351||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-88918787.83","bookBalance":0.0,"accountType":null,"accountName":"AGD PENSIONS ACCOUNTS 1998","currency":null,"accountno":"0111001310","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 16:48:08.5351||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:48:08.5351||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:48:08.5552||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:48:08.5552|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; 2025-11-21 16:48:08.5672|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 2025-11-21 16:48:08.5672|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:48:08.5672|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:48:08.5795|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:48:08.5795|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:48:08.5795|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:48:08.5795|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:48:08.5795|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:48:08.5970|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:48:08.5970|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:48:08.5970|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:48:08.6094|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:48:08.6094|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:48:08.6520|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]]'. 2025-11-21 16:48:08.6520|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6015.7086ms 2025-11-21 16:48:08.6578|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 16:48:08.6578|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6055.859ms 200 application/json; charset=utf-8 2025-11-21 16:49:03.1265|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 16:49:03.1265|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 16:49:03.1265|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 16:49:03.1265|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:49:03.1319|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:49:03.1319|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:49:03.1319|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.3465ms 204 2025-11-21 16:49:03.1319|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.1121ms 204 2025-11-21 16:49:03.1319|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.0748ms 204 2025-11-21 16:49:03.1319|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 16:49:03.1319|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 16:49:03.1319|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 16:49:03.1319|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:49:03.1478|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:49:03.1478|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:49:03.1478|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:49:03.1478|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:49:03.1478|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:49:03.1478|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:49:03.1478|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:49:03.1478|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:49:03.1478|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 16:49:03.1478|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 16:49:03.1623|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 16:49:03.1623|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). 2025-11-21 16:49:03.1623|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). 2025-11-21 16:49:03.1623|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). 2025-11-21 16:49:03.1623|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 16:49:03.1623||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 16:49:03.1623|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 16:49:03.1623|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)) 2025-11-21 16:49:03.1623|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 2025-11-21 16:49:03.1623||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 16:49:03.1623|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]]'. 2025-11-21 16:49:03.1623||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 16:49:03.1798||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 16:49:03.1798|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 11.7306ms 2025-11-21 16:49:03.1798||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 16:49:03.1798|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 16:49:03.1798|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 44.5116ms 200 application/json; charset=utf-8 2025-11-21 16:49:03.2000||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 16:49:03.2000||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 16:49:03.2000||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 16:49:03.2000||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:49:03.2000||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 16:49:03.2000||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 16:49:03.9883||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-8624381391.76","bookBalance":0.0,"accountType":null,"accountName":"AGD EXPENDITURE ACCOUNTS-GENERAL","currency":null,"accountno":"0111001279","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 16:49:03.9928||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:49:03.9928||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:49:04.0093||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:49:04.0093||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:49:04.0093||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 16:49:04.8105||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-8624381391.76","bookBalance":0.0,"accountType":null,"accountName":"AGD EXPENDITURE ACCOUNTS-GENERAL","currency":null,"accountno":"0111001279","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 16:49:04.8105||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:49:04.8105||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:49:04.8314||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:49:04.8314||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:49:04.8361||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 16:49:04.9753|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 16:49:04.9753|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 16:49:04.9753|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:49:04.9753|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:49:04.9753|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.0441ms 204 2025-11-21 16:49:04.9753|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 13.8086ms 204 2025-11-21 16:49:04.9918|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 16:49:04.9918|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 16:49:04.9918|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:49:04.9918|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:49:04.9918|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:49:04.9918|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:49:04.9918|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:49:04.9918|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:49:04.9918|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 16:49:05.0065|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 16:49:05.0065|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). 2025-11-21 16:49:05.0065|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). 2025-11-21 16:49:05.0065|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 16:49:05.0065|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 16:49:05.0065|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] 2025-11-21 16:49:05.0065|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]]'. 2025-11-21 16:49:05.0065|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 8.7292ms 2025-11-21 16:49:05.0065|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 16:49:05.0065|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] 2025-11-21 16:49:05.0224|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 30.6039ms 200 application/json; charset=utf-8 2025-11-21 16:49:05.0224|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]]'. 2025-11-21 16:49:05.0224|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 19.909ms 2025-11-21 16:49:05.0224|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 16:49:05.0224|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 41.3033ms 200 application/json; charset=utf-8 2025-11-21 16:49:05.5705||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-5092566928.3","bookBalance":0.0,"accountType":null,"accountName":"AGD SALARIES AND WAGES ACCOUNT19","currency":null,"accountno":"0111001293","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 16:49:05.5705||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:49:05.5705||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:49:05.5921||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:49:05.5921||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:49:05.5921||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 16:49:06.4519||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"10547897.45","bookBalance":0.0,"accountType":null,"accountName":"ELECTRONIC FUNDS TRANS SUSPENSE","currency":null,"accountno":"SLE116030002","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 16:49:06.4519||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:49:06.4519||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:49:06.4668||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[{"availableBalance":1008205876.55,"formattedAmount":"1,008,205,876.55","bookBalance":1008205876.55,"accountType":"","accountName":"TREASURY MAIN","currency":null,"accountno":"0111001255"},{"availableBalance":-8624381391.76,"formattedAmount":"-8,624,381,391.76","bookBalance":-8624381391.76,"accountType":"","accountName":"AGD EXPENDITURE ACCOUNTS-GENERAL","currency":null,"accountno":"0111001279"},{"availableBalance":-5092566928.3,"formattedAmount":"-5,092,566,928.30","bookBalance":-5092566928.3,"accountType":"","accountName":"AGD SALARIES AND WAGES ACCOUNT19","currency":null,"accountno":"0111001293"},{"availableBalance":-88918787.83,"formattedAmount":"-88,918,787.83","bookBalance":-88918787.83,"accountType":"","accountName":"AGD PENSIONS ACCOUNTS 1998","currency":null,"accountno":"0111001310"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"DIFD (UK) BUDGSUPPORT GRANT","currency":null,"accountno":"0111001358"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SALARY ADVANCES ACCOUNT","currency":null,"accountno":"0111001372"},{"availableBalance":5660770071.02,"formattedAmount":"5,660,770,071.02","bookBalance":5660770071.02,"accountType":"","accountName":"INCOME TAX TREAS AC","currency":null,"accountno":"0111001396"},{"availableBalance":1639971708.73,"formattedAmount":"1,639,971,708.73","bookBalance":1639971708.73,"accountType":"","accountName":"CUSTOMS AND EXCISE TREAS AC","currency":null,"accountno":"0111001413"},{"availableBalance":126840132.89,"formattedAmount":"126,840,132.89","bookBalance":126840132.89,"accountType":"","accountName":"MARINE RESOURCES TREAS AC","currency":null,"accountno":"0111001437"},{"availableBalance":1171902940.16,"formattedAmount":"1,171,902,940.16","bookBalance":1171902940.16,"accountType":"","accountName":"MINERAL RESOURCES TREAS AC","currency":null,"accountno":"0111001451"},{"availableBalance":10582481.0,"formattedAmount":"10,582,481.00","bookBalance":10582481.0,"accountType":"","accountName":"IMMIGRATION TREAS AC","currency":null,"accountno":"0111001475"},{"availableBalance":452767547.26,"formattedAmount":"452,767,547.26","bookBalance":452767547.26,"accountType":"","accountName":"GENERAL REVENUE TREAS AC","currency":null,"accountno":"0111001499"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"IMMIGRATION ESCROW ACCOUNT","currency":null,"accountno":"0111001516"},{"availableBalance":12109569.0,"formattedAmount":"12,109,569.00","bookBalance":12109569.0,"accountType":"","accountName":"ADMINISTRATOR AND REGISTRAR GENE","currency":null,"accountno":"0111001530"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"POLICE-UNCLAIMED SALARIES WAGES","currency":null,"accountno":"0111001578"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"EDU SCIENCE AND TECH-UNCLAIMED S","currency":null,"accountno":"0111001592"},{"availableBalance":2068951.32,"formattedAmount":"2,068,951.32","bookBalance":2068951.32,"accountType":"","accountName":"OTHER DEPTMINISTRIES-UNCLAIMED S","currency":null,"accountno":"0111001657"},{"availableBalance":650610335.09,"formattedAmount":"650,610,335.09","bookBalance":650610335.09,"accountType":"","accountName":"TREASURY WAYS AND MEANS ADVANCES","currency":null,"accountno":"0111001671"},{"availableBalance":990172300.0,"formattedAmount":"990,172,300.00","bookBalance":990172300.0,"accountType":"","accountName":"TREASURY BEARER BOND ACCOUNTS","currency":null,"accountno":"0111001695"},{"availableBalance":-1359921007.56,"formattedAmount":"-1,359,921,007.56","bookBalance":-1359921007.56,"accountType":"","accountName":"INTEREST ON TREASURY BEARER BOND","currency":null,"accountno":"0111001712"},{"availableBalance":-2301895609.95,"formattedAmount":"-2,301,895,609.95","bookBalance":-2301895609.95,"accountType":"","accountName":"EXTERNAL DEBT SERVICE PAYMENTS","currency":null,"accountno":"0111001736"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"KENEMA GOVT TREASURY DEPOSITS AC","currency":null,"accountno":"0111001750"},{"availableBalance":20494300.88,"formattedAmount":"20,494,300.88","bookBalance":20494300.88,"accountType":"","accountName":"HIPC TRUST FUND ACCOUNT","currency":null,"accountno":"0111001774"},{"availableBalance":-729960.98,"formattedAmount":"-729,960.98","bookBalance":-729960.98,"accountType":"","accountName":"TREASURY BILLS AC","currency":null,"accountno":"0111001839"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"OFIDSL GOV DEBT RELIEF AC","currency":null,"accountno":"0111001891"},{"availableBalance":115026697.18,"formattedAmount":"115,026,697.18","bookBalance":115026697.18,"accountType":"","accountName":"NOMINALCOST AC FOR 182-DAYS TREA","currency":null,"accountno":"0111001918"},{"availableBalance":3320175223.38,"formattedAmount":"3,320,175,223.38","bookBalance":3320175223.38,"accountType":"","accountName":"NOMINALCOST AC FOR 364-DAYS TREA","currency":null,"accountno":"0111001932"},{"availableBalance":-8559679.4,"formattedAmount":"-8,559,679.40","bookBalance":-8559679.4,"accountType":"","accountName":"COMMISSION AC FOR TREASURY BILLS","currency":null,"accountno":"0111001970"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"MIN OF FISHERIES AND MARINE RESO","currency":null,"accountno":"0111002032"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"NAT TELECOMS REVENUE ESCROW AC","currency":null,"accountno":"0111002056"},{"availableBalance":4213148.95,"formattedAmount":"4,213,148.95","bookBalance":4213148.95,"accountType":"","accountName":"SIERRA LEONE PHARMACY BOARD REVE","currency":null,"accountno":"0111002070"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SIERRA LEONE MARITIME ADMIN REVE","currency":null,"accountno":"0111002094"},{"availableBalance":13207078.86,"formattedAmount":"13,207,078.86","bookBalance":13207078.86,"accountType":"","accountName":"SLCAA FOREIGN TRAVEL TAX A/C","currency":null,"accountno":"0111002111"},{"availableBalance":2292475373.13,"formattedAmount":"2,292,475,373.13","bookBalance":2292475373.13,"accountType":"","accountName":"GOODS AND SERVICES TAX ACCOUNT","currency":null,"accountno":"0111002135"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"MARINES FINES AC","currency":null,"accountno":"0111002159"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"AFFORESTATION AC","currency":null,"accountno":"0111002197"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"NATIONAL IDENTITY CARD PROJECT E","currency":null,"accountno":"0111002252"},{"availableBalance":412398.2,"formattedAmount":"412,398.20","bookBalance":412398.2,"accountType":"","accountName":"MINISTRY OF PRESIDENTIAL AND PUB","currency":null,"accountno":"0111002276"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"JAPANESE GRANT FOR COPING WITH C","currency":null,"accountno":"0111002317"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"DIAMOND ROYALTIES AC","currency":null,"accountno":"0111002355"},{"availableBalance":11320146.22,"formattedAmount":"11,320,146.22","bookBalance":11320146.22,"accountType":"","accountName":"NON-TAX REVENUE AC","currency":null,"accountno":"0111002379"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"INT. ON 91 182 364 - DAYS TREASU","currency":null,"accountno":"0111002393"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SIERRATELEBID MODERNISATION AND","currency":null,"accountno":"0111002410"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"IMF BUDGET FINANCING TREASURY A/","currency":null,"accountno":"0111002843"},{"availableBalance":962154707.06,"formattedAmount":"962,154,707.06","bookBalance":962154707.06,"accountType":"","accountName":"PETROLEUM EXCISE DUTY ACCOUNT","currency":null,"accountno":"0111002984"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"CATASTROPHE CONTAINMENT RELIEF T","currency":null,"accountno":"0111002991"},{"availableBalance":-47389.02,"formattedAmount":"-47,389.02","bookBalance":-47389.02,"accountType":"","accountName":"INTEREST ON 91 DAYS TREASURY BIL","currency":null,"accountno":"0111003314"},{"availableBalance":-14662146.43,"formattedAmount":"-14,662,146.43","bookBalance":-14662146.43,"accountType":"","accountName":"INTEREST ON 182 DAYS TREASURY BI","currency":null,"accountno":"0111003321"},{"availableBalance":-4861882392.28,"formattedAmount":"-4,861,882,392.28","bookBalance":-4861882392.28,"accountType":"","accountName":"INTEREST ON 364 DAYS TREASURY BI","currency":null,"accountno":"0111003338"},{"availableBalance":13011149.86,"formattedAmount":"13,011,149.86","bookBalance":13011149.86,"accountType":"","accountName":"PETROLEUM REGULATORY AGENCY","currency":null,"accountno":"0111003448"},{"availableBalance":14624361.1,"formattedAmount":"14,624,361.10","bookBalance":14624361.1,"accountType":"","accountName":"PETROLEUM DIRECTORATE","currency":null,"accountno":"0111003455"},{"availableBalance":716682.0,"formattedAmount":"716,682.00","bookBalance":716682.0,"accountType":"","accountName":"ROAD MAINTENANCE FUND","currency":null,"accountno":"0111003462"},{"availableBalance":12446437.0,"formattedAmount":"12,446,437.00","bookBalance":12446437.0,"accountType":"","accountName":"ENVIRONMENTAL PROTECTION AGENCY","currency":null,"accountno":"0111003479"},{"availableBalance":2736797.72,"formattedAmount":"2,736,797.72","bookBalance":2736797.72,"accountType":"","accountName":"NATIONAL TELECOMMUNICATION COMMI","currency":null,"accountno":"0111003486"},{"availableBalance":34714514.21,"formattedAmount":"34,714,514.21","bookBalance":34714514.21,"accountType":"","accountName":"SIERRA LEONE MARITIME ADMINISTRA","currency":null,"accountno":"0111003493"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SPECIAL TAX & DUTIES","currency":null,"accountno":"0111003503"},{"availableBalance":431020263.0,"formattedAmount":"431,020,263.00","bookBalance":431020263.0,"accountType":"","accountName":"TIMBER EXPORT LEVY","currency":null,"accountno":"0111003527"},{"availableBalance":6709406.02,"formattedAmount":"6,709,406.02","bookBalance":6709406.02,"accountType":"","accountName":"AFFORESTATION AND CITIES LEVY","currency":null,"accountno":"0111003534"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"MULTI DONOR BASKET FUND FREE EDU","currency":null,"accountno":"0111003572"},{"availableBalance":622112.00,"formattedAmount":"622,112.00","bookBalance":622112.00,"accountType":"","accountName":"MULTI DONOR BASKET FUND 4 FREE E","currency":null,"accountno":"0111003596"},{"availableBalance":-10000000.00,"formattedAmount":"-10,000,000.00","bookBalance":-10000000.00,"accountType":"","accountName":"CORRUPTION REC FUNDS ACCOUNT (SL","currency":null,"accountno":"0111003637"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"CORRUPTION REC FUNDS ACCOUNT (US","currency":null,"accountno":"0111003644"},{"availableBalance":3983620.62,"formattedAmount":"3,983,620.62","bookBalance":3983620.62,"accountType":"","accountName":"SIERRA LEONE STANDARD BUREAU DIS","currency":null,"accountno":"0111003651"},{"availableBalance":2256323.84,"formattedAmount":"2,256,323.84","bookBalance":2256323.84,"accountType":"","accountName":"SIERRA LEONE ROADS SAFETY AUTHOR","currency":null,"accountno":"0111003668"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SLPA/GOSL CARGO TRACKING","currency":null,"accountno":"0111003699"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"RECO FUNDS BASED ON TECHNICAL AU","currency":null,"accountno":"0111003730"},{"availableBalance":16922324.29,"formattedAmount":"16,922,324.29","bookBalance":16922324.29,"accountType":"","accountName":"FISHERIES PROTECTION STATISTICS&","currency":null,"accountno":"0111003754"},{"availableBalance":673795.84,"formattedAmount":"673,795.84","bookBalance":673795.84,"accountType":"","accountName":"FREE HEALTH CARE INITIATIVE","currency":null,"accountno":"0111003778"},{"availableBalance":66065954.89,"formattedAmount":"66,065,954.89","bookBalance":66065954.89,"accountType":"","accountName":"PRODUCE MONITORING BOARD","currency":null,"accountno":"0111003785"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"USL TEACHING HOSPITAL COMPLEX","currency":null,"accountno":"0111003840"},{"availableBalance":11031596.25,"formattedAmount":"11,031,596.25","bookBalance":11031596.25,"accountType":"","accountName":"DUTY WAIVER JOINT MNT FUND TREAS","currency":null,"accountno":"0111003857"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"PUBLIC AUCTION COMMITTE TREASURY","currency":null,"accountno":"0111003864"},{"availableBalance":3623824.03,"formattedAmount":"3,623,824.03","bookBalance":3623824.03,"accountType":"","accountName":"COMM OF INQUIRY SPECIAL RECOVERY","currency":null,"accountno":"0111003888"},{"availableBalance":-2055291.44,"formattedAmount":"-2,055,291.44","bookBalance":-2055291.44,"accountType":"","accountName":"DAILY SUBSISTENCE ALW/MED EXP AC","currency":null,"accountno":"0111003929"},{"availableBalance":3780.96,"formattedAmount":"3,780.96","bookBalance":3780.96,"accountType":"","accountName":"S/L LOCAL CONTENT DEVELOPMENT FU","currency":null,"accountno":"0111003936"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"LSS/SLPA/GOSL CARGO TRACKING","currency":null,"accountno":"0111003943"},{"availableBalance":5000000.0,"formattedAmount":"5,000,000.00","bookBalance":5000000.0,"accountType":"","accountName":"LOCAL COUNCIL DEVELOPMENT PROJEC","currency":null,"accountno":"0111003950"},{"availableBalance":205694040.46,"formattedAmount":"205,694,040.46","bookBalance":205694040.46,"accountType":"","accountName":"DEBT MANAGEMENT TREASURY","currency":null,"accountno":"0111003967"},{"availableBalance":85000.0,"formattedAmount":"85,000.00","bookBalance":85000.0,"accountType":"","accountName":"AUDIT SERVICE S/L - AUDIT FEES","currency":null,"accountno":"0111003974"},{"availableBalance":911265.54,"formattedAmount":"911,265.54","bookBalance":911265.54,"accountType":"","accountName":"NPPA-REV FROM SALE OF BIDDING DO","currency":null,"accountno":"0111003981"},{"availableBalance":20024585.14,"formattedAmount":"20,024,585.14","bookBalance":20024585.14,"accountType":"","accountName":"VEHICLE LOAN SCHEME","currency":null,"accountno":"0111004005"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SLCAA AVIATION FEES","currency":null,"accountno":"0111004012"},{"availableBalance":3326998.54,"formattedAmount":"3,326,998.54","bookBalance":3326998.54,"accountType":"","accountName":"NACOVERC LAB FEES & ENFORCE FINE","currency":null,"accountno":"0111004029"},{"availableBalance":139164.95,"formattedAmount":"139,164.95","bookBalance":139164.95,"accountType":"","accountName":"CTN FEES - FOREIGN CURRENCY","currency":null,"accountno":"0111004036"},{"availableBalance":0.01,"formattedAmount":"0.01","bookBalance":0.01,"accountType":"","accountName":"NATCOM AND BRADCORP GATEWAY REVE","currency":null,"accountno":"0111004043"},{"availableBalance":1120558.48,"formattedAmount":"1,120,558.48","bookBalance":1120558.48,"accountType":"","accountName":"NAT. WATER RESOURCES MGMT AGENCY","currency":null,"accountno":"0111004067"},{"availableBalance":2252147.11,"formattedAmount":"2,252,147.11","bookBalance":2252147.11,"accountType":"","accountName":"NaCOVERC LABORATORY FEES (USD)","currency":null,"accountno":"0111004074"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"WAGE BILL REVOLVING FUND ACCOUNT","currency":null,"accountno":"0111004098"},{"availableBalance":83069442.86,"formattedAmount":"83,069,442.86","bookBalance":83069442.86,"accountType":"","accountName":"STATE LAND SALES A/C","currency":null,"accountno":"0111004160"},{"availableBalance":59935.0,"formattedAmount":"59,935.00","bookBalance":59935.0,"accountType":"","accountName":"34 MILITARY HOSPITAL","currency":null,"accountno":"0111004201"},{"availableBalance":2206155.0,"formattedAmount":"2,206,155.00","bookBalance":2206155.0,"accountType":"","accountName":"BETTING & GAMBLING LICENCES ACCO","currency":null,"accountno":"0111004232"},{"availableBalance":34865.21,"formattedAmount":"34,865.21","bookBalance":34865.21,"accountType":"","accountName":"PAY NO BRIBE CAMPAIGN PROJECT AC","currency":null,"accountno":"0111004421"},{"availableBalance":2293395.84,"formattedAmount":"2,293,395.84","bookBalance":2293395.84,"accountType":"","accountName":"LUNGI BRIDGE FEASIBILITY STUDY(S","currency":null,"accountno":"0111004438"},{"availableBalance":17.05,"formattedAmount":"17.05","bookBalance":17.05,"accountType":"","accountName":"MOPED UNICEF PROGRAM SUPPORT A/C","currency":null,"accountno":"0111004658"},{"availableBalance":164418.88,"formattedAmount":"164,418.88","bookBalance":164418.88,"accountType":"","accountName":"NAT ELECTIONS SUSTAIN TRUST FUND","currency":null,"accountno":"0111004809"},{"availableBalance":0.79,"formattedAmount":"0.79","bookBalance":0.79,"accountType":"","accountName":"IMF SPECIAL DRAWING RIGHTS RETRO","currency":null,"accountno":"0111004847"},{"availableBalance":74814520.77,"formattedAmount":"74,814,520.77","bookBalance":74814520.77,"accountType":"","accountName":"GoSL TSA REVENUE SHARE ACCOUNT","currency":null,"accountno":"0111004878"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"DUTY WAIVER","currency":null,"accountno":"0111004885"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"IMPREST AC FOR ACC GEN DEPT","currency":null,"accountno":"0111004926"},{"availableBalance":10685160.00,"formattedAmount":"10,685,160.00","bookBalance":10685160.00,"accountType":"","accountName":"SL NATIONAL SHIPPING COMPANY ESC","currency":null,"accountno":"0111004995"},{"availableBalance":-1009872.99,"formattedAmount":"-1,009,872.99","bookBalance":-1009872.99,"accountType":"","accountName":"MINISTRY OF DEFENCE QUARTERLY","currency":null,"accountno":"0111005057"},{"availableBalance":-458150.0,"formattedAmount":"-458,150.00","bookBalance":-458150.0,"accountType":"","accountName":"SIERRA LEONE POLICE GENERAL ACCO","currency":null,"accountno":"0111005129"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"SIERRA LEONE CORRECTIONAL SERVIC","currency":null,"accountno":"0111005136"},{"availableBalance":3446.86,"formattedAmount":"3,446.86","bookBalance":3446.86,"accountType":"","accountName":"IMMIGRATION ACCOUNT","currency":null,"accountno":"0111005150"},{"availableBalance":14952799.83,"formattedAmount":"14,952,799.83","bookBalance":14952799.83,"accountType":"","accountName":"DIAGNOSTIC MEDICAL CENTRE","currency":null,"accountno":"0111005260"},{"availableBalance":6699287.89,"formattedAmount":"6,699,287.89","bookBalance":6699287.89,"accountType":"","accountName":"SALES OF AIRSTRIP LANDS","currency":null,"accountno":"0111005332"},{"availableBalance":245148.43,"formattedAmount":"245,148.43","bookBalance":245148.43,"accountType":"","accountName":"GOSL NATIONAL TREE PLANTING","currency":null,"accountno":"0111005387"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"OFFICE OF THE OMBUDSMAN DISBURSE","currency":null,"accountno":"0111005844"},{"availableBalance":9034.5,"formattedAmount":"9,034.50","bookBalance":9034.5,"accountType":"","accountName":"FERTILIZER SUPPORT FUND","currency":null,"accountno":"0111006054"},{"availableBalance":117899.95,"formattedAmount":"117,899.95","bookBalance":117899.95,"accountType":"","accountName":"TERTIARY EDUCATION COMMISSION DI","currency":null,"accountno":"0111006308"},{"availableBalance":1500000.0,"formattedAmount":"1,500,000.00","bookBalance":1500000.0,"accountType":"","accountName":"SIERRA LEONE PHARMACY BOARD DISB","currency":null,"accountno":"0111006377"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"SLMET AGRIC VAL CHA DEV PROJ (AV","currency":null,"accountno":"0111006456"},{"availableBalance":1384132.82,"formattedAmount":"1,384,132.82","bookBalance":1384132.82,"accountType":"","accountName":"DIGITAL DEVELOPMENT FUND (DDF) A","currency":null,"accountno":"0111006535"}],"code":"01","success":true,"description":"Success"}] 2025-11-21 16:49:06.4668||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:49:06.4668||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 16:49:06.4668||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:49:06.4668|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]]'. 2025-11-21 16:49:06.4758|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 3308.1339ms 2025-11-21 16:49:06.4758||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 16:49:06.4758|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 16:49:06.4758|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 3336.7792ms 200 application/json; charset=utf-8 2025-11-21 16:49:07.2434||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-5092566928.3","bookBalance":0.0,"accountType":null,"accountName":"AGD SALARIES AND WAGES ACCOUNT19","currency":null,"accountno":"0111001293","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 16:49:07.2434||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:49:07.2434||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:49:07.2657||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:49:07.2657||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:49:07.2729||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 16:49:08.0561||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-88918787.83","bookBalance":0.0,"accountType":null,"accountName":"AGD PENSIONS ACCOUNTS 1998","currency":null,"accountno":"0111001310","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 16:49:08.0561||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:49:08.0561||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:49:08.0861||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:49:08.0861|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; 2025-11-21 16:49:08.1046|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 2025-11-21 16:49:08.1046|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:49:08.1046|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:49:08.1178|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:49:08.1178|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:49:08.1178|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:49:08.1178|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:49:08.1351|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:49:08.1351|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)) 2025-11-21 16:49:08.1351|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:49:08.1485|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:49:08.1485|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:49:08.1485|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:49:08.1965|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]]'. 2025-11-21 16:49:08.1965|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 5034.1748ms 2025-11-21 16:49:08.1965|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 16:49:08.1965|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5064.3023ms 200 application/json; charset=utf-8 2025-11-21 16:49:20.6766|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 16:49:20.6766|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 16:49:20.6766|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 16:49:20.6766|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:49:20.6766|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:49:20.6766|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:49:20.6766|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.4279ms 204 2025-11-21 16:49:20.6890|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.338ms 204 2025-11-21 16:49:20.6890|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 14.062ms 204 2025-11-21 16:49:20.6890|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 16:49:20.6890|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 16:49:20.6890|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:49:20.6890|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:49:20.6890|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 16:49:20.6890|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:49:20.6890|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:49:20.7046|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:49:20.7046|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:49:20.7046|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:49:20.7046|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 16:49:20.7046|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 16:49:20.7046|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:49:20.7046|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). 2025-11-21 16:49:20.7046|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). 2025-11-21 16:49:20.7046|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:49:20.7046||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 16:49:20.7046|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 16:49:20.7046|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 16:49:20.7212|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). 2025-11-21 16:49:20.7212|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)) 2025-11-21 16:49:20.7212|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 16:49:20.7212||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 16:49:20.7212|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 2025-11-21 16:49:20.7212||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 16:49:20.7212|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]]'. 2025-11-21 16:49:20.7212||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 16:49:20.7212|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 8.1754ms 2025-11-21 16:49:20.7212|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 16:49:20.7364||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 16:49:20.7364|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 36.584ms 200 application/json; charset=utf-8 2025-11-21 16:49:20.7364||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 16:49:20.7364||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 16:49:20.7522||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 16:49:20.7522||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 16:49:20.7522||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:49:20.7522||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 16:49:21.5626||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-8624381391.76","bookBalance":0.0,"accountType":null,"accountName":"AGD EXPENDITURE ACCOUNTS-GENERAL","currency":null,"accountno":"0111001279","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 16:49:21.5670||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:49:21.5670||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:49:21.5826||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:49:21.5826||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:49:21.5826||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 16:49:22.3855||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-8624381391.76","bookBalance":0.0,"accountType":null,"accountName":"AGD EXPENDITURE ACCOUNTS-GENERAL","currency":null,"accountno":"0111001279","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 16:49:22.3855||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:49:22.3955||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:49:22.4096||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:49:22.4096||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:49:22.4096||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 16:49:23.2194||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-5092566928.3","bookBalance":0.0,"accountType":null,"accountName":"AGD SALARIES AND WAGES ACCOUNT19","currency":null,"accountno":"0111001293","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 16:49:23.2241||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:49:23.2241||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:49:23.2407||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:49:23.2407||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:49:23.2407||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 16:49:24.0969||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[{"availableBalance":1008205876.55,"formattedAmount":"1,008,205,876.55","bookBalance":1008205876.55,"accountType":"","accountName":"TREASURY MAIN","currency":null,"accountno":"0111001255"},{"availableBalance":-8624381391.76,"formattedAmount":"-8,624,381,391.76","bookBalance":-8624381391.76,"accountType":"","accountName":"AGD EXPENDITURE ACCOUNTS-GENERAL","currency":null,"accountno":"0111001279"},{"availableBalance":-5092566928.3,"formattedAmount":"-5,092,566,928.30","bookBalance":-5092566928.3,"accountType":"","accountName":"AGD SALARIES AND WAGES ACCOUNT19","currency":null,"accountno":"0111001293"},{"availableBalance":-88918787.83,"formattedAmount":"-88,918,787.83","bookBalance":-88918787.83,"accountType":"","accountName":"AGD PENSIONS ACCOUNTS 1998","currency":null,"accountno":"0111001310"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"DIFD (UK) BUDGSUPPORT GRANT","currency":null,"accountno":"0111001358"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SALARY ADVANCES ACCOUNT","currency":null,"accountno":"0111001372"},{"availableBalance":5660770071.02,"formattedAmount":"5,660,770,071.02","bookBalance":5660770071.02,"accountType":"","accountName":"INCOME TAX TREAS AC","currency":null,"accountno":"0111001396"},{"availableBalance":1639971708.73,"formattedAmount":"1,639,971,708.73","bookBalance":1639971708.73,"accountType":"","accountName":"CUSTOMS AND EXCISE TREAS AC","currency":null,"accountno":"0111001413"},{"availableBalance":126840132.89,"formattedAmount":"126,840,132.89","bookBalance":126840132.89,"accountType":"","accountName":"MARINE RESOURCES TREAS AC","currency":null,"accountno":"0111001437"},{"availableBalance":1171902940.16,"formattedAmount":"1,171,902,940.16","bookBalance":1171902940.16,"accountType":"","accountName":"MINERAL RESOURCES TREAS AC","currency":null,"accountno":"0111001451"},{"availableBalance":10582481.0,"formattedAmount":"10,582,481.00","bookBalance":10582481.0,"accountType":"","accountName":"IMMIGRATION TREAS AC","currency":null,"accountno":"0111001475"},{"availableBalance":452767547.26,"formattedAmount":"452,767,547.26","bookBalance":452767547.26,"accountType":"","accountName":"GENERAL REVENUE TREAS AC","currency":null,"accountno":"0111001499"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"IMMIGRATION ESCROW ACCOUNT","currency":null,"accountno":"0111001516"},{"availableBalance":12109569.0,"formattedAmount":"12,109,569.00","bookBalance":12109569.0,"accountType":"","accountName":"ADMINISTRATOR AND REGISTRAR GENE","currency":null,"accountno":"0111001530"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"POLICE-UNCLAIMED SALARIES WAGES","currency":null,"accountno":"0111001578"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"EDU SCIENCE AND TECH-UNCLAIMED S","currency":null,"accountno":"0111001592"},{"availableBalance":2068951.32,"formattedAmount":"2,068,951.32","bookBalance":2068951.32,"accountType":"","accountName":"OTHER DEPTMINISTRIES-UNCLAIMED S","currency":null,"accountno":"0111001657"},{"availableBalance":650610335.09,"formattedAmount":"650,610,335.09","bookBalance":650610335.09,"accountType":"","accountName":"TREASURY WAYS AND MEANS ADVANCES","currency":null,"accountno":"0111001671"},{"availableBalance":990172300.0,"formattedAmount":"990,172,300.00","bookBalance":990172300.0,"accountType":"","accountName":"TREASURY BEARER BOND ACCOUNTS","currency":null,"accountno":"0111001695"},{"availableBalance":-1359921007.56,"formattedAmount":"-1,359,921,007.56","bookBalance":-1359921007.56,"accountType":"","accountName":"INTEREST ON TREASURY BEARER BOND","currency":null,"accountno":"0111001712"},{"availableBalance":-2301895609.95,"formattedAmount":"-2,301,895,609.95","bookBalance":-2301895609.95,"accountType":"","accountName":"EXTERNAL DEBT SERVICE PAYMENTS","currency":null,"accountno":"0111001736"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"KENEMA GOVT TREASURY DEPOSITS AC","currency":null,"accountno":"0111001750"},{"availableBalance":20494300.88,"formattedAmount":"20,494,300.88","bookBalance":20494300.88,"accountType":"","accountName":"HIPC TRUST FUND ACCOUNT","currency":null,"accountno":"0111001774"},{"availableBalance":-729960.98,"formattedAmount":"-729,960.98","bookBalance":-729960.98,"accountType":"","accountName":"TREASURY BILLS AC","currency":null,"accountno":"0111001839"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"OFIDSL GOV DEBT RELIEF AC","currency":null,"accountno":"0111001891"},{"availableBalance":115026697.18,"formattedAmount":"115,026,697.18","bookBalance":115026697.18,"accountType":"","accountName":"NOMINALCOST AC FOR 182-DAYS TREA","currency":null,"accountno":"0111001918"},{"availableBalance":3320175223.38,"formattedAmount":"3,320,175,223.38","bookBalance":3320175223.38,"accountType":"","accountName":"NOMINALCOST AC FOR 364-DAYS TREA","currency":null,"accountno":"0111001932"},{"availableBalance":-8559679.4,"formattedAmount":"-8,559,679.40","bookBalance":-8559679.4,"accountType":"","accountName":"COMMISSION AC FOR TREASURY BILLS","currency":null,"accountno":"0111001970"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"MIN OF FISHERIES AND MARINE RESO","currency":null,"accountno":"0111002032"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"NAT TELECOMS REVENUE ESCROW AC","currency":null,"accountno":"0111002056"},{"availableBalance":4213148.95,"formattedAmount":"4,213,148.95","bookBalance":4213148.95,"accountType":"","accountName":"SIERRA LEONE PHARMACY BOARD REVE","currency":null,"accountno":"0111002070"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SIERRA LEONE MARITIME ADMIN REVE","currency":null,"accountno":"0111002094"},{"availableBalance":13207078.86,"formattedAmount":"13,207,078.86","bookBalance":13207078.86,"accountType":"","accountName":"SLCAA FOREIGN TRAVEL TAX A/C","currency":null,"accountno":"0111002111"},{"availableBalance":2292475373.13,"formattedAmount":"2,292,475,373.13","bookBalance":2292475373.13,"accountType":"","accountName":"GOODS AND SERVICES TAX ACCOUNT","currency":null,"accountno":"0111002135"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"MARINES FINES AC","currency":null,"accountno":"0111002159"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"AFFORESTATION AC","currency":null,"accountno":"0111002197"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"NATIONAL IDENTITY CARD PROJECT E","currency":null,"accountno":"0111002252"},{"availableBalance":412398.2,"formattedAmount":"412,398.20","bookBalance":412398.2,"accountType":"","accountName":"MINISTRY OF PRESIDENTIAL AND PUB","currency":null,"accountno":"0111002276"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"JAPANESE GRANT FOR COPING WITH C","currency":null,"accountno":"0111002317"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"DIAMOND ROYALTIES AC","currency":null,"accountno":"0111002355"},{"availableBalance":11320146.22,"formattedAmount":"11,320,146.22","bookBalance":11320146.22,"accountType":"","accountName":"NON-TAX REVENUE AC","currency":null,"accountno":"0111002379"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"INT. ON 91 182 364 - DAYS TREASU","currency":null,"accountno":"0111002393"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SIERRATELEBID MODERNISATION AND","currency":null,"accountno":"0111002410"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"IMF BUDGET FINANCING TREASURY A/","currency":null,"accountno":"0111002843"},{"availableBalance":962154707.06,"formattedAmount":"962,154,707.06","bookBalance":962154707.06,"accountType":"","accountName":"PETROLEUM EXCISE DUTY ACCOUNT","currency":null,"accountno":"0111002984"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"CATASTROPHE CONTAINMENT RELIEF T","currency":null,"accountno":"0111002991"},{"availableBalance":-47389.02,"formattedAmount":"-47,389.02","bookBalance":-47389.02,"accountType":"","accountName":"INTEREST ON 91 DAYS TREASURY BIL","currency":null,"accountno":"0111003314"},{"availableBalance":-14662146.43,"formattedAmount":"-14,662,146.43","bookBalance":-14662146.43,"accountType":"","accountName":"INTEREST ON 182 DAYS TREASURY BI","currency":null,"accountno":"0111003321"},{"availableBalance":-4861882392.28,"formattedAmount":"-4,861,882,392.28","bookBalance":-4861882392.28,"accountType":"","accountName":"INTEREST ON 364 DAYS TREASURY BI","currency":null,"accountno":"0111003338"},{"availableBalance":13011149.86,"formattedAmount":"13,011,149.86","bookBalance":13011149.86,"accountType":"","accountName":"PETROLEUM REGULATORY AGENCY","currency":null,"accountno":"0111003448"},{"availableBalance":14624361.1,"formattedAmount":"14,624,361.10","bookBalance":14624361.1,"accountType":"","accountName":"PETROLEUM DIRECTORATE","currency":null,"accountno":"0111003455"},{"availableBalance":716682.0,"formattedAmount":"716,682.00","bookBalance":716682.0,"accountType":"","accountName":"ROAD MAINTENANCE FUND","currency":null,"accountno":"0111003462"},{"availableBalance":12446437.0,"formattedAmount":"12,446,437.00","bookBalance":12446437.0,"accountType":"","accountName":"ENVIRONMENTAL PROTECTION AGENCY","currency":null,"accountno":"0111003479"},{"availableBalance":2736797.72,"formattedAmount":"2,736,797.72","bookBalance":2736797.72,"accountType":"","accountName":"NATIONAL TELECOMMUNICATION COMMI","currency":null,"accountno":"0111003486"},{"availableBalance":34714514.21,"formattedAmount":"34,714,514.21","bookBalance":34714514.21,"accountType":"","accountName":"SIERRA LEONE MARITIME ADMINISTRA","currency":null,"accountno":"0111003493"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SPECIAL TAX & DUTIES","currency":null,"accountno":"0111003503"},{"availableBalance":431020263.0,"formattedAmount":"431,020,263.00","bookBalance":431020263.0,"accountType":"","accountName":"TIMBER EXPORT LEVY","currency":null,"accountno":"0111003527"},{"availableBalance":6709406.02,"formattedAmount":"6,709,406.02","bookBalance":6709406.02,"accountType":"","accountName":"AFFORESTATION AND CITIES LEVY","currency":null,"accountno":"0111003534"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"MULTI DONOR BASKET FUND FREE EDU","currency":null,"accountno":"0111003572"},{"availableBalance":622112.00,"formattedAmount":"622,112.00","bookBalance":622112.00,"accountType":"","accountName":"MULTI DONOR BASKET FUND 4 FREE E","currency":null,"accountno":"0111003596"},{"availableBalance":-10000000.00,"formattedAmount":"-10,000,000.00","bookBalance":-10000000.00,"accountType":"","accountName":"CORRUPTION REC FUNDS ACCOUNT (SL","currency":null,"accountno":"0111003637"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"CORRUPTION REC FUNDS ACCOUNT (US","currency":null,"accountno":"0111003644"},{"availableBalance":3983620.62,"formattedAmount":"3,983,620.62","bookBalance":3983620.62,"accountType":"","accountName":"SIERRA LEONE STANDARD BUREAU DIS","currency":null,"accountno":"0111003651"},{"availableBalance":2256323.84,"formattedAmount":"2,256,323.84","bookBalance":2256323.84,"accountType":"","accountName":"SIERRA LEONE ROADS SAFETY AUTHOR","currency":null,"accountno":"0111003668"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SLPA/GOSL CARGO TRACKING","currency":null,"accountno":"0111003699"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"RECO FUNDS BASED ON TECHNICAL AU","currency":null,"accountno":"0111003730"},{"availableBalance":16922324.29,"formattedAmount":"16,922,324.29","bookBalance":16922324.29,"accountType":"","accountName":"FISHERIES PROTECTION STATISTICS&","currency":null,"accountno":"0111003754"},{"availableBalance":673795.84,"formattedAmount":"673,795.84","bookBalance":673795.84,"accountType":"","accountName":"FREE HEALTH CARE INITIATIVE","currency":null,"accountno":"0111003778"},{"availableBalance":66065954.89,"formattedAmount":"66,065,954.89","bookBalance":66065954.89,"accountType":"","accountName":"PRODUCE MONITORING BOARD","currency":null,"accountno":"0111003785"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"USL TEACHING HOSPITAL COMPLEX","currency":null,"accountno":"0111003840"},{"availableBalance":11031596.25,"formattedAmount":"11,031,596.25","bookBalance":11031596.25,"accountType":"","accountName":"DUTY WAIVER JOINT MNT FUND TREAS","currency":null,"accountno":"0111003857"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"PUBLIC AUCTION COMMITTE TREASURY","currency":null,"accountno":"0111003864"},{"availableBalance":3623824.03,"formattedAmount":"3,623,824.03","bookBalance":3623824.03,"accountType":"","accountName":"COMM OF INQUIRY SPECIAL RECOVERY","currency":null,"accountno":"0111003888"},{"availableBalance":-2055291.44,"formattedAmount":"-2,055,291.44","bookBalance":-2055291.44,"accountType":"","accountName":"DAILY SUBSISTENCE ALW/MED EXP AC","currency":null,"accountno":"0111003929"},{"availableBalance":3780.96,"formattedAmount":"3,780.96","bookBalance":3780.96,"accountType":"","accountName":"S/L LOCAL CONTENT DEVELOPMENT FU","currency":null,"accountno":"0111003936"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"LSS/SLPA/GOSL CARGO TRACKING","currency":null,"accountno":"0111003943"},{"availableBalance":5000000.0,"formattedAmount":"5,000,000.00","bookBalance":5000000.0,"accountType":"","accountName":"LOCAL COUNCIL DEVELOPMENT PROJEC","currency":null,"accountno":"0111003950"},{"availableBalance":205694040.46,"formattedAmount":"205,694,040.46","bookBalance":205694040.46,"accountType":"","accountName":"DEBT MANAGEMENT TREASURY","currency":null,"accountno":"0111003967"},{"availableBalance":85000.0,"formattedAmount":"85,000.00","bookBalance":85000.0,"accountType":"","accountName":"AUDIT SERVICE S/L - AUDIT FEES","currency":null,"accountno":"0111003974"},{"availableBalance":911265.54,"formattedAmount":"911,265.54","bookBalance":911265.54,"accountType":"","accountName":"NPPA-REV FROM SALE OF BIDDING DO","currency":null,"accountno":"0111003981"},{"availableBalance":20024585.14,"formattedAmount":"20,024,585.14","bookBalance":20024585.14,"accountType":"","accountName":"VEHICLE LOAN SCHEME","currency":null,"accountno":"0111004005"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SLCAA AVIATION FEES","currency":null,"accountno":"0111004012"},{"availableBalance":3326998.54,"formattedAmount":"3,326,998.54","bookBalance":3326998.54,"accountType":"","accountName":"NACOVERC LAB FEES & ENFORCE FINE","currency":null,"accountno":"0111004029"},{"availableBalance":139164.95,"formattedAmount":"139,164.95","bookBalance":139164.95,"accountType":"","accountName":"CTN FEES - FOREIGN CURRENCY","currency":null,"accountno":"0111004036"},{"availableBalance":0.01,"formattedAmount":"0.01","bookBalance":0.01,"accountType":"","accountName":"NATCOM AND BRADCORP GATEWAY REVE","currency":null,"accountno":"0111004043"},{"availableBalance":1120558.48,"formattedAmount":"1,120,558.48","bookBalance":1120558.48,"accountType":"","accountName":"NAT. WATER RESOURCES MGMT AGENCY","currency":null,"accountno":"0111004067"},{"availableBalance":2252147.11,"formattedAmount":"2,252,147.11","bookBalance":2252147.11,"accountType":"","accountName":"NaCOVERC LABORATORY FEES (USD)","currency":null,"accountno":"0111004074"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"WAGE BILL REVOLVING FUND ACCOUNT","currency":null,"accountno":"0111004098"},{"availableBalance":83069442.86,"formattedAmount":"83,069,442.86","bookBalance":83069442.86,"accountType":"","accountName":"STATE LAND SALES A/C","currency":null,"accountno":"0111004160"},{"availableBalance":59935.0,"formattedAmount":"59,935.00","bookBalance":59935.0,"accountType":"","accountName":"34 MILITARY HOSPITAL","currency":null,"accountno":"0111004201"},{"availableBalance":2206155.0,"formattedAmount":"2,206,155.00","bookBalance":2206155.0,"accountType":"","accountName":"BETTING & GAMBLING LICENCES ACCO","currency":null,"accountno":"0111004232"},{"availableBalance":34865.21,"formattedAmount":"34,865.21","bookBalance":34865.21,"accountType":"","accountName":"PAY NO BRIBE CAMPAIGN PROJECT AC","currency":null,"accountno":"0111004421"},{"availableBalance":2293395.84,"formattedAmount":"2,293,395.84","bookBalance":2293395.84,"accountType":"","accountName":"LUNGI BRIDGE FEASIBILITY STUDY(S","currency":null,"accountno":"0111004438"},{"availableBalance":17.05,"formattedAmount":"17.05","bookBalance":17.05,"accountType":"","accountName":"MOPED UNICEF PROGRAM SUPPORT A/C","currency":null,"accountno":"0111004658"},{"availableBalance":164418.88,"formattedAmount":"164,418.88","bookBalance":164418.88,"accountType":"","accountName":"NAT ELECTIONS SUSTAIN TRUST FUND","currency":null,"accountno":"0111004809"},{"availableBalance":0.79,"formattedAmount":"0.79","bookBalance":0.79,"accountType":"","accountName":"IMF SPECIAL DRAWING RIGHTS RETRO","currency":null,"accountno":"0111004847"},{"availableBalance":74814520.77,"formattedAmount":"74,814,520.77","bookBalance":74814520.77,"accountType":"","accountName":"GoSL TSA REVENUE SHARE ACCOUNT","currency":null,"accountno":"0111004878"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"DUTY WAIVER","currency":null,"accountno":"0111004885"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"IMPREST AC FOR ACC GEN DEPT","currency":null,"accountno":"0111004926"},{"availableBalance":10685160.00,"formattedAmount":"10,685,160.00","bookBalance":10685160.00,"accountType":"","accountName":"SL NATIONAL SHIPPING COMPANY ESC","currency":null,"accountno":"0111004995"},{"availableBalance":-1009872.99,"formattedAmount":"-1,009,872.99","bookBalance":-1009872.99,"accountType":"","accountName":"MINISTRY OF DEFENCE QUARTERLY","currency":null,"accountno":"0111005057"},{"availableBalance":-458150.0,"formattedAmount":"-458,150.00","bookBalance":-458150.0,"accountType":"","accountName":"SIERRA LEONE POLICE GENERAL ACCO","currency":null,"accountno":"0111005129"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"SIERRA LEONE CORRECTIONAL SERVIC","currency":null,"accountno":"0111005136"},{"availableBalance":3446.86,"formattedAmount":"3,446.86","bookBalance":3446.86,"accountType":"","accountName":"IMMIGRATION ACCOUNT","currency":null,"accountno":"0111005150"},{"availableBalance":14952799.83,"formattedAmount":"14,952,799.83","bookBalance":14952799.83,"accountType":"","accountName":"DIAGNOSTIC MEDICAL CENTRE","currency":null,"accountno":"0111005260"},{"availableBalance":6699287.89,"formattedAmount":"6,699,287.89","bookBalance":6699287.89,"accountType":"","accountName":"SALES OF AIRSTRIP LANDS","currency":null,"accountno":"0111005332"},{"availableBalance":245148.43,"formattedAmount":"245,148.43","bookBalance":245148.43,"accountType":"","accountName":"GOSL NATIONAL TREE PLANTING","currency":null,"accountno":"0111005387"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"OFFICE OF THE OMBUDSMAN DISBURSE","currency":null,"accountno":"0111005844"},{"availableBalance":9034.5,"formattedAmount":"9,034.50","bookBalance":9034.5,"accountType":"","accountName":"FERTILIZER SUPPORT FUND","currency":null,"accountno":"0111006054"},{"availableBalance":117899.95,"formattedAmount":"117,899.95","bookBalance":117899.95,"accountType":"","accountName":"TERTIARY EDUCATION COMMISSION DI","currency":null,"accountno":"0111006308"},{"availableBalance":1500000.0,"formattedAmount":"1,500,000.00","bookBalance":1500000.0,"accountType":"","accountName":"SIERRA LEONE PHARMACY BOARD DISB","currency":null,"accountno":"0111006377"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"SLMET AGRIC VAL CHA DEV PROJ (AV","currency":null,"accountno":"0111006456"},{"availableBalance":1384132.82,"formattedAmount":"1,384,132.82","bookBalance":1384132.82,"accountType":"","accountName":"DIGITAL DEVELOPMENT FUND (DDF) A","currency":null,"accountno":"0111006535"}],"code":"01","success":true,"description":"Success"}] 2025-11-21 16:49:24.0969||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 16:49:24.0969|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]]'. 2025-11-21 16:49:24.0969|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 3390.3402ms 2025-11-21 16:49:24.0969|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 16:49:24.0969|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 3414.1887ms 200 application/json; charset=utf-8 2025-11-21 16:49:24.0969||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"10547897.45","bookBalance":0.0,"accountType":null,"accountName":"ELECTRONIC FUNDS TRANS SUSPENSE","currency":null,"accountno":"SLE116030002","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 16:49:24.1142||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:49:24.1142||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:49:24.1318||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:49:24.1318||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:49:24.1318||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 16:49:24.9181||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-5092566928.3","bookBalance":0.0,"accountType":null,"accountName":"AGD SALARIES AND WAGES ACCOUNT19","currency":null,"accountno":"0111001293","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 16:49:24.9181||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:49:24.9285||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:49:24.9414||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:49:24.9414||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:49:24.9414||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 16:49:25.7598||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-88918787.83","bookBalance":0.0,"accountType":null,"accountName":"AGD PENSIONS ACCOUNTS 1998","currency":null,"accountno":"0111001310","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 16:49:25.7598||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:49:25.7598||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:49:25.7835||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:49:25.7835|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (4ms) [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; 2025-11-21 16:49:25.8005|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 2025-11-21 16:49:25.8005|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:49:25.8005|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:49:25.8005|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' 2025-11-21 16:49:25.8005|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:49:25.8181|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:49:25.8181|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:49:25.8181|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:49:25.8181|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:49:25.8315|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:49:25.8315|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:49:25.8315|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:49:25.8315|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:49:25.8848|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]]'. 2025-11-21 16:49:25.8848|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 5171.2467ms 2025-11-21 16:49:25.8848|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 16:49:25.8848|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5199.3067ms 200 application/json; charset=utf-8 2025-11-21 16:53:05.4270|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=518 2025-11-21 16:53:05.4270|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:53:05.4270|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.3089ms 204 2025-11-21 16:53:05.4368|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=518 2025-11-21 16:53:05.4368|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:53:05.4368|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:53:05.4368|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:53:05.4368|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 16:53:05.4368|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). 2025-11-21 16:53:05.4368|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 16:53:05.4513|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)) 2025-11-21 16:53:05.4513|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]]'. 2025-11-21 16:53:05.4513|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 8.0797ms 2025-11-21 16:53:05.4513|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 16:53:05.4513|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 16:53:05.4513|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 23.4316ms 200 application/json; charset=utf-8 2025-11-21 16:53:05.4513|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 16:53:05.4513|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:53:05.4513|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 16:53:05.4676|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:53:05.4676|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.0216ms 204 2025-11-21 16:53:05.4676|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:53:05.4676|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 14.0648ms 204 2025-11-21 16:53:05.4676|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.5941ms 204 2025-11-21 16:53:05.4676|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 16:53:05.4676|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 16:53:05.4830|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 16:53:05.4830|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:53:05.4830|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:53:05.5002|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:53:05.5002|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:53:05.5002|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:53:05.5002|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:53:05.5002|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:53:05.5131|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:53:05.5131|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:53:05.5131|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 16:53:05.5131|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 16:53:05.5131|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 16:53:05.5131|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). 2025-11-21 16:53:05.5131|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). 2025-11-21 16:53:05.5131|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). 2025-11-21 16:53:05.5131||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 16:53:05.5283|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 16:53:05.5283|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 16:53:05.5283|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 2025-11-21 16:53:05.5283|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)) 2025-11-21 16:53:05.5283|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]]'. 2025-11-21 16:53:05.5283|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 10.0201ms 2025-11-21 16:53:05.5283|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 16:53:05.5283|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 61.1424ms 200 application/json; charset=utf-8 2025-11-21 16:53:05.5283||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 16:53:05.5463||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 16:53:05.5463||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 16:53:05.5463||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 16:53:05.5637||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 16:53:05.5637||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 16:53:05.5637||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 16:53:05.5637||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 16:53:05.5804||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:53:05.5804||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 16:53:06.3901||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-8624381391.76","bookBalance":0.0,"accountType":null,"accountName":"AGD EXPENDITURE ACCOUNTS-GENERAL","currency":null,"accountno":"0111001279","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 16:53:06.3901||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:53:06.3901||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:53:06.4096||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:53:06.4096||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:53:06.4196||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 16:53:07.2379||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-8624381391.76","bookBalance":0.0,"accountType":null,"accountName":"AGD EXPENDITURE ACCOUNTS-GENERAL","currency":null,"accountno":"0111001279","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 16:53:07.2379||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:53:07.2379||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:53:07.2629||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:53:07.2629||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:53:07.2629||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 16:53:08.0623||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-5092566928.3","bookBalance":0.0,"accountType":null,"accountName":"AGD SALARIES AND WAGES ACCOUNT19","currency":null,"accountno":"0111001293","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 16:53:08.0623||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:53:08.0623||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:53:08.0845||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:53:08.0845||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:53:08.0916||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 16:53:08.9366||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[{"availableBalance":1008205876.55,"formattedAmount":"1,008,205,876.55","bookBalance":1008205876.55,"accountType":"","accountName":"TREASURY MAIN","currency":null,"accountno":"0111001255"},{"availableBalance":-8624381391.76,"formattedAmount":"-8,624,381,391.76","bookBalance":-8624381391.76,"accountType":"","accountName":"AGD EXPENDITURE ACCOUNTS-GENERAL","currency":null,"accountno":"0111001279"},{"availableBalance":-5092566928.3,"formattedAmount":"-5,092,566,928.30","bookBalance":-5092566928.3,"accountType":"","accountName":"AGD SALARIES AND WAGES ACCOUNT19","currency":null,"accountno":"0111001293"},{"availableBalance":-88918787.83,"formattedAmount":"-88,918,787.83","bookBalance":-88918787.83,"accountType":"","accountName":"AGD PENSIONS ACCOUNTS 1998","currency":null,"accountno":"0111001310"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"DIFD (UK) BUDGSUPPORT GRANT","currency":null,"accountno":"0111001358"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SALARY ADVANCES ACCOUNT","currency":null,"accountno":"0111001372"},{"availableBalance":5660770071.02,"formattedAmount":"5,660,770,071.02","bookBalance":5660770071.02,"accountType":"","accountName":"INCOME TAX TREAS AC","currency":null,"accountno":"0111001396"},{"availableBalance":1639971708.73,"formattedAmount":"1,639,971,708.73","bookBalance":1639971708.73,"accountType":"","accountName":"CUSTOMS AND EXCISE TREAS AC","currency":null,"accountno":"0111001413"},{"availableBalance":126840132.89,"formattedAmount":"126,840,132.89","bookBalance":126840132.89,"accountType":"","accountName":"MARINE RESOURCES TREAS AC","currency":null,"accountno":"0111001437"},{"availableBalance":1171902940.16,"formattedAmount":"1,171,902,940.16","bookBalance":1171902940.16,"accountType":"","accountName":"MINERAL RESOURCES TREAS AC","currency":null,"accountno":"0111001451"},{"availableBalance":10582481.0,"formattedAmount":"10,582,481.00","bookBalance":10582481.0,"accountType":"","accountName":"IMMIGRATION TREAS AC","currency":null,"accountno":"0111001475"},{"availableBalance":452767547.26,"formattedAmount":"452,767,547.26","bookBalance":452767547.26,"accountType":"","accountName":"GENERAL REVENUE TREAS AC","currency":null,"accountno":"0111001499"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"IMMIGRATION ESCROW ACCOUNT","currency":null,"accountno":"0111001516"},{"availableBalance":12109569.0,"formattedAmount":"12,109,569.00","bookBalance":12109569.0,"accountType":"","accountName":"ADMINISTRATOR AND REGISTRAR GENE","currency":null,"accountno":"0111001530"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"POLICE-UNCLAIMED SALARIES WAGES","currency":null,"accountno":"0111001578"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"EDU SCIENCE AND TECH-UNCLAIMED S","currency":null,"accountno":"0111001592"},{"availableBalance":2068951.32,"formattedAmount":"2,068,951.32","bookBalance":2068951.32,"accountType":"","accountName":"OTHER DEPTMINISTRIES-UNCLAIMED S","currency":null,"accountno":"0111001657"},{"availableBalance":650610335.09,"formattedAmount":"650,610,335.09","bookBalance":650610335.09,"accountType":"","accountName":"TREASURY WAYS AND MEANS ADVANCES","currency":null,"accountno":"0111001671"},{"availableBalance":990172300.0,"formattedAmount":"990,172,300.00","bookBalance":990172300.0,"accountType":"","accountName":"TREASURY BEARER BOND ACCOUNTS","currency":null,"accountno":"0111001695"},{"availableBalance":-1359921007.56,"formattedAmount":"-1,359,921,007.56","bookBalance":-1359921007.56,"accountType":"","accountName":"INTEREST ON TREASURY BEARER BOND","currency":null,"accountno":"0111001712"},{"availableBalance":-2301895609.95,"formattedAmount":"-2,301,895,609.95","bookBalance":-2301895609.95,"accountType":"","accountName":"EXTERNAL DEBT SERVICE PAYMENTS","currency":null,"accountno":"0111001736"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"KENEMA GOVT TREASURY DEPOSITS AC","currency":null,"accountno":"0111001750"},{"availableBalance":20494300.88,"formattedAmount":"20,494,300.88","bookBalance":20494300.88,"accountType":"","accountName":"HIPC TRUST FUND ACCOUNT","currency":null,"accountno":"0111001774"},{"availableBalance":-729960.98,"formattedAmount":"-729,960.98","bookBalance":-729960.98,"accountType":"","accountName":"TREASURY BILLS AC","currency":null,"accountno":"0111001839"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"OFIDSL GOV DEBT RELIEF AC","currency":null,"accountno":"0111001891"},{"availableBalance":115026697.18,"formattedAmount":"115,026,697.18","bookBalance":115026697.18,"accountType":"","accountName":"NOMINALCOST AC FOR 182-DAYS TREA","currency":null,"accountno":"0111001918"},{"availableBalance":3320175223.38,"formattedAmount":"3,320,175,223.38","bookBalance":3320175223.38,"accountType":"","accountName":"NOMINALCOST AC FOR 364-DAYS TREA","currency":null,"accountno":"0111001932"},{"availableBalance":-8559679.4,"formattedAmount":"-8,559,679.40","bookBalance":-8559679.4,"accountType":"","accountName":"COMMISSION AC FOR TREASURY BILLS","currency":null,"accountno":"0111001970"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"MIN OF FISHERIES AND MARINE RESO","currency":null,"accountno":"0111002032"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"NAT TELECOMS REVENUE ESCROW AC","currency":null,"accountno":"0111002056"},{"availableBalance":4213148.95,"formattedAmount":"4,213,148.95","bookBalance":4213148.95,"accountType":"","accountName":"SIERRA LEONE PHARMACY BOARD REVE","currency":null,"accountno":"0111002070"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SIERRA LEONE MARITIME ADMIN REVE","currency":null,"accountno":"0111002094"},{"availableBalance":13207078.86,"formattedAmount":"13,207,078.86","bookBalance":13207078.86,"accountType":"","accountName":"SLCAA FOREIGN TRAVEL TAX A/C","currency":null,"accountno":"0111002111"},{"availableBalance":2292475373.13,"formattedAmount":"2,292,475,373.13","bookBalance":2292475373.13,"accountType":"","accountName":"GOODS AND SERVICES TAX ACCOUNT","currency":null,"accountno":"0111002135"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"MARINES FINES AC","currency":null,"accountno":"0111002159"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"AFFORESTATION AC","currency":null,"accountno":"0111002197"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"NATIONAL IDENTITY CARD PROJECT E","currency":null,"accountno":"0111002252"},{"availableBalance":412398.2,"formattedAmount":"412,398.20","bookBalance":412398.2,"accountType":"","accountName":"MINISTRY OF PRESIDENTIAL AND PUB","currency":null,"accountno":"0111002276"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"JAPANESE GRANT FOR COPING WITH C","currency":null,"accountno":"0111002317"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"DIAMOND ROYALTIES AC","currency":null,"accountno":"0111002355"},{"availableBalance":11320146.22,"formattedAmount":"11,320,146.22","bookBalance":11320146.22,"accountType":"","accountName":"NON-TAX REVENUE AC","currency":null,"accountno":"0111002379"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"INT. ON 91 182 364 - DAYS TREASU","currency":null,"accountno":"0111002393"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SIERRATELEBID MODERNISATION AND","currency":null,"accountno":"0111002410"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"IMF BUDGET FINANCING TREASURY A/","currency":null,"accountno":"0111002843"},{"availableBalance":962154707.06,"formattedAmount":"962,154,707.06","bookBalance":962154707.06,"accountType":"","accountName":"PETROLEUM EXCISE DUTY ACCOUNT","currency":null,"accountno":"0111002984"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"CATASTROPHE CONTAINMENT RELIEF T","currency":null,"accountno":"0111002991"},{"availableBalance":-47389.02,"formattedAmount":"-47,389.02","bookBalance":-47389.02,"accountType":"","accountName":"INTEREST ON 91 DAYS TREASURY BIL","currency":null,"accountno":"0111003314"},{"availableBalance":-14662146.43,"formattedAmount":"-14,662,146.43","bookBalance":-14662146.43,"accountType":"","accountName":"INTEREST ON 182 DAYS TREASURY BI","currency":null,"accountno":"0111003321"},{"availableBalance":-4861882392.28,"formattedAmount":"-4,861,882,392.28","bookBalance":-4861882392.28,"accountType":"","accountName":"INTEREST ON 364 DAYS TREASURY BI","currency":null,"accountno":"0111003338"},{"availableBalance":13011149.86,"formattedAmount":"13,011,149.86","bookBalance":13011149.86,"accountType":"","accountName":"PETROLEUM REGULATORY AGENCY","currency":null,"accountno":"0111003448"},{"availableBalance":14624361.1,"formattedAmount":"14,624,361.10","bookBalance":14624361.1,"accountType":"","accountName":"PETROLEUM DIRECTORATE","currency":null,"accountno":"0111003455"},{"availableBalance":716682.0,"formattedAmount":"716,682.00","bookBalance":716682.0,"accountType":"","accountName":"ROAD MAINTENANCE FUND","currency":null,"accountno":"0111003462"},{"availableBalance":12446437.0,"formattedAmount":"12,446,437.00","bookBalance":12446437.0,"accountType":"","accountName":"ENVIRONMENTAL PROTECTION AGENCY","currency":null,"accountno":"0111003479"},{"availableBalance":2736797.72,"formattedAmount":"2,736,797.72","bookBalance":2736797.72,"accountType":"","accountName":"NATIONAL TELECOMMUNICATION COMMI","currency":null,"accountno":"0111003486"},{"availableBalance":34714514.21,"formattedAmount":"34,714,514.21","bookBalance":34714514.21,"accountType":"","accountName":"SIERRA LEONE MARITIME ADMINISTRA","currency":null,"accountno":"0111003493"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SPECIAL TAX & DUTIES","currency":null,"accountno":"0111003503"},{"availableBalance":431020263.0,"formattedAmount":"431,020,263.00","bookBalance":431020263.0,"accountType":"","accountName":"TIMBER EXPORT LEVY","currency":null,"accountno":"0111003527"},{"availableBalance":6709406.02,"formattedAmount":"6,709,406.02","bookBalance":6709406.02,"accountType":"","accountName":"AFFORESTATION AND CITIES LEVY","currency":null,"accountno":"0111003534"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"MULTI DONOR BASKET FUND FREE EDU","currency":null,"accountno":"0111003572"},{"availableBalance":622112.00,"formattedAmount":"622,112.00","bookBalance":622112.00,"accountType":"","accountName":"MULTI DONOR BASKET FUND 4 FREE E","currency":null,"accountno":"0111003596"},{"availableBalance":-10000000.00,"formattedAmount":"-10,000,000.00","bookBalance":-10000000.00,"accountType":"","accountName":"CORRUPTION REC FUNDS ACCOUNT (SL","currency":null,"accountno":"0111003637"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"CORRUPTION REC FUNDS ACCOUNT (US","currency":null,"accountno":"0111003644"},{"availableBalance":3983620.62,"formattedAmount":"3,983,620.62","bookBalance":3983620.62,"accountType":"","accountName":"SIERRA LEONE STANDARD BUREAU DIS","currency":null,"accountno":"0111003651"},{"availableBalance":2256323.84,"formattedAmount":"2,256,323.84","bookBalance":2256323.84,"accountType":"","accountName":"SIERRA LEONE ROADS SAFETY AUTHOR","currency":null,"accountno":"0111003668"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SLPA/GOSL CARGO TRACKING","currency":null,"accountno":"0111003699"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"RECO FUNDS BASED ON TECHNICAL AU","currency":null,"accountno":"0111003730"},{"availableBalance":16922324.29,"formattedAmount":"16,922,324.29","bookBalance":16922324.29,"accountType":"","accountName":"FISHERIES PROTECTION STATISTICS&","currency":null,"accountno":"0111003754"},{"availableBalance":673795.84,"formattedAmount":"673,795.84","bookBalance":673795.84,"accountType":"","accountName":"FREE HEALTH CARE INITIATIVE","currency":null,"accountno":"0111003778"},{"availableBalance":66065954.89,"formattedAmount":"66,065,954.89","bookBalance":66065954.89,"accountType":"","accountName":"PRODUCE MONITORING BOARD","currency":null,"accountno":"0111003785"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"USL TEACHING HOSPITAL COMPLEX","currency":null,"accountno":"0111003840"},{"availableBalance":11031596.25,"formattedAmount":"11,031,596.25","bookBalance":11031596.25,"accountType":"","accountName":"DUTY WAIVER JOINT MNT FUND TREAS","currency":null,"accountno":"0111003857"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"PUBLIC AUCTION COMMITTE TREASURY","currency":null,"accountno":"0111003864"},{"availableBalance":3623824.03,"formattedAmount":"3,623,824.03","bookBalance":3623824.03,"accountType":"","accountName":"COMM OF INQUIRY SPECIAL RECOVERY","currency":null,"accountno":"0111003888"},{"availableBalance":-2055291.44,"formattedAmount":"-2,055,291.44","bookBalance":-2055291.44,"accountType":"","accountName":"DAILY SUBSISTENCE ALW/MED EXP AC","currency":null,"accountno":"0111003929"},{"availableBalance":3780.96,"formattedAmount":"3,780.96","bookBalance":3780.96,"accountType":"","accountName":"S/L LOCAL CONTENT DEVELOPMENT FU","currency":null,"accountno":"0111003936"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"LSS/SLPA/GOSL CARGO TRACKING","currency":null,"accountno":"0111003943"},{"availableBalance":5000000.0,"formattedAmount":"5,000,000.00","bookBalance":5000000.0,"accountType":"","accountName":"LOCAL COUNCIL DEVELOPMENT PROJEC","currency":null,"accountno":"0111003950"},{"availableBalance":205694040.46,"formattedAmount":"205,694,040.46","bookBalance":205694040.46,"accountType":"","accountName":"DEBT MANAGEMENT TREASURY","currency":null,"accountno":"0111003967"},{"availableBalance":85000.0,"formattedAmount":"85,000.00","bookBalance":85000.0,"accountType":"","accountName":"AUDIT SERVICE S/L - AUDIT FEES","currency":null,"accountno":"0111003974"},{"availableBalance":911265.54,"formattedAmount":"911,265.54","bookBalance":911265.54,"accountType":"","accountName":"NPPA-REV FROM SALE OF BIDDING DO","currency":null,"accountno":"0111003981"},{"availableBalance":20024585.14,"formattedAmount":"20,024,585.14","bookBalance":20024585.14,"accountType":"","accountName":"VEHICLE LOAN SCHEME","currency":null,"accountno":"0111004005"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SLCAA AVIATION FEES","currency":null,"accountno":"0111004012"},{"availableBalance":3326998.54,"formattedAmount":"3,326,998.54","bookBalance":3326998.54,"accountType":"","accountName":"NACOVERC LAB FEES & ENFORCE FINE","currency":null,"accountno":"0111004029"},{"availableBalance":139164.95,"formattedAmount":"139,164.95","bookBalance":139164.95,"accountType":"","accountName":"CTN FEES - FOREIGN CURRENCY","currency":null,"accountno":"0111004036"},{"availableBalance":0.01,"formattedAmount":"0.01","bookBalance":0.01,"accountType":"","accountName":"NATCOM AND BRADCORP GATEWAY REVE","currency":null,"accountno":"0111004043"},{"availableBalance":1120558.48,"formattedAmount":"1,120,558.48","bookBalance":1120558.48,"accountType":"","accountName":"NAT. WATER RESOURCES MGMT AGENCY","currency":null,"accountno":"0111004067"},{"availableBalance":2252147.11,"formattedAmount":"2,252,147.11","bookBalance":2252147.11,"accountType":"","accountName":"NaCOVERC LABORATORY FEES (USD)","currency":null,"accountno":"0111004074"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"WAGE BILL REVOLVING FUND ACCOUNT","currency":null,"accountno":"0111004098"},{"availableBalance":83069442.86,"formattedAmount":"83,069,442.86","bookBalance":83069442.86,"accountType":"","accountName":"STATE LAND SALES A/C","currency":null,"accountno":"0111004160"},{"availableBalance":59935.0,"formattedAmount":"59,935.00","bookBalance":59935.0,"accountType":"","accountName":"34 MILITARY HOSPITAL","currency":null,"accountno":"0111004201"},{"availableBalance":2206155.0,"formattedAmount":"2,206,155.00","bookBalance":2206155.0,"accountType":"","accountName":"BETTING & GAMBLING LICENCES ACCO","currency":null,"accountno":"0111004232"},{"availableBalance":34865.21,"formattedAmount":"34,865.21","bookBalance":34865.21,"accountType":"","accountName":"PAY NO BRIBE CAMPAIGN PROJECT AC","currency":null,"accountno":"0111004421"},{"availableBalance":2293395.84,"formattedAmount":"2,293,395.84","bookBalance":2293395.84,"accountType":"","accountName":"LUNGI BRIDGE FEASIBILITY STUDY(S","currency":null,"accountno":"0111004438"},{"availableBalance":17.05,"formattedAmount":"17.05","bookBalance":17.05,"accountType":"","accountName":"MOPED UNICEF PROGRAM SUPPORT A/C","currency":null,"accountno":"0111004658"},{"availableBalance":164418.88,"formattedAmount":"164,418.88","bookBalance":164418.88,"accountType":"","accountName":"NAT ELECTIONS SUSTAIN TRUST FUND","currency":null,"accountno":"0111004809"},{"availableBalance":0.79,"formattedAmount":"0.79","bookBalance":0.79,"accountType":"","accountName":"IMF SPECIAL DRAWING RIGHTS RETRO","currency":null,"accountno":"0111004847"},{"availableBalance":74814520.77,"formattedAmount":"74,814,520.77","bookBalance":74814520.77,"accountType":"","accountName":"GoSL TSA REVENUE SHARE ACCOUNT","currency":null,"accountno":"0111004878"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"DUTY WAIVER","currency":null,"accountno":"0111004885"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"IMPREST AC FOR ACC GEN DEPT","currency":null,"accountno":"0111004926"},{"availableBalance":10685160.00,"formattedAmount":"10,685,160.00","bookBalance":10685160.00,"accountType":"","accountName":"SL NATIONAL SHIPPING COMPANY ESC","currency":null,"accountno":"0111004995"},{"availableBalance":-1009872.99,"formattedAmount":"-1,009,872.99","bookBalance":-1009872.99,"accountType":"","accountName":"MINISTRY OF DEFENCE QUARTERLY","currency":null,"accountno":"0111005057"},{"availableBalance":-458150.0,"formattedAmount":"-458,150.00","bookBalance":-458150.0,"accountType":"","accountName":"SIERRA LEONE POLICE GENERAL ACCO","currency":null,"accountno":"0111005129"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"SIERRA LEONE CORRECTIONAL SERVIC","currency":null,"accountno":"0111005136"},{"availableBalance":3446.86,"formattedAmount":"3,446.86","bookBalance":3446.86,"accountType":"","accountName":"IMMIGRATION ACCOUNT","currency":null,"accountno":"0111005150"},{"availableBalance":14952799.83,"formattedAmount":"14,952,799.83","bookBalance":14952799.83,"accountType":"","accountName":"DIAGNOSTIC MEDICAL CENTRE","currency":null,"accountno":"0111005260"},{"availableBalance":6699287.89,"formattedAmount":"6,699,287.89","bookBalance":6699287.89,"accountType":"","accountName":"SALES OF AIRSTRIP LANDS","currency":null,"accountno":"0111005332"},{"availableBalance":245148.43,"formattedAmount":"245,148.43","bookBalance":245148.43,"accountType":"","accountName":"GOSL NATIONAL TREE PLANTING","currency":null,"accountno":"0111005387"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"OFFICE OF THE OMBUDSMAN DISBURSE","currency":null,"accountno":"0111005844"},{"availableBalance":9034.5,"formattedAmount":"9,034.50","bookBalance":9034.5,"accountType":"","accountName":"FERTILIZER SUPPORT FUND","currency":null,"accountno":"0111006054"},{"availableBalance":117899.95,"formattedAmount":"117,899.95","bookBalance":117899.95,"accountType":"","accountName":"TERTIARY EDUCATION COMMISSION DI","currency":null,"accountno":"0111006308"},{"availableBalance":1500000.0,"formattedAmount":"1,500,000.00","bookBalance":1500000.0,"accountType":"","accountName":"SIERRA LEONE PHARMACY BOARD DISB","currency":null,"accountno":"0111006377"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"SLMET AGRIC VAL CHA DEV PROJ (AV","currency":null,"accountno":"0111006456"},{"availableBalance":1384132.82,"formattedAmount":"1,384,132.82","bookBalance":1384132.82,"accountType":"","accountName":"DIGITAL DEVELOPMENT FUND (DDF) A","currency":null,"accountno":"0111006535"}],"code":"01","success":true,"description":"Success"}] 2025-11-21 16:53:08.9366||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 16:53:08.9366|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]]'. 2025-11-21 16:53:08.9366|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 3419.9972ms 2025-11-21 16:53:08.9366|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 16:53:08.9366|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 3469.7177ms 200 application/json; charset=utf-8 2025-11-21 16:53:08.9538||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"10547897.45","bookBalance":0.0,"accountType":null,"accountName":"ELECTRONIC FUNDS TRANS SUSPENSE","currency":null,"accountno":"SLE116030002","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 16:53:08.9538||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:53:08.9538||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:53:08.9750||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:53:08.9750||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:53:08.9750||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 16:53:09.7256||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-5092566928.3","bookBalance":0.0,"accountType":null,"accountName":"AGD SALARIES AND WAGES ACCOUNT19","currency":null,"accountno":"0111001293","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 16:53:09.7256||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:53:09.7346||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:53:09.7493||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:53:09.7493||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 16:53:09.7493||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 16:53:10.5561||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-88918787.83","bookBalance":0.0,"accountType":null,"accountName":"AGD PENSIONS ACCOUNTS 1998","currency":null,"accountno":"0111001310","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 16:53:10.5612||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 16:53:10.5612||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 16:53:10.5791||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 16:53:10.5791|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; 2025-11-21 16:53:10.5948|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 2025-11-21 16:53:10.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' 2025-11-21 16:53:10.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)) 2025-11-21 16:53:10.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' 2025-11-21 16:53:10.6102|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:53:10.6102|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:53:10.6102|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:53:10.6102|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:53:10.6248|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:53:10.6248|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:53:10.6248|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:53:10.6248|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 16:53:10.6248|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 16:53:10.6846|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]]'. 2025-11-21 16:53:10.6882|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 5159.4627ms 2025-11-21 16:53:10.6882|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 16:53:10.6882|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5209.5443ms 200 application/json; charset=utf-8 2025-11-21 16:53:14.8720|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 16:53:14.8720|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 16:53:14.8749|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:53:14.8749|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:53:14.8749|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6.2121ms 204 2025-11-21 16:53:14.8749|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.9359ms 204 2025-11-21 16:53:14.8749|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 16:53:14.8749|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 16:53:14.8912|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:53:14.8912|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 16:53:14.8912|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:53:14.8912|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 16:53:14.8912|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:53:14.8912|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 16:53:14.8912|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 16:53:14.8912|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 16:53:14.9061|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). 2025-11-21 16:53:14.9061|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). 2025-11-21 16:53:14.9061|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 16:53:14.9061|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 16:53:14.9061|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] 2025-11-21 16:53:14.9061|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]]'. 2025-11-21 16:53:14.9061|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 7.7727ms 2025-11-21 16:53:14.9061|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] 2025-11-21 16:53:14.9061|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 16:53:14.9061|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 36.7273ms 200 application/json; charset=utf-8 2025-11-21 16:53:14.9251|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]]'. 2025-11-21 16:53:14.9251|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 15.2958ms 2025-11-21 16:53:14.9251|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 16:53:14.9251|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 43.1063ms 200 application/json; charset=utf-8 2025-11-21 17:01:28.8692|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 17:01:28.8692|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 17:01:28.8692|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 17:01:28.8692|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 17:01:28.8692|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 17:01:28.8692|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 17:01:28.8692|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.5487ms 204 2025-11-21 17:01:28.8692|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.137ms 204 2025-11-21 17:01:28.8692|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 13.9608ms 204 2025-11-21 17:01:28.8863|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 17:01:28.8863|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 17:01:28.8863|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 17:01:28.8863|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 17:01:28.8863|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 17:01:28.8863|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 17:01:28.8863|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 17:01:28.8863|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 17:01:28.8863|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 17:01:28.8863|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 17:01:28.9011|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 17:01:28.9011|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 17:01:28.9011|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 17:01:28.9011|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 17:01:28.9011|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 17:01:28.9011|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). 2025-11-21 17:01:28.9011|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). 2025-11-21 17:01:28.9011|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). 2025-11-21 17:01:28.9011||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 17:01:28.9011|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 17:01:28.9011|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 17:01:28.9226|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 2025-11-21 17:01:28.9226||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 17:01:28.9226|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]]'. 2025-11-21 17:01:28.9226||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 17:01:28.9226|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 18.1962ms 2025-11-21 17:01:28.9226|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)) 2025-11-21 17:01:28.9226|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 17:01:28.9342|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 46.5166ms 200 application/json; charset=utf-8 2025-11-21 17:01:28.9342||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 17:01:28.9342||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 17:01:28.9474||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 17:01:28.9474||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 17:01:28.9474||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 17:01:28.9474||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 17:01:28.9474||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 17:01:28.9474||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 17:01:30.8868||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-8624381391.76","bookBalance":0.0,"accountType":null,"accountName":"AGD EXPENDITURE ACCOUNTS-GENERAL","currency":null,"accountno":"0111001279","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 17:01:30.8868||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 17:01:30.8868||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 17:01:30.9116||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 17:01:30.9116||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 17:01:30.9168||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 17:01:31.1751||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[{"availableBalance":1008205876.55,"formattedAmount":"1,008,205,876.55","bookBalance":1008205876.55,"accountType":"","accountName":"TREASURY MAIN","currency":null,"accountno":"0111001255"},{"availableBalance":-8624381391.76,"formattedAmount":"-8,624,381,391.76","bookBalance":-8624381391.76,"accountType":"","accountName":"AGD EXPENDITURE ACCOUNTS-GENERAL","currency":null,"accountno":"0111001279"},{"availableBalance":-5092566928.3,"formattedAmount":"-5,092,566,928.30","bookBalance":-5092566928.3,"accountType":"","accountName":"AGD SALARIES AND WAGES ACCOUNT19","currency":null,"accountno":"0111001293"},{"availableBalance":-88918787.83,"formattedAmount":"-88,918,787.83","bookBalance":-88918787.83,"accountType":"","accountName":"AGD PENSIONS ACCOUNTS 1998","currency":null,"accountno":"0111001310"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"DIFD (UK) BUDGSUPPORT GRANT","currency":null,"accountno":"0111001358"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SALARY ADVANCES ACCOUNT","currency":null,"accountno":"0111001372"},{"availableBalance":5660770071.02,"formattedAmount":"5,660,770,071.02","bookBalance":5660770071.02,"accountType":"","accountName":"INCOME TAX TREAS AC","currency":null,"accountno":"0111001396"},{"availableBalance":1639971708.73,"formattedAmount":"1,639,971,708.73","bookBalance":1639971708.73,"accountType":"","accountName":"CUSTOMS AND EXCISE TREAS AC","currency":null,"accountno":"0111001413"},{"availableBalance":126840132.89,"formattedAmount":"126,840,132.89","bookBalance":126840132.89,"accountType":"","accountName":"MARINE RESOURCES TREAS AC","currency":null,"accountno":"0111001437"},{"availableBalance":1171902940.16,"formattedAmount":"1,171,902,940.16","bookBalance":1171902940.16,"accountType":"","accountName":"MINERAL RESOURCES TREAS AC","currency":null,"accountno":"0111001451"},{"availableBalance":10582481.0,"formattedAmount":"10,582,481.00","bookBalance":10582481.0,"accountType":"","accountName":"IMMIGRATION TREAS AC","currency":null,"accountno":"0111001475"},{"availableBalance":452767547.26,"formattedAmount":"452,767,547.26","bookBalance":452767547.26,"accountType":"","accountName":"GENERAL REVENUE TREAS AC","currency":null,"accountno":"0111001499"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"IMMIGRATION ESCROW ACCOUNT","currency":null,"accountno":"0111001516"},{"availableBalance":12109569.0,"formattedAmount":"12,109,569.00","bookBalance":12109569.0,"accountType":"","accountName":"ADMINISTRATOR AND REGISTRAR GENE","currency":null,"accountno":"0111001530"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"POLICE-UNCLAIMED SALARIES WAGES","currency":null,"accountno":"0111001578"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"EDU SCIENCE AND TECH-UNCLAIMED S","currency":null,"accountno":"0111001592"},{"availableBalance":2068951.32,"formattedAmount":"2,068,951.32","bookBalance":2068951.32,"accountType":"","accountName":"OTHER DEPTMINISTRIES-UNCLAIMED S","currency":null,"accountno":"0111001657"},{"availableBalance":650610335.09,"formattedAmount":"650,610,335.09","bookBalance":650610335.09,"accountType":"","accountName":"TREASURY WAYS AND MEANS ADVANCES","currency":null,"accountno":"0111001671"},{"availableBalance":990172300.0,"formattedAmount":"990,172,300.00","bookBalance":990172300.0,"accountType":"","accountName":"TREASURY BEARER BOND ACCOUNTS","currency":null,"accountno":"0111001695"},{"availableBalance":-1359921007.56,"formattedAmount":"-1,359,921,007.56","bookBalance":-1359921007.56,"accountType":"","accountName":"INTEREST ON TREASURY BEARER BOND","currency":null,"accountno":"0111001712"},{"availableBalance":-2301895609.95,"formattedAmount":"-2,301,895,609.95","bookBalance":-2301895609.95,"accountType":"","accountName":"EXTERNAL DEBT SERVICE PAYMENTS","currency":null,"accountno":"0111001736"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"KENEMA GOVT TREASURY DEPOSITS AC","currency":null,"accountno":"0111001750"},{"availableBalance":20494300.88,"formattedAmount":"20,494,300.88","bookBalance":20494300.88,"accountType":"","accountName":"HIPC TRUST FUND ACCOUNT","currency":null,"accountno":"0111001774"},{"availableBalance":-729960.98,"formattedAmount":"-729,960.98","bookBalance":-729960.98,"accountType":"","accountName":"TREASURY BILLS AC","currency":null,"accountno":"0111001839"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"OFIDSL GOV DEBT RELIEF AC","currency":null,"accountno":"0111001891"},{"availableBalance":115026697.18,"formattedAmount":"115,026,697.18","bookBalance":115026697.18,"accountType":"","accountName":"NOMINALCOST AC FOR 182-DAYS TREA","currency":null,"accountno":"0111001918"},{"availableBalance":3320175223.38,"formattedAmount":"3,320,175,223.38","bookBalance":3320175223.38,"accountType":"","accountName":"NOMINALCOST AC FOR 364-DAYS TREA","currency":null,"accountno":"0111001932"},{"availableBalance":-8559679.4,"formattedAmount":"-8,559,679.40","bookBalance":-8559679.4,"accountType":"","accountName":"COMMISSION AC FOR TREASURY BILLS","currency":null,"accountno":"0111001970"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"MIN OF FISHERIES AND MARINE RESO","currency":null,"accountno":"0111002032"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"NAT TELECOMS REVENUE ESCROW AC","currency":null,"accountno":"0111002056"},{"availableBalance":4213148.95,"formattedAmount":"4,213,148.95","bookBalance":4213148.95,"accountType":"","accountName":"SIERRA LEONE PHARMACY BOARD REVE","currency":null,"accountno":"0111002070"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SIERRA LEONE MARITIME ADMIN REVE","currency":null,"accountno":"0111002094"},{"availableBalance":13207078.86,"formattedAmount":"13,207,078.86","bookBalance":13207078.86,"accountType":"","accountName":"SLCAA FOREIGN TRAVEL TAX A/C","currency":null,"accountno":"0111002111"},{"availableBalance":2292475373.13,"formattedAmount":"2,292,475,373.13","bookBalance":2292475373.13,"accountType":"","accountName":"GOODS AND SERVICES TAX ACCOUNT","currency":null,"accountno":"0111002135"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"MARINES FINES AC","currency":null,"accountno":"0111002159"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"AFFORESTATION AC","currency":null,"accountno":"0111002197"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"NATIONAL IDENTITY CARD PROJECT E","currency":null,"accountno":"0111002252"},{"availableBalance":412398.2,"formattedAmount":"412,398.20","bookBalance":412398.2,"accountType":"","accountName":"MINISTRY OF PRESIDENTIAL AND PUB","currency":null,"accountno":"0111002276"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"JAPANESE GRANT FOR COPING WITH C","currency":null,"accountno":"0111002317"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"DIAMOND ROYALTIES AC","currency":null,"accountno":"0111002355"},{"availableBalance":11320146.22,"formattedAmount":"11,320,146.22","bookBalance":11320146.22,"accountType":"","accountName":"NON-TAX REVENUE AC","currency":null,"accountno":"0111002379"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"INT. ON 91 182 364 - DAYS TREASU","currency":null,"accountno":"0111002393"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SIERRATELEBID MODERNISATION AND","currency":null,"accountno":"0111002410"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"IMF BUDGET FINANCING TREASURY A/","currency":null,"accountno":"0111002843"},{"availableBalance":962154707.06,"formattedAmount":"962,154,707.06","bookBalance":962154707.06,"accountType":"","accountName":"PETROLEUM EXCISE DUTY ACCOUNT","currency":null,"accountno":"0111002984"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"CATASTROPHE CONTAINMENT RELIEF T","currency":null,"accountno":"0111002991"},{"availableBalance":-47389.02,"formattedAmount":"-47,389.02","bookBalance":-47389.02,"accountType":"","accountName":"INTEREST ON 91 DAYS TREASURY BIL","currency":null,"accountno":"0111003314"},{"availableBalance":-14662146.43,"formattedAmount":"-14,662,146.43","bookBalance":-14662146.43,"accountType":"","accountName":"INTEREST ON 182 DAYS TREASURY BI","currency":null,"accountno":"0111003321"},{"availableBalance":-4861882392.28,"formattedAmount":"-4,861,882,392.28","bookBalance":-4861882392.28,"accountType":"","accountName":"INTEREST ON 364 DAYS TREASURY BI","currency":null,"accountno":"0111003338"},{"availableBalance":13011149.86,"formattedAmount":"13,011,149.86","bookBalance":13011149.86,"accountType":"","accountName":"PETROLEUM REGULATORY AGENCY","currency":null,"accountno":"0111003448"},{"availableBalance":14624361.1,"formattedAmount":"14,624,361.10","bookBalance":14624361.1,"accountType":"","accountName":"PETROLEUM DIRECTORATE","currency":null,"accountno":"0111003455"},{"availableBalance":716682.0,"formattedAmount":"716,682.00","bookBalance":716682.0,"accountType":"","accountName":"ROAD MAINTENANCE FUND","currency":null,"accountno":"0111003462"},{"availableBalance":12446437.0,"formattedAmount":"12,446,437.00","bookBalance":12446437.0,"accountType":"","accountName":"ENVIRONMENTAL PROTECTION AGENCY","currency":null,"accountno":"0111003479"},{"availableBalance":2736797.72,"formattedAmount":"2,736,797.72","bookBalance":2736797.72,"accountType":"","accountName":"NATIONAL TELECOMMUNICATION COMMI","currency":null,"accountno":"0111003486"},{"availableBalance":34714514.21,"formattedAmount":"34,714,514.21","bookBalance":34714514.21,"accountType":"","accountName":"SIERRA LEONE MARITIME ADMINISTRA","currency":null,"accountno":"0111003493"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SPECIAL TAX & DUTIES","currency":null,"accountno":"0111003503"},{"availableBalance":431020263.0,"formattedAmount":"431,020,263.00","bookBalance":431020263.0,"accountType":"","accountName":"TIMBER EXPORT LEVY","currency":null,"accountno":"0111003527"},{"availableBalance":6709406.02,"formattedAmount":"6,709,406.02","bookBalance":6709406.02,"accountType":"","accountName":"AFFORESTATION AND CITIES LEVY","currency":null,"accountno":"0111003534"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"MULTI DONOR BASKET FUND FREE EDU","currency":null,"accountno":"0111003572"},{"availableBalance":622112.00,"formattedAmount":"622,112.00","bookBalance":622112.00,"accountType":"","accountName":"MULTI DONOR BASKET FUND 4 FREE E","currency":null,"accountno":"0111003596"},{"availableBalance":-10000000.00,"formattedAmount":"-10,000,000.00","bookBalance":-10000000.00,"accountType":"","accountName":"CORRUPTION REC FUNDS ACCOUNT (SL","currency":null,"accountno":"0111003637"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"CORRUPTION REC FUNDS ACCOUNT (US","currency":null,"accountno":"0111003644"},{"availableBalance":3983620.62,"formattedAmount":"3,983,620.62","bookBalance":3983620.62,"accountType":"","accountName":"SIERRA LEONE STANDARD BUREAU DIS","currency":null,"accountno":"0111003651"},{"availableBalance":2256323.84,"formattedAmount":"2,256,323.84","bookBalance":2256323.84,"accountType":"","accountName":"SIERRA LEONE ROADS SAFETY AUTHOR","currency":null,"accountno":"0111003668"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SLPA/GOSL CARGO TRACKING","currency":null,"accountno":"0111003699"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"RECO FUNDS BASED ON TECHNICAL AU","currency":null,"accountno":"0111003730"},{"availableBalance":16922324.29,"formattedAmount":"16,922,324.29","bookBalance":16922324.29,"accountType":"","accountName":"FISHERIES PROTECTION STATISTICS&","currency":null,"accountno":"0111003754"},{"availableBalance":673795.84,"formattedAmount":"673,795.84","bookBalance":673795.84,"accountType":"","accountName":"FREE HEALTH CARE INITIATIVE","currency":null,"accountno":"0111003778"},{"availableBalance":66065954.89,"formattedAmount":"66,065,954.89","bookBalance":66065954.89,"accountType":"","accountName":"PRODUCE MONITORING BOARD","currency":null,"accountno":"0111003785"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"USL TEACHING HOSPITAL COMPLEX","currency":null,"accountno":"0111003840"},{"availableBalance":11031596.25,"formattedAmount":"11,031,596.25","bookBalance":11031596.25,"accountType":"","accountName":"DUTY WAIVER JOINT MNT FUND TREAS","currency":null,"accountno":"0111003857"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"PUBLIC AUCTION COMMITTE TREASURY","currency":null,"accountno":"0111003864"},{"availableBalance":3623824.03,"formattedAmount":"3,623,824.03","bookBalance":3623824.03,"accountType":"","accountName":"COMM OF INQUIRY SPECIAL RECOVERY","currency":null,"accountno":"0111003888"},{"availableBalance":-2055291.44,"formattedAmount":"-2,055,291.44","bookBalance":-2055291.44,"accountType":"","accountName":"DAILY SUBSISTENCE ALW/MED EXP AC","currency":null,"accountno":"0111003929"},{"availableBalance":3780.96,"formattedAmount":"3,780.96","bookBalance":3780.96,"accountType":"","accountName":"S/L LOCAL CONTENT DEVELOPMENT FU","currency":null,"accountno":"0111003936"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"LSS/SLPA/GOSL CARGO TRACKING","currency":null,"accountno":"0111003943"},{"availableBalance":5000000.0,"formattedAmount":"5,000,000.00","bookBalance":5000000.0,"accountType":"","accountName":"LOCAL COUNCIL DEVELOPMENT PROJEC","currency":null,"accountno":"0111003950"},{"availableBalance":205694040.46,"formattedAmount":"205,694,040.46","bookBalance":205694040.46,"accountType":"","accountName":"DEBT MANAGEMENT TREASURY","currency":null,"accountno":"0111003967"},{"availableBalance":85000.0,"formattedAmount":"85,000.00","bookBalance":85000.0,"accountType":"","accountName":"AUDIT SERVICE S/L - AUDIT FEES","currency":null,"accountno":"0111003974"},{"availableBalance":911265.54,"formattedAmount":"911,265.54","bookBalance":911265.54,"accountType":"","accountName":"NPPA-REV FROM SALE OF BIDDING DO","currency":null,"accountno":"0111003981"},{"availableBalance":20024585.14,"formattedAmount":"20,024,585.14","bookBalance":20024585.14,"accountType":"","accountName":"VEHICLE LOAN SCHEME","currency":null,"accountno":"0111004005"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SLCAA AVIATION FEES","currency":null,"accountno":"0111004012"},{"availableBalance":3326998.54,"formattedAmount":"3,326,998.54","bookBalance":3326998.54,"accountType":"","accountName":"NACOVERC LAB FEES & ENFORCE FINE","currency":null,"accountno":"0111004029"},{"availableBalance":139164.95,"formattedAmount":"139,164.95","bookBalance":139164.95,"accountType":"","accountName":"CTN FEES - FOREIGN CURRENCY","currency":null,"accountno":"0111004036"},{"availableBalance":0.01,"formattedAmount":"0.01","bookBalance":0.01,"accountType":"","accountName":"NATCOM AND BRADCORP GATEWAY REVE","currency":null,"accountno":"0111004043"},{"availableBalance":1120558.48,"formattedAmount":"1,120,558.48","bookBalance":1120558.48,"accountType":"","accountName":"NAT. WATER RESOURCES MGMT AGENCY","currency":null,"accountno":"0111004067"},{"availableBalance":2252147.11,"formattedAmount":"2,252,147.11","bookBalance":2252147.11,"accountType":"","accountName":"NaCOVERC LABORATORY FEES (USD)","currency":null,"accountno":"0111004074"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"WAGE BILL REVOLVING FUND ACCOUNT","currency":null,"accountno":"0111004098"},{"availableBalance":83069442.86,"formattedAmount":"83,069,442.86","bookBalance":83069442.86,"accountType":"","accountName":"STATE LAND SALES A/C","currency":null,"accountno":"0111004160"},{"availableBalance":59935.0,"formattedAmount":"59,935.00","bookBalance":59935.0,"accountType":"","accountName":"34 MILITARY HOSPITAL","currency":null,"accountno":"0111004201"},{"availableBalance":2206155.0,"formattedAmount":"2,206,155.00","bookBalance":2206155.0,"accountType":"","accountName":"BETTING & GAMBLING LICENCES ACCO","currency":null,"accountno":"0111004232"},{"availableBalance":34865.21,"formattedAmount":"34,865.21","bookBalance":34865.21,"accountType":"","accountName":"PAY NO BRIBE CAMPAIGN PROJECT AC","currency":null,"accountno":"0111004421"},{"availableBalance":2293395.84,"formattedAmount":"2,293,395.84","bookBalance":2293395.84,"accountType":"","accountName":"LUNGI BRIDGE FEASIBILITY STUDY(S","currency":null,"accountno":"0111004438"},{"availableBalance":17.05,"formattedAmount":"17.05","bookBalance":17.05,"accountType":"","accountName":"MOPED UNICEF PROGRAM SUPPORT A/C","currency":null,"accountno":"0111004658"},{"availableBalance":164418.88,"formattedAmount":"164,418.88","bookBalance":164418.88,"accountType":"","accountName":"NAT ELECTIONS SUSTAIN TRUST FUND","currency":null,"accountno":"0111004809"},{"availableBalance":0.79,"formattedAmount":"0.79","bookBalance":0.79,"accountType":"","accountName":"IMF SPECIAL DRAWING RIGHTS RETRO","currency":null,"accountno":"0111004847"},{"availableBalance":74814520.77,"formattedAmount":"74,814,520.77","bookBalance":74814520.77,"accountType":"","accountName":"GoSL TSA REVENUE SHARE ACCOUNT","currency":null,"accountno":"0111004878"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"DUTY WAIVER","currency":null,"accountno":"0111004885"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"IMPREST AC FOR ACC GEN DEPT","currency":null,"accountno":"0111004926"},{"availableBalance":10685160.00,"formattedAmount":"10,685,160.00","bookBalance":10685160.00,"accountType":"","accountName":"SL NATIONAL SHIPPING COMPANY ESC","currency":null,"accountno":"0111004995"},{"availableBalance":-1009872.99,"formattedAmount":"-1,009,872.99","bookBalance":-1009872.99,"accountType":"","accountName":"MINISTRY OF DEFENCE QUARTERLY","currency":null,"accountno":"0111005057"},{"availableBalance":-458150.0,"formattedAmount":"-458,150.00","bookBalance":-458150.0,"accountType":"","accountName":"SIERRA LEONE POLICE GENERAL ACCO","currency":null,"accountno":"0111005129"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"SIERRA LEONE CORRECTIONAL SERVIC","currency":null,"accountno":"0111005136"},{"availableBalance":3446.86,"formattedAmount":"3,446.86","bookBalance":3446.86,"accountType":"","accountName":"IMMIGRATION ACCOUNT","currency":null,"accountno":"0111005150"},{"availableBalance":14952799.83,"formattedAmount":"14,952,799.83","bookBalance":14952799.83,"accountType":"","accountName":"DIAGNOSTIC MEDICAL CENTRE","currency":null,"accountno":"0111005260"},{"availableBalance":6699287.89,"formattedAmount":"6,699,287.89","bookBalance":6699287.89,"accountType":"","accountName":"SALES OF AIRSTRIP LANDS","currency":null,"accountno":"0111005332"},{"availableBalance":245148.43,"formattedAmount":"245,148.43","bookBalance":245148.43,"accountType":"","accountName":"GOSL NATIONAL TREE PLANTING","currency":null,"accountno":"0111005387"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"OFFICE OF THE OMBUDSMAN DISBURSE","currency":null,"accountno":"0111005844"},{"availableBalance":9034.5,"formattedAmount":"9,034.50","bookBalance":9034.5,"accountType":"","accountName":"FERTILIZER SUPPORT FUND","currency":null,"accountno":"0111006054"},{"availableBalance":117899.95,"formattedAmount":"117,899.95","bookBalance":117899.95,"accountType":"","accountName":"TERTIARY EDUCATION COMMISSION DI","currency":null,"accountno":"0111006308"},{"availableBalance":1500000.0,"formattedAmount":"1,500,000.00","bookBalance":1500000.0,"accountType":"","accountName":"SIERRA LEONE PHARMACY BOARD DISB","currency":null,"accountno":"0111006377"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"SLMET AGRIC VAL CHA DEV PROJ (AV","currency":null,"accountno":"0111006456"},{"availableBalance":1384132.82,"formattedAmount":"1,384,132.82","bookBalance":1384132.82,"accountType":"","accountName":"DIGITAL DEVELOPMENT FUND (DDF) A","currency":null,"accountno":"0111006535"}],"code":"01","success":true,"description":"Success"}] 2025-11-21 17:01:31.1751||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 17:01:31.1831|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]]'. 2025-11-21 17:01:31.1831|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 2275.3326ms 2025-11-21 17:01:31.1831|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 17:01:31.1831|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2301.0258ms 200 application/json; charset=utf-8 2025-11-21 17:01:31.3023|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 17:01:31.3023|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 17:01:31.3023|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 17:01:31.3080|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 17:01:31.3080|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.5111ms 204 2025-11-21 17:01:31.3080|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.2267ms 204 2025-11-21 17:01:31.3080|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 17:01:31.3080|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 17:01:31.3080|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 17:01:31.3227|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 17:01:31.3227|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 17:01:31.3227|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 17:01:31.3227|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 17:01:31.3227|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 17:01:31.3227|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 17:01:31.3227|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 17:01:31.3389|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). 2025-11-21 17:01:31.3389|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). 2025-11-21 17:01:31.3389|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 17:01:31.3389|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 17:01:31.3389|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] 2025-11-21 17:01:31.3389|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]]'. 2025-11-21 17:01:31.3540|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 11.4715ms 2025-11-21 17:01:31.3540|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 17:01:31.3540|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 38.7853ms 200 application/json; charset=utf-8 2025-11-21 17:01:31.3540|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] 2025-11-21 17:01:31.3710|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]]'. 2025-11-21 17:01:31.3710|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 28.2022ms 2025-11-21 17:01:31.3710|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 17:01:31.3710|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 62.2269ms 200 application/json; charset=utf-8 2025-11-21 17:01:31.7420||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-8624381391.76","bookBalance":0.0,"accountType":null,"accountName":"AGD EXPENDITURE ACCOUNTS-GENERAL","currency":null,"accountno":"0111001279","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 17:01:31.7454||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 17:01:31.7454||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 17:01:31.7617||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 17:01:31.7617||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 17:01:31.7617||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 17:01:32.6191||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-5092566928.3","bookBalance":0.0,"accountType":null,"accountName":"AGD SALARIES AND WAGES ACCOUNT19","currency":null,"accountno":"0111001293","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 17:01:32.6191||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 17:01:32.6191||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 17:01:32.6408||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 17:01:32.6408||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 17:01:32.6498||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 17:01:33.4446||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"10547897.45","bookBalance":0.0,"accountType":null,"accountName":"ELECTRONIC FUNDS TRANS SUSPENSE","currency":null,"accountno":"SLE116030002","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 17:01:33.4502||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 17:01:33.4502||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 17:01:33.4691||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 17:01:33.4691||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 17:01:33.4691||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 17:01:34.2889||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-5092566928.3","bookBalance":0.0,"accountType":null,"accountName":"AGD SALARIES AND WAGES ACCOUNT19","currency":null,"accountno":"0111001293","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 17:01:34.2940||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 17:01:34.2940||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 17:01:34.3109||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 17:01:34.3109||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 17:01:34.3109||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 17:01:35.1238||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-88918787.83","bookBalance":0.0,"accountType":null,"accountName":"AGD PENSIONS ACCOUNTS 1998","currency":null,"accountno":"0111001310","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 17:01:35.1238||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 17:01:35.1238||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 17:01:35.1441||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 17:01:35.1528|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; 2025-11-21 17:01:35.1528|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 2025-11-21 17:01:35.1528|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 17:01:35.1528|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 17:01:35.1675|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 17:01:35.1675|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 17:01:35.1675|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 17:01:35.1675|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 17:01:35.1816|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 17:01:35.1816|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 17:01:35.1816|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 17:01:35.1816|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 17:01:35.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' 2025-11-21 17:01:35.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)) 2025-11-21 17:01:35.2507|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]]'. 2025-11-21 17:01:35.2507|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6341.4094ms 2025-11-21 17:01:35.2507|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 17:01:35.2507|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6367.1248ms 200 application/json; charset=utf-8 2025-11-21 17:03:09.6007|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=501 2025-11-21 17:03:09.6007|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 17:03:09.6007|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6.0823ms 204 2025-11-21 17:03:09.6155|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=501 2025-11-21 17:03:09.6155|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 17:03:09.6155|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 17:03:09.6155|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 17:03:09.6155|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 17:03:09.6155|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). 2025-11-21 17:03:09.6300|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 17:03:09.6300|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)) 2025-11-21 17:03:09.6300|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]]'. 2025-11-21 17:03:09.6300|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 8.3029ms 2025-11-21 17:03:09.6300|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 17:03:09.6300|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 25.4786ms 200 application/json; charset=utf-8 2025-11-21 17:06:55.6964|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 17:06:55.6964|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 17:06:55.6964|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 17:06:55.6964|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 17:06:55.6964|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 17:06:55.6964|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 17:06:55.6964|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.5616ms 204 2025-11-21 17:06:55.6964|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.8737ms 204 2025-11-21 17:06:55.6964|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.2584ms 204 2025-11-21 17:06:55.7114|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 17:06:55.7114|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 17:06:55.7114|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 17:06:55.7114|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() 2025-11-21 17:06:55.7114|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() 2025-11-21 17:06:55.7114|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() 2025-11-21 17:06:55.7114|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'. 2025-11-21 17:06:55.7114|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'. 2025-11-21 17:06:55.7114|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'. 2025-11-21 17:06:55.7114|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 17:06:55.7244|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 17:06:55.7244|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 17:06:55.7244|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2025-11-21 17:06:55.7244|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2025-11-21 17:06:55.7244|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2025-11-21 17:06:55.7244|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2025-11-21 17:06:55.7244|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2025-11-21 17:06:55.7244|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2025-11-21 17:06:55.7244|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 23.0343ms 401 2025-11-21 17:06:55.7244|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 24.1776ms 401 2025-11-21 17:06:55.7244|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 25.994ms 401 2025-11-21 17:06:55.8493|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 17:06:55.8493|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 17:06:55.8493|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 17:06:55.8493|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 17:06:55.8493|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 17:06:55.8493|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). 2025-11-21 17:06:55.8493||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 17:06:55.8493|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 17:06:55.8649|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 17:06:55.8649|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 17:06:55.8649||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 17:06:55.8649|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 17:06:55.8649|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 17:06:55.8649||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 17:06:55.8649|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). 2025-11-21 17:06:55.8649|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 17:06:55.8649|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 17:06:55.8649|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)) 2025-11-21 17:06:55.8803|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 17:06:55.8803|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 17:06:55.8803||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 17:06:55.8803|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 17:06:55.8803||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 17:06:55.8803|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 17:06:55.8803|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). 2025-11-21 17:06:55.8803|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 17:06:55.8803||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 17:06:55.8957|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 2025-11-21 17:06:55.8957||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 17:06:55.8957|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]]'. 2025-11-21 17:06:55.8957||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 17:06:55.8957|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 8.2084ms 2025-11-21 17:06:55.8957|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 17:06:55.8957||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 17:06:55.8957|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 25.0787ms 200 application/json; charset=utf-8 2025-11-21 17:06:55.8957||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 17:06:55.8957||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 17:06:57.8263||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-8624381391.76","bookBalance":0.0,"accountType":null,"accountName":"AGD EXPENDITURE ACCOUNTS-GENERAL","currency":null,"accountno":"0111001279","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 17:06:57.8263||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 17:06:57.8263||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 17:06:57.8455||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 17:06:57.8455||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 17:06:57.8517||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 17:06:57.8717|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 17:06:57.8717|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 17:06:57.8717|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 17:06:57.8717|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 17:06:57.8803|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.6302ms 204 2025-11-21 17:06:57.8803|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.9716ms 204 2025-11-21 17:06:57.8803|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2025-11-21 17:06:57.8803|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2025-11-21 17:06:57.8803|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 17:06:57.8803|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 17:06:57.8803|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 17:06:57.8803|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 17:06:57.8803|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 17:06:57.8961|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 17:06:57.8961|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 17:06:57.8961|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 17:06:57.8961|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). 2025-11-21 17:06:57.8961|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). 2025-11-21 17:06:57.8961|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 17:06:57.8961|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 17:06:57.8961|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] 2025-11-21 17:06:57.8961|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]]'. 2025-11-21 17:06:57.9125|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] 2025-11-21 17:06:57.9125|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 8.6714ms 2025-11-21 17:06:57.9125|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2025-11-21 17:06:57.9125|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 30.953ms 200 application/json; charset=utf-8 2025-11-21 17:06:57.9125|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]]'. 2025-11-21 17:06:57.9125|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 17.9813ms 2025-11-21 17:06:57.9125|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2025-11-21 17:06:57.9125|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 38.2222ms 200 application/json; charset=utf-8 2025-11-21 17:06:58.0448||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[{"availableBalance":1008205876.55,"formattedAmount":"1,008,205,876.55","bookBalance":1008205876.55,"accountType":"","accountName":"TREASURY MAIN","currency":null,"accountno":"0111001255"},{"availableBalance":-8624381391.76,"formattedAmount":"-8,624,381,391.76","bookBalance":-8624381391.76,"accountType":"","accountName":"AGD EXPENDITURE ACCOUNTS-GENERAL","currency":null,"accountno":"0111001279"},{"availableBalance":-5092566928.3,"formattedAmount":"-5,092,566,928.30","bookBalance":-5092566928.3,"accountType":"","accountName":"AGD SALARIES AND WAGES ACCOUNT19","currency":null,"accountno":"0111001293"},{"availableBalance":-88918787.83,"formattedAmount":"-88,918,787.83","bookBalance":-88918787.83,"accountType":"","accountName":"AGD PENSIONS ACCOUNTS 1998","currency":null,"accountno":"0111001310"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"DIFD (UK) BUDGSUPPORT GRANT","currency":null,"accountno":"0111001358"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SALARY ADVANCES ACCOUNT","currency":null,"accountno":"0111001372"},{"availableBalance":5660770071.02,"formattedAmount":"5,660,770,071.02","bookBalance":5660770071.02,"accountType":"","accountName":"INCOME TAX TREAS AC","currency":null,"accountno":"0111001396"},{"availableBalance":1639971708.73,"formattedAmount":"1,639,971,708.73","bookBalance":1639971708.73,"accountType":"","accountName":"CUSTOMS AND EXCISE TREAS AC","currency":null,"accountno":"0111001413"},{"availableBalance":126840132.89,"formattedAmount":"126,840,132.89","bookBalance":126840132.89,"accountType":"","accountName":"MARINE RESOURCES TREAS AC","currency":null,"accountno":"0111001437"},{"availableBalance":1171902940.16,"formattedAmount":"1,171,902,940.16","bookBalance":1171902940.16,"accountType":"","accountName":"MINERAL RESOURCES TREAS AC","currency":null,"accountno":"0111001451"},{"availableBalance":10582481.0,"formattedAmount":"10,582,481.00","bookBalance":10582481.0,"accountType":"","accountName":"IMMIGRATION TREAS AC","currency":null,"accountno":"0111001475"},{"availableBalance":452767547.26,"formattedAmount":"452,767,547.26","bookBalance":452767547.26,"accountType":"","accountName":"GENERAL REVENUE TREAS AC","currency":null,"accountno":"0111001499"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"IMMIGRATION ESCROW ACCOUNT","currency":null,"accountno":"0111001516"},{"availableBalance":12109569.0,"formattedAmount":"12,109,569.00","bookBalance":12109569.0,"accountType":"","accountName":"ADMINISTRATOR AND REGISTRAR GENE","currency":null,"accountno":"0111001530"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"POLICE-UNCLAIMED SALARIES WAGES","currency":null,"accountno":"0111001578"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"EDU SCIENCE AND TECH-UNCLAIMED S","currency":null,"accountno":"0111001592"},{"availableBalance":2068951.32,"formattedAmount":"2,068,951.32","bookBalance":2068951.32,"accountType":"","accountName":"OTHER DEPTMINISTRIES-UNCLAIMED S","currency":null,"accountno":"0111001657"},{"availableBalance":650610335.09,"formattedAmount":"650,610,335.09","bookBalance":650610335.09,"accountType":"","accountName":"TREASURY WAYS AND MEANS ADVANCES","currency":null,"accountno":"0111001671"},{"availableBalance":990172300.0,"formattedAmount":"990,172,300.00","bookBalance":990172300.0,"accountType":"","accountName":"TREASURY BEARER BOND ACCOUNTS","currency":null,"accountno":"0111001695"},{"availableBalance":-1359921007.56,"formattedAmount":"-1,359,921,007.56","bookBalance":-1359921007.56,"accountType":"","accountName":"INTEREST ON TREASURY BEARER BOND","currency":null,"accountno":"0111001712"},{"availableBalance":-2301895609.95,"formattedAmount":"-2,301,895,609.95","bookBalance":-2301895609.95,"accountType":"","accountName":"EXTERNAL DEBT SERVICE PAYMENTS","currency":null,"accountno":"0111001736"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"KENEMA GOVT TREASURY DEPOSITS AC","currency":null,"accountno":"0111001750"},{"availableBalance":20494300.88,"formattedAmount":"20,494,300.88","bookBalance":20494300.88,"accountType":"","accountName":"HIPC TRUST FUND ACCOUNT","currency":null,"accountno":"0111001774"},{"availableBalance":-729960.98,"formattedAmount":"-729,960.98","bookBalance":-729960.98,"accountType":"","accountName":"TREASURY BILLS AC","currency":null,"accountno":"0111001839"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"OFIDSL GOV DEBT RELIEF AC","currency":null,"accountno":"0111001891"},{"availableBalance":115026697.18,"formattedAmount":"115,026,697.18","bookBalance":115026697.18,"accountType":"","accountName":"NOMINALCOST AC FOR 182-DAYS TREA","currency":null,"accountno":"0111001918"},{"availableBalance":3320175223.38,"formattedAmount":"3,320,175,223.38","bookBalance":3320175223.38,"accountType":"","accountName":"NOMINALCOST AC FOR 364-DAYS TREA","currency":null,"accountno":"0111001932"},{"availableBalance":-8559679.4,"formattedAmount":"-8,559,679.40","bookBalance":-8559679.4,"accountType":"","accountName":"COMMISSION AC FOR TREASURY BILLS","currency":null,"accountno":"0111001970"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"MIN OF FISHERIES AND MARINE RESO","currency":null,"accountno":"0111002032"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"NAT TELECOMS REVENUE ESCROW AC","currency":null,"accountno":"0111002056"},{"availableBalance":4213148.95,"formattedAmount":"4,213,148.95","bookBalance":4213148.95,"accountType":"","accountName":"SIERRA LEONE PHARMACY BOARD REVE","currency":null,"accountno":"0111002070"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SIERRA LEONE MARITIME ADMIN REVE","currency":null,"accountno":"0111002094"},{"availableBalance":13207078.86,"formattedAmount":"13,207,078.86","bookBalance":13207078.86,"accountType":"","accountName":"SLCAA FOREIGN TRAVEL TAX A/C","currency":null,"accountno":"0111002111"},{"availableBalance":2292475373.13,"formattedAmount":"2,292,475,373.13","bookBalance":2292475373.13,"accountType":"","accountName":"GOODS AND SERVICES TAX ACCOUNT","currency":null,"accountno":"0111002135"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"MARINES FINES AC","currency":null,"accountno":"0111002159"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"AFFORESTATION AC","currency":null,"accountno":"0111002197"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"NATIONAL IDENTITY CARD PROJECT E","currency":null,"accountno":"0111002252"},{"availableBalance":412398.2,"formattedAmount":"412,398.20","bookBalance":412398.2,"accountType":"","accountName":"MINISTRY OF PRESIDENTIAL AND PUB","currency":null,"accountno":"0111002276"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"JAPANESE GRANT FOR COPING WITH C","currency":null,"accountno":"0111002317"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"DIAMOND ROYALTIES AC","currency":null,"accountno":"0111002355"},{"availableBalance":11320146.22,"formattedAmount":"11,320,146.22","bookBalance":11320146.22,"accountType":"","accountName":"NON-TAX REVENUE AC","currency":null,"accountno":"0111002379"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"INT. ON 91 182 364 - DAYS TREASU","currency":null,"accountno":"0111002393"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SIERRATELEBID MODERNISATION AND","currency":null,"accountno":"0111002410"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"IMF BUDGET FINANCING TREASURY A/","currency":null,"accountno":"0111002843"},{"availableBalance":962154707.06,"formattedAmount":"962,154,707.06","bookBalance":962154707.06,"accountType":"","accountName":"PETROLEUM EXCISE DUTY ACCOUNT","currency":null,"accountno":"0111002984"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"CATASTROPHE CONTAINMENT RELIEF T","currency":null,"accountno":"0111002991"},{"availableBalance":-47389.02,"formattedAmount":"-47,389.02","bookBalance":-47389.02,"accountType":"","accountName":"INTEREST ON 91 DAYS TREASURY BIL","currency":null,"accountno":"0111003314"},{"availableBalance":-14662146.43,"formattedAmount":"-14,662,146.43","bookBalance":-14662146.43,"accountType":"","accountName":"INTEREST ON 182 DAYS TREASURY BI","currency":null,"accountno":"0111003321"},{"availableBalance":-4861882392.28,"formattedAmount":"-4,861,882,392.28","bookBalance":-4861882392.28,"accountType":"","accountName":"INTEREST ON 364 DAYS TREASURY BI","currency":null,"accountno":"0111003338"},{"availableBalance":13011149.86,"formattedAmount":"13,011,149.86","bookBalance":13011149.86,"accountType":"","accountName":"PETROLEUM REGULATORY AGENCY","currency":null,"accountno":"0111003448"},{"availableBalance":14624361.1,"formattedAmount":"14,624,361.10","bookBalance":14624361.1,"accountType":"","accountName":"PETROLEUM DIRECTORATE","currency":null,"accountno":"0111003455"},{"availableBalance":716682.0,"formattedAmount":"716,682.00","bookBalance":716682.0,"accountType":"","accountName":"ROAD MAINTENANCE FUND","currency":null,"accountno":"0111003462"},{"availableBalance":12446437.0,"formattedAmount":"12,446,437.00","bookBalance":12446437.0,"accountType":"","accountName":"ENVIRONMENTAL PROTECTION AGENCY","currency":null,"accountno":"0111003479"},{"availableBalance":2736797.72,"formattedAmount":"2,736,797.72","bookBalance":2736797.72,"accountType":"","accountName":"NATIONAL TELECOMMUNICATION COMMI","currency":null,"accountno":"0111003486"},{"availableBalance":34714514.21,"formattedAmount":"34,714,514.21","bookBalance":34714514.21,"accountType":"","accountName":"SIERRA LEONE MARITIME ADMINISTRA","currency":null,"accountno":"0111003493"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SPECIAL TAX & DUTIES","currency":null,"accountno":"0111003503"},{"availableBalance":431020263.0,"formattedAmount":"431,020,263.00","bookBalance":431020263.0,"accountType":"","accountName":"TIMBER EXPORT LEVY","currency":null,"accountno":"0111003527"},{"availableBalance":6709406.02,"formattedAmount":"6,709,406.02","bookBalance":6709406.02,"accountType":"","accountName":"AFFORESTATION AND CITIES LEVY","currency":null,"accountno":"0111003534"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"MULTI DONOR BASKET FUND FREE EDU","currency":null,"accountno":"0111003572"},{"availableBalance":622112.00,"formattedAmount":"622,112.00","bookBalance":622112.00,"accountType":"","accountName":"MULTI DONOR BASKET FUND 4 FREE E","currency":null,"accountno":"0111003596"},{"availableBalance":-10000000.00,"formattedAmount":"-10,000,000.00","bookBalance":-10000000.00,"accountType":"","accountName":"CORRUPTION REC FUNDS ACCOUNT (SL","currency":null,"accountno":"0111003637"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"CORRUPTION REC FUNDS ACCOUNT (US","currency":null,"accountno":"0111003644"},{"availableBalance":3983620.62,"formattedAmount":"3,983,620.62","bookBalance":3983620.62,"accountType":"","accountName":"SIERRA LEONE STANDARD BUREAU DIS","currency":null,"accountno":"0111003651"},{"availableBalance":2256323.84,"formattedAmount":"2,256,323.84","bookBalance":2256323.84,"accountType":"","accountName":"SIERRA LEONE ROADS SAFETY AUTHOR","currency":null,"accountno":"0111003668"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SLPA/GOSL CARGO TRACKING","currency":null,"accountno":"0111003699"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"RECO FUNDS BASED ON TECHNICAL AU","currency":null,"accountno":"0111003730"},{"availableBalance":16922324.29,"formattedAmount":"16,922,324.29","bookBalance":16922324.29,"accountType":"","accountName":"FISHERIES PROTECTION STATISTICS&","currency":null,"accountno":"0111003754"},{"availableBalance":673795.84,"formattedAmount":"673,795.84","bookBalance":673795.84,"accountType":"","accountName":"FREE HEALTH CARE INITIATIVE","currency":null,"accountno":"0111003778"},{"availableBalance":66065954.89,"formattedAmount":"66,065,954.89","bookBalance":66065954.89,"accountType":"","accountName":"PRODUCE MONITORING BOARD","currency":null,"accountno":"0111003785"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"USL TEACHING HOSPITAL COMPLEX","currency":null,"accountno":"0111003840"},{"availableBalance":11031596.25,"formattedAmount":"11,031,596.25","bookBalance":11031596.25,"accountType":"","accountName":"DUTY WAIVER JOINT MNT FUND TREAS","currency":null,"accountno":"0111003857"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"PUBLIC AUCTION COMMITTE TREASURY","currency":null,"accountno":"0111003864"},{"availableBalance":3623824.03,"formattedAmount":"3,623,824.03","bookBalance":3623824.03,"accountType":"","accountName":"COMM OF INQUIRY SPECIAL RECOVERY","currency":null,"accountno":"0111003888"},{"availableBalance":-2055291.44,"formattedAmount":"-2,055,291.44","bookBalance":-2055291.44,"accountType":"","accountName":"DAILY SUBSISTENCE ALW/MED EXP AC","currency":null,"accountno":"0111003929"},{"availableBalance":3780.96,"formattedAmount":"3,780.96","bookBalance":3780.96,"accountType":"","accountName":"S/L LOCAL CONTENT DEVELOPMENT FU","currency":null,"accountno":"0111003936"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"LSS/SLPA/GOSL CARGO TRACKING","currency":null,"accountno":"0111003943"},{"availableBalance":5000000.0,"formattedAmount":"5,000,000.00","bookBalance":5000000.0,"accountType":"","accountName":"LOCAL COUNCIL DEVELOPMENT PROJEC","currency":null,"accountno":"0111003950"},{"availableBalance":205694040.46,"formattedAmount":"205,694,040.46","bookBalance":205694040.46,"accountType":"","accountName":"DEBT MANAGEMENT TREASURY","currency":null,"accountno":"0111003967"},{"availableBalance":85000.0,"formattedAmount":"85,000.00","bookBalance":85000.0,"accountType":"","accountName":"AUDIT SERVICE S/L - AUDIT FEES","currency":null,"accountno":"0111003974"},{"availableBalance":911265.54,"formattedAmount":"911,265.54","bookBalance":911265.54,"accountType":"","accountName":"NPPA-REV FROM SALE OF BIDDING DO","currency":null,"accountno":"0111003981"},{"availableBalance":20024585.14,"formattedAmount":"20,024,585.14","bookBalance":20024585.14,"accountType":"","accountName":"VEHICLE LOAN SCHEME","currency":null,"accountno":"0111004005"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SLCAA AVIATION FEES","currency":null,"accountno":"0111004012"},{"availableBalance":3326998.54,"formattedAmount":"3,326,998.54","bookBalance":3326998.54,"accountType":"","accountName":"NACOVERC LAB FEES & ENFORCE FINE","currency":null,"accountno":"0111004029"},{"availableBalance":139164.95,"formattedAmount":"139,164.95","bookBalance":139164.95,"accountType":"","accountName":"CTN FEES - FOREIGN CURRENCY","currency":null,"accountno":"0111004036"},{"availableBalance":0.01,"formattedAmount":"0.01","bookBalance":0.01,"accountType":"","accountName":"NATCOM AND BRADCORP GATEWAY REVE","currency":null,"accountno":"0111004043"},{"availableBalance":1120558.48,"formattedAmount":"1,120,558.48","bookBalance":1120558.48,"accountType":"","accountName":"NAT. WATER RESOURCES MGMT AGENCY","currency":null,"accountno":"0111004067"},{"availableBalance":2252147.11,"formattedAmount":"2,252,147.11","bookBalance":2252147.11,"accountType":"","accountName":"NaCOVERC LABORATORY FEES (USD)","currency":null,"accountno":"0111004074"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"WAGE BILL REVOLVING FUND ACCOUNT","currency":null,"accountno":"0111004098"},{"availableBalance":83069442.86,"formattedAmount":"83,069,442.86","bookBalance":83069442.86,"accountType":"","accountName":"STATE LAND SALES A/C","currency":null,"accountno":"0111004160"},{"availableBalance":59935.0,"formattedAmount":"59,935.00","bookBalance":59935.0,"accountType":"","accountName":"34 MILITARY HOSPITAL","currency":null,"accountno":"0111004201"},{"availableBalance":2206155.0,"formattedAmount":"2,206,155.00","bookBalance":2206155.0,"accountType":"","accountName":"BETTING & GAMBLING LICENCES ACCO","currency":null,"accountno":"0111004232"},{"availableBalance":34865.21,"formattedAmount":"34,865.21","bookBalance":34865.21,"accountType":"","accountName":"PAY NO BRIBE CAMPAIGN PROJECT AC","currency":null,"accountno":"0111004421"},{"availableBalance":2293395.84,"formattedAmount":"2,293,395.84","bookBalance":2293395.84,"accountType":"","accountName":"LUNGI BRIDGE FEASIBILITY STUDY(S","currency":null,"accountno":"0111004438"},{"availableBalance":17.05,"formattedAmount":"17.05","bookBalance":17.05,"accountType":"","accountName":"MOPED UNICEF PROGRAM SUPPORT A/C","currency":null,"accountno":"0111004658"},{"availableBalance":164418.88,"formattedAmount":"164,418.88","bookBalance":164418.88,"accountType":"","accountName":"NAT ELECTIONS SUSTAIN TRUST FUND","currency":null,"accountno":"0111004809"},{"availableBalance":0.79,"formattedAmount":"0.79","bookBalance":0.79,"accountType":"","accountName":"IMF SPECIAL DRAWING RIGHTS RETRO","currency":null,"accountno":"0111004847"},{"availableBalance":74814520.77,"formattedAmount":"74,814,520.77","bookBalance":74814520.77,"accountType":"","accountName":"GoSL TSA REVENUE SHARE ACCOUNT","currency":null,"accountno":"0111004878"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"DUTY WAIVER","currency":null,"accountno":"0111004885"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"IMPREST AC FOR ACC GEN DEPT","currency":null,"accountno":"0111004926"},{"availableBalance":10685160.00,"formattedAmount":"10,685,160.00","bookBalance":10685160.00,"accountType":"","accountName":"SL NATIONAL SHIPPING COMPANY ESC","currency":null,"accountno":"0111004995"},{"availableBalance":-1009872.99,"formattedAmount":"-1,009,872.99","bookBalance":-1009872.99,"accountType":"","accountName":"MINISTRY OF DEFENCE QUARTERLY","currency":null,"accountno":"0111005057"},{"availableBalance":-458150.0,"formattedAmount":"-458,150.00","bookBalance":-458150.0,"accountType":"","accountName":"SIERRA LEONE POLICE GENERAL ACCO","currency":null,"accountno":"0111005129"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"SIERRA LEONE CORRECTIONAL SERVIC","currency":null,"accountno":"0111005136"},{"availableBalance":3446.86,"formattedAmount":"3,446.86","bookBalance":3446.86,"accountType":"","accountName":"IMMIGRATION ACCOUNT","currency":null,"accountno":"0111005150"},{"availableBalance":14952799.83,"formattedAmount":"14,952,799.83","bookBalance":14952799.83,"accountType":"","accountName":"DIAGNOSTIC MEDICAL CENTRE","currency":null,"accountno":"0111005260"},{"availableBalance":6699287.89,"formattedAmount":"6,699,287.89","bookBalance":6699287.89,"accountType":"","accountName":"SALES OF AIRSTRIP LANDS","currency":null,"accountno":"0111005332"},{"availableBalance":245148.43,"formattedAmount":"245,148.43","bookBalance":245148.43,"accountType":"","accountName":"GOSL NATIONAL TREE PLANTING","currency":null,"accountno":"0111005387"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"OFFICE OF THE OMBUDSMAN DISBURSE","currency":null,"accountno":"0111005844"},{"availableBalance":9034.5,"formattedAmount":"9,034.50","bookBalance":9034.5,"accountType":"","accountName":"FERTILIZER SUPPORT FUND","currency":null,"accountno":"0111006054"},{"availableBalance":117899.95,"formattedAmount":"117,899.95","bookBalance":117899.95,"accountType":"","accountName":"TERTIARY EDUCATION COMMISSION DI","currency":null,"accountno":"0111006308"},{"availableBalance":1500000.0,"formattedAmount":"1,500,000.00","bookBalance":1500000.0,"accountType":"","accountName":"SIERRA LEONE PHARMACY BOARD DISB","currency":null,"accountno":"0111006377"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"SLMET AGRIC VAL CHA DEV PROJ (AV","currency":null,"accountno":"0111006456"},{"availableBalance":1384132.82,"formattedAmount":"1,384,132.82","bookBalance":1384132.82,"accountType":"","accountName":"DIGITAL DEVELOPMENT FUND (DDF) A","currency":null,"accountno":"0111006535"}],"code":"01","success":true,"description":"Success"}] 2025-11-21 17:06:58.0448||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 17:06:58.0568|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]]'. 2025-11-21 17:06:58.0568|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 2198.0773ms 2025-11-21 17:06:58.0568|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 17:06:58.0568|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2213.125ms 200 application/json; charset=utf-8 2025-11-21 17:06:58.7008||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-8624381391.76","bookBalance":0.0,"accountType":null,"accountName":"AGD EXPENDITURE ACCOUNTS-GENERAL","currency":null,"accountno":"0111001279","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 17:06:58.7008||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 17:06:58.7008||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 17:06:58.7235||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 17:06:58.7270||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 17:06:58.7270||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 17:06:59.5552||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-5092566928.3","bookBalance":0.0,"accountType":null,"accountName":"AGD SALARIES AND WAGES ACCOUNT19","currency":null,"accountno":"0111001293","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 17:06:59.5552||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 17:06:59.5552||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 17:06:59.5811||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 17:06:59.5811||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 17:06:59.5904||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 17:07:00.4386||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"10547897.45","bookBalance":0.0,"accountType":null,"accountName":"ELECTRONIC FUNDS TRANS SUSPENSE","currency":null,"accountno":"SLE116030002","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 17:07:00.4386||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 17:07:00.4472||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 17:07:00.4472||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 17:07:00.4650||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 17:07:00.4650||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 17:07:01.2716||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-5092566928.3","bookBalance":0.0,"accountType":null,"accountName":"AGD SALARIES AND WAGES ACCOUNT19","currency":null,"accountno":"0111001293","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 17:07:01.2766||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 17:07:01.2766||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 17:07:01.2973||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 17:07:01.2973||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 17:07:01.3062||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 17:07:02.0755||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-88918787.83","bookBalance":0.0,"accountType":null,"accountName":"AGD PENSIONS ACCOUNTS 1998","currency":null,"accountno":"0111001310","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 17:07:02.0755||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 17:07:02.0755||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 17:07:02.0922||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 17:07:02.1200|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; 2025-11-21 17:07:02.1200|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 2025-11-21 17:07:02.1200|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 17:07:02.1336|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 17:07:02.1336|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 17:07:02.1336|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 17:07:02.1336|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 17:07:02.1336|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 17:07:02.1336|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 17:07:02.1492|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 17:07:02.1492|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 17:07:02.1492|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 17:07:02.1492|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 17:07:02.1492|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 17:07:02.2053|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]]'. 2025-11-21 17:07:02.2053|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6331.8044ms 2025-11-21 17:07:02.2053|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 17:07:02.2053|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6347.8285ms 200 application/json; charset=utf-8 2025-11-21 17:07:06.5052|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 17:07:06.5052|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 17:07:06.5052|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 17:07:06.5052|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 17:07:06.5112|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 17:07:06.5112|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 17:07:06.5112|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.5446ms 204 2025-11-21 17:07:06.5112|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 14.0732ms 204 2025-11-21 17:07:06.5112|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 17:07:06.5112|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 16.7381ms 204 2025-11-21 17:07:06.5248|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 17:07:06.5248|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 17:07:06.5248|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 17:07:06.5248|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 17:07:06.5248|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 17:07:06.5248|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 17:07:06.5248|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 17:07:06.5248|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 17:07:06.5248|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 17:07:06.5248|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 17:07:06.5248|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 17:07:06.5406|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 17:07:06.5406|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 17:07:06.5406|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 17:07:06.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). 2025-11-21 17:07:06.5406|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). 2025-11-21 17:07:06.5406|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). 2025-11-21 17:07:06.5406|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 17:07:06.5406||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 17:07:06.5406|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 17:07:06.5406|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 2025-11-21 17:07:06.5406||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 17:07:06.5406|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)) 2025-11-21 17:07:06.5553|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]]'. 2025-11-21 17:07:06.5553||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 17:07:06.5553||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 17:07:06.5553|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 13.58ms 2025-11-21 17:07:06.5553|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 17:07:06.5553||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 17:07:06.5553|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 45.3415ms 200 application/json; charset=utf-8 2025-11-21 17:07:06.5781||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 17:07:06.5781||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 17:07:06.5781||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 17:07:06.5874||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 17:07:06.5874||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 17:07:06.5874||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 17:07:08.5189||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-8624381391.76","bookBalance":0.0,"accountType":null,"accountName":"AGD EXPENDITURE ACCOUNTS-GENERAL","currency":null,"accountno":"0111001279","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 17:07:08.5189||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 17:07:08.5251||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 17:07:08.5251||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 17:07:08.5414||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 17:07:08.5414||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 17:07:08.7426||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[{"availableBalance":1008205876.55,"formattedAmount":"1,008,205,876.55","bookBalance":1008205876.55,"accountType":"","accountName":"TREASURY MAIN","currency":null,"accountno":"0111001255"},{"availableBalance":-8624381391.76,"formattedAmount":"-8,624,381,391.76","bookBalance":-8624381391.76,"accountType":"","accountName":"AGD EXPENDITURE ACCOUNTS-GENERAL","currency":null,"accountno":"0111001279"},{"availableBalance":-5092566928.3,"formattedAmount":"-5,092,566,928.30","bookBalance":-5092566928.3,"accountType":"","accountName":"AGD SALARIES AND WAGES ACCOUNT19","currency":null,"accountno":"0111001293"},{"availableBalance":-88918787.83,"formattedAmount":"-88,918,787.83","bookBalance":-88918787.83,"accountType":"","accountName":"AGD PENSIONS ACCOUNTS 1998","currency":null,"accountno":"0111001310"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"DIFD (UK) BUDGSUPPORT GRANT","currency":null,"accountno":"0111001358"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SALARY ADVANCES ACCOUNT","currency":null,"accountno":"0111001372"},{"availableBalance":5660770071.02,"formattedAmount":"5,660,770,071.02","bookBalance":5660770071.02,"accountType":"","accountName":"INCOME TAX TREAS AC","currency":null,"accountno":"0111001396"},{"availableBalance":1639971708.73,"formattedAmount":"1,639,971,708.73","bookBalance":1639971708.73,"accountType":"","accountName":"CUSTOMS AND EXCISE TREAS AC","currency":null,"accountno":"0111001413"},{"availableBalance":126840132.89,"formattedAmount":"126,840,132.89","bookBalance":126840132.89,"accountType":"","accountName":"MARINE RESOURCES TREAS AC","currency":null,"accountno":"0111001437"},{"availableBalance":1171902940.16,"formattedAmount":"1,171,902,940.16","bookBalance":1171902940.16,"accountType":"","accountName":"MINERAL RESOURCES TREAS AC","currency":null,"accountno":"0111001451"},{"availableBalance":10582481.0,"formattedAmount":"10,582,481.00","bookBalance":10582481.0,"accountType":"","accountName":"IMMIGRATION TREAS AC","currency":null,"accountno":"0111001475"},{"availableBalance":452767547.26,"formattedAmount":"452,767,547.26","bookBalance":452767547.26,"accountType":"","accountName":"GENERAL REVENUE TREAS AC","currency":null,"accountno":"0111001499"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"IMMIGRATION ESCROW ACCOUNT","currency":null,"accountno":"0111001516"},{"availableBalance":12109569.0,"formattedAmount":"12,109,569.00","bookBalance":12109569.0,"accountType":"","accountName":"ADMINISTRATOR AND REGISTRAR GENE","currency":null,"accountno":"0111001530"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"POLICE-UNCLAIMED SALARIES WAGES","currency":null,"accountno":"0111001578"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"EDU SCIENCE AND TECH-UNCLAIMED S","currency":null,"accountno":"0111001592"},{"availableBalance":2068951.32,"formattedAmount":"2,068,951.32","bookBalance":2068951.32,"accountType":"","accountName":"OTHER DEPTMINISTRIES-UNCLAIMED S","currency":null,"accountno":"0111001657"},{"availableBalance":650610335.09,"formattedAmount":"650,610,335.09","bookBalance":650610335.09,"accountType":"","accountName":"TREASURY WAYS AND MEANS ADVANCES","currency":null,"accountno":"0111001671"},{"availableBalance":990172300.0,"formattedAmount":"990,172,300.00","bookBalance":990172300.0,"accountType":"","accountName":"TREASURY BEARER BOND ACCOUNTS","currency":null,"accountno":"0111001695"},{"availableBalance":-1359921007.56,"formattedAmount":"-1,359,921,007.56","bookBalance":-1359921007.56,"accountType":"","accountName":"INTEREST ON TREASURY BEARER BOND","currency":null,"accountno":"0111001712"},{"availableBalance":-2301895609.95,"formattedAmount":"-2,301,895,609.95","bookBalance":-2301895609.95,"accountType":"","accountName":"EXTERNAL DEBT SERVICE PAYMENTS","currency":null,"accountno":"0111001736"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"KENEMA GOVT TREASURY DEPOSITS AC","currency":null,"accountno":"0111001750"},{"availableBalance":20494300.88,"formattedAmount":"20,494,300.88","bookBalance":20494300.88,"accountType":"","accountName":"HIPC TRUST FUND ACCOUNT","currency":null,"accountno":"0111001774"},{"availableBalance":-729960.98,"formattedAmount":"-729,960.98","bookBalance":-729960.98,"accountType":"","accountName":"TREASURY BILLS AC","currency":null,"accountno":"0111001839"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"OFIDSL GOV DEBT RELIEF AC","currency":null,"accountno":"0111001891"},{"availableBalance":115026697.18,"formattedAmount":"115,026,697.18","bookBalance":115026697.18,"accountType":"","accountName":"NOMINALCOST AC FOR 182-DAYS TREA","currency":null,"accountno":"0111001918"},{"availableBalance":3320175223.38,"formattedAmount":"3,320,175,223.38","bookBalance":3320175223.38,"accountType":"","accountName":"NOMINALCOST AC FOR 364-DAYS TREA","currency":null,"accountno":"0111001932"},{"availableBalance":-8559679.4,"formattedAmount":"-8,559,679.40","bookBalance":-8559679.4,"accountType":"","accountName":"COMMISSION AC FOR TREASURY BILLS","currency":null,"accountno":"0111001970"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"MIN OF FISHERIES AND MARINE RESO","currency":null,"accountno":"0111002032"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"NAT TELECOMS REVENUE ESCROW AC","currency":null,"accountno":"0111002056"},{"availableBalance":4213148.95,"formattedAmount":"4,213,148.95","bookBalance":4213148.95,"accountType":"","accountName":"SIERRA LEONE PHARMACY BOARD REVE","currency":null,"accountno":"0111002070"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SIERRA LEONE MARITIME ADMIN REVE","currency":null,"accountno":"0111002094"},{"availableBalance":13207078.86,"formattedAmount":"13,207,078.86","bookBalance":13207078.86,"accountType":"","accountName":"SLCAA FOREIGN TRAVEL TAX A/C","currency":null,"accountno":"0111002111"},{"availableBalance":2292475373.13,"formattedAmount":"2,292,475,373.13","bookBalance":2292475373.13,"accountType":"","accountName":"GOODS AND SERVICES TAX ACCOUNT","currency":null,"accountno":"0111002135"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"MARINES FINES AC","currency":null,"accountno":"0111002159"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"AFFORESTATION AC","currency":null,"accountno":"0111002197"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"NATIONAL IDENTITY CARD PROJECT E","currency":null,"accountno":"0111002252"},{"availableBalance":412398.2,"formattedAmount":"412,398.20","bookBalance":412398.2,"accountType":"","accountName":"MINISTRY OF PRESIDENTIAL AND PUB","currency":null,"accountno":"0111002276"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"JAPANESE GRANT FOR COPING WITH C","currency":null,"accountno":"0111002317"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"DIAMOND ROYALTIES AC","currency":null,"accountno":"0111002355"},{"availableBalance":11320146.22,"formattedAmount":"11,320,146.22","bookBalance":11320146.22,"accountType":"","accountName":"NON-TAX REVENUE AC","currency":null,"accountno":"0111002379"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"INT. ON 91 182 364 - DAYS TREASU","currency":null,"accountno":"0111002393"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SIERRATELEBID MODERNISATION AND","currency":null,"accountno":"0111002410"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"IMF BUDGET FINANCING TREASURY A/","currency":null,"accountno":"0111002843"},{"availableBalance":962154707.06,"formattedAmount":"962,154,707.06","bookBalance":962154707.06,"accountType":"","accountName":"PETROLEUM EXCISE DUTY ACCOUNT","currency":null,"accountno":"0111002984"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"CATASTROPHE CONTAINMENT RELIEF T","currency":null,"accountno":"0111002991"},{"availableBalance":-47389.02,"formattedAmount":"-47,389.02","bookBalance":-47389.02,"accountType":"","accountName":"INTEREST ON 91 DAYS TREASURY BIL","currency":null,"accountno":"0111003314"},{"availableBalance":-14662146.43,"formattedAmount":"-14,662,146.43","bookBalance":-14662146.43,"accountType":"","accountName":"INTEREST ON 182 DAYS TREASURY BI","currency":null,"accountno":"0111003321"},{"availableBalance":-4861882392.28,"formattedAmount":"-4,861,882,392.28","bookBalance":-4861882392.28,"accountType":"","accountName":"INTEREST ON 364 DAYS TREASURY BI","currency":null,"accountno":"0111003338"},{"availableBalance":13011149.86,"formattedAmount":"13,011,149.86","bookBalance":13011149.86,"accountType":"","accountName":"PETROLEUM REGULATORY AGENCY","currency":null,"accountno":"0111003448"},{"availableBalance":14624361.1,"formattedAmount":"14,624,361.10","bookBalance":14624361.1,"accountType":"","accountName":"PETROLEUM DIRECTORATE","currency":null,"accountno":"0111003455"},{"availableBalance":716682.0,"formattedAmount":"716,682.00","bookBalance":716682.0,"accountType":"","accountName":"ROAD MAINTENANCE FUND","currency":null,"accountno":"0111003462"},{"availableBalance":12446437.0,"formattedAmount":"12,446,437.00","bookBalance":12446437.0,"accountType":"","accountName":"ENVIRONMENTAL PROTECTION AGENCY","currency":null,"accountno":"0111003479"},{"availableBalance":2736797.72,"formattedAmount":"2,736,797.72","bookBalance":2736797.72,"accountType":"","accountName":"NATIONAL TELECOMMUNICATION COMMI","currency":null,"accountno":"0111003486"},{"availableBalance":34714514.21,"formattedAmount":"34,714,514.21","bookBalance":34714514.21,"accountType":"","accountName":"SIERRA LEONE MARITIME ADMINISTRA","currency":null,"accountno":"0111003493"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SPECIAL TAX & DUTIES","currency":null,"accountno":"0111003503"},{"availableBalance":431020263.0,"formattedAmount":"431,020,263.00","bookBalance":431020263.0,"accountType":"","accountName":"TIMBER EXPORT LEVY","currency":null,"accountno":"0111003527"},{"availableBalance":6709406.02,"formattedAmount":"6,709,406.02","bookBalance":6709406.02,"accountType":"","accountName":"AFFORESTATION AND CITIES LEVY","currency":null,"accountno":"0111003534"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"MULTI DONOR BASKET FUND FREE EDU","currency":null,"accountno":"0111003572"},{"availableBalance":622112.00,"formattedAmount":"622,112.00","bookBalance":622112.00,"accountType":"","accountName":"MULTI DONOR BASKET FUND 4 FREE E","currency":null,"accountno":"0111003596"},{"availableBalance":-10000000.00,"formattedAmount":"-10,000,000.00","bookBalance":-10000000.00,"accountType":"","accountName":"CORRUPTION REC FUNDS ACCOUNT (SL","currency":null,"accountno":"0111003637"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"CORRUPTION REC FUNDS ACCOUNT (US","currency":null,"accountno":"0111003644"},{"availableBalance":3983620.62,"formattedAmount":"3,983,620.62","bookBalance":3983620.62,"accountType":"","accountName":"SIERRA LEONE STANDARD BUREAU DIS","currency":null,"accountno":"0111003651"},{"availableBalance":2256323.84,"formattedAmount":"2,256,323.84","bookBalance":2256323.84,"accountType":"","accountName":"SIERRA LEONE ROADS SAFETY AUTHOR","currency":null,"accountno":"0111003668"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SLPA/GOSL CARGO TRACKING","currency":null,"accountno":"0111003699"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"RECO FUNDS BASED ON TECHNICAL AU","currency":null,"accountno":"0111003730"},{"availableBalance":16922324.29,"formattedAmount":"16,922,324.29","bookBalance":16922324.29,"accountType":"","accountName":"FISHERIES PROTECTION STATISTICS&","currency":null,"accountno":"0111003754"},{"availableBalance":673795.84,"formattedAmount":"673,795.84","bookBalance":673795.84,"accountType":"","accountName":"FREE HEALTH CARE INITIATIVE","currency":null,"accountno":"0111003778"},{"availableBalance":66065954.89,"formattedAmount":"66,065,954.89","bookBalance":66065954.89,"accountType":"","accountName":"PRODUCE MONITORING BOARD","currency":null,"accountno":"0111003785"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"USL TEACHING HOSPITAL COMPLEX","currency":null,"accountno":"0111003840"},{"availableBalance":11031596.25,"formattedAmount":"11,031,596.25","bookBalance":11031596.25,"accountType":"","accountName":"DUTY WAIVER JOINT MNT FUND TREAS","currency":null,"accountno":"0111003857"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"PUBLIC AUCTION COMMITTE TREASURY","currency":null,"accountno":"0111003864"},{"availableBalance":3623824.03,"formattedAmount":"3,623,824.03","bookBalance":3623824.03,"accountType":"","accountName":"COMM OF INQUIRY SPECIAL RECOVERY","currency":null,"accountno":"0111003888"},{"availableBalance":-2055291.44,"formattedAmount":"-2,055,291.44","bookBalance":-2055291.44,"accountType":"","accountName":"DAILY SUBSISTENCE ALW/MED EXP AC","currency":null,"accountno":"0111003929"},{"availableBalance":3780.96,"formattedAmount":"3,780.96","bookBalance":3780.96,"accountType":"","accountName":"S/L LOCAL CONTENT DEVELOPMENT FU","currency":null,"accountno":"0111003936"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"LSS/SLPA/GOSL CARGO TRACKING","currency":null,"accountno":"0111003943"},{"availableBalance":5000000.0,"formattedAmount":"5,000,000.00","bookBalance":5000000.0,"accountType":"","accountName":"LOCAL COUNCIL DEVELOPMENT PROJEC","currency":null,"accountno":"0111003950"},{"availableBalance":205694040.46,"formattedAmount":"205,694,040.46","bookBalance":205694040.46,"accountType":"","accountName":"DEBT MANAGEMENT TREASURY","currency":null,"accountno":"0111003967"},{"availableBalance":85000.0,"formattedAmount":"85,000.00","bookBalance":85000.0,"accountType":"","accountName":"AUDIT SERVICE S/L - AUDIT FEES","currency":null,"accountno":"0111003974"},{"availableBalance":911265.54,"formattedAmount":"911,265.54","bookBalance":911265.54,"accountType":"","accountName":"NPPA-REV FROM SALE OF BIDDING DO","currency":null,"accountno":"0111003981"},{"availableBalance":20024585.14,"formattedAmount":"20,024,585.14","bookBalance":20024585.14,"accountType":"","accountName":"VEHICLE LOAN SCHEME","currency":null,"accountno":"0111004005"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SLCAA AVIATION FEES","currency":null,"accountno":"0111004012"},{"availableBalance":3326998.54,"formattedAmount":"3,326,998.54","bookBalance":3326998.54,"accountType":"","accountName":"NACOVERC LAB FEES & ENFORCE FINE","currency":null,"accountno":"0111004029"},{"availableBalance":139164.95,"formattedAmount":"139,164.95","bookBalance":139164.95,"accountType":"","accountName":"CTN FEES - FOREIGN CURRENCY","currency":null,"accountno":"0111004036"},{"availableBalance":0.01,"formattedAmount":"0.01","bookBalance":0.01,"accountType":"","accountName":"NATCOM AND BRADCORP GATEWAY REVE","currency":null,"accountno":"0111004043"},{"availableBalance":1120558.48,"formattedAmount":"1,120,558.48","bookBalance":1120558.48,"accountType":"","accountName":"NAT. WATER RESOURCES MGMT AGENCY","currency":null,"accountno":"0111004067"},{"availableBalance":2252147.11,"formattedAmount":"2,252,147.11","bookBalance":2252147.11,"accountType":"","accountName":"NaCOVERC LABORATORY FEES (USD)","currency":null,"accountno":"0111004074"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"WAGE BILL REVOLVING FUND ACCOUNT","currency":null,"accountno":"0111004098"},{"availableBalance":83069442.86,"formattedAmount":"83,069,442.86","bookBalance":83069442.86,"accountType":"","accountName":"STATE LAND SALES A/C","currency":null,"accountno":"0111004160"},{"availableBalance":59935.0,"formattedAmount":"59,935.00","bookBalance":59935.0,"accountType":"","accountName":"34 MILITARY HOSPITAL","currency":null,"accountno":"0111004201"},{"availableBalance":2206155.0,"formattedAmount":"2,206,155.00","bookBalance":2206155.0,"accountType":"","accountName":"BETTING & GAMBLING LICENCES ACCO","currency":null,"accountno":"0111004232"},{"availableBalance":34865.21,"formattedAmount":"34,865.21","bookBalance":34865.21,"accountType":"","accountName":"PAY NO BRIBE CAMPAIGN PROJECT AC","currency":null,"accountno":"0111004421"},{"availableBalance":2293395.84,"formattedAmount":"2,293,395.84","bookBalance":2293395.84,"accountType":"","accountName":"LUNGI BRIDGE FEASIBILITY STUDY(S","currency":null,"accountno":"0111004438"},{"availableBalance":17.05,"formattedAmount":"17.05","bookBalance":17.05,"accountType":"","accountName":"MOPED UNICEF PROGRAM SUPPORT A/C","currency":null,"accountno":"0111004658"},{"availableBalance":164418.88,"formattedAmount":"164,418.88","bookBalance":164418.88,"accountType":"","accountName":"NAT ELECTIONS SUSTAIN TRUST FUND","currency":null,"accountno":"0111004809"},{"availableBalance":0.79,"formattedAmount":"0.79","bookBalance":0.79,"accountType":"","accountName":"IMF SPECIAL DRAWING RIGHTS RETRO","currency":null,"accountno":"0111004847"},{"availableBalance":74814520.77,"formattedAmount":"74,814,520.77","bookBalance":74814520.77,"accountType":"","accountName":"GoSL TSA REVENUE SHARE ACCOUNT","currency":null,"accountno":"0111004878"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"DUTY WAIVER","currency":null,"accountno":"0111004885"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"IMPREST AC FOR ACC GEN DEPT","currency":null,"accountno":"0111004926"},{"availableBalance":10685160.00,"formattedAmount":"10,685,160.00","bookBalance":10685160.00,"accountType":"","accountName":"SL NATIONAL SHIPPING COMPANY ESC","currency":null,"accountno":"0111004995"},{"availableBalance":-1009872.99,"formattedAmount":"-1,009,872.99","bookBalance":-1009872.99,"accountType":"","accountName":"MINISTRY OF DEFENCE QUARTERLY","currency":null,"accountno":"0111005057"},{"availableBalance":-458150.0,"formattedAmount":"-458,150.00","bookBalance":-458150.0,"accountType":"","accountName":"SIERRA LEONE POLICE GENERAL ACCO","currency":null,"accountno":"0111005129"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"SIERRA LEONE CORRECTIONAL SERVIC","currency":null,"accountno":"0111005136"},{"availableBalance":3446.86,"formattedAmount":"3,446.86","bookBalance":3446.86,"accountType":"","accountName":"IMMIGRATION ACCOUNT","currency":null,"accountno":"0111005150"},{"availableBalance":14952799.83,"formattedAmount":"14,952,799.83","bookBalance":14952799.83,"accountType":"","accountName":"DIAGNOSTIC MEDICAL CENTRE","currency":null,"accountno":"0111005260"},{"availableBalance":6699287.89,"formattedAmount":"6,699,287.89","bookBalance":6699287.89,"accountType":"","accountName":"SALES OF AIRSTRIP LANDS","currency":null,"accountno":"0111005332"},{"availableBalance":245148.43,"formattedAmount":"245,148.43","bookBalance":245148.43,"accountType":"","accountName":"GOSL NATIONAL TREE PLANTING","currency":null,"accountno":"0111005387"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"OFFICE OF THE OMBUDSMAN DISBURSE","currency":null,"accountno":"0111005844"},{"availableBalance":9034.5,"formattedAmount":"9,034.50","bookBalance":9034.5,"accountType":"","accountName":"FERTILIZER SUPPORT FUND","currency":null,"accountno":"0111006054"},{"availableBalance":117899.95,"formattedAmount":"117,899.95","bookBalance":117899.95,"accountType":"","accountName":"TERTIARY EDUCATION COMMISSION DI","currency":null,"accountno":"0111006308"},{"availableBalance":1500000.0,"formattedAmount":"1,500,000.00","bookBalance":1500000.0,"accountType":"","accountName":"SIERRA LEONE PHARMACY BOARD DISB","currency":null,"accountno":"0111006377"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"SLMET AGRIC VAL CHA DEV PROJ (AV","currency":null,"accountno":"0111006456"},{"availableBalance":1384132.82,"formattedAmount":"1,384,132.82","bookBalance":1384132.82,"accountType":"","accountName":"DIGITAL DEVELOPMENT FUND (DDF) A","currency":null,"accountno":"0111006535"}],"code":"01","success":true,"description":"Success"}] 2025-11-21 17:07:08.7489||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 17:07:08.7489|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]]'. 2025-11-21 17:07:08.7489|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 2206.8513ms 2025-11-21 17:07:08.7489|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 17:07:08.7489|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2232.2631ms 200 application/json; charset=utf-8 2025-11-21 17:07:09.3436||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-8624381391.76","bookBalance":0.0,"accountType":null,"accountName":"AGD EXPENDITURE ACCOUNTS-GENERAL","currency":null,"accountno":"0111001279","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 17:07:09.3436||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 17:07:09.3436||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 17:07:09.3645||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 17:07:09.3680||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 17:07:09.3680||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 17:07:10.1902||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-5092566928.3","bookBalance":0.0,"accountType":null,"accountName":"AGD SALARIES AND WAGES ACCOUNT19","currency":null,"accountno":"0111001293","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 17:07:10.1958||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 17:07:10.1958||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 17:07:10.2135||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 17:07:10.2135||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 17:07:10.2135||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 17:07:11.0298||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"10547897.45","bookBalance":0.0,"accountType":null,"accountName":"ELECTRONIC FUNDS TRANS SUSPENSE","currency":null,"accountno":"SLE116030002","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 17:07:11.0298||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 17:07:11.0298||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 17:07:11.0466||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 17:07:11.0466||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 17:07:11.0466||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 17:07:11.8704||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-5092566928.3","bookBalance":0.0,"accountType":null,"accountName":"AGD SALARIES AND WAGES ACCOUNT19","currency":null,"accountno":"0111001293","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 17:07:11.8704||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 17:07:11.8704||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 17:07:11.8919||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 17:07:11.8919||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 17:07:11.8996||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 17:07:12.6640||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-88918787.83","bookBalance":0.0,"accountType":null,"accountName":"AGD PENSIONS ACCOUNTS 1998","currency":null,"accountno":"0111001310","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 17:07:12.6688||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 17:07:12.6688||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 17:07:12.6891||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 17:07:12.6992|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; 2025-11-21 17:07:12.6992|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 2025-11-21 17:07:12.6992|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 17:07:12.6992|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 17:07:12.6992|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 17:07:12.7151|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 17:07:12.7151|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 17:07:12.7151|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 17:07:12.7151|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 17:07:12.7305|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 17:07:12.7305|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 17:07:12.7305|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)) 2025-11-21 17:07:12.7431|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 17:07:12.7431|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)) 2025-11-21 17:07:12.7989|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]]'. 2025-11-21 17:07:12.7989|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6252.9916ms 2025-11-21 17:07:12.7989|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 17:07:12.8067|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6279.6318ms 200 application/json; charset=utf-8 2025-11-21 17:09:13.6371|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 17:09:13.6371|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 17:09:13.6371|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 17:09:13.6371|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 17:09:13.6371|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 17:09:13.6448|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 17:09:13.6448|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.9476ms 204 2025-11-21 17:09:13.6448|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.6146ms 204 2025-11-21 17:09:13.6448|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.3726ms 204 2025-11-21 17:09:13.6448|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 17:09:13.6448|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 17:09:13.6448|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 17:09:13.6448|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 17:09:13.6587|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 17:09:13.6587|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 17:09:13.6587|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 17:09:13.6587|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 17:09:13.6587|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 17:09:13.6587|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 17:09:13.6587|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 17:09:13.6587|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 17:09:13.6587|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 17:09:13.6587|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 17:09:13.6587|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 17:09:13.6587|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). 2025-11-21 17:09:13.6587|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). 2025-11-21 17:09:13.6587|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). 2025-11-21 17:09:13.6587||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 17:09:13.6747|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 17:09:13.6747|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 17:09:13.6747||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 17:09:13.6747|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 2025-11-21 17:09:13.6747||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 17:09:13.6747|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]]'. 2025-11-21 17:09:13.6747|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 11.5577ms 2025-11-21 17:09:13.6747|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 17:09:13.6899|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 35.3751ms 200 application/json; charset=utf-8 2025-11-21 17:09:13.6899|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (12ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2025-11-21 17:09:13.6899||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 17:09:13.6899||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 17:09:13.6899||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 17:09:13.7056||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 17:09:13.7056||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 17:09:13.7056||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 17:09:13.7056||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 17:09:13.7056||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 17:09:14.5383||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-8624381391.76","bookBalance":0.0,"accountType":null,"accountName":"AGD EXPENDITURE ACCOUNTS-GENERAL","currency":null,"accountno":"0111001279","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 17:09:14.5383||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 17:09:14.5383||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 17:09:14.5540||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 17:09:14.5540||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 17:09:14.5540||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 17:09:15.3598||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-8624381391.76","bookBalance":0.0,"accountType":null,"accountName":"AGD EXPENDITURE ACCOUNTS-GENERAL","currency":null,"accountno":"0111001279","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 17:09:15.3650||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 17:09:15.3650||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 17:09:15.3811||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 17:09:15.3811||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 17:09:15.3811||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 17:09:16.1839||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-5092566928.3","bookBalance":0.0,"accountType":null,"accountName":"AGD SALARIES AND WAGES ACCOUNT19","currency":null,"accountno":"0111001293","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 17:09:16.1839||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 17:09:16.1936||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 17:09:16.2074||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 17:09:16.2074||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 17:09:16.2074||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 17:09:17.0395||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"10547897.45","bookBalance":0.0,"accountType":null,"accountName":"ELECTRONIC FUNDS TRANS SUSPENSE","currency":null,"accountno":"SLE116030002","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 17:09:17.0395||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 17:09:17.0395||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 17:09:17.0593||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 17:09:17.0593||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 17:09:17.0593||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 17:09:17.1315||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[{"availableBalance":1008205876.55,"formattedAmount":"1,008,205,876.55","bookBalance":1008205876.55,"accountType":"","accountName":"TREASURY MAIN","currency":null,"accountno":"0111001255"},{"availableBalance":-8624381391.76,"formattedAmount":"-8,624,381,391.76","bookBalance":-8624381391.76,"accountType":"","accountName":"AGD EXPENDITURE ACCOUNTS-GENERAL","currency":null,"accountno":"0111001279"},{"availableBalance":-5092566928.3,"formattedAmount":"-5,092,566,928.30","bookBalance":-5092566928.3,"accountType":"","accountName":"AGD SALARIES AND WAGES ACCOUNT19","currency":null,"accountno":"0111001293"},{"availableBalance":-88918787.83,"formattedAmount":"-88,918,787.83","bookBalance":-88918787.83,"accountType":"","accountName":"AGD PENSIONS ACCOUNTS 1998","currency":null,"accountno":"0111001310"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"DIFD (UK) BUDGSUPPORT GRANT","currency":null,"accountno":"0111001358"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SALARY ADVANCES ACCOUNT","currency":null,"accountno":"0111001372"},{"availableBalance":5660770071.02,"formattedAmount":"5,660,770,071.02","bookBalance":5660770071.02,"accountType":"","accountName":"INCOME TAX TREAS AC","currency":null,"accountno":"0111001396"},{"availableBalance":1639971708.73,"formattedAmount":"1,639,971,708.73","bookBalance":1639971708.73,"accountType":"","accountName":"CUSTOMS AND EXCISE TREAS AC","currency":null,"accountno":"0111001413"},{"availableBalance":126840132.89,"formattedAmount":"126,840,132.89","bookBalance":126840132.89,"accountType":"","accountName":"MARINE RESOURCES TREAS AC","currency":null,"accountno":"0111001437"},{"availableBalance":1171902940.16,"formattedAmount":"1,171,902,940.16","bookBalance":1171902940.16,"accountType":"","accountName":"MINERAL RESOURCES TREAS AC","currency":null,"accountno":"0111001451"},{"availableBalance":10582481.0,"formattedAmount":"10,582,481.00","bookBalance":10582481.0,"accountType":"","accountName":"IMMIGRATION TREAS AC","currency":null,"accountno":"0111001475"},{"availableBalance":452767547.26,"formattedAmount":"452,767,547.26","bookBalance":452767547.26,"accountType":"","accountName":"GENERAL REVENUE TREAS AC","currency":null,"accountno":"0111001499"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"IMMIGRATION ESCROW ACCOUNT","currency":null,"accountno":"0111001516"},{"availableBalance":12109569.0,"formattedAmount":"12,109,569.00","bookBalance":12109569.0,"accountType":"","accountName":"ADMINISTRATOR AND REGISTRAR GENE","currency":null,"accountno":"0111001530"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"POLICE-UNCLAIMED SALARIES WAGES","currency":null,"accountno":"0111001578"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"EDU SCIENCE AND TECH-UNCLAIMED S","currency":null,"accountno":"0111001592"},{"availableBalance":2068951.32,"formattedAmount":"2,068,951.32","bookBalance":2068951.32,"accountType":"","accountName":"OTHER DEPTMINISTRIES-UNCLAIMED S","currency":null,"accountno":"0111001657"},{"availableBalance":650610335.09,"formattedAmount":"650,610,335.09","bookBalance":650610335.09,"accountType":"","accountName":"TREASURY WAYS AND MEANS ADVANCES","currency":null,"accountno":"0111001671"},{"availableBalance":990172300.0,"formattedAmount":"990,172,300.00","bookBalance":990172300.0,"accountType":"","accountName":"TREASURY BEARER BOND ACCOUNTS","currency":null,"accountno":"0111001695"},{"availableBalance":-1359921007.56,"formattedAmount":"-1,359,921,007.56","bookBalance":-1359921007.56,"accountType":"","accountName":"INTEREST ON TREASURY BEARER BOND","currency":null,"accountno":"0111001712"},{"availableBalance":-2301895609.95,"formattedAmount":"-2,301,895,609.95","bookBalance":-2301895609.95,"accountType":"","accountName":"EXTERNAL DEBT SERVICE PAYMENTS","currency":null,"accountno":"0111001736"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"KENEMA GOVT TREASURY DEPOSITS AC","currency":null,"accountno":"0111001750"},{"availableBalance":20494300.88,"formattedAmount":"20,494,300.88","bookBalance":20494300.88,"accountType":"","accountName":"HIPC TRUST FUND ACCOUNT","currency":null,"accountno":"0111001774"},{"availableBalance":-729960.98,"formattedAmount":"-729,960.98","bookBalance":-729960.98,"accountType":"","accountName":"TREASURY BILLS AC","currency":null,"accountno":"0111001839"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"OFIDSL GOV DEBT RELIEF AC","currency":null,"accountno":"0111001891"},{"availableBalance":115026697.18,"formattedAmount":"115,026,697.18","bookBalance":115026697.18,"accountType":"","accountName":"NOMINALCOST AC FOR 182-DAYS TREA","currency":null,"accountno":"0111001918"},{"availableBalance":3320175223.38,"formattedAmount":"3,320,175,223.38","bookBalance":3320175223.38,"accountType":"","accountName":"NOMINALCOST AC FOR 364-DAYS TREA","currency":null,"accountno":"0111001932"},{"availableBalance":-8559679.4,"formattedAmount":"-8,559,679.40","bookBalance":-8559679.4,"accountType":"","accountName":"COMMISSION AC FOR TREASURY BILLS","currency":null,"accountno":"0111001970"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"MIN OF FISHERIES AND MARINE RESO","currency":null,"accountno":"0111002032"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"NAT TELECOMS REVENUE ESCROW AC","currency":null,"accountno":"0111002056"},{"availableBalance":4213148.95,"formattedAmount":"4,213,148.95","bookBalance":4213148.95,"accountType":"","accountName":"SIERRA LEONE PHARMACY BOARD REVE","currency":null,"accountno":"0111002070"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SIERRA LEONE MARITIME ADMIN REVE","currency":null,"accountno":"0111002094"},{"availableBalance":13207078.86,"formattedAmount":"13,207,078.86","bookBalance":13207078.86,"accountType":"","accountName":"SLCAA FOREIGN TRAVEL TAX A/C","currency":null,"accountno":"0111002111"},{"availableBalance":2292475373.13,"formattedAmount":"2,292,475,373.13","bookBalance":2292475373.13,"accountType":"","accountName":"GOODS AND SERVICES TAX ACCOUNT","currency":null,"accountno":"0111002135"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"MARINES FINES AC","currency":null,"accountno":"0111002159"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"AFFORESTATION AC","currency":null,"accountno":"0111002197"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"NATIONAL IDENTITY CARD PROJECT E","currency":null,"accountno":"0111002252"},{"availableBalance":412398.2,"formattedAmount":"412,398.20","bookBalance":412398.2,"accountType":"","accountName":"MINISTRY OF PRESIDENTIAL AND PUB","currency":null,"accountno":"0111002276"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"JAPANESE GRANT FOR COPING WITH C","currency":null,"accountno":"0111002317"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"DIAMOND ROYALTIES AC","currency":null,"accountno":"0111002355"},{"availableBalance":11320146.22,"formattedAmount":"11,320,146.22","bookBalance":11320146.22,"accountType":"","accountName":"NON-TAX REVENUE AC","currency":null,"accountno":"0111002379"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"INT. ON 91 182 364 - DAYS TREASU","currency":null,"accountno":"0111002393"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SIERRATELEBID MODERNISATION AND","currency":null,"accountno":"0111002410"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"IMF BUDGET FINANCING TREASURY A/","currency":null,"accountno":"0111002843"},{"availableBalance":962154707.06,"formattedAmount":"962,154,707.06","bookBalance":962154707.06,"accountType":"","accountName":"PETROLEUM EXCISE DUTY ACCOUNT","currency":null,"accountno":"0111002984"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"CATASTROPHE CONTAINMENT RELIEF T","currency":null,"accountno":"0111002991"},{"availableBalance":-47389.02,"formattedAmount":"-47,389.02","bookBalance":-47389.02,"accountType":"","accountName":"INTEREST ON 91 DAYS TREASURY BIL","currency":null,"accountno":"0111003314"},{"availableBalance":-14662146.43,"formattedAmount":"-14,662,146.43","bookBalance":-14662146.43,"accountType":"","accountName":"INTEREST ON 182 DAYS TREASURY BI","currency":null,"accountno":"0111003321"},{"availableBalance":-4861882392.28,"formattedAmount":"-4,861,882,392.28","bookBalance":-4861882392.28,"accountType":"","accountName":"INTEREST ON 364 DAYS TREASURY BI","currency":null,"accountno":"0111003338"},{"availableBalance":13011149.86,"formattedAmount":"13,011,149.86","bookBalance":13011149.86,"accountType":"","accountName":"PETROLEUM REGULATORY AGENCY","currency":null,"accountno":"0111003448"},{"availableBalance":14624361.1,"formattedAmount":"14,624,361.10","bookBalance":14624361.1,"accountType":"","accountName":"PETROLEUM DIRECTORATE","currency":null,"accountno":"0111003455"},{"availableBalance":716682.0,"formattedAmount":"716,682.00","bookBalance":716682.0,"accountType":"","accountName":"ROAD MAINTENANCE FUND","currency":null,"accountno":"0111003462"},{"availableBalance":12446437.0,"formattedAmount":"12,446,437.00","bookBalance":12446437.0,"accountType":"","accountName":"ENVIRONMENTAL PROTECTION AGENCY","currency":null,"accountno":"0111003479"},{"availableBalance":2736797.72,"formattedAmount":"2,736,797.72","bookBalance":2736797.72,"accountType":"","accountName":"NATIONAL TELECOMMUNICATION COMMI","currency":null,"accountno":"0111003486"},{"availableBalance":34714514.21,"formattedAmount":"34,714,514.21","bookBalance":34714514.21,"accountType":"","accountName":"SIERRA LEONE MARITIME ADMINISTRA","currency":null,"accountno":"0111003493"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SPECIAL TAX & DUTIES","currency":null,"accountno":"0111003503"},{"availableBalance":431020263.0,"formattedAmount":"431,020,263.00","bookBalance":431020263.0,"accountType":"","accountName":"TIMBER EXPORT LEVY","currency":null,"accountno":"0111003527"},{"availableBalance":6709406.02,"formattedAmount":"6,709,406.02","bookBalance":6709406.02,"accountType":"","accountName":"AFFORESTATION AND CITIES LEVY","currency":null,"accountno":"0111003534"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"MULTI DONOR BASKET FUND FREE EDU","currency":null,"accountno":"0111003572"},{"availableBalance":622112.00,"formattedAmount":"622,112.00","bookBalance":622112.00,"accountType":"","accountName":"MULTI DONOR BASKET FUND 4 FREE E","currency":null,"accountno":"0111003596"},{"availableBalance":-10000000.00,"formattedAmount":"-10,000,000.00","bookBalance":-10000000.00,"accountType":"","accountName":"CORRUPTION REC FUNDS ACCOUNT (SL","currency":null,"accountno":"0111003637"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"CORRUPTION REC FUNDS ACCOUNT (US","currency":null,"accountno":"0111003644"},{"availableBalance":3983620.62,"formattedAmount":"3,983,620.62","bookBalance":3983620.62,"accountType":"","accountName":"SIERRA LEONE STANDARD BUREAU DIS","currency":null,"accountno":"0111003651"},{"availableBalance":2256323.84,"formattedAmount":"2,256,323.84","bookBalance":2256323.84,"accountType":"","accountName":"SIERRA LEONE ROADS SAFETY AUTHOR","currency":null,"accountno":"0111003668"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SLPA/GOSL CARGO TRACKING","currency":null,"accountno":"0111003699"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"RECO FUNDS BASED ON TECHNICAL AU","currency":null,"accountno":"0111003730"},{"availableBalance":16922324.29,"formattedAmount":"16,922,324.29","bookBalance":16922324.29,"accountType":"","accountName":"FISHERIES PROTECTION STATISTICS&","currency":null,"accountno":"0111003754"},{"availableBalance":673795.84,"formattedAmount":"673,795.84","bookBalance":673795.84,"accountType":"","accountName":"FREE HEALTH CARE INITIATIVE","currency":null,"accountno":"0111003778"},{"availableBalance":66065954.89,"formattedAmount":"66,065,954.89","bookBalance":66065954.89,"accountType":"","accountName":"PRODUCE MONITORING BOARD","currency":null,"accountno":"0111003785"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"USL TEACHING HOSPITAL COMPLEX","currency":null,"accountno":"0111003840"},{"availableBalance":11031596.25,"formattedAmount":"11,031,596.25","bookBalance":11031596.25,"accountType":"","accountName":"DUTY WAIVER JOINT MNT FUND TREAS","currency":null,"accountno":"0111003857"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"PUBLIC AUCTION COMMITTE TREASURY","currency":null,"accountno":"0111003864"},{"availableBalance":3623824.03,"formattedAmount":"3,623,824.03","bookBalance":3623824.03,"accountType":"","accountName":"COMM OF INQUIRY SPECIAL RECOVERY","currency":null,"accountno":"0111003888"},{"availableBalance":-2055291.44,"formattedAmount":"-2,055,291.44","bookBalance":-2055291.44,"accountType":"","accountName":"DAILY SUBSISTENCE ALW/MED EXP AC","currency":null,"accountno":"0111003929"},{"availableBalance":3780.96,"formattedAmount":"3,780.96","bookBalance":3780.96,"accountType":"","accountName":"S/L LOCAL CONTENT DEVELOPMENT FU","currency":null,"accountno":"0111003936"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"LSS/SLPA/GOSL CARGO TRACKING","currency":null,"accountno":"0111003943"},{"availableBalance":5000000.0,"formattedAmount":"5,000,000.00","bookBalance":5000000.0,"accountType":"","accountName":"LOCAL COUNCIL DEVELOPMENT PROJEC","currency":null,"accountno":"0111003950"},{"availableBalance":205694040.46,"formattedAmount":"205,694,040.46","bookBalance":205694040.46,"accountType":"","accountName":"DEBT MANAGEMENT TREASURY","currency":null,"accountno":"0111003967"},{"availableBalance":85000.0,"formattedAmount":"85,000.00","bookBalance":85000.0,"accountType":"","accountName":"AUDIT SERVICE S/L - AUDIT FEES","currency":null,"accountno":"0111003974"},{"availableBalance":911265.54,"formattedAmount":"911,265.54","bookBalance":911265.54,"accountType":"","accountName":"NPPA-REV FROM SALE OF BIDDING DO","currency":null,"accountno":"0111003981"},{"availableBalance":20024585.14,"formattedAmount":"20,024,585.14","bookBalance":20024585.14,"accountType":"","accountName":"VEHICLE LOAN SCHEME","currency":null,"accountno":"0111004005"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SLCAA AVIATION FEES","currency":null,"accountno":"0111004012"},{"availableBalance":3326998.54,"formattedAmount":"3,326,998.54","bookBalance":3326998.54,"accountType":"","accountName":"NACOVERC LAB FEES & ENFORCE FINE","currency":null,"accountno":"0111004029"},{"availableBalance":139164.95,"formattedAmount":"139,164.95","bookBalance":139164.95,"accountType":"","accountName":"CTN FEES - FOREIGN CURRENCY","currency":null,"accountno":"0111004036"},{"availableBalance":0.01,"formattedAmount":"0.01","bookBalance":0.01,"accountType":"","accountName":"NATCOM AND BRADCORP GATEWAY REVE","currency":null,"accountno":"0111004043"},{"availableBalance":1120558.48,"formattedAmount":"1,120,558.48","bookBalance":1120558.48,"accountType":"","accountName":"NAT. WATER RESOURCES MGMT AGENCY","currency":null,"accountno":"0111004067"},{"availableBalance":2252147.11,"formattedAmount":"2,252,147.11","bookBalance":2252147.11,"accountType":"","accountName":"NaCOVERC LABORATORY FEES (USD)","currency":null,"accountno":"0111004074"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"WAGE BILL REVOLVING FUND ACCOUNT","currency":null,"accountno":"0111004098"},{"availableBalance":83069442.86,"formattedAmount":"83,069,442.86","bookBalance":83069442.86,"accountType":"","accountName":"STATE LAND SALES A/C","currency":null,"accountno":"0111004160"},{"availableBalance":59935.0,"formattedAmount":"59,935.00","bookBalance":59935.0,"accountType":"","accountName":"34 MILITARY HOSPITAL","currency":null,"accountno":"0111004201"},{"availableBalance":2206155.0,"formattedAmount":"2,206,155.00","bookBalance":2206155.0,"accountType":"","accountName":"BETTING & GAMBLING LICENCES ACCO","currency":null,"accountno":"0111004232"},{"availableBalance":34865.21,"formattedAmount":"34,865.21","bookBalance":34865.21,"accountType":"","accountName":"PAY NO BRIBE CAMPAIGN PROJECT AC","currency":null,"accountno":"0111004421"},{"availableBalance":2293395.84,"formattedAmount":"2,293,395.84","bookBalance":2293395.84,"accountType":"","accountName":"LUNGI BRIDGE FEASIBILITY STUDY(S","currency":null,"accountno":"0111004438"},{"availableBalance":17.05,"formattedAmount":"17.05","bookBalance":17.05,"accountType":"","accountName":"MOPED UNICEF PROGRAM SUPPORT A/C","currency":null,"accountno":"0111004658"},{"availableBalance":164418.88,"formattedAmount":"164,418.88","bookBalance":164418.88,"accountType":"","accountName":"NAT ELECTIONS SUSTAIN TRUST FUND","currency":null,"accountno":"0111004809"},{"availableBalance":0.79,"formattedAmount":"0.79","bookBalance":0.79,"accountType":"","accountName":"IMF SPECIAL DRAWING RIGHTS RETRO","currency":null,"accountno":"0111004847"},{"availableBalance":74814520.77,"formattedAmount":"74,814,520.77","bookBalance":74814520.77,"accountType":"","accountName":"GoSL TSA REVENUE SHARE ACCOUNT","currency":null,"accountno":"0111004878"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"DUTY WAIVER","currency":null,"accountno":"0111004885"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"IMPREST AC FOR ACC GEN DEPT","currency":null,"accountno":"0111004926"},{"availableBalance":10685160.00,"formattedAmount":"10,685,160.00","bookBalance":10685160.00,"accountType":"","accountName":"SL NATIONAL SHIPPING COMPANY ESC","currency":null,"accountno":"0111004995"},{"availableBalance":-1009872.99,"formattedAmount":"-1,009,872.99","bookBalance":-1009872.99,"accountType":"","accountName":"MINISTRY OF DEFENCE QUARTERLY","currency":null,"accountno":"0111005057"},{"availableBalance":-458150.0,"formattedAmount":"-458,150.00","bookBalance":-458150.0,"accountType":"","accountName":"SIERRA LEONE POLICE GENERAL ACCO","currency":null,"accountno":"0111005129"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"SIERRA LEONE CORRECTIONAL SERVIC","currency":null,"accountno":"0111005136"},{"availableBalance":3446.86,"formattedAmount":"3,446.86","bookBalance":3446.86,"accountType":"","accountName":"IMMIGRATION ACCOUNT","currency":null,"accountno":"0111005150"},{"availableBalance":14952799.83,"formattedAmount":"14,952,799.83","bookBalance":14952799.83,"accountType":"","accountName":"DIAGNOSTIC MEDICAL CENTRE","currency":null,"accountno":"0111005260"},{"availableBalance":6699287.89,"formattedAmount":"6,699,287.89","bookBalance":6699287.89,"accountType":"","accountName":"SALES OF AIRSTRIP LANDS","currency":null,"accountno":"0111005332"},{"availableBalance":245148.43,"formattedAmount":"245,148.43","bookBalance":245148.43,"accountType":"","accountName":"GOSL NATIONAL TREE PLANTING","currency":null,"accountno":"0111005387"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"OFFICE OF THE OMBUDSMAN DISBURSE","currency":null,"accountno":"0111005844"},{"availableBalance":9034.5,"formattedAmount":"9,034.50","bookBalance":9034.5,"accountType":"","accountName":"FERTILIZER SUPPORT FUND","currency":null,"accountno":"0111006054"},{"availableBalance":117899.95,"formattedAmount":"117,899.95","bookBalance":117899.95,"accountType":"","accountName":"TERTIARY EDUCATION COMMISSION DI","currency":null,"accountno":"0111006308"},{"availableBalance":1500000.0,"formattedAmount":"1,500,000.00","bookBalance":1500000.0,"accountType":"","accountName":"SIERRA LEONE PHARMACY BOARD DISB","currency":null,"accountno":"0111006377"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"SLMET AGRIC VAL CHA DEV PROJ (AV","currency":null,"accountno":"0111006456"},{"availableBalance":1384132.82,"formattedAmount":"1,384,132.82","bookBalance":1384132.82,"accountType":"","accountName":"DIGITAL DEVELOPMENT FUND (DDF) A","currency":null,"accountno":"0111006535"}],"code":"01","success":true,"description":"Success"}] 2025-11-21 17:09:17.1315||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 17:09:17.1315|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]]'. 2025-11-21 17:09:17.1315|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 3467.2382ms 2025-11-21 17:09:17.1315|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 17:09:17.1429|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 3491.8145ms 200 application/json; charset=utf-8 2025-11-21 17:09:17.9052||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-5092566928.3","bookBalance":0.0,"accountType":null,"accountName":"AGD SALARIES AND WAGES ACCOUNT19","currency":null,"accountno":"0111001293","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 17:09:17.9101||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 17:09:17.9101||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 17:09:17.9243||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 17:09:17.9243||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 17:09:17.9243||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 17:09:18.8349||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-88918787.83","bookBalance":0.0,"accountType":null,"accountName":"AGD PENSIONS ACCOUNTS 1998","currency":null,"accountno":"0111001310","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 17:09:18.8349||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 17:09:18.8349||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 17:09:18.8542||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 17:09:18.8620|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; 2025-11-21 17:09:18.8620|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 2025-11-21 17:09:18.8620|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 17:09:18.8763|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 17:09:18.8763|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 17:09:18.8763|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 17:09:18.8763|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 17:09:18.8763|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 17:09:18.8913|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 17:09:18.8913|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 17:09:18.8913|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 17:09:18.8913|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 17:09:18.8913|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 17:09:18.8913|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 17:09:18.9404|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]]'. 2025-11-21 17:09:18.9404|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 5269.4194ms 2025-11-21 17:09:18.9404|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 17:09:18.9404|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5294.0122ms 200 application/json; charset=utf-8 2025-11-21 17:11:30.4035|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 17:11:30.4035|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 17:11:30.4035|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 17:11:30.4035|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 17:11:30.4096|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 17:11:30.4096|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 17:11:30.4096|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.5589ms 204 2025-11-21 17:11:30.4096|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.4455ms 204 2025-11-21 17:11:30.4096|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.955ms 204 2025-11-21 17:11:30.4096|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 17:11:30.4096|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 17:11:30.4259|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() 2025-11-21 17:11:30.4259|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() 2025-11-21 17:11:30.4259|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'. 2025-11-21 17:11:30.4259|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'. 2025-11-21 17:11:30.4259|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 17:11:30.4259|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 17:11:30.4403|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2025-11-21 17:11:30.4403|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 17:11:30.4403|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2025-11-21 17:11:30.4403|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2025-11-21 17:11:30.4403|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() 2025-11-21 17:11:30.4403|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2025-11-21 17:11:30.4403|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 22.6788ms 401 2025-11-21 17:11:30.4403|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'. 2025-11-21 17:11:30.4403|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 26.3387ms 401 2025-11-21 17:11:30.4403|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 17:11:30.4403|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2025-11-21 17:11:30.4567|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2025-11-21 17:11:30.4567|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 17.5758ms 401 2025-11-21 17:11:47.6490|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=499 2025-11-21 17:11:47.6490|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 17:11:47.6490|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6.1321ms 204 2025-11-21 17:11:47.7314|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 17:11:47.7314|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 17:11:47.7314|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 17:11:47.7314|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=499 2025-11-21 17:11:47.7314|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 17:11:47.7389|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 17:11:47.7389|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 17:11:47.7389|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 17:11:47.7389|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 14.4339ms 204 2025-11-21 17:11:47.7389|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 16.4793ms 204 2025-11-21 17:11:47.7389|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 17.3597ms 204 2025-11-21 17:11:47.7389|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 17:11:47.7574|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 17:11:47.7574|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 17:11:47.7574|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). 2025-11-21 17:11:47.7574|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 17:11:47.7574|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 17:11:47.7574|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 17:11:47.7574|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 17:11:47.7574|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 17:11:47.7574|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)) 2025-11-21 17:11:47.7574|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 17:11:47.7701|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 17:11:47.7701|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 17:11:47.7701|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]]'. 2025-11-21 17:11:47.7701|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 17:11:47.7701|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 17:11:47.7701|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 17:11:47.7701|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 17:11:47.7701|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 17:11:47.7701|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 17:11:47.7842|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 17:11:47.7842|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 17:11:47.7842|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). 2025-11-21 17:11:47.7842|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). 2025-11-21 17:11:47.7842|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). 2025-11-21 17:11:47.7842|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 17:11:47.7842||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 17:11:47.7842|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 17:11:47.7842|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 2025-11-21 17:11:47.7842|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 34.4813ms 2025-11-21 17:11:47.7842|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]]'. 2025-11-21 17:11:47.7842|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)) 2025-11-21 17:11:47.7842||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 17:11:47.7842|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 17:11:47.8010|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 12.1223ms 2025-11-21 17:11:47.8010||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 17:11:47.8010||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 17:11:47.8010|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 73.2153ms 200 application/json; charset=utf-8 2025-11-21 17:11:47.8010|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 17:11:47.8010||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 17:11:47.8010|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 49.9059ms 200 application/json; charset=utf-8 2025-11-21 17:11:47.8273||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 17:11:47.8309||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 17:11:47.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 2025-11-21 17:11:47.8309||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 17:11:47.8309||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 17:11:47.8309||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 17:11:48.6288||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-8624381391.76","bookBalance":0.0,"accountType":null,"accountName":"AGD EXPENDITURE ACCOUNTS-GENERAL","currency":null,"accountno":"0111001279","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 17:11:48.6288||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 17:11:48.6288||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 17:11:48.6504||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 17:11:48.6504||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 17:11:48.6504||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 17:11:49.4263||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-8624381391.76","bookBalance":0.0,"accountType":null,"accountName":"AGD EXPENDITURE ACCOUNTS-GENERAL","currency":null,"accountno":"0111001279","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 17:11:49.4263||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 17:11:49.4263||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 17:11:49.4452||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 17:11:49.4452||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 17:11:49.4452||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 17:11:50.2259||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-5092566928.3","bookBalance":0.0,"accountType":null,"accountName":"AGD SALARIES AND WAGES ACCOUNT19","currency":null,"accountno":"0111001293","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 17:11:50.2259||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 17:11:50.2259||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 17:11:50.2535||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 17:11:50.2535||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 17:11:50.2535||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 17:11:51.1166||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"10547897.45","bookBalance":0.0,"accountType":null,"accountName":"ELECTRONIC FUNDS TRANS SUSPENSE","currency":null,"accountno":"SLE116030002","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 17:11:51.1166||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[{"availableBalance":1008205876.55,"formattedAmount":"1,008,205,876.55","bookBalance":1008205876.55,"accountType":"","accountName":"TREASURY MAIN","currency":null,"accountno":"0111001255"},{"availableBalance":-8624381391.76,"formattedAmount":"-8,624,381,391.76","bookBalance":-8624381391.76,"accountType":"","accountName":"AGD EXPENDITURE ACCOUNTS-GENERAL","currency":null,"accountno":"0111001279"},{"availableBalance":-5092566928.3,"formattedAmount":"-5,092,566,928.30","bookBalance":-5092566928.3,"accountType":"","accountName":"AGD SALARIES AND WAGES ACCOUNT19","currency":null,"accountno":"0111001293"},{"availableBalance":-88918787.83,"formattedAmount":"-88,918,787.83","bookBalance":-88918787.83,"accountType":"","accountName":"AGD PENSIONS ACCOUNTS 1998","currency":null,"accountno":"0111001310"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"DIFD (UK) BUDGSUPPORT GRANT","currency":null,"accountno":"0111001358"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SALARY ADVANCES ACCOUNT","currency":null,"accountno":"0111001372"},{"availableBalance":5660770071.02,"formattedAmount":"5,660,770,071.02","bookBalance":5660770071.02,"accountType":"","accountName":"INCOME TAX TREAS AC","currency":null,"accountno":"0111001396"},{"availableBalance":1639971708.73,"formattedAmount":"1,639,971,708.73","bookBalance":1639971708.73,"accountType":"","accountName":"CUSTOMS AND EXCISE TREAS AC","currency":null,"accountno":"0111001413"},{"availableBalance":126840132.89,"formattedAmount":"126,840,132.89","bookBalance":126840132.89,"accountType":"","accountName":"MARINE RESOURCES TREAS AC","currency":null,"accountno":"0111001437"},{"availableBalance":1171902940.16,"formattedAmount":"1,171,902,940.16","bookBalance":1171902940.16,"accountType":"","accountName":"MINERAL RESOURCES TREAS AC","currency":null,"accountno":"0111001451"},{"availableBalance":10582481.0,"formattedAmount":"10,582,481.00","bookBalance":10582481.0,"accountType":"","accountName":"IMMIGRATION TREAS AC","currency":null,"accountno":"0111001475"},{"availableBalance":452767547.26,"formattedAmount":"452,767,547.26","bookBalance":452767547.26,"accountType":"","accountName":"GENERAL REVENUE TREAS AC","currency":null,"accountno":"0111001499"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"IMMIGRATION ESCROW ACCOUNT","currency":null,"accountno":"0111001516"},{"availableBalance":12109569.0,"formattedAmount":"12,109,569.00","bookBalance":12109569.0,"accountType":"","accountName":"ADMINISTRATOR AND REGISTRAR GENE","currency":null,"accountno":"0111001530"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"POLICE-UNCLAIMED SALARIES WAGES","currency":null,"accountno":"0111001578"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"EDU SCIENCE AND TECH-UNCLAIMED S","currency":null,"accountno":"0111001592"},{"availableBalance":2068951.32,"formattedAmount":"2,068,951.32","bookBalance":2068951.32,"accountType":"","accountName":"OTHER DEPTMINISTRIES-UNCLAIMED S","currency":null,"accountno":"0111001657"},{"availableBalance":650610335.09,"formattedAmount":"650,610,335.09","bookBalance":650610335.09,"accountType":"","accountName":"TREASURY WAYS AND MEANS ADVANCES","currency":null,"accountno":"0111001671"},{"availableBalance":990172300.0,"formattedAmount":"990,172,300.00","bookBalance":990172300.0,"accountType":"","accountName":"TREASURY BEARER BOND ACCOUNTS","currency":null,"accountno":"0111001695"},{"availableBalance":-1359921007.56,"formattedAmount":"-1,359,921,007.56","bookBalance":-1359921007.56,"accountType":"","accountName":"INTEREST ON TREASURY BEARER BOND","currency":null,"accountno":"0111001712"},{"availableBalance":-2301895609.95,"formattedAmount":"-2,301,895,609.95","bookBalance":-2301895609.95,"accountType":"","accountName":"EXTERNAL DEBT SERVICE PAYMENTS","currency":null,"accountno":"0111001736"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"KENEMA GOVT TREASURY DEPOSITS AC","currency":null,"accountno":"0111001750"},{"availableBalance":20494300.88,"formattedAmount":"20,494,300.88","bookBalance":20494300.88,"accountType":"","accountName":"HIPC TRUST FUND ACCOUNT","currency":null,"accountno":"0111001774"},{"availableBalance":-729960.98,"formattedAmount":"-729,960.98","bookBalance":-729960.98,"accountType":"","accountName":"TREASURY BILLS AC","currency":null,"accountno":"0111001839"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"OFIDSL GOV DEBT RELIEF AC","currency":null,"accountno":"0111001891"},{"availableBalance":115026697.18,"formattedAmount":"115,026,697.18","bookBalance":115026697.18,"accountType":"","accountName":"NOMINALCOST AC FOR 182-DAYS TREA","currency":null,"accountno":"0111001918"},{"availableBalance":3320175223.38,"formattedAmount":"3,320,175,223.38","bookBalance":3320175223.38,"accountType":"","accountName":"NOMINALCOST AC FOR 364-DAYS TREA","currency":null,"accountno":"0111001932"},{"availableBalance":-8559679.4,"formattedAmount":"-8,559,679.40","bookBalance":-8559679.4,"accountType":"","accountName":"COMMISSION AC FOR TREASURY BILLS","currency":null,"accountno":"0111001970"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"MIN OF FISHERIES AND MARINE RESO","currency":null,"accountno":"0111002032"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"NAT TELECOMS REVENUE ESCROW AC","currency":null,"accountno":"0111002056"},{"availableBalance":4213148.95,"formattedAmount":"4,213,148.95","bookBalance":4213148.95,"accountType":"","accountName":"SIERRA LEONE PHARMACY BOARD REVE","currency":null,"accountno":"0111002070"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SIERRA LEONE MARITIME ADMIN REVE","currency":null,"accountno":"0111002094"},{"availableBalance":13207078.86,"formattedAmount":"13,207,078.86","bookBalance":13207078.86,"accountType":"","accountName":"SLCAA FOREIGN TRAVEL TAX A/C","currency":null,"accountno":"0111002111"},{"availableBalance":2292475373.13,"formattedAmount":"2,292,475,373.13","bookBalance":2292475373.13,"accountType":"","accountName":"GOODS AND SERVICES TAX ACCOUNT","currency":null,"accountno":"0111002135"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"MARINES FINES AC","currency":null,"accountno":"0111002159"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"AFFORESTATION AC","currency":null,"accountno":"0111002197"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"NATIONAL IDENTITY CARD PROJECT E","currency":null,"accountno":"0111002252"},{"availableBalance":412398.2,"formattedAmount":"412,398.20","bookBalance":412398.2,"accountType":"","accountName":"MINISTRY OF PRESIDENTIAL AND PUB","currency":null,"accountno":"0111002276"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"JAPANESE GRANT FOR COPING WITH C","currency":null,"accountno":"0111002317"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"DIAMOND ROYALTIES AC","currency":null,"accountno":"0111002355"},{"availableBalance":11320146.22,"formattedAmount":"11,320,146.22","bookBalance":11320146.22,"accountType":"","accountName":"NON-TAX REVENUE AC","currency":null,"accountno":"0111002379"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"INT. ON 91 182 364 - DAYS TREASU","currency":null,"accountno":"0111002393"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SIERRATELEBID MODERNISATION AND","currency":null,"accountno":"0111002410"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"IMF BUDGET FINANCING TREASURY A/","currency":null,"accountno":"0111002843"},{"availableBalance":962154707.06,"formattedAmount":"962,154,707.06","bookBalance":962154707.06,"accountType":"","accountName":"PETROLEUM EXCISE DUTY ACCOUNT","currency":null,"accountno":"0111002984"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"CATASTROPHE CONTAINMENT RELIEF T","currency":null,"accountno":"0111002991"},{"availableBalance":-47389.02,"formattedAmount":"-47,389.02","bookBalance":-47389.02,"accountType":"","accountName":"INTEREST ON 91 DAYS TREASURY BIL","currency":null,"accountno":"0111003314"},{"availableBalance":-14662146.43,"formattedAmount":"-14,662,146.43","bookBalance":-14662146.43,"accountType":"","accountName":"INTEREST ON 182 DAYS TREASURY BI","currency":null,"accountno":"0111003321"},{"availableBalance":-4861882392.28,"formattedAmount":"-4,861,882,392.28","bookBalance":-4861882392.28,"accountType":"","accountName":"INTEREST ON 364 DAYS TREASURY BI","currency":null,"accountno":"0111003338"},{"availableBalance":13011149.86,"formattedAmount":"13,011,149.86","bookBalance":13011149.86,"accountType":"","accountName":"PETROLEUM REGULATORY AGENCY","currency":null,"accountno":"0111003448"},{"availableBalance":14624361.1,"formattedAmount":"14,624,361.10","bookBalance":14624361.1,"accountType":"","accountName":"PETROLEUM DIRECTORATE","currency":null,"accountno":"0111003455"},{"availableBalance":716682.0,"formattedAmount":"716,682.00","bookBalance":716682.0,"accountType":"","accountName":"ROAD MAINTENANCE FUND","currency":null,"accountno":"0111003462"},{"availableBalance":12446437.0,"formattedAmount":"12,446,437.00","bookBalance":12446437.0,"accountType":"","accountName":"ENVIRONMENTAL PROTECTION AGENCY","currency":null,"accountno":"0111003479"},{"availableBalance":2736797.72,"formattedAmount":"2,736,797.72","bookBalance":2736797.72,"accountType":"","accountName":"NATIONAL TELECOMMUNICATION COMMI","currency":null,"accountno":"0111003486"},{"availableBalance":34714514.21,"formattedAmount":"34,714,514.21","bookBalance":34714514.21,"accountType":"","accountName":"SIERRA LEONE MARITIME ADMINISTRA","currency":null,"accountno":"0111003493"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SPECIAL TAX & DUTIES","currency":null,"accountno":"0111003503"},{"availableBalance":431020263.0,"formattedAmount":"431,020,263.00","bookBalance":431020263.0,"accountType":"","accountName":"TIMBER EXPORT LEVY","currency":null,"accountno":"0111003527"},{"availableBalance":6709406.02,"formattedAmount":"6,709,406.02","bookBalance":6709406.02,"accountType":"","accountName":"AFFORESTATION AND CITIES LEVY","currency":null,"accountno":"0111003534"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"MULTI DONOR BASKET FUND FREE EDU","currency":null,"accountno":"0111003572"},{"availableBalance":622112.00,"formattedAmount":"622,112.00","bookBalance":622112.00,"accountType":"","accountName":"MULTI DONOR BASKET FUND 4 FREE E","currency":null,"accountno":"0111003596"},{"availableBalance":-10000000.00,"formattedAmount":"-10,000,000.00","bookBalance":-10000000.00,"accountType":"","accountName":"CORRUPTION REC FUNDS ACCOUNT (SL","currency":null,"accountno":"0111003637"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"CORRUPTION REC FUNDS ACCOUNT (US","currency":null,"accountno":"0111003644"},{"availableBalance":3983620.62,"formattedAmount":"3,983,620.62","bookBalance":3983620.62,"accountType":"","accountName":"SIERRA LEONE STANDARD BUREAU DIS","currency":null,"accountno":"0111003651"},{"availableBalance":2256323.84,"formattedAmount":"2,256,323.84","bookBalance":2256323.84,"accountType":"","accountName":"SIERRA LEONE ROADS SAFETY AUTHOR","currency":null,"accountno":"0111003668"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SLPA/GOSL CARGO TRACKING","currency":null,"accountno":"0111003699"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"RECO FUNDS BASED ON TECHNICAL AU","currency":null,"accountno":"0111003730"},{"availableBalance":16922324.29,"formattedAmount":"16,922,324.29","bookBalance":16922324.29,"accountType":"","accountName":"FISHERIES PROTECTION STATISTICS&","currency":null,"accountno":"0111003754"},{"availableBalance":673795.84,"formattedAmount":"673,795.84","bookBalance":673795.84,"accountType":"","accountName":"FREE HEALTH CARE INITIATIVE","currency":null,"accountno":"0111003778"},{"availableBalance":66065954.89,"formattedAmount":"66,065,954.89","bookBalance":66065954.89,"accountType":"","accountName":"PRODUCE MONITORING BOARD","currency":null,"accountno":"0111003785"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"USL TEACHING HOSPITAL COMPLEX","currency":null,"accountno":"0111003840"},{"availableBalance":11031596.25,"formattedAmount":"11,031,596.25","bookBalance":11031596.25,"accountType":"","accountName":"DUTY WAIVER JOINT MNT FUND TREAS","currency":null,"accountno":"0111003857"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"PUBLIC AUCTION COMMITTE TREASURY","currency":null,"accountno":"0111003864"},{"availableBalance":3623824.03,"formattedAmount":"3,623,824.03","bookBalance":3623824.03,"accountType":"","accountName":"COMM OF INQUIRY SPECIAL RECOVERY","currency":null,"accountno":"0111003888"},{"availableBalance":-2055291.44,"formattedAmount":"-2,055,291.44","bookBalance":-2055291.44,"accountType":"","accountName":"DAILY SUBSISTENCE ALW/MED EXP AC","currency":null,"accountno":"0111003929"},{"availableBalance":3780.96,"formattedAmount":"3,780.96","bookBalance":3780.96,"accountType":"","accountName":"S/L LOCAL CONTENT DEVELOPMENT FU","currency":null,"accountno":"0111003936"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"LSS/SLPA/GOSL CARGO TRACKING","currency":null,"accountno":"0111003943"},{"availableBalance":5000000.0,"formattedAmount":"5,000,000.00","bookBalance":5000000.0,"accountType":"","accountName":"LOCAL COUNCIL DEVELOPMENT PROJEC","currency":null,"accountno":"0111003950"},{"availableBalance":205694040.46,"formattedAmount":"205,694,040.46","bookBalance":205694040.46,"accountType":"","accountName":"DEBT MANAGEMENT TREASURY","currency":null,"accountno":"0111003967"},{"availableBalance":85000.0,"formattedAmount":"85,000.00","bookBalance":85000.0,"accountType":"","accountName":"AUDIT SERVICE S/L - AUDIT FEES","currency":null,"accountno":"0111003974"},{"availableBalance":911265.54,"formattedAmount":"911,265.54","bookBalance":911265.54,"accountType":"","accountName":"NPPA-REV FROM SALE OF BIDDING DO","currency":null,"accountno":"0111003981"},{"availableBalance":20024585.14,"formattedAmount":"20,024,585.14","bookBalance":20024585.14,"accountType":"","accountName":"VEHICLE LOAN SCHEME","currency":null,"accountno":"0111004005"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SLCAA AVIATION FEES","currency":null,"accountno":"0111004012"},{"availableBalance":3326998.54,"formattedAmount":"3,326,998.54","bookBalance":3326998.54,"accountType":"","accountName":"NACOVERC LAB FEES & ENFORCE FINE","currency":null,"accountno":"0111004029"},{"availableBalance":139164.95,"formattedAmount":"139,164.95","bookBalance":139164.95,"accountType":"","accountName":"CTN FEES - FOREIGN CURRENCY","currency":null,"accountno":"0111004036"},{"availableBalance":0.01,"formattedAmount":"0.01","bookBalance":0.01,"accountType":"","accountName":"NATCOM AND BRADCORP GATEWAY REVE","currency":null,"accountno":"0111004043"},{"availableBalance":1120558.48,"formattedAmount":"1,120,558.48","bookBalance":1120558.48,"accountType":"","accountName":"NAT. WATER RESOURCES MGMT AGENCY","currency":null,"accountno":"0111004067"},{"availableBalance":2252147.11,"formattedAmount":"2,252,147.11","bookBalance":2252147.11,"accountType":"","accountName":"NaCOVERC LABORATORY FEES (USD)","currency":null,"accountno":"0111004074"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"WAGE BILL REVOLVING FUND ACCOUNT","currency":null,"accountno":"0111004098"},{"availableBalance":83069442.86,"formattedAmount":"83,069,442.86","bookBalance":83069442.86,"accountType":"","accountName":"STATE LAND SALES A/C","currency":null,"accountno":"0111004160"},{"availableBalance":59935.0,"formattedAmount":"59,935.00","bookBalance":59935.0,"accountType":"","accountName":"34 MILITARY HOSPITAL","currency":null,"accountno":"0111004201"},{"availableBalance":2206155.0,"formattedAmount":"2,206,155.00","bookBalance":2206155.0,"accountType":"","accountName":"BETTING & GAMBLING LICENCES ACCO","currency":null,"accountno":"0111004232"},{"availableBalance":34865.21,"formattedAmount":"34,865.21","bookBalance":34865.21,"accountType":"","accountName":"PAY NO BRIBE CAMPAIGN PROJECT AC","currency":null,"accountno":"0111004421"},{"availableBalance":2293395.84,"formattedAmount":"2,293,395.84","bookBalance":2293395.84,"accountType":"","accountName":"LUNGI BRIDGE FEASIBILITY STUDY(S","currency":null,"accountno":"0111004438"},{"availableBalance":17.05,"formattedAmount":"17.05","bookBalance":17.05,"accountType":"","accountName":"MOPED UNICEF PROGRAM SUPPORT A/C","currency":null,"accountno":"0111004658"},{"availableBalance":164418.88,"formattedAmount":"164,418.88","bookBalance":164418.88,"accountType":"","accountName":"NAT ELECTIONS SUSTAIN TRUST FUND","currency":null,"accountno":"0111004809"},{"availableBalance":0.79,"formattedAmount":"0.79","bookBalance":0.79,"accountType":"","accountName":"IMF SPECIAL DRAWING RIGHTS RETRO","currency":null,"accountno":"0111004847"},{"availableBalance":74814520.77,"formattedAmount":"74,814,520.77","bookBalance":74814520.77,"accountType":"","accountName":"GoSL TSA REVENUE SHARE ACCOUNT","currency":null,"accountno":"0111004878"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"DUTY WAIVER","currency":null,"accountno":"0111004885"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"IMPREST AC FOR ACC GEN DEPT","currency":null,"accountno":"0111004926"},{"availableBalance":10685160.00,"formattedAmount":"10,685,160.00","bookBalance":10685160.00,"accountType":"","accountName":"SL NATIONAL SHIPPING COMPANY ESC","currency":null,"accountno":"0111004995"},{"availableBalance":-1009872.99,"formattedAmount":"-1,009,872.99","bookBalance":-1009872.99,"accountType":"","accountName":"MINISTRY OF DEFENCE QUARTERLY","currency":null,"accountno":"0111005057"},{"availableBalance":-458150.0,"formattedAmount":"-458,150.00","bookBalance":-458150.0,"accountType":"","accountName":"SIERRA LEONE POLICE GENERAL ACCO","currency":null,"accountno":"0111005129"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"SIERRA LEONE CORRECTIONAL SERVIC","currency":null,"accountno":"0111005136"},{"availableBalance":3446.86,"formattedAmount":"3,446.86","bookBalance":3446.86,"accountType":"","accountName":"IMMIGRATION ACCOUNT","currency":null,"accountno":"0111005150"},{"availableBalance":14952799.83,"formattedAmount":"14,952,799.83","bookBalance":14952799.83,"accountType":"","accountName":"DIAGNOSTIC MEDICAL CENTRE","currency":null,"accountno":"0111005260"},{"availableBalance":6699287.89,"formattedAmount":"6,699,287.89","bookBalance":6699287.89,"accountType":"","accountName":"SALES OF AIRSTRIP LANDS","currency":null,"accountno":"0111005332"},{"availableBalance":245148.43,"formattedAmount":"245,148.43","bookBalance":245148.43,"accountType":"","accountName":"GOSL NATIONAL TREE PLANTING","currency":null,"accountno":"0111005387"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"OFFICE OF THE OMBUDSMAN DISBURSE","currency":null,"accountno":"0111005844"},{"availableBalance":9034.5,"formattedAmount":"9,034.50","bookBalance":9034.5,"accountType":"","accountName":"FERTILIZER SUPPORT FUND","currency":null,"accountno":"0111006054"},{"availableBalance":117899.95,"formattedAmount":"117,899.95","bookBalance":117899.95,"accountType":"","accountName":"TERTIARY EDUCATION COMMISSION DI","currency":null,"accountno":"0111006308"},{"availableBalance":1500000.0,"formattedAmount":"1,500,000.00","bookBalance":1500000.0,"accountType":"","accountName":"SIERRA LEONE PHARMACY BOARD DISB","currency":null,"accountno":"0111006377"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"SLMET AGRIC VAL CHA DEV PROJ (AV","currency":null,"accountno":"0111006456"},{"availableBalance":1384132.82,"formattedAmount":"1,384,132.82","bookBalance":1384132.82,"accountType":"","accountName":"DIGITAL DEVELOPMENT FUND (DDF) A","currency":null,"accountno":"0111006535"}],"code":"01","success":true,"description":"Success"}] 2025-11-21 17:11:51.1166||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 17:11:51.1166||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 17:11:51.1166||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 17:11:51.1307|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]]'. 2025-11-21 17:11:51.1307|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 3342.8669ms 2025-11-21 17:11:51.1307|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 17:11:51.1307|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 3373.205ms 200 application/json; charset=utf-8 2025-11-21 17:11:51.1433||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 17:11:51.1433||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 17:11:51.1433||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 17:11:51.8892||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-5092566928.3","bookBalance":0.0,"accountType":null,"accountName":"AGD SALARIES AND WAGES ACCOUNT19","currency":null,"accountno":"0111001293","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 17:11:51.8941||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 17:11:51.8941||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 17:11:51.9091||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 17:11:51.9091||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 17:11:51.9091||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 17:11:52.6848||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-88918787.83","bookBalance":0.0,"accountType":null,"accountName":"AGD PENSIONS ACCOUNTS 1998","currency":null,"accountno":"0111001310","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 17:11:52.6848||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 17:11:52.6914||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 17:11:52.6914||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 17:11:52.7113|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; 2025-11-21 17:11:52.7113|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 2025-11-21 17:11:52.7113|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 17:11:52.7221|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 17:11:52.7221|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 17:11:52.7221|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 17:11:52.7221|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 17:11:52.7221|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 17:11:52.7221|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 17:11:52.7371|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 17:11:52.7371|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 17:11:52.7371|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 17:11:52.7371|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 17:11:52.7371|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 17:11:52.7919|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]]'. 2025-11-21 17:11:52.7919|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 5003.4792ms 2025-11-21 17:11:52.7919|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 17:11:52.7919|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5035.5332ms 200 application/json; charset=utf-8 2025-11-21 17:13:48.7752|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100127923 2025-11-21 17:13:48.7752|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 17:13:48.7752|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 17:13:48.7807|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2025-11-21 17:13:48.7807|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). 2025-11-21 17:13:48.7807|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 17:13:48.7807|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)) 2025-11-21 17:13:48.7807|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]]'. 2025-11-21 17:13:48.7807|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 5.482ms 2025-11-21 17:13:48.7807|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2025-11-21 17:13:48.7807|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 15.8816ms 200 application/json; charset=utf-8 2025-11-21 17:13:53.1679|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 17:13:53.1679|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 17:13:53.1679|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 17:13:53.1679|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 17:13:53.1731|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 17:13:53.1731|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 17:13:53.1731|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.9765ms 204 2025-11-21 17:13:53.1731|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.2636ms 204 2025-11-21 17:13:53.1731|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.9153ms 204 2025-11-21 17:13:53.1731|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 17:13:53.1731|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 17:13:53.1731|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 17:13:53.1866|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 17:13:53.1866|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 17:13:53.1866|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 17:13:53.1866|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 17:13:53.1866|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 17:13:53.1866|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 17:13:53.1866|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 17:13:53.1866|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 17:13:53.1866|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 17:13:53.1866|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 17:13:53.1866|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 17:13:53.1866|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 17:13:53.1866|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). 2025-11-21 17:13:53.1866|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). 2025-11-21 17:13:53.1866|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). 2025-11-21 17:13:53.1866|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 17:13:53.1866||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 17:13:53.2037|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 17:13:53.2037|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 2025-11-21 17:13:53.2037||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 17:13:53.2037|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]]'. 2025-11-21 17:13:53.2037|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)) 2025-11-21 17:13:53.2037||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 17:13:53.2037|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 10.3593ms 2025-11-21 17:13:53.2037|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 17:13:53.2037||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 17:13:53.2037|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 30.8001ms 200 application/json; charset=utf-8 2025-11-21 17:13:53.2186||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 17:13:53.2186||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 17:13:53.2186||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 17:13:53.2186||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 17:13:53.2186||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 17:13:53.2186||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 17:13:53.2347||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 17:13:55.0791||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-8624381391.76","bookBalance":0.0,"accountType":null,"accountName":"AGD EXPENDITURE ACCOUNTS-GENERAL","currency":null,"accountno":"0111001279","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 17:13:55.0791||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 17:13:55.0791||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 17:13:55.0986||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 17:13:55.0986||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 17:13:55.0986||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 17:13:55.3339||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[{"availableBalance":1008205876.55,"formattedAmount":"1,008,205,876.55","bookBalance":1008205876.55,"accountType":"","accountName":"TREASURY MAIN","currency":null,"accountno":"0111001255"},{"availableBalance":-8624381391.76,"formattedAmount":"-8,624,381,391.76","bookBalance":-8624381391.76,"accountType":"","accountName":"AGD EXPENDITURE ACCOUNTS-GENERAL","currency":null,"accountno":"0111001279"},{"availableBalance":-5092566928.3,"formattedAmount":"-5,092,566,928.30","bookBalance":-5092566928.3,"accountType":"","accountName":"AGD SALARIES AND WAGES ACCOUNT19","currency":null,"accountno":"0111001293"},{"availableBalance":-88918787.83,"formattedAmount":"-88,918,787.83","bookBalance":-88918787.83,"accountType":"","accountName":"AGD PENSIONS ACCOUNTS 1998","currency":null,"accountno":"0111001310"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"DIFD (UK) BUDGSUPPORT GRANT","currency":null,"accountno":"0111001358"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SALARY ADVANCES ACCOUNT","currency":null,"accountno":"0111001372"},{"availableBalance":5660770071.02,"formattedAmount":"5,660,770,071.02","bookBalance":5660770071.02,"accountType":"","accountName":"INCOME TAX TREAS AC","currency":null,"accountno":"0111001396"},{"availableBalance":1639971708.73,"formattedAmount":"1,639,971,708.73","bookBalance":1639971708.73,"accountType":"","accountName":"CUSTOMS AND EXCISE TREAS AC","currency":null,"accountno":"0111001413"},{"availableBalance":126840132.89,"formattedAmount":"126,840,132.89","bookBalance":126840132.89,"accountType":"","accountName":"MARINE RESOURCES TREAS AC","currency":null,"accountno":"0111001437"},{"availableBalance":1171902940.16,"formattedAmount":"1,171,902,940.16","bookBalance":1171902940.16,"accountType":"","accountName":"MINERAL RESOURCES TREAS AC","currency":null,"accountno":"0111001451"},{"availableBalance":10582481.0,"formattedAmount":"10,582,481.00","bookBalance":10582481.0,"accountType":"","accountName":"IMMIGRATION TREAS AC","currency":null,"accountno":"0111001475"},{"availableBalance":452767547.26,"formattedAmount":"452,767,547.26","bookBalance":452767547.26,"accountType":"","accountName":"GENERAL REVENUE TREAS AC","currency":null,"accountno":"0111001499"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"IMMIGRATION ESCROW ACCOUNT","currency":null,"accountno":"0111001516"},{"availableBalance":12109569.0,"formattedAmount":"12,109,569.00","bookBalance":12109569.0,"accountType":"","accountName":"ADMINISTRATOR AND REGISTRAR GENE","currency":null,"accountno":"0111001530"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"POLICE-UNCLAIMED SALARIES WAGES","currency":null,"accountno":"0111001578"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"EDU SCIENCE AND TECH-UNCLAIMED S","currency":null,"accountno":"0111001592"},{"availableBalance":2068951.32,"formattedAmount":"2,068,951.32","bookBalance":2068951.32,"accountType":"","accountName":"OTHER DEPTMINISTRIES-UNCLAIMED S","currency":null,"accountno":"0111001657"},{"availableBalance":650610335.09,"formattedAmount":"650,610,335.09","bookBalance":650610335.09,"accountType":"","accountName":"TREASURY WAYS AND MEANS ADVANCES","currency":null,"accountno":"0111001671"},{"availableBalance":990172300.0,"formattedAmount":"990,172,300.00","bookBalance":990172300.0,"accountType":"","accountName":"TREASURY BEARER BOND ACCOUNTS","currency":null,"accountno":"0111001695"},{"availableBalance":-1359921007.56,"formattedAmount":"-1,359,921,007.56","bookBalance":-1359921007.56,"accountType":"","accountName":"INTEREST ON TREASURY BEARER BOND","currency":null,"accountno":"0111001712"},{"availableBalance":-2301895609.95,"formattedAmount":"-2,301,895,609.95","bookBalance":-2301895609.95,"accountType":"","accountName":"EXTERNAL DEBT SERVICE PAYMENTS","currency":null,"accountno":"0111001736"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"KENEMA GOVT TREASURY DEPOSITS AC","currency":null,"accountno":"0111001750"},{"availableBalance":20494300.88,"formattedAmount":"20,494,300.88","bookBalance":20494300.88,"accountType":"","accountName":"HIPC TRUST FUND ACCOUNT","currency":null,"accountno":"0111001774"},{"availableBalance":-729960.98,"formattedAmount":"-729,960.98","bookBalance":-729960.98,"accountType":"","accountName":"TREASURY BILLS AC","currency":null,"accountno":"0111001839"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"OFIDSL GOV DEBT RELIEF AC","currency":null,"accountno":"0111001891"},{"availableBalance":115026697.18,"formattedAmount":"115,026,697.18","bookBalance":115026697.18,"accountType":"","accountName":"NOMINALCOST AC FOR 182-DAYS TREA","currency":null,"accountno":"0111001918"},{"availableBalance":3320175223.38,"formattedAmount":"3,320,175,223.38","bookBalance":3320175223.38,"accountType":"","accountName":"NOMINALCOST AC FOR 364-DAYS TREA","currency":null,"accountno":"0111001932"},{"availableBalance":-8559679.4,"formattedAmount":"-8,559,679.40","bookBalance":-8559679.4,"accountType":"","accountName":"COMMISSION AC FOR TREASURY BILLS","currency":null,"accountno":"0111001970"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"MIN OF FISHERIES AND MARINE RESO","currency":null,"accountno":"0111002032"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"NAT TELECOMS REVENUE ESCROW AC","currency":null,"accountno":"0111002056"},{"availableBalance":4213148.95,"formattedAmount":"4,213,148.95","bookBalance":4213148.95,"accountType":"","accountName":"SIERRA LEONE PHARMACY BOARD REVE","currency":null,"accountno":"0111002070"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SIERRA LEONE MARITIME ADMIN REVE","currency":null,"accountno":"0111002094"},{"availableBalance":13207078.86,"formattedAmount":"13,207,078.86","bookBalance":13207078.86,"accountType":"","accountName":"SLCAA FOREIGN TRAVEL TAX A/C","currency":null,"accountno":"0111002111"},{"availableBalance":2292475373.13,"formattedAmount":"2,292,475,373.13","bookBalance":2292475373.13,"accountType":"","accountName":"GOODS AND SERVICES TAX ACCOUNT","currency":null,"accountno":"0111002135"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"MARINES FINES AC","currency":null,"accountno":"0111002159"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"AFFORESTATION AC","currency":null,"accountno":"0111002197"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"NATIONAL IDENTITY CARD PROJECT E","currency":null,"accountno":"0111002252"},{"availableBalance":412398.2,"formattedAmount":"412,398.20","bookBalance":412398.2,"accountType":"","accountName":"MINISTRY OF PRESIDENTIAL AND PUB","currency":null,"accountno":"0111002276"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"JAPANESE GRANT FOR COPING WITH C","currency":null,"accountno":"0111002317"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"DIAMOND ROYALTIES AC","currency":null,"accountno":"0111002355"},{"availableBalance":11320146.22,"formattedAmount":"11,320,146.22","bookBalance":11320146.22,"accountType":"","accountName":"NON-TAX REVENUE AC","currency":null,"accountno":"0111002379"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"INT. ON 91 182 364 - DAYS TREASU","currency":null,"accountno":"0111002393"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SIERRATELEBID MODERNISATION AND","currency":null,"accountno":"0111002410"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"IMF BUDGET FINANCING TREASURY A/","currency":null,"accountno":"0111002843"},{"availableBalance":962154707.06,"formattedAmount":"962,154,707.06","bookBalance":962154707.06,"accountType":"","accountName":"PETROLEUM EXCISE DUTY ACCOUNT","currency":null,"accountno":"0111002984"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"CATASTROPHE CONTAINMENT RELIEF T","currency":null,"accountno":"0111002991"},{"availableBalance":-47389.02,"formattedAmount":"-47,389.02","bookBalance":-47389.02,"accountType":"","accountName":"INTEREST ON 91 DAYS TREASURY BIL","currency":null,"accountno":"0111003314"},{"availableBalance":-14662146.43,"formattedAmount":"-14,662,146.43","bookBalance":-14662146.43,"accountType":"","accountName":"INTEREST ON 182 DAYS TREASURY BI","currency":null,"accountno":"0111003321"},{"availableBalance":-4861882392.28,"formattedAmount":"-4,861,882,392.28","bookBalance":-4861882392.28,"accountType":"","accountName":"INTEREST ON 364 DAYS TREASURY BI","currency":null,"accountno":"0111003338"},{"availableBalance":13011149.86,"formattedAmount":"13,011,149.86","bookBalance":13011149.86,"accountType":"","accountName":"PETROLEUM REGULATORY AGENCY","currency":null,"accountno":"0111003448"},{"availableBalance":14624361.1,"formattedAmount":"14,624,361.10","bookBalance":14624361.1,"accountType":"","accountName":"PETROLEUM DIRECTORATE","currency":null,"accountno":"0111003455"},{"availableBalance":716682.0,"formattedAmount":"716,682.00","bookBalance":716682.0,"accountType":"","accountName":"ROAD MAINTENANCE FUND","currency":null,"accountno":"0111003462"},{"availableBalance":12446437.0,"formattedAmount":"12,446,437.00","bookBalance":12446437.0,"accountType":"","accountName":"ENVIRONMENTAL PROTECTION AGENCY","currency":null,"accountno":"0111003479"},{"availableBalance":2736797.72,"formattedAmount":"2,736,797.72","bookBalance":2736797.72,"accountType":"","accountName":"NATIONAL TELECOMMUNICATION COMMI","currency":null,"accountno":"0111003486"},{"availableBalance":34714514.21,"formattedAmount":"34,714,514.21","bookBalance":34714514.21,"accountType":"","accountName":"SIERRA LEONE MARITIME ADMINISTRA","currency":null,"accountno":"0111003493"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SPECIAL TAX & DUTIES","currency":null,"accountno":"0111003503"},{"availableBalance":431020263.0,"formattedAmount":"431,020,263.00","bookBalance":431020263.0,"accountType":"","accountName":"TIMBER EXPORT LEVY","currency":null,"accountno":"0111003527"},{"availableBalance":6709406.02,"formattedAmount":"6,709,406.02","bookBalance":6709406.02,"accountType":"","accountName":"AFFORESTATION AND CITIES LEVY","currency":null,"accountno":"0111003534"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"MULTI DONOR BASKET FUND FREE EDU","currency":null,"accountno":"0111003572"},{"availableBalance":622112.00,"formattedAmount":"622,112.00","bookBalance":622112.00,"accountType":"","accountName":"MULTI DONOR BASKET FUND 4 FREE E","currency":null,"accountno":"0111003596"},{"availableBalance":-10000000.00,"formattedAmount":"-10,000,000.00","bookBalance":-10000000.00,"accountType":"","accountName":"CORRUPTION REC FUNDS ACCOUNT (SL","currency":null,"accountno":"0111003637"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"CORRUPTION REC FUNDS ACCOUNT (US","currency":null,"accountno":"0111003644"},{"availableBalance":3983620.62,"formattedAmount":"3,983,620.62","bookBalance":3983620.62,"accountType":"","accountName":"SIERRA LEONE STANDARD BUREAU DIS","currency":null,"accountno":"0111003651"},{"availableBalance":2256323.84,"formattedAmount":"2,256,323.84","bookBalance":2256323.84,"accountType":"","accountName":"SIERRA LEONE ROADS SAFETY AUTHOR","currency":null,"accountno":"0111003668"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SLPA/GOSL CARGO TRACKING","currency":null,"accountno":"0111003699"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"RECO FUNDS BASED ON TECHNICAL AU","currency":null,"accountno":"0111003730"},{"availableBalance":16922324.29,"formattedAmount":"16,922,324.29","bookBalance":16922324.29,"accountType":"","accountName":"FISHERIES PROTECTION STATISTICS&","currency":null,"accountno":"0111003754"},{"availableBalance":673795.84,"formattedAmount":"673,795.84","bookBalance":673795.84,"accountType":"","accountName":"FREE HEALTH CARE INITIATIVE","currency":null,"accountno":"0111003778"},{"availableBalance":66065954.89,"formattedAmount":"66,065,954.89","bookBalance":66065954.89,"accountType":"","accountName":"PRODUCE MONITORING BOARD","currency":null,"accountno":"0111003785"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"USL TEACHING HOSPITAL COMPLEX","currency":null,"accountno":"0111003840"},{"availableBalance":11031596.25,"formattedAmount":"11,031,596.25","bookBalance":11031596.25,"accountType":"","accountName":"DUTY WAIVER JOINT MNT FUND TREAS","currency":null,"accountno":"0111003857"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"PUBLIC AUCTION COMMITTE TREASURY","currency":null,"accountno":"0111003864"},{"availableBalance":3623824.03,"formattedAmount":"3,623,824.03","bookBalance":3623824.03,"accountType":"","accountName":"COMM OF INQUIRY SPECIAL RECOVERY","currency":null,"accountno":"0111003888"},{"availableBalance":-2055291.44,"formattedAmount":"-2,055,291.44","bookBalance":-2055291.44,"accountType":"","accountName":"DAILY SUBSISTENCE ALW/MED EXP AC","currency":null,"accountno":"0111003929"},{"availableBalance":3780.96,"formattedAmount":"3,780.96","bookBalance":3780.96,"accountType":"","accountName":"S/L LOCAL CONTENT DEVELOPMENT FU","currency":null,"accountno":"0111003936"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"LSS/SLPA/GOSL CARGO TRACKING","currency":null,"accountno":"0111003943"},{"availableBalance":5000000.0,"formattedAmount":"5,000,000.00","bookBalance":5000000.0,"accountType":"","accountName":"LOCAL COUNCIL DEVELOPMENT PROJEC","currency":null,"accountno":"0111003950"},{"availableBalance":205694040.46,"formattedAmount":"205,694,040.46","bookBalance":205694040.46,"accountType":"","accountName":"DEBT MANAGEMENT TREASURY","currency":null,"accountno":"0111003967"},{"availableBalance":85000.0,"formattedAmount":"85,000.00","bookBalance":85000.0,"accountType":"","accountName":"AUDIT SERVICE S/L - AUDIT FEES","currency":null,"accountno":"0111003974"},{"availableBalance":911265.54,"formattedAmount":"911,265.54","bookBalance":911265.54,"accountType":"","accountName":"NPPA-REV FROM SALE OF BIDDING DO","currency":null,"accountno":"0111003981"},{"availableBalance":20024585.14,"formattedAmount":"20,024,585.14","bookBalance":20024585.14,"accountType":"","accountName":"VEHICLE LOAN SCHEME","currency":null,"accountno":"0111004005"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SLCAA AVIATION FEES","currency":null,"accountno":"0111004012"},{"availableBalance":3326998.54,"formattedAmount":"3,326,998.54","bookBalance":3326998.54,"accountType":"","accountName":"NACOVERC LAB FEES & ENFORCE FINE","currency":null,"accountno":"0111004029"},{"availableBalance":139164.95,"formattedAmount":"139,164.95","bookBalance":139164.95,"accountType":"","accountName":"CTN FEES - FOREIGN CURRENCY","currency":null,"accountno":"0111004036"},{"availableBalance":0.01,"formattedAmount":"0.01","bookBalance":0.01,"accountType":"","accountName":"NATCOM AND BRADCORP GATEWAY REVE","currency":null,"accountno":"0111004043"},{"availableBalance":1120558.48,"formattedAmount":"1,120,558.48","bookBalance":1120558.48,"accountType":"","accountName":"NAT. WATER RESOURCES MGMT AGENCY","currency":null,"accountno":"0111004067"},{"availableBalance":2252147.11,"formattedAmount":"2,252,147.11","bookBalance":2252147.11,"accountType":"","accountName":"NaCOVERC LABORATORY FEES (USD)","currency":null,"accountno":"0111004074"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"WAGE BILL REVOLVING FUND ACCOUNT","currency":null,"accountno":"0111004098"},{"availableBalance":83069442.86,"formattedAmount":"83,069,442.86","bookBalance":83069442.86,"accountType":"","accountName":"STATE LAND SALES A/C","currency":null,"accountno":"0111004160"},{"availableBalance":59935.0,"formattedAmount":"59,935.00","bookBalance":59935.0,"accountType":"","accountName":"34 MILITARY HOSPITAL","currency":null,"accountno":"0111004201"},{"availableBalance":2206155.0,"formattedAmount":"2,206,155.00","bookBalance":2206155.0,"accountType":"","accountName":"BETTING & GAMBLING LICENCES ACCO","currency":null,"accountno":"0111004232"},{"availableBalance":34865.21,"formattedAmount":"34,865.21","bookBalance":34865.21,"accountType":"","accountName":"PAY NO BRIBE CAMPAIGN PROJECT AC","currency":null,"accountno":"0111004421"},{"availableBalance":2293395.84,"formattedAmount":"2,293,395.84","bookBalance":2293395.84,"accountType":"","accountName":"LUNGI BRIDGE FEASIBILITY STUDY(S","currency":null,"accountno":"0111004438"},{"availableBalance":17.05,"formattedAmount":"17.05","bookBalance":17.05,"accountType":"","accountName":"MOPED UNICEF PROGRAM SUPPORT A/C","currency":null,"accountno":"0111004658"},{"availableBalance":164418.88,"formattedAmount":"164,418.88","bookBalance":164418.88,"accountType":"","accountName":"NAT ELECTIONS SUSTAIN TRUST FUND","currency":null,"accountno":"0111004809"},{"availableBalance":0.79,"formattedAmount":"0.79","bookBalance":0.79,"accountType":"","accountName":"IMF SPECIAL DRAWING RIGHTS RETRO","currency":null,"accountno":"0111004847"},{"availableBalance":74814520.77,"formattedAmount":"74,814,520.77","bookBalance":74814520.77,"accountType":"","accountName":"GoSL TSA REVENUE SHARE ACCOUNT","currency":null,"accountno":"0111004878"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"DUTY WAIVER","currency":null,"accountno":"0111004885"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"IMPREST AC FOR ACC GEN DEPT","currency":null,"accountno":"0111004926"},{"availableBalance":10685160.00,"formattedAmount":"10,685,160.00","bookBalance":10685160.00,"accountType":"","accountName":"SL NATIONAL SHIPPING COMPANY ESC","currency":null,"accountno":"0111004995"},{"availableBalance":-1009872.99,"formattedAmount":"-1,009,872.99","bookBalance":-1009872.99,"accountType":"","accountName":"MINISTRY OF DEFENCE QUARTERLY","currency":null,"accountno":"0111005057"},{"availableBalance":-458150.0,"formattedAmount":"-458,150.00","bookBalance":-458150.0,"accountType":"","accountName":"SIERRA LEONE POLICE GENERAL ACCO","currency":null,"accountno":"0111005129"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"SIERRA LEONE CORRECTIONAL SERVIC","currency":null,"accountno":"0111005136"},{"availableBalance":3446.86,"formattedAmount":"3,446.86","bookBalance":3446.86,"accountType":"","accountName":"IMMIGRATION ACCOUNT","currency":null,"accountno":"0111005150"},{"availableBalance":14952799.83,"formattedAmount":"14,952,799.83","bookBalance":14952799.83,"accountType":"","accountName":"DIAGNOSTIC MEDICAL CENTRE","currency":null,"accountno":"0111005260"},{"availableBalance":6699287.89,"formattedAmount":"6,699,287.89","bookBalance":6699287.89,"accountType":"","accountName":"SALES OF AIRSTRIP LANDS","currency":null,"accountno":"0111005332"},{"availableBalance":245148.43,"formattedAmount":"245,148.43","bookBalance":245148.43,"accountType":"","accountName":"GOSL NATIONAL TREE PLANTING","currency":null,"accountno":"0111005387"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"OFFICE OF THE OMBUDSMAN DISBURSE","currency":null,"accountno":"0111005844"},{"availableBalance":9034.5,"formattedAmount":"9,034.50","bookBalance":9034.5,"accountType":"","accountName":"FERTILIZER SUPPORT FUND","currency":null,"accountno":"0111006054"},{"availableBalance":117899.95,"formattedAmount":"117,899.95","bookBalance":117899.95,"accountType":"","accountName":"TERTIARY EDUCATION COMMISSION DI","currency":null,"accountno":"0111006308"},{"availableBalance":1500000.0,"formattedAmount":"1,500,000.00","bookBalance":1500000.0,"accountType":"","accountName":"SIERRA LEONE PHARMACY BOARD DISB","currency":null,"accountno":"0111006377"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"SLMET AGRIC VAL CHA DEV PROJ (AV","currency":null,"accountno":"0111006456"},{"availableBalance":1384132.82,"formattedAmount":"1,384,132.82","bookBalance":1384132.82,"accountType":"","accountName":"DIGITAL DEVELOPMENT FUND (DDF) A","currency":null,"accountno":"0111006535"}],"code":"01","success":true,"description":"Success"}] 2025-11-21 17:13:55.3339||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 17:13:55.3459|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]]'. 2025-11-21 17:13:55.3459|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 2146.1513ms 2025-11-21 17:13:55.3459|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 17:13:55.3459|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2166.7989ms 200 application/json; charset=utf-8 2025-11-21 17:13:55.9075||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-8624381391.76","bookBalance":0.0,"accountType":null,"accountName":"AGD EXPENDITURE ACCOUNTS-GENERAL","currency":null,"accountno":"0111001279","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 17:13:55.9075||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 17:13:55.9075||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 17:13:55.9352||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 17:13:55.9409||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 17:13:55.9409||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 17:13:56.7389||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-5092566928.3","bookBalance":0.0,"accountType":null,"accountName":"AGD SALARIES AND WAGES ACCOUNT19","currency":null,"accountno":"0111001293","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 17:13:56.7389||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 17:13:56.7389||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 17:13:56.7616||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 17:13:56.7658||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 17:13:56.7658||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 17:13:57.5832||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"10547897.45","bookBalance":0.0,"accountType":null,"accountName":"ELECTRONIC FUNDS TRANS SUSPENSE","currency":null,"accountno":"SLE116030002","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 17:13:57.5887||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 17:13:57.5887||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 17:13:57.6080||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 17:13:57.6080||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 17:13:57.6080||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 17:13:58.3975||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-5092566928.3","bookBalance":0.0,"accountType":null,"accountName":"AGD SALARIES AND WAGES ACCOUNT19","currency":null,"accountno":"0111001293","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 17:13:58.4014||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 17:13:58.4014||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 17:13:58.4181||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 17:13:58.4181||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 17:13:58.4181||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 17:13:59.2178||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-88918787.83","bookBalance":0.0,"accountType":null,"accountName":"AGD PENSIONS ACCOUNTS 1998","currency":null,"accountno":"0111001310","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 17:13:59.2178||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 17:13:59.2178||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 17:13:59.2416||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 17:13:59.2508|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; 2025-11-21 17:13:59.2508|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 2025-11-21 17:13:59.2626|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' 2025-11-21 17:13:59.2626|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 17:13:59.2626|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 17:13:59.2626|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 17:13:59.2778|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 17:13:59.2778|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 17:13:59.2778|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 17:13:59.2778|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 17:13:59.2920|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 17:13:59.2920|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 17:13:59.2920|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 17:13:59.2920|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 17:13:59.3404|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]]'. 2025-11-21 17:13:59.3404|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6140.1237ms 2025-11-21 17:13:59.3404|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 17:13:59.3404|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6165.5248ms 200 application/json; charset=utf-8 2025-11-21 17:14:01.8017|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100127923 2025-11-21 17:14:01.8017|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 17:14:01.8017|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 17:14:01.8083|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2025-11-21 17:14:01.8083|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). 2025-11-21 17:14:01.8083|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 17:14:01.8083|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)) 2025-11-21 17:14:01.8083|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]]'. 2025-11-21 17:14:01.8083|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 10.2332ms 2025-11-21 17:14:01.8242|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2025-11-21 17:14:01.8242|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 25.6823ms 200 application/json; charset=utf-8 2025-11-21 17:14:03.0861|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100127923 2025-11-21 17:14:03.0898|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 17:14:03.0898|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 17:14:03.0898|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2025-11-21 17:14:03.0898|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). 2025-11-21 17:14:03.0898|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 17:14:03.0898|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)) 2025-11-21 17:14:03.1051|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]]'. 2025-11-21 17:14:03.1051|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 8.6118ms 2025-11-21 17:14:03.1051|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2025-11-21 17:14:03.1051|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 23.8917ms 200 application/json; charset=utf-8 2025-11-21 17:14:35.8048|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100492643 2025-11-21 17:14:35.8085|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 17:14:35.8085|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 17:14:35.8085|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2025-11-21 17:14:35.8085|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). 2025-11-21 17:14:35.8085|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 17:14:35.8270|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)) 2025-11-21 17:14:35.8270|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]]'. 2025-11-21 17:14:35.8270|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 9.8861ms 2025-11-21 17:14:35.8270|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2025-11-21 17:14:35.8270|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 32.6574ms 200 application/json; charset=utf-8 2025-11-21 17:14:39.9354|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 17:14:39.9354|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 17:14:39.9354|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 17:14:39.9354|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 17:14:39.9354|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 17:14:39.9354|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 17:14:39.9354|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.214ms 204 2025-11-21 17:14:39.9485|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.8145ms 204 2025-11-21 17:14:39.9485|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 16.1785ms 204 2025-11-21 17:14:39.9485|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 17:14:39.9485|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 17:14:39.9485|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 17:14:39.9485|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 17:14:39.9485|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 17:14:39.9639|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 17:14:39.9639|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 17:14:39.9639|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 17:14:39.9639|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 17:14:39.9639|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 17:14:39.9639|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 17:14:39.9639|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 17:14:39.9639|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 17:14:39.9639|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 17:14:39.9639|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 17:14:39.9639|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). 2025-11-21 17:14:39.9791|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). 2025-11-21 17:14:39.9791|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). 2025-11-21 17:14:39.9791|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 17:14:39.9791|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 17:14:39.9791||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 17:14:39.9791|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)) 2025-11-21 17:14:39.9791|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 2025-11-21 17:14:39.9981|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]]'. 2025-11-21 17:14:39.9981||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 17:14:39.9981|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 16.5997ms 2025-11-21 17:14:39.9981|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 17:14:39.9981||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 17:14:39.9981|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 50.0624ms 200 application/json; charset=utf-8 2025-11-21 17:14:39.9981||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 17:14:40.0124||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 17:14:40.0124||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 17:14:40.0277||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 17:14:40.0277||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 17:14:40.0277||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 17:14:40.0277||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 17:14:40.0277||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 17:14:41.8331||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-8624381391.76","bookBalance":0.0,"accountType":null,"accountName":"AGD EXPENDITURE ACCOUNTS-GENERAL","currency":null,"accountno":"0111001279","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 17:14:41.8379||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 17:14:41.8379||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 17:14:41.8551||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 17:14:41.8551||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 17:14:41.8551||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 17:14:41.9177||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[{"availableBalance":1008205876.55,"formattedAmount":"1,008,205,876.55","bookBalance":1008205876.55,"accountType":"","accountName":"TREASURY MAIN","currency":null,"accountno":"0111001255"},{"availableBalance":-8624381391.76,"formattedAmount":"-8,624,381,391.76","bookBalance":-8624381391.76,"accountType":"","accountName":"AGD EXPENDITURE ACCOUNTS-GENERAL","currency":null,"accountno":"0111001279"},{"availableBalance":-5092566928.3,"formattedAmount":"-5,092,566,928.30","bookBalance":-5092566928.3,"accountType":"","accountName":"AGD SALARIES AND WAGES ACCOUNT19","currency":null,"accountno":"0111001293"},{"availableBalance":-88918787.83,"formattedAmount":"-88,918,787.83","bookBalance":-88918787.83,"accountType":"","accountName":"AGD PENSIONS ACCOUNTS 1998","currency":null,"accountno":"0111001310"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"DIFD (UK) BUDGSUPPORT GRANT","currency":null,"accountno":"0111001358"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SALARY ADVANCES ACCOUNT","currency":null,"accountno":"0111001372"},{"availableBalance":5660770071.02,"formattedAmount":"5,660,770,071.02","bookBalance":5660770071.02,"accountType":"","accountName":"INCOME TAX TREAS AC","currency":null,"accountno":"0111001396"},{"availableBalance":1639971708.73,"formattedAmount":"1,639,971,708.73","bookBalance":1639971708.73,"accountType":"","accountName":"CUSTOMS AND EXCISE TREAS AC","currency":null,"accountno":"0111001413"},{"availableBalance":126840132.89,"formattedAmount":"126,840,132.89","bookBalance":126840132.89,"accountType":"","accountName":"MARINE RESOURCES TREAS AC","currency":null,"accountno":"0111001437"},{"availableBalance":1171902940.16,"formattedAmount":"1,171,902,940.16","bookBalance":1171902940.16,"accountType":"","accountName":"MINERAL RESOURCES TREAS AC","currency":null,"accountno":"0111001451"},{"availableBalance":10582481.0,"formattedAmount":"10,582,481.00","bookBalance":10582481.0,"accountType":"","accountName":"IMMIGRATION TREAS AC","currency":null,"accountno":"0111001475"},{"availableBalance":452767547.26,"formattedAmount":"452,767,547.26","bookBalance":452767547.26,"accountType":"","accountName":"GENERAL REVENUE TREAS AC","currency":null,"accountno":"0111001499"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"IMMIGRATION ESCROW ACCOUNT","currency":null,"accountno":"0111001516"},{"availableBalance":12109569.0,"formattedAmount":"12,109,569.00","bookBalance":12109569.0,"accountType":"","accountName":"ADMINISTRATOR AND REGISTRAR GENE","currency":null,"accountno":"0111001530"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"POLICE-UNCLAIMED SALARIES WAGES","currency":null,"accountno":"0111001578"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"EDU SCIENCE AND TECH-UNCLAIMED S","currency":null,"accountno":"0111001592"},{"availableBalance":2068951.32,"formattedAmount":"2,068,951.32","bookBalance":2068951.32,"accountType":"","accountName":"OTHER DEPTMINISTRIES-UNCLAIMED S","currency":null,"accountno":"0111001657"},{"availableBalance":650610335.09,"formattedAmount":"650,610,335.09","bookBalance":650610335.09,"accountType":"","accountName":"TREASURY WAYS AND MEANS ADVANCES","currency":null,"accountno":"0111001671"},{"availableBalance":990172300.0,"formattedAmount":"990,172,300.00","bookBalance":990172300.0,"accountType":"","accountName":"TREASURY BEARER BOND ACCOUNTS","currency":null,"accountno":"0111001695"},{"availableBalance":-1359921007.56,"formattedAmount":"-1,359,921,007.56","bookBalance":-1359921007.56,"accountType":"","accountName":"INTEREST ON TREASURY BEARER BOND","currency":null,"accountno":"0111001712"},{"availableBalance":-2301895609.95,"formattedAmount":"-2,301,895,609.95","bookBalance":-2301895609.95,"accountType":"","accountName":"EXTERNAL DEBT SERVICE PAYMENTS","currency":null,"accountno":"0111001736"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"KENEMA GOVT TREASURY DEPOSITS AC","currency":null,"accountno":"0111001750"},{"availableBalance":20494300.88,"formattedAmount":"20,494,300.88","bookBalance":20494300.88,"accountType":"","accountName":"HIPC TRUST FUND ACCOUNT","currency":null,"accountno":"0111001774"},{"availableBalance":-729960.98,"formattedAmount":"-729,960.98","bookBalance":-729960.98,"accountType":"","accountName":"TREASURY BILLS AC","currency":null,"accountno":"0111001839"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"OFIDSL GOV DEBT RELIEF AC","currency":null,"accountno":"0111001891"},{"availableBalance":115026697.18,"formattedAmount":"115,026,697.18","bookBalance":115026697.18,"accountType":"","accountName":"NOMINALCOST AC FOR 182-DAYS TREA","currency":null,"accountno":"0111001918"},{"availableBalance":3320175223.38,"formattedAmount":"3,320,175,223.38","bookBalance":3320175223.38,"accountType":"","accountName":"NOMINALCOST AC FOR 364-DAYS TREA","currency":null,"accountno":"0111001932"},{"availableBalance":-8559679.4,"formattedAmount":"-8,559,679.40","bookBalance":-8559679.4,"accountType":"","accountName":"COMMISSION AC FOR TREASURY BILLS","currency":null,"accountno":"0111001970"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"MIN OF FISHERIES AND MARINE RESO","currency":null,"accountno":"0111002032"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"NAT TELECOMS REVENUE ESCROW AC","currency":null,"accountno":"0111002056"},{"availableBalance":4213148.95,"formattedAmount":"4,213,148.95","bookBalance":4213148.95,"accountType":"","accountName":"SIERRA LEONE PHARMACY BOARD REVE","currency":null,"accountno":"0111002070"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SIERRA LEONE MARITIME ADMIN REVE","currency":null,"accountno":"0111002094"},{"availableBalance":13207078.86,"formattedAmount":"13,207,078.86","bookBalance":13207078.86,"accountType":"","accountName":"SLCAA FOREIGN TRAVEL TAX A/C","currency":null,"accountno":"0111002111"},{"availableBalance":2292475373.13,"formattedAmount":"2,292,475,373.13","bookBalance":2292475373.13,"accountType":"","accountName":"GOODS AND SERVICES TAX ACCOUNT","currency":null,"accountno":"0111002135"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"MARINES FINES AC","currency":null,"accountno":"0111002159"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"AFFORESTATION AC","currency":null,"accountno":"0111002197"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"NATIONAL IDENTITY CARD PROJECT E","currency":null,"accountno":"0111002252"},{"availableBalance":412398.2,"formattedAmount":"412,398.20","bookBalance":412398.2,"accountType":"","accountName":"MINISTRY OF PRESIDENTIAL AND PUB","currency":null,"accountno":"0111002276"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"JAPANESE GRANT FOR COPING WITH C","currency":null,"accountno":"0111002317"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"DIAMOND ROYALTIES AC","currency":null,"accountno":"0111002355"},{"availableBalance":11320146.22,"formattedAmount":"11,320,146.22","bookBalance":11320146.22,"accountType":"","accountName":"NON-TAX REVENUE AC","currency":null,"accountno":"0111002379"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"INT. ON 91 182 364 - DAYS TREASU","currency":null,"accountno":"0111002393"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SIERRATELEBID MODERNISATION AND","currency":null,"accountno":"0111002410"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"IMF BUDGET FINANCING TREASURY A/","currency":null,"accountno":"0111002843"},{"availableBalance":962154707.06,"formattedAmount":"962,154,707.06","bookBalance":962154707.06,"accountType":"","accountName":"PETROLEUM EXCISE DUTY ACCOUNT","currency":null,"accountno":"0111002984"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"CATASTROPHE CONTAINMENT RELIEF T","currency":null,"accountno":"0111002991"},{"availableBalance":-47389.02,"formattedAmount":"-47,389.02","bookBalance":-47389.02,"accountType":"","accountName":"INTEREST ON 91 DAYS TREASURY BIL","currency":null,"accountno":"0111003314"},{"availableBalance":-14662146.43,"formattedAmount":"-14,662,146.43","bookBalance":-14662146.43,"accountType":"","accountName":"INTEREST ON 182 DAYS TREASURY BI","currency":null,"accountno":"0111003321"},{"availableBalance":-4861882392.28,"formattedAmount":"-4,861,882,392.28","bookBalance":-4861882392.28,"accountType":"","accountName":"INTEREST ON 364 DAYS TREASURY BI","currency":null,"accountno":"0111003338"},{"availableBalance":13011149.86,"formattedAmount":"13,011,149.86","bookBalance":13011149.86,"accountType":"","accountName":"PETROLEUM REGULATORY AGENCY","currency":null,"accountno":"0111003448"},{"availableBalance":14624361.1,"formattedAmount":"14,624,361.10","bookBalance":14624361.1,"accountType":"","accountName":"PETROLEUM DIRECTORATE","currency":null,"accountno":"0111003455"},{"availableBalance":716682.0,"formattedAmount":"716,682.00","bookBalance":716682.0,"accountType":"","accountName":"ROAD MAINTENANCE FUND","currency":null,"accountno":"0111003462"},{"availableBalance":12446437.0,"formattedAmount":"12,446,437.00","bookBalance":12446437.0,"accountType":"","accountName":"ENVIRONMENTAL PROTECTION AGENCY","currency":null,"accountno":"0111003479"},{"availableBalance":2736797.72,"formattedAmount":"2,736,797.72","bookBalance":2736797.72,"accountType":"","accountName":"NATIONAL TELECOMMUNICATION COMMI","currency":null,"accountno":"0111003486"},{"availableBalance":34714514.21,"formattedAmount":"34,714,514.21","bookBalance":34714514.21,"accountType":"","accountName":"SIERRA LEONE MARITIME ADMINISTRA","currency":null,"accountno":"0111003493"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SPECIAL TAX & DUTIES","currency":null,"accountno":"0111003503"},{"availableBalance":431020263.0,"formattedAmount":"431,020,263.00","bookBalance":431020263.0,"accountType":"","accountName":"TIMBER EXPORT LEVY","currency":null,"accountno":"0111003527"},{"availableBalance":6709406.02,"formattedAmount":"6,709,406.02","bookBalance":6709406.02,"accountType":"","accountName":"AFFORESTATION AND CITIES LEVY","currency":null,"accountno":"0111003534"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"MULTI DONOR BASKET FUND FREE EDU","currency":null,"accountno":"0111003572"},{"availableBalance":622112.00,"formattedAmount":"622,112.00","bookBalance":622112.00,"accountType":"","accountName":"MULTI DONOR BASKET FUND 4 FREE E","currency":null,"accountno":"0111003596"},{"availableBalance":-10000000.00,"formattedAmount":"-10,000,000.00","bookBalance":-10000000.00,"accountType":"","accountName":"CORRUPTION REC FUNDS ACCOUNT (SL","currency":null,"accountno":"0111003637"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"CORRUPTION REC FUNDS ACCOUNT (US","currency":null,"accountno":"0111003644"},{"availableBalance":3983620.62,"formattedAmount":"3,983,620.62","bookBalance":3983620.62,"accountType":"","accountName":"SIERRA LEONE STANDARD BUREAU DIS","currency":null,"accountno":"0111003651"},{"availableBalance":2256323.84,"formattedAmount":"2,256,323.84","bookBalance":2256323.84,"accountType":"","accountName":"SIERRA LEONE ROADS SAFETY AUTHOR","currency":null,"accountno":"0111003668"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SLPA/GOSL CARGO TRACKING","currency":null,"accountno":"0111003699"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"RECO FUNDS BASED ON TECHNICAL AU","currency":null,"accountno":"0111003730"},{"availableBalance":16922324.29,"formattedAmount":"16,922,324.29","bookBalance":16922324.29,"accountType":"","accountName":"FISHERIES PROTECTION STATISTICS&","currency":null,"accountno":"0111003754"},{"availableBalance":673795.84,"formattedAmount":"673,795.84","bookBalance":673795.84,"accountType":"","accountName":"FREE HEALTH CARE INITIATIVE","currency":null,"accountno":"0111003778"},{"availableBalance":66065954.89,"formattedAmount":"66,065,954.89","bookBalance":66065954.89,"accountType":"","accountName":"PRODUCE MONITORING BOARD","currency":null,"accountno":"0111003785"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"USL TEACHING HOSPITAL COMPLEX","currency":null,"accountno":"0111003840"},{"availableBalance":11031596.25,"formattedAmount":"11,031,596.25","bookBalance":11031596.25,"accountType":"","accountName":"DUTY WAIVER JOINT MNT FUND TREAS","currency":null,"accountno":"0111003857"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"PUBLIC AUCTION COMMITTE TREASURY","currency":null,"accountno":"0111003864"},{"availableBalance":3623824.03,"formattedAmount":"3,623,824.03","bookBalance":3623824.03,"accountType":"","accountName":"COMM OF INQUIRY SPECIAL RECOVERY","currency":null,"accountno":"0111003888"},{"availableBalance":-2055291.44,"formattedAmount":"-2,055,291.44","bookBalance":-2055291.44,"accountType":"","accountName":"DAILY SUBSISTENCE ALW/MED EXP AC","currency":null,"accountno":"0111003929"},{"availableBalance":3780.96,"formattedAmount":"3,780.96","bookBalance":3780.96,"accountType":"","accountName":"S/L LOCAL CONTENT DEVELOPMENT FU","currency":null,"accountno":"0111003936"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"LSS/SLPA/GOSL CARGO TRACKING","currency":null,"accountno":"0111003943"},{"availableBalance":5000000.0,"formattedAmount":"5,000,000.00","bookBalance":5000000.0,"accountType":"","accountName":"LOCAL COUNCIL DEVELOPMENT PROJEC","currency":null,"accountno":"0111003950"},{"availableBalance":205694040.46,"formattedAmount":"205,694,040.46","bookBalance":205694040.46,"accountType":"","accountName":"DEBT MANAGEMENT TREASURY","currency":null,"accountno":"0111003967"},{"availableBalance":85000.0,"formattedAmount":"85,000.00","bookBalance":85000.0,"accountType":"","accountName":"AUDIT SERVICE S/L - AUDIT FEES","currency":null,"accountno":"0111003974"},{"availableBalance":911265.54,"formattedAmount":"911,265.54","bookBalance":911265.54,"accountType":"","accountName":"NPPA-REV FROM SALE OF BIDDING DO","currency":null,"accountno":"0111003981"},{"availableBalance":20024585.14,"formattedAmount":"20,024,585.14","bookBalance":20024585.14,"accountType":"","accountName":"VEHICLE LOAN SCHEME","currency":null,"accountno":"0111004005"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SLCAA AVIATION FEES","currency":null,"accountno":"0111004012"},{"availableBalance":3326998.54,"formattedAmount":"3,326,998.54","bookBalance":3326998.54,"accountType":"","accountName":"NACOVERC LAB FEES & ENFORCE FINE","currency":null,"accountno":"0111004029"},{"availableBalance":139164.95,"formattedAmount":"139,164.95","bookBalance":139164.95,"accountType":"","accountName":"CTN FEES - FOREIGN CURRENCY","currency":null,"accountno":"0111004036"},{"availableBalance":0.01,"formattedAmount":"0.01","bookBalance":0.01,"accountType":"","accountName":"NATCOM AND BRADCORP GATEWAY REVE","currency":null,"accountno":"0111004043"},{"availableBalance":1120558.48,"formattedAmount":"1,120,558.48","bookBalance":1120558.48,"accountType":"","accountName":"NAT. WATER RESOURCES MGMT AGENCY","currency":null,"accountno":"0111004067"},{"availableBalance":2252147.11,"formattedAmount":"2,252,147.11","bookBalance":2252147.11,"accountType":"","accountName":"NaCOVERC LABORATORY FEES (USD)","currency":null,"accountno":"0111004074"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"WAGE BILL REVOLVING FUND ACCOUNT","currency":null,"accountno":"0111004098"},{"availableBalance":83069442.86,"formattedAmount":"83,069,442.86","bookBalance":83069442.86,"accountType":"","accountName":"STATE LAND SALES A/C","currency":null,"accountno":"0111004160"},{"availableBalance":59935.0,"formattedAmount":"59,935.00","bookBalance":59935.0,"accountType":"","accountName":"34 MILITARY HOSPITAL","currency":null,"accountno":"0111004201"},{"availableBalance":2206155.0,"formattedAmount":"2,206,155.00","bookBalance":2206155.0,"accountType":"","accountName":"BETTING & GAMBLING LICENCES ACCO","currency":null,"accountno":"0111004232"},{"availableBalance":34865.21,"formattedAmount":"34,865.21","bookBalance":34865.21,"accountType":"","accountName":"PAY NO BRIBE CAMPAIGN PROJECT AC","currency":null,"accountno":"0111004421"},{"availableBalance":2293395.84,"formattedAmount":"2,293,395.84","bookBalance":2293395.84,"accountType":"","accountName":"LUNGI BRIDGE FEASIBILITY STUDY(S","currency":null,"accountno":"0111004438"},{"availableBalance":17.05,"formattedAmount":"17.05","bookBalance":17.05,"accountType":"","accountName":"MOPED UNICEF PROGRAM SUPPORT A/C","currency":null,"accountno":"0111004658"},{"availableBalance":164418.88,"formattedAmount":"164,418.88","bookBalance":164418.88,"accountType":"","accountName":"NAT ELECTIONS SUSTAIN TRUST FUND","currency":null,"accountno":"0111004809"},{"availableBalance":0.79,"formattedAmount":"0.79","bookBalance":0.79,"accountType":"","accountName":"IMF SPECIAL DRAWING RIGHTS RETRO","currency":null,"accountno":"0111004847"},{"availableBalance":74814520.77,"formattedAmount":"74,814,520.77","bookBalance":74814520.77,"accountType":"","accountName":"GoSL TSA REVENUE SHARE ACCOUNT","currency":null,"accountno":"0111004878"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"DUTY WAIVER","currency":null,"accountno":"0111004885"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"IMPREST AC FOR ACC GEN DEPT","currency":null,"accountno":"0111004926"},{"availableBalance":10685160.00,"formattedAmount":"10,685,160.00","bookBalance":10685160.00,"accountType":"","accountName":"SL NATIONAL SHIPPING COMPANY ESC","currency":null,"accountno":"0111004995"},{"availableBalance":-1009872.99,"formattedAmount":"-1,009,872.99","bookBalance":-1009872.99,"accountType":"","accountName":"MINISTRY OF DEFENCE QUARTERLY","currency":null,"accountno":"0111005057"},{"availableBalance":-458150.0,"formattedAmount":"-458,150.00","bookBalance":-458150.0,"accountType":"","accountName":"SIERRA LEONE POLICE GENERAL ACCO","currency":null,"accountno":"0111005129"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"SIERRA LEONE CORRECTIONAL SERVIC","currency":null,"accountno":"0111005136"},{"availableBalance":3446.86,"formattedAmount":"3,446.86","bookBalance":3446.86,"accountType":"","accountName":"IMMIGRATION ACCOUNT","currency":null,"accountno":"0111005150"},{"availableBalance":14952799.83,"formattedAmount":"14,952,799.83","bookBalance":14952799.83,"accountType":"","accountName":"DIAGNOSTIC MEDICAL CENTRE","currency":null,"accountno":"0111005260"},{"availableBalance":6699287.89,"formattedAmount":"6,699,287.89","bookBalance":6699287.89,"accountType":"","accountName":"SALES OF AIRSTRIP LANDS","currency":null,"accountno":"0111005332"},{"availableBalance":245148.43,"formattedAmount":"245,148.43","bookBalance":245148.43,"accountType":"","accountName":"GOSL NATIONAL TREE PLANTING","currency":null,"accountno":"0111005387"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"OFFICE OF THE OMBUDSMAN DISBURSE","currency":null,"accountno":"0111005844"},{"availableBalance":9034.5,"formattedAmount":"9,034.50","bookBalance":9034.5,"accountType":"","accountName":"FERTILIZER SUPPORT FUND","currency":null,"accountno":"0111006054"},{"availableBalance":117899.95,"formattedAmount":"117,899.95","bookBalance":117899.95,"accountType":"","accountName":"TERTIARY EDUCATION COMMISSION DI","currency":null,"accountno":"0111006308"},{"availableBalance":1500000.0,"formattedAmount":"1,500,000.00","bookBalance":1500000.0,"accountType":"","accountName":"SIERRA LEONE PHARMACY BOARD DISB","currency":null,"accountno":"0111006377"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"SLMET AGRIC VAL CHA DEV PROJ (AV","currency":null,"accountno":"0111006456"},{"availableBalance":1384132.82,"formattedAmount":"1,384,132.82","bookBalance":1384132.82,"accountType":"","accountName":"DIGITAL DEVELOPMENT FUND (DDF) A","currency":null,"accountno":"0111006535"}],"code":"01","success":true,"description":"Success"}] 2025-11-21 17:14:41.9177||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 17:14:41.9177|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]]'. 2025-11-21 17:14:41.9177|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1942.2294ms 2025-11-21 17:14:41.9177|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 17:14:41.9321|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1972.949ms 200 application/json; charset=utf-8 2025-11-21 17:14:42.6236||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-8624381391.76","bookBalance":0.0,"accountType":null,"accountName":"AGD EXPENDITURE ACCOUNTS-GENERAL","currency":null,"accountno":"0111001279","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 17:14:42.6279||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 17:14:42.6279||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 17:14:42.6463||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 17:14:42.6463||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 17:14:42.6463||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 17:14:43.4454||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-5092566928.3","bookBalance":0.0,"accountType":null,"accountName":"AGD SALARIES AND WAGES ACCOUNT19","currency":null,"accountno":"0111001293","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 17:14:43.4454||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 17:14:43.4454||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 17:14:43.4630||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 17:14:43.4630||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 17:14:43.4690||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 17:14:44.2469||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"10547897.45","bookBalance":0.0,"accountType":null,"accountName":"ELECTRONIC FUNDS TRANS SUSPENSE","currency":null,"accountno":"SLE116030002","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 17:14:44.2506||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 17:14:44.2506||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 17:14:44.2506||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 17:14:44.2676||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 17:14:44.2676||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 17:14:45.0387||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-5092566928.3","bookBalance":0.0,"accountType":null,"accountName":"AGD SALARIES AND WAGES ACCOUNT19","currency":null,"accountno":"0111001293","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 17:14:45.0387||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 17:14:45.0387||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 17:14:45.0561||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 17:14:45.0561||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 17:14:45.0625||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 17:14:45.8350||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-88918787.83","bookBalance":0.0,"accountType":null,"accountName":"AGD PENSIONS ACCOUNTS 1998","currency":null,"accountno":"0111001310","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 17:14:45.8350||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 17:14:45.8444||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 17:14:45.8444||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 17:14:45.8668|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; 2025-11-21 17:14:45.8668|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 2025-11-21 17:14:45.8746|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 17:14:45.8746|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 17:14:45.8746|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 17:14:45.8746|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 17:14:45.8746|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 17:14:45.8746|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 17:14:45.8746|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 17:14:45.8923|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 17:14:45.8923|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 17:14:45.8923|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 17:14:45.8923|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 17:14:45.8923|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 17:14:45.9357|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]]'. 2025-11-21 17:14:45.9380|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 5955.7749ms 2025-11-21 17:14:45.9380|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 17:14:45.9380|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5988.1225ms 200 application/json; charset=utf-8 2025-11-21 17:14:49.8012|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 17:14:49.8012|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 17:14:49.8012|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 17:14:49.8012|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 17:14:49.8012|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 17:14:49.8012|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 17:14:49.8012|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.7631ms 204 2025-11-21 17:14:49.8012|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.2231ms 204 2025-11-21 17:14:49.8134|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.0914ms 204 2025-11-21 17:14:49.8134|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 17:14:49.8134|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 17:14:49.8134|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 17:14:49.8134|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 17:14:49.8134|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 17:14:49.8134|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 17:14:49.8134|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 17:14:49.8134|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 17:14:49.8134|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 17:14:49.8288|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 17:14:49.8288|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 17:14:49.8288|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 17:14:49.8288|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 17:14:49.8288|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 17:14:49.8288|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 17:14:49.8288|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). 2025-11-21 17:14:49.8288|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). 2025-11-21 17:14:49.8288|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). 2025-11-21 17:14:49.8288|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 17:14:49.8288||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 17:14:49.8288|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 17:14:49.8438|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 2025-11-21 17:14:49.8438||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 17:14:49.8438|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]]'. 2025-11-21 17:14:49.8438|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)) 2025-11-21 17:14:49.8438||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 17:14:49.8438|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 13.8893ms 2025-11-21 17:14:49.8438||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 17:14:49.8438|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 17:14:49.8614|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 45.6128ms 200 application/json; charset=utf-8 2025-11-21 17:14:49.8614||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 17:14:49.8614||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 17:14:49.8760||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 17:14:49.8760||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 17:14:49.8760||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 17:14:49.8760||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 17:14:49.8760||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 17:14:50.6408||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-8624381391.76","bookBalance":0.0,"accountType":null,"accountName":"AGD EXPENDITURE ACCOUNTS-GENERAL","currency":null,"accountno":"0111001279","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 17:14:50.6408||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 17:14:50.6408||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 17:14:50.6639||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 17:14:50.6639||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 17:14:50.6639||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 17:14:51.3968||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-8624381391.76","bookBalance":0.0,"accountType":null,"accountName":"AGD EXPENDITURE ACCOUNTS-GENERAL","currency":null,"accountno":"0111001279","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 17:14:51.3968||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 17:14:51.3968||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 17:14:51.4177||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 17:14:51.4216||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 17:14:51.4216||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 17:14:52.1381||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-5092566928.3","bookBalance":0.0,"accountType":null,"accountName":"AGD SALARIES AND WAGES ACCOUNT19","currency":null,"accountno":"0111001293","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 17:14:52.1430||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 17:14:52.1430||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 17:14:52.1601||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 17:14:52.1601||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 17:14:52.1601||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 17:14:52.7603||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[{"availableBalance":1008205876.55,"formattedAmount":"1,008,205,876.55","bookBalance":1008205876.55,"accountType":"","accountName":"TREASURY MAIN","currency":null,"accountno":"0111001255"},{"availableBalance":-8624381391.76,"formattedAmount":"-8,624,381,391.76","bookBalance":-8624381391.76,"accountType":"","accountName":"AGD EXPENDITURE ACCOUNTS-GENERAL","currency":null,"accountno":"0111001279"},{"availableBalance":-5092566928.3,"formattedAmount":"-5,092,566,928.30","bookBalance":-5092566928.3,"accountType":"","accountName":"AGD SALARIES AND WAGES ACCOUNT19","currency":null,"accountno":"0111001293"},{"availableBalance":-88918787.83,"formattedAmount":"-88,918,787.83","bookBalance":-88918787.83,"accountType":"","accountName":"AGD PENSIONS ACCOUNTS 1998","currency":null,"accountno":"0111001310"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"DIFD (UK) BUDGSUPPORT GRANT","currency":null,"accountno":"0111001358"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SALARY ADVANCES ACCOUNT","currency":null,"accountno":"0111001372"},{"availableBalance":5660770071.02,"formattedAmount":"5,660,770,071.02","bookBalance":5660770071.02,"accountType":"","accountName":"INCOME TAX TREAS AC","currency":null,"accountno":"0111001396"},{"availableBalance":1639971708.73,"formattedAmount":"1,639,971,708.73","bookBalance":1639971708.73,"accountType":"","accountName":"CUSTOMS AND EXCISE TREAS AC","currency":null,"accountno":"0111001413"},{"availableBalance":126840132.89,"formattedAmount":"126,840,132.89","bookBalance":126840132.89,"accountType":"","accountName":"MARINE RESOURCES TREAS AC","currency":null,"accountno":"0111001437"},{"availableBalance":1171902940.16,"formattedAmount":"1,171,902,940.16","bookBalance":1171902940.16,"accountType":"","accountName":"MINERAL RESOURCES TREAS AC","currency":null,"accountno":"0111001451"},{"availableBalance":10582481.0,"formattedAmount":"10,582,481.00","bookBalance":10582481.0,"accountType":"","accountName":"IMMIGRATION TREAS AC","currency":null,"accountno":"0111001475"},{"availableBalance":452767547.26,"formattedAmount":"452,767,547.26","bookBalance":452767547.26,"accountType":"","accountName":"GENERAL REVENUE TREAS AC","currency":null,"accountno":"0111001499"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"IMMIGRATION ESCROW ACCOUNT","currency":null,"accountno":"0111001516"},{"availableBalance":12109569.0,"formattedAmount":"12,109,569.00","bookBalance":12109569.0,"accountType":"","accountName":"ADMINISTRATOR AND REGISTRAR GENE","currency":null,"accountno":"0111001530"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"POLICE-UNCLAIMED SALARIES WAGES","currency":null,"accountno":"0111001578"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"EDU SCIENCE AND TECH-UNCLAIMED S","currency":null,"accountno":"0111001592"},{"availableBalance":2068951.32,"formattedAmount":"2,068,951.32","bookBalance":2068951.32,"accountType":"","accountName":"OTHER DEPTMINISTRIES-UNCLAIMED S","currency":null,"accountno":"0111001657"},{"availableBalance":650610335.09,"formattedAmount":"650,610,335.09","bookBalance":650610335.09,"accountType":"","accountName":"TREASURY WAYS AND MEANS ADVANCES","currency":null,"accountno":"0111001671"},{"availableBalance":990172300.0,"formattedAmount":"990,172,300.00","bookBalance":990172300.0,"accountType":"","accountName":"TREASURY BEARER BOND ACCOUNTS","currency":null,"accountno":"0111001695"},{"availableBalance":-1359921007.56,"formattedAmount":"-1,359,921,007.56","bookBalance":-1359921007.56,"accountType":"","accountName":"INTEREST ON TREASURY BEARER BOND","currency":null,"accountno":"0111001712"},{"availableBalance":-2301895609.95,"formattedAmount":"-2,301,895,609.95","bookBalance":-2301895609.95,"accountType":"","accountName":"EXTERNAL DEBT SERVICE PAYMENTS","currency":null,"accountno":"0111001736"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"KENEMA GOVT TREASURY DEPOSITS AC","currency":null,"accountno":"0111001750"},{"availableBalance":20494300.88,"formattedAmount":"20,494,300.88","bookBalance":20494300.88,"accountType":"","accountName":"HIPC TRUST FUND ACCOUNT","currency":null,"accountno":"0111001774"},{"availableBalance":-729960.98,"formattedAmount":"-729,960.98","bookBalance":-729960.98,"accountType":"","accountName":"TREASURY BILLS AC","currency":null,"accountno":"0111001839"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"OFIDSL GOV DEBT RELIEF AC","currency":null,"accountno":"0111001891"},{"availableBalance":115026697.18,"formattedAmount":"115,026,697.18","bookBalance":115026697.18,"accountType":"","accountName":"NOMINALCOST AC FOR 182-DAYS TREA","currency":null,"accountno":"0111001918"},{"availableBalance":3320175223.38,"formattedAmount":"3,320,175,223.38","bookBalance":3320175223.38,"accountType":"","accountName":"NOMINALCOST AC FOR 364-DAYS TREA","currency":null,"accountno":"0111001932"},{"availableBalance":-8559679.4,"formattedAmount":"-8,559,679.40","bookBalance":-8559679.4,"accountType":"","accountName":"COMMISSION AC FOR TREASURY BILLS","currency":null,"accountno":"0111001970"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"MIN OF FISHERIES AND MARINE RESO","currency":null,"accountno":"0111002032"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"NAT TELECOMS REVENUE ESCROW AC","currency":null,"accountno":"0111002056"},{"availableBalance":4213148.95,"formattedAmount":"4,213,148.95","bookBalance":4213148.95,"accountType":"","accountName":"SIERRA LEONE PHARMACY BOARD REVE","currency":null,"accountno":"0111002070"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SIERRA LEONE MARITIME ADMIN REVE","currency":null,"accountno":"0111002094"},{"availableBalance":13207078.86,"formattedAmount":"13,207,078.86","bookBalance":13207078.86,"accountType":"","accountName":"SLCAA FOREIGN TRAVEL TAX A/C","currency":null,"accountno":"0111002111"},{"availableBalance":2292475373.13,"formattedAmount":"2,292,475,373.13","bookBalance":2292475373.13,"accountType":"","accountName":"GOODS AND SERVICES TAX ACCOUNT","currency":null,"accountno":"0111002135"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"MARINES FINES AC","currency":null,"accountno":"0111002159"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"AFFORESTATION AC","currency":null,"accountno":"0111002197"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"NATIONAL IDENTITY CARD PROJECT E","currency":null,"accountno":"0111002252"},{"availableBalance":412398.2,"formattedAmount":"412,398.20","bookBalance":412398.2,"accountType":"","accountName":"MINISTRY OF PRESIDENTIAL AND PUB","currency":null,"accountno":"0111002276"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"JAPANESE GRANT FOR COPING WITH C","currency":null,"accountno":"0111002317"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"DIAMOND ROYALTIES AC","currency":null,"accountno":"0111002355"},{"availableBalance":11320146.22,"formattedAmount":"11,320,146.22","bookBalance":11320146.22,"accountType":"","accountName":"NON-TAX REVENUE AC","currency":null,"accountno":"0111002379"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"INT. ON 91 182 364 - DAYS TREASU","currency":null,"accountno":"0111002393"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SIERRATELEBID MODERNISATION AND","currency":null,"accountno":"0111002410"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"IMF BUDGET FINANCING TREASURY A/","currency":null,"accountno":"0111002843"},{"availableBalance":962154707.06,"formattedAmount":"962,154,707.06","bookBalance":962154707.06,"accountType":"","accountName":"PETROLEUM EXCISE DUTY ACCOUNT","currency":null,"accountno":"0111002984"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"CATASTROPHE CONTAINMENT RELIEF T","currency":null,"accountno":"0111002991"},{"availableBalance":-47389.02,"formattedAmount":"-47,389.02","bookBalance":-47389.02,"accountType":"","accountName":"INTEREST ON 91 DAYS TREASURY BIL","currency":null,"accountno":"0111003314"},{"availableBalance":-14662146.43,"formattedAmount":"-14,662,146.43","bookBalance":-14662146.43,"accountType":"","accountName":"INTEREST ON 182 DAYS TREASURY BI","currency":null,"accountno":"0111003321"},{"availableBalance":-4861882392.28,"formattedAmount":"-4,861,882,392.28","bookBalance":-4861882392.28,"accountType":"","accountName":"INTEREST ON 364 DAYS TREASURY BI","currency":null,"accountno":"0111003338"},{"availableBalance":13011149.86,"formattedAmount":"13,011,149.86","bookBalance":13011149.86,"accountType":"","accountName":"PETROLEUM REGULATORY AGENCY","currency":null,"accountno":"0111003448"},{"availableBalance":14624361.1,"formattedAmount":"14,624,361.10","bookBalance":14624361.1,"accountType":"","accountName":"PETROLEUM DIRECTORATE","currency":null,"accountno":"0111003455"},{"availableBalance":716682.0,"formattedAmount":"716,682.00","bookBalance":716682.0,"accountType":"","accountName":"ROAD MAINTENANCE FUND","currency":null,"accountno":"0111003462"},{"availableBalance":12446437.0,"formattedAmount":"12,446,437.00","bookBalance":12446437.0,"accountType":"","accountName":"ENVIRONMENTAL PROTECTION AGENCY","currency":null,"accountno":"0111003479"},{"availableBalance":2736797.72,"formattedAmount":"2,736,797.72","bookBalance":2736797.72,"accountType":"","accountName":"NATIONAL TELECOMMUNICATION COMMI","currency":null,"accountno":"0111003486"},{"availableBalance":34714514.21,"formattedAmount":"34,714,514.21","bookBalance":34714514.21,"accountType":"","accountName":"SIERRA LEONE MARITIME ADMINISTRA","currency":null,"accountno":"0111003493"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SPECIAL TAX & DUTIES","currency":null,"accountno":"0111003503"},{"availableBalance":431020263.0,"formattedAmount":"431,020,263.00","bookBalance":431020263.0,"accountType":"","accountName":"TIMBER EXPORT LEVY","currency":null,"accountno":"0111003527"},{"availableBalance":6709406.02,"formattedAmount":"6,709,406.02","bookBalance":6709406.02,"accountType":"","accountName":"AFFORESTATION AND CITIES LEVY","currency":null,"accountno":"0111003534"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"MULTI DONOR BASKET FUND FREE EDU","currency":null,"accountno":"0111003572"},{"availableBalance":622112.00,"formattedAmount":"622,112.00","bookBalance":622112.00,"accountType":"","accountName":"MULTI DONOR BASKET FUND 4 FREE E","currency":null,"accountno":"0111003596"},{"availableBalance":-10000000.00,"formattedAmount":"-10,000,000.00","bookBalance":-10000000.00,"accountType":"","accountName":"CORRUPTION REC FUNDS ACCOUNT (SL","currency":null,"accountno":"0111003637"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"CORRUPTION REC FUNDS ACCOUNT (US","currency":null,"accountno":"0111003644"},{"availableBalance":3983620.62,"formattedAmount":"3,983,620.62","bookBalance":3983620.62,"accountType":"","accountName":"SIERRA LEONE STANDARD BUREAU DIS","currency":null,"accountno":"0111003651"},{"availableBalance":2256323.84,"formattedAmount":"2,256,323.84","bookBalance":2256323.84,"accountType":"","accountName":"SIERRA LEONE ROADS SAFETY AUTHOR","currency":null,"accountno":"0111003668"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SLPA/GOSL CARGO TRACKING","currency":null,"accountno":"0111003699"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"RECO FUNDS BASED ON TECHNICAL AU","currency":null,"accountno":"0111003730"},{"availableBalance":16922324.29,"formattedAmount":"16,922,324.29","bookBalance":16922324.29,"accountType":"","accountName":"FISHERIES PROTECTION STATISTICS&","currency":null,"accountno":"0111003754"},{"availableBalance":673795.84,"formattedAmount":"673,795.84","bookBalance":673795.84,"accountType":"","accountName":"FREE HEALTH CARE INITIATIVE","currency":null,"accountno":"0111003778"},{"availableBalance":66065954.89,"formattedAmount":"66,065,954.89","bookBalance":66065954.89,"accountType":"","accountName":"PRODUCE MONITORING BOARD","currency":null,"accountno":"0111003785"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"USL TEACHING HOSPITAL COMPLEX","currency":null,"accountno":"0111003840"},{"availableBalance":11031596.25,"formattedAmount":"11,031,596.25","bookBalance":11031596.25,"accountType":"","accountName":"DUTY WAIVER JOINT MNT FUND TREAS","currency":null,"accountno":"0111003857"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"PUBLIC AUCTION COMMITTE TREASURY","currency":null,"accountno":"0111003864"},{"availableBalance":3623824.03,"formattedAmount":"3,623,824.03","bookBalance":3623824.03,"accountType":"","accountName":"COMM OF INQUIRY SPECIAL RECOVERY","currency":null,"accountno":"0111003888"},{"availableBalance":-2055291.44,"formattedAmount":"-2,055,291.44","bookBalance":-2055291.44,"accountType":"","accountName":"DAILY SUBSISTENCE ALW/MED EXP AC","currency":null,"accountno":"0111003929"},{"availableBalance":3780.96,"formattedAmount":"3,780.96","bookBalance":3780.96,"accountType":"","accountName":"S/L LOCAL CONTENT DEVELOPMENT FU","currency":null,"accountno":"0111003936"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"LSS/SLPA/GOSL CARGO TRACKING","currency":null,"accountno":"0111003943"},{"availableBalance":5000000.0,"formattedAmount":"5,000,000.00","bookBalance":5000000.0,"accountType":"","accountName":"LOCAL COUNCIL DEVELOPMENT PROJEC","currency":null,"accountno":"0111003950"},{"availableBalance":205694040.46,"formattedAmount":"205,694,040.46","bookBalance":205694040.46,"accountType":"","accountName":"DEBT MANAGEMENT TREASURY","currency":null,"accountno":"0111003967"},{"availableBalance":85000.0,"formattedAmount":"85,000.00","bookBalance":85000.0,"accountType":"","accountName":"AUDIT SERVICE S/L - AUDIT FEES","currency":null,"accountno":"0111003974"},{"availableBalance":911265.54,"formattedAmount":"911,265.54","bookBalance":911265.54,"accountType":"","accountName":"NPPA-REV FROM SALE OF BIDDING DO","currency":null,"accountno":"0111003981"},{"availableBalance":20024585.14,"formattedAmount":"20,024,585.14","bookBalance":20024585.14,"accountType":"","accountName":"VEHICLE LOAN SCHEME","currency":null,"accountno":"0111004005"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SLCAA AVIATION FEES","currency":null,"accountno":"0111004012"},{"availableBalance":3326998.54,"formattedAmount":"3,326,998.54","bookBalance":3326998.54,"accountType":"","accountName":"NACOVERC LAB FEES & ENFORCE FINE","currency":null,"accountno":"0111004029"},{"availableBalance":139164.95,"formattedAmount":"139,164.95","bookBalance":139164.95,"accountType":"","accountName":"CTN FEES - FOREIGN CURRENCY","currency":null,"accountno":"0111004036"},{"availableBalance":0.01,"formattedAmount":"0.01","bookBalance":0.01,"accountType":"","accountName":"NATCOM AND BRADCORP GATEWAY REVE","currency":null,"accountno":"0111004043"},{"availableBalance":1120558.48,"formattedAmount":"1,120,558.48","bookBalance":1120558.48,"accountType":"","accountName":"NAT. WATER RESOURCES MGMT AGENCY","currency":null,"accountno":"0111004067"},{"availableBalance":2252147.11,"formattedAmount":"2,252,147.11","bookBalance":2252147.11,"accountType":"","accountName":"NaCOVERC LABORATORY FEES (USD)","currency":null,"accountno":"0111004074"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"WAGE BILL REVOLVING FUND ACCOUNT","currency":null,"accountno":"0111004098"},{"availableBalance":83069442.86,"formattedAmount":"83,069,442.86","bookBalance":83069442.86,"accountType":"","accountName":"STATE LAND SALES A/C","currency":null,"accountno":"0111004160"},{"availableBalance":59935.0,"formattedAmount":"59,935.00","bookBalance":59935.0,"accountType":"","accountName":"34 MILITARY HOSPITAL","currency":null,"accountno":"0111004201"},{"availableBalance":2206155.0,"formattedAmount":"2,206,155.00","bookBalance":2206155.0,"accountType":"","accountName":"BETTING & GAMBLING LICENCES ACCO","currency":null,"accountno":"0111004232"},{"availableBalance":34865.21,"formattedAmount":"34,865.21","bookBalance":34865.21,"accountType":"","accountName":"PAY NO BRIBE CAMPAIGN PROJECT AC","currency":null,"accountno":"0111004421"},{"availableBalance":2293395.84,"formattedAmount":"2,293,395.84","bookBalance":2293395.84,"accountType":"","accountName":"LUNGI BRIDGE FEASIBILITY STUDY(S","currency":null,"accountno":"0111004438"},{"availableBalance":17.05,"formattedAmount":"17.05","bookBalance":17.05,"accountType":"","accountName":"MOPED UNICEF PROGRAM SUPPORT A/C","currency":null,"accountno":"0111004658"},{"availableBalance":164418.88,"formattedAmount":"164,418.88","bookBalance":164418.88,"accountType":"","accountName":"NAT ELECTIONS SUSTAIN TRUST FUND","currency":null,"accountno":"0111004809"},{"availableBalance":0.79,"formattedAmount":"0.79","bookBalance":0.79,"accountType":"","accountName":"IMF SPECIAL DRAWING RIGHTS RETRO","currency":null,"accountno":"0111004847"},{"availableBalance":74814520.77,"formattedAmount":"74,814,520.77","bookBalance":74814520.77,"accountType":"","accountName":"GoSL TSA REVENUE SHARE ACCOUNT","currency":null,"accountno":"0111004878"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"DUTY WAIVER","currency":null,"accountno":"0111004885"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"IMPREST AC FOR ACC GEN DEPT","currency":null,"accountno":"0111004926"},{"availableBalance":10685160.00,"formattedAmount":"10,685,160.00","bookBalance":10685160.00,"accountType":"","accountName":"SL NATIONAL SHIPPING COMPANY ESC","currency":null,"accountno":"0111004995"},{"availableBalance":-1009872.99,"formattedAmount":"-1,009,872.99","bookBalance":-1009872.99,"accountType":"","accountName":"MINISTRY OF DEFENCE QUARTERLY","currency":null,"accountno":"0111005057"},{"availableBalance":-458150.0,"formattedAmount":"-458,150.00","bookBalance":-458150.0,"accountType":"","accountName":"SIERRA LEONE POLICE GENERAL ACCO","currency":null,"accountno":"0111005129"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"SIERRA LEONE CORRECTIONAL SERVIC","currency":null,"accountno":"0111005136"},{"availableBalance":3446.86,"formattedAmount":"3,446.86","bookBalance":3446.86,"accountType":"","accountName":"IMMIGRATION ACCOUNT","currency":null,"accountno":"0111005150"},{"availableBalance":14952799.83,"formattedAmount":"14,952,799.83","bookBalance":14952799.83,"accountType":"","accountName":"DIAGNOSTIC MEDICAL CENTRE","currency":null,"accountno":"0111005260"},{"availableBalance":6699287.89,"formattedAmount":"6,699,287.89","bookBalance":6699287.89,"accountType":"","accountName":"SALES OF AIRSTRIP LANDS","currency":null,"accountno":"0111005332"},{"availableBalance":245148.43,"formattedAmount":"245,148.43","bookBalance":245148.43,"accountType":"","accountName":"GOSL NATIONAL TREE PLANTING","currency":null,"accountno":"0111005387"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"OFFICE OF THE OMBUDSMAN DISBURSE","currency":null,"accountno":"0111005844"},{"availableBalance":9034.5,"formattedAmount":"9,034.50","bookBalance":9034.5,"accountType":"","accountName":"FERTILIZER SUPPORT FUND","currency":null,"accountno":"0111006054"},{"availableBalance":117899.95,"formattedAmount":"117,899.95","bookBalance":117899.95,"accountType":"","accountName":"TERTIARY EDUCATION COMMISSION DI","currency":null,"accountno":"0111006308"},{"availableBalance":1500000.0,"formattedAmount":"1,500,000.00","bookBalance":1500000.0,"accountType":"","accountName":"SIERRA LEONE PHARMACY BOARD DISB","currency":null,"accountno":"0111006377"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"SLMET AGRIC VAL CHA DEV PROJ (AV","currency":null,"accountno":"0111006456"},{"availableBalance":1384132.82,"formattedAmount":"1,384,132.82","bookBalance":1384132.82,"accountType":"","accountName":"DIGITAL DEVELOPMENT FUND (DDF) A","currency":null,"accountno":"0111006535"}],"code":"01","success":true,"description":"Success"}] 2025-11-21 17:14:52.7675||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 17:14:52.7675|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]]'. 2025-11-21 17:14:52.7675|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 2932.9353ms 2025-11-21 17:14:52.7675|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 17:14:52.7675|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2957.2955ms 200 application/json; charset=utf-8 2025-11-21 17:14:52.8683||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"10547897.45","bookBalance":0.0,"accountType":null,"accountName":"ELECTRONIC FUNDS TRANS SUSPENSE","currency":null,"accountno":"SLE116030002","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 17:14:52.8683||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 17:14:52.8777||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 17:14:52.8777||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 17:14:52.8938||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 17:14:52.8938||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 17:14:53.6327||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-5092566928.3","bookBalance":0.0,"accountType":null,"accountName":"AGD SALARIES AND WAGES ACCOUNT19","currency":null,"accountno":"0111001293","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 17:14:53.6327||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 17:14:53.6327||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 17:14:53.6533||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 17:14:53.6562||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 17:14:53.6562||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 17:14:54.4137||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-88918787.83","bookBalance":0.0,"accountType":null,"accountName":"AGD PENSIONS ACCOUNTS 1998","currency":null,"accountno":"0111001310","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 17:14:54.4137||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 17:14:54.4246||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 17:14:54.4420||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 17:14:54.4420|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; 2025-11-21 17:14:54.4574|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 2025-11-21 17:14:54.4574|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 17:14:54.4574|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 17:14:54.4574|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 17:14:54.4709|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 17:14:54.4709|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 17:14:54.4709|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 17:14:54.4846|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 17:14:54.4846|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 17:14:54.4846|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 17:14:54.4846|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 17:14:54.4846|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 17:14:54.4846|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 17:14:54.5345|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]]'. 2025-11-21 17:14:54.5345|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 4697.0581ms 2025-11-21 17:14:54.5345|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 17:14:54.5345|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4722.5236ms 200 application/json; charset=utf-8 2025-11-21 17:15:50.7051|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100492643 2025-11-21 17:15:50.7051|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 17:15:50.7051|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 17:15:50.7051|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2025-11-21 17:15:50.7051|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). 2025-11-21 17:15:50.7051|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 17:15:50.7051|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)) 2025-11-21 17:15:50.7051|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]]'. 2025-11-21 17:15:50.7191|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 6.0254ms 2025-11-21 17:15:50.7191|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2025-11-21 17:15:50.7191|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 17.3488ms 200 application/json; charset=utf-8 2025-11-21 17:15:59.0297|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100492643 2025-11-21 17:15:59.0314|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 17:15:59.0314|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 17:15:59.0314|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2025-11-21 17:15:59.0314|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). 2025-11-21 17:15:59.0314|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 17:15:59.0314|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)) 2025-11-21 17:15:59.0314|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]]'. 2025-11-21 17:15:59.0314|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 6.6821ms 2025-11-21 17:15:59.0314|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2025-11-21 17:15:59.0473|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 17.5611ms 200 application/json; charset=utf-8 2025-11-21 17:16:00.3625|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100492643 2025-11-21 17:16:00.3625|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 17:16:00.3625|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 17:16:00.3625|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2025-11-21 17:16:00.3625|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). 2025-11-21 17:16:00.3625|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 17:16:00.3750|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)) 2025-11-21 17:16:00.3750|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]]'. 2025-11-21 17:16:00.3750|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 9.0241ms 2025-11-21 17:16:00.3750|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2025-11-21 17:16:00.3750|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 21.976ms 200 application/json; charset=utf-8 2025-11-21 17:16:30.0044|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100492643 2025-11-21 17:16:30.0044|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 17:16:30.0044|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 17:16:30.0044|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2025-11-21 17:16:30.0044|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). 2025-11-21 17:16:30.0174|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 17:16:30.0174|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)) 2025-11-21 17:16:30.0174|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]]'. 2025-11-21 17:16:30.0174|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 9.9633ms 2025-11-21 17:16:30.0174|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2025-11-21 17:16:30.0313|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 26.9641ms 200 application/json; charset=utf-8 2025-11-21 17:19:49.8052|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=492 2025-11-21 17:19:49.8052|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 17:19:49.8137|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.4869ms 204 2025-11-21 17:19:49.8137|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=492 2025-11-21 17:19:49.8137|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 17:19:49.8137|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 17:19:49.8137|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 17:19:49.8137|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 17:19:49.8137|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). 2025-11-21 17:19:49.8303|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 17:19:49.8303|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)) 2025-11-21 17:19:49.8303|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]]'. 2025-11-21 17:19:49.8303|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 10.0313ms 2025-11-21 17:19:49.8303|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 17:19:49.8303|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 23.4309ms 200 application/json; charset=utf-8 2025-11-21 17:19:49.8501|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 17:19:49.8501|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 17:19:49.8501|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 17:19:49.8501|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 17:19:49.8501|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 17:19:49.8501|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 17:19:49.8608|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.6685ms 204 2025-11-21 17:19:49.8608|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.9486ms 204 2025-11-21 17:19:49.8608|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 14.6208ms 204 2025-11-21 17:19:49.8608|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 17:19:49.8608|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 17:19:49.8608|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 17:19:49.8608|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 17:19:49.8608|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 17:19:49.8770|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 17:19:49.8770|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 17:19:49.8770|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 17:19:49.8770|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 17:19:49.8770|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 17:19:49.8770|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 17:19:49.8770|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 17:19:49.8770|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 17:19:49.8770|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 17:19:49.8770|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 17:19:49.8915|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). 2025-11-21 17:19:49.8915|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). 2025-11-21 17:19:49.8915|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). 2025-11-21 17:19:49.8915|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 17:19:49.8915|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 17:19:49.8915||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 17:19:49.8915|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 2025-11-21 17:19:49.8915|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]]'. 2025-11-21 17:19:49.8915||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 17:19:49.8915|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 8.879ms 2025-11-21 17:19:49.9065||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 17:19:49.9065|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 17:19:49.9065|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 41.3717ms 200 application/json; charset=utf-8 2025-11-21 17:19:49.9065|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)) 2025-11-21 17:19:49.9065||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 17:19:49.9065||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 17:19:49.9281||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 17:19:49.9281||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 17:19:49.9281||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 17:19:49.9281||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 17:19:49.9281||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 17:19:49.9397||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 17:19:50.7639||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-8624381391.76","bookBalance":0.0,"accountType":null,"accountName":"AGD EXPENDITURE ACCOUNTS-GENERAL","currency":null,"accountno":"0111001279","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 17:19:50.7687||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 17:19:50.7687||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 17:19:50.7858||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 17:19:50.7858||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 17:19:50.7858||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 17:19:51.5700||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-8624381391.76","bookBalance":0.0,"accountType":null,"accountName":"AGD EXPENDITURE ACCOUNTS-GENERAL","currency":null,"accountno":"0111001279","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 17:19:51.5700||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 17:19:51.5700||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 17:19:51.5926||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 17:19:51.5953||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 17:19:51.5953||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 17:19:52.4222||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-5092566928.3","bookBalance":0.0,"accountType":null,"accountName":"AGD SALARIES AND WAGES ACCOUNT19","currency":null,"accountno":"0111001293","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 17:19:52.4222||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 17:19:52.4222||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 17:19:52.4450||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 17:19:52.4450||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 17:19:52.4450||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 17:19:53.2983||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[{"availableBalance":1008205876.55,"formattedAmount":"1,008,205,876.55","bookBalance":1008205876.55,"accountType":"","accountName":"TREASURY MAIN","currency":null,"accountno":"0111001255"},{"availableBalance":-8624381391.76,"formattedAmount":"-8,624,381,391.76","bookBalance":-8624381391.76,"accountType":"","accountName":"AGD EXPENDITURE ACCOUNTS-GENERAL","currency":null,"accountno":"0111001279"},{"availableBalance":-5092566928.3,"formattedAmount":"-5,092,566,928.30","bookBalance":-5092566928.3,"accountType":"","accountName":"AGD SALARIES AND WAGES ACCOUNT19","currency":null,"accountno":"0111001293"},{"availableBalance":-88918787.83,"formattedAmount":"-88,918,787.83","bookBalance":-88918787.83,"accountType":"","accountName":"AGD PENSIONS ACCOUNTS 1998","currency":null,"accountno":"0111001310"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"DIFD (UK) BUDGSUPPORT GRANT","currency":null,"accountno":"0111001358"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SALARY ADVANCES ACCOUNT","currency":null,"accountno":"0111001372"},{"availableBalance":5660770071.02,"formattedAmount":"5,660,770,071.02","bookBalance":5660770071.02,"accountType":"","accountName":"INCOME TAX TREAS AC","currency":null,"accountno":"0111001396"},{"availableBalance":1639971708.73,"formattedAmount":"1,639,971,708.73","bookBalance":1639971708.73,"accountType":"","accountName":"CUSTOMS AND EXCISE TREAS AC","currency":null,"accountno":"0111001413"},{"availableBalance":126840132.89,"formattedAmount":"126,840,132.89","bookBalance":126840132.89,"accountType":"","accountName":"MARINE RESOURCES TREAS AC","currency":null,"accountno":"0111001437"},{"availableBalance":1171902940.16,"formattedAmount":"1,171,902,940.16","bookBalance":1171902940.16,"accountType":"","accountName":"MINERAL RESOURCES TREAS AC","currency":null,"accountno":"0111001451"},{"availableBalance":10582481.0,"formattedAmount":"10,582,481.00","bookBalance":10582481.0,"accountType":"","accountName":"IMMIGRATION TREAS AC","currency":null,"accountno":"0111001475"},{"availableBalance":452767547.26,"formattedAmount":"452,767,547.26","bookBalance":452767547.26,"accountType":"","accountName":"GENERAL REVENUE TREAS AC","currency":null,"accountno":"0111001499"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"IMMIGRATION ESCROW ACCOUNT","currency":null,"accountno":"0111001516"},{"availableBalance":12109569.0,"formattedAmount":"12,109,569.00","bookBalance":12109569.0,"accountType":"","accountName":"ADMINISTRATOR AND REGISTRAR GENE","currency":null,"accountno":"0111001530"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"POLICE-UNCLAIMED SALARIES WAGES","currency":null,"accountno":"0111001578"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"EDU SCIENCE AND TECH-UNCLAIMED S","currency":null,"accountno":"0111001592"},{"availableBalance":2068951.32,"formattedAmount":"2,068,951.32","bookBalance":2068951.32,"accountType":"","accountName":"OTHER DEPTMINISTRIES-UNCLAIMED S","currency":null,"accountno":"0111001657"},{"availableBalance":650610335.09,"formattedAmount":"650,610,335.09","bookBalance":650610335.09,"accountType":"","accountName":"TREASURY WAYS AND MEANS ADVANCES","currency":null,"accountno":"0111001671"},{"availableBalance":990172300.0,"formattedAmount":"990,172,300.00","bookBalance":990172300.0,"accountType":"","accountName":"TREASURY BEARER BOND ACCOUNTS","currency":null,"accountno":"0111001695"},{"availableBalance":-1359921007.56,"formattedAmount":"-1,359,921,007.56","bookBalance":-1359921007.56,"accountType":"","accountName":"INTEREST ON TREASURY BEARER BOND","currency":null,"accountno":"0111001712"},{"availableBalance":-2301895609.95,"formattedAmount":"-2,301,895,609.95","bookBalance":-2301895609.95,"accountType":"","accountName":"EXTERNAL DEBT SERVICE PAYMENTS","currency":null,"accountno":"0111001736"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"KENEMA GOVT TREASURY DEPOSITS AC","currency":null,"accountno":"0111001750"},{"availableBalance":20494300.88,"formattedAmount":"20,494,300.88","bookBalance":20494300.88,"accountType":"","accountName":"HIPC TRUST FUND ACCOUNT","currency":null,"accountno":"0111001774"},{"availableBalance":-729960.98,"formattedAmount":"-729,960.98","bookBalance":-729960.98,"accountType":"","accountName":"TREASURY BILLS AC","currency":null,"accountno":"0111001839"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"OFIDSL GOV DEBT RELIEF AC","currency":null,"accountno":"0111001891"},{"availableBalance":115026697.18,"formattedAmount":"115,026,697.18","bookBalance":115026697.18,"accountType":"","accountName":"NOMINALCOST AC FOR 182-DAYS TREA","currency":null,"accountno":"0111001918"},{"availableBalance":3320175223.38,"formattedAmount":"3,320,175,223.38","bookBalance":3320175223.38,"accountType":"","accountName":"NOMINALCOST AC FOR 364-DAYS TREA","currency":null,"accountno":"0111001932"},{"availableBalance":-8559679.4,"formattedAmount":"-8,559,679.40","bookBalance":-8559679.4,"accountType":"","accountName":"COMMISSION AC FOR TREASURY BILLS","currency":null,"accountno":"0111001970"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"MIN OF FISHERIES AND MARINE RESO","currency":null,"accountno":"0111002032"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"NAT TELECOMS REVENUE ESCROW AC","currency":null,"accountno":"0111002056"},{"availableBalance":4213148.95,"formattedAmount":"4,213,148.95","bookBalance":4213148.95,"accountType":"","accountName":"SIERRA LEONE PHARMACY BOARD REVE","currency":null,"accountno":"0111002070"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SIERRA LEONE MARITIME ADMIN REVE","currency":null,"accountno":"0111002094"},{"availableBalance":13207078.86,"formattedAmount":"13,207,078.86","bookBalance":13207078.86,"accountType":"","accountName":"SLCAA FOREIGN TRAVEL TAX A/C","currency":null,"accountno":"0111002111"},{"availableBalance":2292475373.13,"formattedAmount":"2,292,475,373.13","bookBalance":2292475373.13,"accountType":"","accountName":"GOODS AND SERVICES TAX ACCOUNT","currency":null,"accountno":"0111002135"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"MARINES FINES AC","currency":null,"accountno":"0111002159"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"AFFORESTATION AC","currency":null,"accountno":"0111002197"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"NATIONAL IDENTITY CARD PROJECT E","currency":null,"accountno":"0111002252"},{"availableBalance":412398.2,"formattedAmount":"412,398.20","bookBalance":412398.2,"accountType":"","accountName":"MINISTRY OF PRESIDENTIAL AND PUB","currency":null,"accountno":"0111002276"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"JAPANESE GRANT FOR COPING WITH C","currency":null,"accountno":"0111002317"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"DIAMOND ROYALTIES AC","currency":null,"accountno":"0111002355"},{"availableBalance":11320146.22,"formattedAmount":"11,320,146.22","bookBalance":11320146.22,"accountType":"","accountName":"NON-TAX REVENUE AC","currency":null,"accountno":"0111002379"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"INT. ON 91 182 364 - DAYS TREASU","currency":null,"accountno":"0111002393"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SIERRATELEBID MODERNISATION AND","currency":null,"accountno":"0111002410"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"IMF BUDGET FINANCING TREASURY A/","currency":null,"accountno":"0111002843"},{"availableBalance":962154707.06,"formattedAmount":"962,154,707.06","bookBalance":962154707.06,"accountType":"","accountName":"PETROLEUM EXCISE DUTY ACCOUNT","currency":null,"accountno":"0111002984"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"CATASTROPHE CONTAINMENT RELIEF T","currency":null,"accountno":"0111002991"},{"availableBalance":-47389.02,"formattedAmount":"-47,389.02","bookBalance":-47389.02,"accountType":"","accountName":"INTEREST ON 91 DAYS TREASURY BIL","currency":null,"accountno":"0111003314"},{"availableBalance":-14662146.43,"formattedAmount":"-14,662,146.43","bookBalance":-14662146.43,"accountType":"","accountName":"INTEREST ON 182 DAYS TREASURY BI","currency":null,"accountno":"0111003321"},{"availableBalance":-4861882392.28,"formattedAmount":"-4,861,882,392.28","bookBalance":-4861882392.28,"accountType":"","accountName":"INTEREST ON 364 DAYS TREASURY BI","currency":null,"accountno":"0111003338"},{"availableBalance":13011149.86,"formattedAmount":"13,011,149.86","bookBalance":13011149.86,"accountType":"","accountName":"PETROLEUM REGULATORY AGENCY","currency":null,"accountno":"0111003448"},{"availableBalance":14624361.1,"formattedAmount":"14,624,361.10","bookBalance":14624361.1,"accountType":"","accountName":"PETROLEUM DIRECTORATE","currency":null,"accountno":"0111003455"},{"availableBalance":716682.0,"formattedAmount":"716,682.00","bookBalance":716682.0,"accountType":"","accountName":"ROAD MAINTENANCE FUND","currency":null,"accountno":"0111003462"},{"availableBalance":12446437.0,"formattedAmount":"12,446,437.00","bookBalance":12446437.0,"accountType":"","accountName":"ENVIRONMENTAL PROTECTION AGENCY","currency":null,"accountno":"0111003479"},{"availableBalance":2736797.72,"formattedAmount":"2,736,797.72","bookBalance":2736797.72,"accountType":"","accountName":"NATIONAL TELECOMMUNICATION COMMI","currency":null,"accountno":"0111003486"},{"availableBalance":34714514.21,"formattedAmount":"34,714,514.21","bookBalance":34714514.21,"accountType":"","accountName":"SIERRA LEONE MARITIME ADMINISTRA","currency":null,"accountno":"0111003493"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SPECIAL TAX & DUTIES","currency":null,"accountno":"0111003503"},{"availableBalance":431020263.0,"formattedAmount":"431,020,263.00","bookBalance":431020263.0,"accountType":"","accountName":"TIMBER EXPORT LEVY","currency":null,"accountno":"0111003527"},{"availableBalance":6709406.02,"formattedAmount":"6,709,406.02","bookBalance":6709406.02,"accountType":"","accountName":"AFFORESTATION AND CITIES LEVY","currency":null,"accountno":"0111003534"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"MULTI DONOR BASKET FUND FREE EDU","currency":null,"accountno":"0111003572"},{"availableBalance":622112.00,"formattedAmount":"622,112.00","bookBalance":622112.00,"accountType":"","accountName":"MULTI DONOR BASKET FUND 4 FREE E","currency":null,"accountno":"0111003596"},{"availableBalance":-10000000.00,"formattedAmount":"-10,000,000.00","bookBalance":-10000000.00,"accountType":"","accountName":"CORRUPTION REC FUNDS ACCOUNT (SL","currency":null,"accountno":"0111003637"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"CORRUPTION REC FUNDS ACCOUNT (US","currency":null,"accountno":"0111003644"},{"availableBalance":3983620.62,"formattedAmount":"3,983,620.62","bookBalance":3983620.62,"accountType":"","accountName":"SIERRA LEONE STANDARD BUREAU DIS","currency":null,"accountno":"0111003651"},{"availableBalance":2256323.84,"formattedAmount":"2,256,323.84","bookBalance":2256323.84,"accountType":"","accountName":"SIERRA LEONE ROADS SAFETY AUTHOR","currency":null,"accountno":"0111003668"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SLPA/GOSL CARGO TRACKING","currency":null,"accountno":"0111003699"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"RECO FUNDS BASED ON TECHNICAL AU","currency":null,"accountno":"0111003730"},{"availableBalance":16922324.29,"formattedAmount":"16,922,324.29","bookBalance":16922324.29,"accountType":"","accountName":"FISHERIES PROTECTION STATISTICS&","currency":null,"accountno":"0111003754"},{"availableBalance":673795.84,"formattedAmount":"673,795.84","bookBalance":673795.84,"accountType":"","accountName":"FREE HEALTH CARE INITIATIVE","currency":null,"accountno":"0111003778"},{"availableBalance":66065954.89,"formattedAmount":"66,065,954.89","bookBalance":66065954.89,"accountType":"","accountName":"PRODUCE MONITORING BOARD","currency":null,"accountno":"0111003785"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"USL TEACHING HOSPITAL COMPLEX","currency":null,"accountno":"0111003840"},{"availableBalance":11031596.25,"formattedAmount":"11,031,596.25","bookBalance":11031596.25,"accountType":"","accountName":"DUTY WAIVER JOINT MNT FUND TREAS","currency":null,"accountno":"0111003857"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"PUBLIC AUCTION COMMITTE TREASURY","currency":null,"accountno":"0111003864"},{"availableBalance":3623824.03,"formattedAmount":"3,623,824.03","bookBalance":3623824.03,"accountType":"","accountName":"COMM OF INQUIRY SPECIAL RECOVERY","currency":null,"accountno":"0111003888"},{"availableBalance":-2055291.44,"formattedAmount":"-2,055,291.44","bookBalance":-2055291.44,"accountType":"","accountName":"DAILY SUBSISTENCE ALW/MED EXP AC","currency":null,"accountno":"0111003929"},{"availableBalance":3780.96,"formattedAmount":"3,780.96","bookBalance":3780.96,"accountType":"","accountName":"S/L LOCAL CONTENT DEVELOPMENT FU","currency":null,"accountno":"0111003936"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"LSS/SLPA/GOSL CARGO TRACKING","currency":null,"accountno":"0111003943"},{"availableBalance":5000000.0,"formattedAmount":"5,000,000.00","bookBalance":5000000.0,"accountType":"","accountName":"LOCAL COUNCIL DEVELOPMENT PROJEC","currency":null,"accountno":"0111003950"},{"availableBalance":205694040.46,"formattedAmount":"205,694,040.46","bookBalance":205694040.46,"accountType":"","accountName":"DEBT MANAGEMENT TREASURY","currency":null,"accountno":"0111003967"},{"availableBalance":85000.0,"formattedAmount":"85,000.00","bookBalance":85000.0,"accountType":"","accountName":"AUDIT SERVICE S/L - AUDIT FEES","currency":null,"accountno":"0111003974"},{"availableBalance":911265.54,"formattedAmount":"911,265.54","bookBalance":911265.54,"accountType":"","accountName":"NPPA-REV FROM SALE OF BIDDING DO","currency":null,"accountno":"0111003981"},{"availableBalance":20024585.14,"formattedAmount":"20,024,585.14","bookBalance":20024585.14,"accountType":"","accountName":"VEHICLE LOAN SCHEME","currency":null,"accountno":"0111004005"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SLCAA AVIATION FEES","currency":null,"accountno":"0111004012"},{"availableBalance":3326998.54,"formattedAmount":"3,326,998.54","bookBalance":3326998.54,"accountType":"","accountName":"NACOVERC LAB FEES & ENFORCE FINE","currency":null,"accountno":"0111004029"},{"availableBalance":139164.95,"formattedAmount":"139,164.95","bookBalance":139164.95,"accountType":"","accountName":"CTN FEES - FOREIGN CURRENCY","currency":null,"accountno":"0111004036"},{"availableBalance":0.01,"formattedAmount":"0.01","bookBalance":0.01,"accountType":"","accountName":"NATCOM AND BRADCORP GATEWAY REVE","currency":null,"accountno":"0111004043"},{"availableBalance":1120558.48,"formattedAmount":"1,120,558.48","bookBalance":1120558.48,"accountType":"","accountName":"NAT. WATER RESOURCES MGMT AGENCY","currency":null,"accountno":"0111004067"},{"availableBalance":2252147.11,"formattedAmount":"2,252,147.11","bookBalance":2252147.11,"accountType":"","accountName":"NaCOVERC LABORATORY FEES (USD)","currency":null,"accountno":"0111004074"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"WAGE BILL REVOLVING FUND ACCOUNT","currency":null,"accountno":"0111004098"},{"availableBalance":83069442.86,"formattedAmount":"83,069,442.86","bookBalance":83069442.86,"accountType":"","accountName":"STATE LAND SALES A/C","currency":null,"accountno":"0111004160"},{"availableBalance":59935.0,"formattedAmount":"59,935.00","bookBalance":59935.0,"accountType":"","accountName":"34 MILITARY HOSPITAL","currency":null,"accountno":"0111004201"},{"availableBalance":2206155.0,"formattedAmount":"2,206,155.00","bookBalance":2206155.0,"accountType":"","accountName":"BETTING & GAMBLING LICENCES ACCO","currency":null,"accountno":"0111004232"},{"availableBalance":34865.21,"formattedAmount":"34,865.21","bookBalance":34865.21,"accountType":"","accountName":"PAY NO BRIBE CAMPAIGN PROJECT AC","currency":null,"accountno":"0111004421"},{"availableBalance":2293395.84,"formattedAmount":"2,293,395.84","bookBalance":2293395.84,"accountType":"","accountName":"LUNGI BRIDGE FEASIBILITY STUDY(S","currency":null,"accountno":"0111004438"},{"availableBalance":17.05,"formattedAmount":"17.05","bookBalance":17.05,"accountType":"","accountName":"MOPED UNICEF PROGRAM SUPPORT A/C","currency":null,"accountno":"0111004658"},{"availableBalance":164418.88,"formattedAmount":"164,418.88","bookBalance":164418.88,"accountType":"","accountName":"NAT ELECTIONS SUSTAIN TRUST FUND","currency":null,"accountno":"0111004809"},{"availableBalance":0.79,"formattedAmount":"0.79","bookBalance":0.79,"accountType":"","accountName":"IMF SPECIAL DRAWING RIGHTS RETRO","currency":null,"accountno":"0111004847"},{"availableBalance":74814520.77,"formattedAmount":"74,814,520.77","bookBalance":74814520.77,"accountType":"","accountName":"GoSL TSA REVENUE SHARE ACCOUNT","currency":null,"accountno":"0111004878"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"DUTY WAIVER","currency":null,"accountno":"0111004885"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"IMPREST AC FOR ACC GEN DEPT","currency":null,"accountno":"0111004926"},{"availableBalance":10685160.00,"formattedAmount":"10,685,160.00","bookBalance":10685160.00,"accountType":"","accountName":"SL NATIONAL SHIPPING COMPANY ESC","currency":null,"accountno":"0111004995"},{"availableBalance":-1009872.99,"formattedAmount":"-1,009,872.99","bookBalance":-1009872.99,"accountType":"","accountName":"MINISTRY OF DEFENCE QUARTERLY","currency":null,"accountno":"0111005057"},{"availableBalance":-458150.0,"formattedAmount":"-458,150.00","bookBalance":-458150.0,"accountType":"","accountName":"SIERRA LEONE POLICE GENERAL ACCO","currency":null,"accountno":"0111005129"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"SIERRA LEONE CORRECTIONAL SERVIC","currency":null,"accountno":"0111005136"},{"availableBalance":3446.86,"formattedAmount":"3,446.86","bookBalance":3446.86,"accountType":"","accountName":"IMMIGRATION ACCOUNT","currency":null,"accountno":"0111005150"},{"availableBalance":14952799.83,"formattedAmount":"14,952,799.83","bookBalance":14952799.83,"accountType":"","accountName":"DIAGNOSTIC MEDICAL CENTRE","currency":null,"accountno":"0111005260"},{"availableBalance":6699287.89,"formattedAmount":"6,699,287.89","bookBalance":6699287.89,"accountType":"","accountName":"SALES OF AIRSTRIP LANDS","currency":null,"accountno":"0111005332"},{"availableBalance":245148.43,"formattedAmount":"245,148.43","bookBalance":245148.43,"accountType":"","accountName":"GOSL NATIONAL TREE PLANTING","currency":null,"accountno":"0111005387"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"OFFICE OF THE OMBUDSMAN DISBURSE","currency":null,"accountno":"0111005844"},{"availableBalance":9034.5,"formattedAmount":"9,034.50","bookBalance":9034.5,"accountType":"","accountName":"FERTILIZER SUPPORT FUND","currency":null,"accountno":"0111006054"},{"availableBalance":117899.95,"formattedAmount":"117,899.95","bookBalance":117899.95,"accountType":"","accountName":"TERTIARY EDUCATION COMMISSION DI","currency":null,"accountno":"0111006308"},{"availableBalance":1500000.0,"formattedAmount":"1,500,000.00","bookBalance":1500000.0,"accountType":"","accountName":"SIERRA LEONE PHARMACY BOARD DISB","currency":null,"accountno":"0111006377"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"SLMET AGRIC VAL CHA DEV PROJ (AV","currency":null,"accountno":"0111006456"},{"availableBalance":1384132.82,"formattedAmount":"1,384,132.82","bookBalance":1384132.82,"accountType":"","accountName":"DIGITAL DEVELOPMENT FUND (DDF) A","currency":null,"accountno":"0111006535"}],"code":"01","success":true,"description":"Success"}] 2025-11-21 17:19:53.2983||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"10547897.45","bookBalance":0.0,"accountType":null,"accountName":"ELECTRONIC FUNDS TRANS SUSPENSE","currency":null,"accountno":"SLE116030002","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 17:19:53.2983||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 17:19:53.2983||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 17:19:53.2983|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]]'. 2025-11-21 17:19:53.2983||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 17:19:53.2983|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 3410.4848ms 2025-11-21 17:19:53.2983|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 17:19:53.3129|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 3440.6741ms 200 application/json; charset=utf-8 2025-11-21 17:19:53.3129||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 17:19:53.3129||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 17:19:53.3129||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 17:19:54.1612||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-5092566928.3","bookBalance":0.0,"accountType":null,"accountName":"AGD SALARIES AND WAGES ACCOUNT19","currency":null,"accountno":"0111001293","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 17:19:54.1612||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 17:19:54.1612||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 17:19:54.1831||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 17:19:54.1831||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 17:19:54.1878||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 17:19:54.9548||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-88918787.83","bookBalance":0.0,"accountType":null,"accountName":"AGD PENSIONS ACCOUNTS 1998","currency":null,"accountno":"0111001310","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 17:19:54.9548||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 17:19:54.9548||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 17:19:54.9756||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 17:19:54.9756|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; 2025-11-21 17:19:54.9891|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 2025-11-21 17:19:54.9891|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 17:19:54.9891|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 17:19:54.9891|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 17:19:55.0018|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 17:19:55.0018|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 17:19:55.0018|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 17:19:55.0018|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 17:19:55.0018|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 17:19:55.0178|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 17:19:55.0178|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 17:19:55.0178|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 17:19:55.0178|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 17:19:55.0787|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]]'. 2025-11-21 17:19:55.0787|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 5183.9578ms 2025-11-21 17:19:55.0787|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 17:19:55.0787|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5214.104ms 200 application/json; charset=utf-8 2025-11-21 17:25:52.0029|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=495 2025-11-21 17:25:52.0029|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 17:25:52.0029|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.4649ms 204 2025-11-21 17:25:52.0174|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=495 2025-11-21 17:25:52.0174|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 17:25:52.0174|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 17:25:52.0174|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 17:25:52.0308|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 17:25:52.0308|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). 2025-11-21 17:25:52.0308|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 17:25:52.0308|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 17:25:52.0308|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 17:25:52.0308|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 17:25:52.0308|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 17:25:52.0455|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 17:25:52.0455|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 17:25:52.0455|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 17.2338ms 204 2025-11-21 17:25:52.0455|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 18.8256ms 204 2025-11-21 17:25:52.0631|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 17:25:52.0631|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)) 2025-11-21 17:25:52.0631|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 17:25:52.0455|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 21.2844ms 204 2025-11-21 17:25:52.0631|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 17:25:52.0631|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]]'. 2025-11-21 17:25:52.0780|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 17:25:52.0780|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 17:25:52.0780|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 17:25:52.0780|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 51.8038ms 2025-11-21 17:25:52.0926|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 17:25:52.0926|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 17:25:52.0926|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 17:25:52.0926|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 17:25:52.0926|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 17:25:52.0926|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 17:25:52.0926|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 17:25:52.0926|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 87.5876ms 200 application/json; charset=utf-8 2025-11-21 17:25:52.0926|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 17:25:52.1078|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 17:25:52.1078|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). 2025-11-21 17:25:52.1078|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). 2025-11-21 17:25:52.1078|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 17:25:52.1078|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 17:25:52.1078||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 17:25:52.1078|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). 2025-11-21 17:25:52.1232|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)) 2025-11-21 17:25:52.1232|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 17:25:52.1232|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 2025-11-21 17:25:52.1232|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]]'. 2025-11-21 17:25:52.1232|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 7.989ms 2025-11-21 17:25:52.1232|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 17:25:52.1232|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 52.7053ms 200 application/json; charset=utf-8 2025-11-21 17:25:52.1232||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 17:25:52.1397||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 17:25:52.1397||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 17:25:52.1397||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 17:25:52.1648||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 17:25:52.1702||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 17:25:52.1702||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 17:25:52.1702||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 17:25:52.1702||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 17:25:52.1702||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 17:25:53.0589||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-8624381391.76","bookBalance":0.0,"accountType":null,"accountName":"AGD EXPENDITURE ACCOUNTS-GENERAL","currency":null,"accountno":"0111001279","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 17:25:53.0630||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 17:25:53.0630||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 17:25:53.0797||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 17:25:53.0797||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 17:25:53.0797||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 17:25:53.8892||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-8624381391.76","bookBalance":0.0,"accountType":null,"accountName":"AGD EXPENDITURE ACCOUNTS-GENERAL","currency":null,"accountno":"0111001279","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 17:25:53.8892||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 17:25:53.8892||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 17:25:53.9110||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 17:25:53.9110||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 17:25:53.9110||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 17:25:54.6802||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-5092566928.3","bookBalance":0.0,"accountType":null,"accountName":"AGD SALARIES AND WAGES ACCOUNT19","currency":null,"accountno":"0111001293","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 17:25:54.6859||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 17:25:54.6859||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 17:25:54.7065||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 17:25:54.7065||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 17:25:54.7165||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 17:25:55.3168||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[{"availableBalance":1008205876.55,"formattedAmount":"1,008,205,876.55","bookBalance":1008205876.55,"accountType":"","accountName":"TREASURY MAIN","currency":null,"accountno":"0111001255"},{"availableBalance":-8624381391.76,"formattedAmount":"-8,624,381,391.76","bookBalance":-8624381391.76,"accountType":"","accountName":"AGD EXPENDITURE ACCOUNTS-GENERAL","currency":null,"accountno":"0111001279"},{"availableBalance":-5092566928.3,"formattedAmount":"-5,092,566,928.30","bookBalance":-5092566928.3,"accountType":"","accountName":"AGD SALARIES AND WAGES ACCOUNT19","currency":null,"accountno":"0111001293"},{"availableBalance":-88918787.83,"formattedAmount":"-88,918,787.83","bookBalance":-88918787.83,"accountType":"","accountName":"AGD PENSIONS ACCOUNTS 1998","currency":null,"accountno":"0111001310"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"DIFD (UK) BUDGSUPPORT GRANT","currency":null,"accountno":"0111001358"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SALARY ADVANCES ACCOUNT","currency":null,"accountno":"0111001372"},{"availableBalance":5660770071.02,"formattedAmount":"5,660,770,071.02","bookBalance":5660770071.02,"accountType":"","accountName":"INCOME TAX TREAS AC","currency":null,"accountno":"0111001396"},{"availableBalance":1639971708.73,"formattedAmount":"1,639,971,708.73","bookBalance":1639971708.73,"accountType":"","accountName":"CUSTOMS AND EXCISE TREAS AC","currency":null,"accountno":"0111001413"},{"availableBalance":126840132.89,"formattedAmount":"126,840,132.89","bookBalance":126840132.89,"accountType":"","accountName":"MARINE RESOURCES TREAS AC","currency":null,"accountno":"0111001437"},{"availableBalance":1171902940.16,"formattedAmount":"1,171,902,940.16","bookBalance":1171902940.16,"accountType":"","accountName":"MINERAL RESOURCES TREAS AC","currency":null,"accountno":"0111001451"},{"availableBalance":10582481.0,"formattedAmount":"10,582,481.00","bookBalance":10582481.0,"accountType":"","accountName":"IMMIGRATION TREAS AC","currency":null,"accountno":"0111001475"},{"availableBalance":452767547.26,"formattedAmount":"452,767,547.26","bookBalance":452767547.26,"accountType":"","accountName":"GENERAL REVENUE TREAS AC","currency":null,"accountno":"0111001499"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"IMMIGRATION ESCROW ACCOUNT","currency":null,"accountno":"0111001516"},{"availableBalance":12109569.0,"formattedAmount":"12,109,569.00","bookBalance":12109569.0,"accountType":"","accountName":"ADMINISTRATOR AND REGISTRAR GENE","currency":null,"accountno":"0111001530"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"POLICE-UNCLAIMED SALARIES WAGES","currency":null,"accountno":"0111001578"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"EDU SCIENCE AND TECH-UNCLAIMED S","currency":null,"accountno":"0111001592"},{"availableBalance":2068951.32,"formattedAmount":"2,068,951.32","bookBalance":2068951.32,"accountType":"","accountName":"OTHER DEPTMINISTRIES-UNCLAIMED S","currency":null,"accountno":"0111001657"},{"availableBalance":650610335.09,"formattedAmount":"650,610,335.09","bookBalance":650610335.09,"accountType":"","accountName":"TREASURY WAYS AND MEANS ADVANCES","currency":null,"accountno":"0111001671"},{"availableBalance":990172300.0,"formattedAmount":"990,172,300.00","bookBalance":990172300.0,"accountType":"","accountName":"TREASURY BEARER BOND ACCOUNTS","currency":null,"accountno":"0111001695"},{"availableBalance":-1359921007.56,"formattedAmount":"-1,359,921,007.56","bookBalance":-1359921007.56,"accountType":"","accountName":"INTEREST ON TREASURY BEARER BOND","currency":null,"accountno":"0111001712"},{"availableBalance":-2301895609.95,"formattedAmount":"-2,301,895,609.95","bookBalance":-2301895609.95,"accountType":"","accountName":"EXTERNAL DEBT SERVICE PAYMENTS","currency":null,"accountno":"0111001736"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"KENEMA GOVT TREASURY DEPOSITS AC","currency":null,"accountno":"0111001750"},{"availableBalance":20494300.88,"formattedAmount":"20,494,300.88","bookBalance":20494300.88,"accountType":"","accountName":"HIPC TRUST FUND ACCOUNT","currency":null,"accountno":"0111001774"},{"availableBalance":-729960.98,"formattedAmount":"-729,960.98","bookBalance":-729960.98,"accountType":"","accountName":"TREASURY BILLS AC","currency":null,"accountno":"0111001839"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"OFIDSL GOV DEBT RELIEF AC","currency":null,"accountno":"0111001891"},{"availableBalance":115026697.18,"formattedAmount":"115,026,697.18","bookBalance":115026697.18,"accountType":"","accountName":"NOMINALCOST AC FOR 182-DAYS TREA","currency":null,"accountno":"0111001918"},{"availableBalance":3320175223.38,"formattedAmount":"3,320,175,223.38","bookBalance":3320175223.38,"accountType":"","accountName":"NOMINALCOST AC FOR 364-DAYS TREA","currency":null,"accountno":"0111001932"},{"availableBalance":-8559679.4,"formattedAmount":"-8,559,679.40","bookBalance":-8559679.4,"accountType":"","accountName":"COMMISSION AC FOR TREASURY BILLS","currency":null,"accountno":"0111001970"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"MIN OF FISHERIES AND MARINE RESO","currency":null,"accountno":"0111002032"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"NAT TELECOMS REVENUE ESCROW AC","currency":null,"accountno":"0111002056"},{"availableBalance":4213148.95,"formattedAmount":"4,213,148.95","bookBalance":4213148.95,"accountType":"","accountName":"SIERRA LEONE PHARMACY BOARD REVE","currency":null,"accountno":"0111002070"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SIERRA LEONE MARITIME ADMIN REVE","currency":null,"accountno":"0111002094"},{"availableBalance":13207078.86,"formattedAmount":"13,207,078.86","bookBalance":13207078.86,"accountType":"","accountName":"SLCAA FOREIGN TRAVEL TAX A/C","currency":null,"accountno":"0111002111"},{"availableBalance":2292475373.13,"formattedAmount":"2,292,475,373.13","bookBalance":2292475373.13,"accountType":"","accountName":"GOODS AND SERVICES TAX ACCOUNT","currency":null,"accountno":"0111002135"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"MARINES FINES AC","currency":null,"accountno":"0111002159"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"AFFORESTATION AC","currency":null,"accountno":"0111002197"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"NATIONAL IDENTITY CARD PROJECT E","currency":null,"accountno":"0111002252"},{"availableBalance":412398.2,"formattedAmount":"412,398.20","bookBalance":412398.2,"accountType":"","accountName":"MINISTRY OF PRESIDENTIAL AND PUB","currency":null,"accountno":"0111002276"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"JAPANESE GRANT FOR COPING WITH C","currency":null,"accountno":"0111002317"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"DIAMOND ROYALTIES AC","currency":null,"accountno":"0111002355"},{"availableBalance":11320146.22,"formattedAmount":"11,320,146.22","bookBalance":11320146.22,"accountType":"","accountName":"NON-TAX REVENUE AC","currency":null,"accountno":"0111002379"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"INT. ON 91 182 364 - DAYS TREASU","currency":null,"accountno":"0111002393"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SIERRATELEBID MODERNISATION AND","currency":null,"accountno":"0111002410"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"IMF BUDGET FINANCING TREASURY A/","currency":null,"accountno":"0111002843"},{"availableBalance":962154707.06,"formattedAmount":"962,154,707.06","bookBalance":962154707.06,"accountType":"","accountName":"PETROLEUM EXCISE DUTY ACCOUNT","currency":null,"accountno":"0111002984"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"CATASTROPHE CONTAINMENT RELIEF T","currency":null,"accountno":"0111002991"},{"availableBalance":-47389.02,"formattedAmount":"-47,389.02","bookBalance":-47389.02,"accountType":"","accountName":"INTEREST ON 91 DAYS TREASURY BIL","currency":null,"accountno":"0111003314"},{"availableBalance":-14662146.43,"formattedAmount":"-14,662,146.43","bookBalance":-14662146.43,"accountType":"","accountName":"INTEREST ON 182 DAYS TREASURY BI","currency":null,"accountno":"0111003321"},{"availableBalance":-4861882392.28,"formattedAmount":"-4,861,882,392.28","bookBalance":-4861882392.28,"accountType":"","accountName":"INTEREST ON 364 DAYS TREASURY BI","currency":null,"accountno":"0111003338"},{"availableBalance":13011149.86,"formattedAmount":"13,011,149.86","bookBalance":13011149.86,"accountType":"","accountName":"PETROLEUM REGULATORY AGENCY","currency":null,"accountno":"0111003448"},{"availableBalance":14624361.1,"formattedAmount":"14,624,361.10","bookBalance":14624361.1,"accountType":"","accountName":"PETROLEUM DIRECTORATE","currency":null,"accountno":"0111003455"},{"availableBalance":716682.0,"formattedAmount":"716,682.00","bookBalance":716682.0,"accountType":"","accountName":"ROAD MAINTENANCE FUND","currency":null,"accountno":"0111003462"},{"availableBalance":12446437.0,"formattedAmount":"12,446,437.00","bookBalance":12446437.0,"accountType":"","accountName":"ENVIRONMENTAL PROTECTION AGENCY","currency":null,"accountno":"0111003479"},{"availableBalance":2736797.72,"formattedAmount":"2,736,797.72","bookBalance":2736797.72,"accountType":"","accountName":"NATIONAL TELECOMMUNICATION COMMI","currency":null,"accountno":"0111003486"},{"availableBalance":34714514.21,"formattedAmount":"34,714,514.21","bookBalance":34714514.21,"accountType":"","accountName":"SIERRA LEONE MARITIME ADMINISTRA","currency":null,"accountno":"0111003493"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SPECIAL TAX & DUTIES","currency":null,"accountno":"0111003503"},{"availableBalance":431020263.0,"formattedAmount":"431,020,263.00","bookBalance":431020263.0,"accountType":"","accountName":"TIMBER EXPORT LEVY","currency":null,"accountno":"0111003527"},{"availableBalance":6709406.02,"formattedAmount":"6,709,406.02","bookBalance":6709406.02,"accountType":"","accountName":"AFFORESTATION AND CITIES LEVY","currency":null,"accountno":"0111003534"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"MULTI DONOR BASKET FUND FREE EDU","currency":null,"accountno":"0111003572"},{"availableBalance":622112.00,"formattedAmount":"622,112.00","bookBalance":622112.00,"accountType":"","accountName":"MULTI DONOR BASKET FUND 4 FREE E","currency":null,"accountno":"0111003596"},{"availableBalance":-10000000.00,"formattedAmount":"-10,000,000.00","bookBalance":-10000000.00,"accountType":"","accountName":"CORRUPTION REC FUNDS ACCOUNT (SL","currency":null,"accountno":"0111003637"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"CORRUPTION REC FUNDS ACCOUNT (US","currency":null,"accountno":"0111003644"},{"availableBalance":3983620.62,"formattedAmount":"3,983,620.62","bookBalance":3983620.62,"accountType":"","accountName":"SIERRA LEONE STANDARD BUREAU DIS","currency":null,"accountno":"0111003651"},{"availableBalance":2256323.84,"formattedAmount":"2,256,323.84","bookBalance":2256323.84,"accountType":"","accountName":"SIERRA LEONE ROADS SAFETY AUTHOR","currency":null,"accountno":"0111003668"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SLPA/GOSL CARGO TRACKING","currency":null,"accountno":"0111003699"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"RECO FUNDS BASED ON TECHNICAL AU","currency":null,"accountno":"0111003730"},{"availableBalance":16922324.29,"formattedAmount":"16,922,324.29","bookBalance":16922324.29,"accountType":"","accountName":"FISHERIES PROTECTION STATISTICS&","currency":null,"accountno":"0111003754"},{"availableBalance":673795.84,"formattedAmount":"673,795.84","bookBalance":673795.84,"accountType":"","accountName":"FREE HEALTH CARE INITIATIVE","currency":null,"accountno":"0111003778"},{"availableBalance":66065954.89,"formattedAmount":"66,065,954.89","bookBalance":66065954.89,"accountType":"","accountName":"PRODUCE MONITORING BOARD","currency":null,"accountno":"0111003785"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"USL TEACHING HOSPITAL COMPLEX","currency":null,"accountno":"0111003840"},{"availableBalance":11031596.25,"formattedAmount":"11,031,596.25","bookBalance":11031596.25,"accountType":"","accountName":"DUTY WAIVER JOINT MNT FUND TREAS","currency":null,"accountno":"0111003857"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"PUBLIC AUCTION COMMITTE TREASURY","currency":null,"accountno":"0111003864"},{"availableBalance":3623824.03,"formattedAmount":"3,623,824.03","bookBalance":3623824.03,"accountType":"","accountName":"COMM OF INQUIRY SPECIAL RECOVERY","currency":null,"accountno":"0111003888"},{"availableBalance":-2055291.44,"formattedAmount":"-2,055,291.44","bookBalance":-2055291.44,"accountType":"","accountName":"DAILY SUBSISTENCE ALW/MED EXP AC","currency":null,"accountno":"0111003929"},{"availableBalance":3780.96,"formattedAmount":"3,780.96","bookBalance":3780.96,"accountType":"","accountName":"S/L LOCAL CONTENT DEVELOPMENT FU","currency":null,"accountno":"0111003936"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"LSS/SLPA/GOSL CARGO TRACKING","currency":null,"accountno":"0111003943"},{"availableBalance":5000000.0,"formattedAmount":"5,000,000.00","bookBalance":5000000.0,"accountType":"","accountName":"LOCAL COUNCIL DEVELOPMENT PROJEC","currency":null,"accountno":"0111003950"},{"availableBalance":205694040.46,"formattedAmount":"205,694,040.46","bookBalance":205694040.46,"accountType":"","accountName":"DEBT MANAGEMENT TREASURY","currency":null,"accountno":"0111003967"},{"availableBalance":85000.0,"formattedAmount":"85,000.00","bookBalance":85000.0,"accountType":"","accountName":"AUDIT SERVICE S/L - AUDIT FEES","currency":null,"accountno":"0111003974"},{"availableBalance":911265.54,"formattedAmount":"911,265.54","bookBalance":911265.54,"accountType":"","accountName":"NPPA-REV FROM SALE OF BIDDING DO","currency":null,"accountno":"0111003981"},{"availableBalance":20024585.14,"formattedAmount":"20,024,585.14","bookBalance":20024585.14,"accountType":"","accountName":"VEHICLE LOAN SCHEME","currency":null,"accountno":"0111004005"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SLCAA AVIATION FEES","currency":null,"accountno":"0111004012"},{"availableBalance":3326998.54,"formattedAmount":"3,326,998.54","bookBalance":3326998.54,"accountType":"","accountName":"NACOVERC LAB FEES & ENFORCE FINE","currency":null,"accountno":"0111004029"},{"availableBalance":139164.95,"formattedAmount":"139,164.95","bookBalance":139164.95,"accountType":"","accountName":"CTN FEES - FOREIGN CURRENCY","currency":null,"accountno":"0111004036"},{"availableBalance":0.01,"formattedAmount":"0.01","bookBalance":0.01,"accountType":"","accountName":"NATCOM AND BRADCORP GATEWAY REVE","currency":null,"accountno":"0111004043"},{"availableBalance":1120558.48,"formattedAmount":"1,120,558.48","bookBalance":1120558.48,"accountType":"","accountName":"NAT. WATER RESOURCES MGMT AGENCY","currency":null,"accountno":"0111004067"},{"availableBalance":2252147.11,"formattedAmount":"2,252,147.11","bookBalance":2252147.11,"accountType":"","accountName":"NaCOVERC LABORATORY FEES (USD)","currency":null,"accountno":"0111004074"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"WAGE BILL REVOLVING FUND ACCOUNT","currency":null,"accountno":"0111004098"},{"availableBalance":83069442.86,"formattedAmount":"83,069,442.86","bookBalance":83069442.86,"accountType":"","accountName":"STATE LAND SALES A/C","currency":null,"accountno":"0111004160"},{"availableBalance":59935.0,"formattedAmount":"59,935.00","bookBalance":59935.0,"accountType":"","accountName":"34 MILITARY HOSPITAL","currency":null,"accountno":"0111004201"},{"availableBalance":2206155.0,"formattedAmount":"2,206,155.00","bookBalance":2206155.0,"accountType":"","accountName":"BETTING & GAMBLING LICENCES ACCO","currency":null,"accountno":"0111004232"},{"availableBalance":34865.21,"formattedAmount":"34,865.21","bookBalance":34865.21,"accountType":"","accountName":"PAY NO BRIBE CAMPAIGN PROJECT AC","currency":null,"accountno":"0111004421"},{"availableBalance":2293395.84,"formattedAmount":"2,293,395.84","bookBalance":2293395.84,"accountType":"","accountName":"LUNGI BRIDGE FEASIBILITY STUDY(S","currency":null,"accountno":"0111004438"},{"availableBalance":17.05,"formattedAmount":"17.05","bookBalance":17.05,"accountType":"","accountName":"MOPED UNICEF PROGRAM SUPPORT A/C","currency":null,"accountno":"0111004658"},{"availableBalance":164418.88,"formattedAmount":"164,418.88","bookBalance":164418.88,"accountType":"","accountName":"NAT ELECTIONS SUSTAIN TRUST FUND","currency":null,"accountno":"0111004809"},{"availableBalance":0.79,"formattedAmount":"0.79","bookBalance":0.79,"accountType":"","accountName":"IMF SPECIAL DRAWING RIGHTS RETRO","currency":null,"accountno":"0111004847"},{"availableBalance":74814520.77,"formattedAmount":"74,814,520.77","bookBalance":74814520.77,"accountType":"","accountName":"GoSL TSA REVENUE SHARE ACCOUNT","currency":null,"accountno":"0111004878"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"DUTY WAIVER","currency":null,"accountno":"0111004885"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"IMPREST AC FOR ACC GEN DEPT","currency":null,"accountno":"0111004926"},{"availableBalance":10685160.00,"formattedAmount":"10,685,160.00","bookBalance":10685160.00,"accountType":"","accountName":"SL NATIONAL SHIPPING COMPANY ESC","currency":null,"accountno":"0111004995"},{"availableBalance":-1009872.99,"formattedAmount":"-1,009,872.99","bookBalance":-1009872.99,"accountType":"","accountName":"MINISTRY OF DEFENCE QUARTERLY","currency":null,"accountno":"0111005057"},{"availableBalance":-458150.0,"formattedAmount":"-458,150.00","bookBalance":-458150.0,"accountType":"","accountName":"SIERRA LEONE POLICE GENERAL ACCO","currency":null,"accountno":"0111005129"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"SIERRA LEONE CORRECTIONAL SERVIC","currency":null,"accountno":"0111005136"},{"availableBalance":3446.86,"formattedAmount":"3,446.86","bookBalance":3446.86,"accountType":"","accountName":"IMMIGRATION ACCOUNT","currency":null,"accountno":"0111005150"},{"availableBalance":14952799.83,"formattedAmount":"14,952,799.83","bookBalance":14952799.83,"accountType":"","accountName":"DIAGNOSTIC MEDICAL CENTRE","currency":null,"accountno":"0111005260"},{"availableBalance":6699287.89,"formattedAmount":"6,699,287.89","bookBalance":6699287.89,"accountType":"","accountName":"SALES OF AIRSTRIP LANDS","currency":null,"accountno":"0111005332"},{"availableBalance":245148.43,"formattedAmount":"245,148.43","bookBalance":245148.43,"accountType":"","accountName":"GOSL NATIONAL TREE PLANTING","currency":null,"accountno":"0111005387"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"OFFICE OF THE OMBUDSMAN DISBURSE","currency":null,"accountno":"0111005844"},{"availableBalance":9034.5,"formattedAmount":"9,034.50","bookBalance":9034.5,"accountType":"","accountName":"FERTILIZER SUPPORT FUND","currency":null,"accountno":"0111006054"},{"availableBalance":117899.95,"formattedAmount":"117,899.95","bookBalance":117899.95,"accountType":"","accountName":"TERTIARY EDUCATION COMMISSION DI","currency":null,"accountno":"0111006308"},{"availableBalance":1500000.0,"formattedAmount":"1,500,000.00","bookBalance":1500000.0,"accountType":"","accountName":"SIERRA LEONE PHARMACY BOARD DISB","currency":null,"accountno":"0111006377"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"SLMET AGRIC VAL CHA DEV PROJ (AV","currency":null,"accountno":"0111006456"},{"availableBalance":1384132.82,"formattedAmount":"1,384,132.82","bookBalance":1384132.82,"accountType":"","accountName":"DIGITAL DEVELOPMENT FUND (DDF) A","currency":null,"accountno":"0111006535"}],"code":"01","success":true,"description":"Success"}] 2025-11-21 17:25:55.3168||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 17:25:55.3312|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]]'. 2025-11-21 17:25:55.3312|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 3215.9281ms 2025-11-21 17:25:55.3312|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 17:25:55.3312|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 3270.0217ms 200 application/json; charset=utf-8 2025-11-21 17:25:55.5334||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"10547897.45","bookBalance":0.0,"accountType":null,"accountName":"ELECTRONIC FUNDS TRANS SUSPENSE","currency":null,"accountno":"SLE116030002","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 17:25:55.5334||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 17:25:55.5334||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 17:25:55.5544||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 17:25:55.5544||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 17:25:55.5616||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 17:25:56.3555||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-5092566928.3","bookBalance":0.0,"accountType":null,"accountName":"AGD SALARIES AND WAGES ACCOUNT19","currency":null,"accountno":"0111001293","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 17:25:56.3597||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 17:25:56.3597||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 17:25:56.3767||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 17:25:56.3767||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 17:25:56.3767||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 17:25:57.1928||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-88918787.83","bookBalance":0.0,"accountType":null,"accountName":"AGD PENSIONS ACCOUNTS 1998","currency":null,"accountno":"0111001310","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 17:25:57.1928||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 17:25:57.1928||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 17:25:57.2101||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 17:25:57.2101|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; 2025-11-21 17:25:57.2224|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 2025-11-21 17:25:57.2224|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 17:25:57.2224|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 17:25:57.2224|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 17:25:57.2326|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 17:25:57.2326|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 17:25:57.2326|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 17:25:57.2326|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 17:25:57.2326|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 17:25:57.2479|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 17:25:57.2479|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 17:25:57.2479|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 17:25:57.2479|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 17:25:57.2951|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]]'. 2025-11-21 17:25:57.2951|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 5182.4712ms 2025-11-21 17:25:57.2951|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 17:25:57.2951|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5235.0861ms 200 application/json; charset=utf-8 2025-11-21 17:38:51.2539|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=492 2025-11-21 17:38:51.2539|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 17:38:51.2539|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 17:38:51.2539|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 17:38:51.2539|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 17:38:51.2539|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 17:38:51.2539|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 17:38:51.2624|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 17:38:51.2624|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.3137ms 204 2025-11-21 17:38:51.2624|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 13.158ms 204 2025-11-21 17:38:51.2624|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 13.7249ms 204 2025-11-21 17:38:51.2624|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 14.586ms 204 2025-11-21 17:38:51.2807|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=492 2025-11-21 17:38:51.2807|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 17:38:51.2807|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 17:38:51.2807|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 17:38:51.2807|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 17:38:51.2807|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 17:38:51.2807|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 17:38:51.2807|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 17:38:51.2942|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 17:38:51.2942|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 17:38:51.2942|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 17:38:51.2942|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 17:38:51.2942|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 17:38:51.2942|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 17:38:51.2942|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 17:38:51.3101|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 17:38:51.3101|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 17:38:51.3101|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 17:38:51.3101|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 17:38:51.3101|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 17:38:51.3101|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). 2025-11-21 17:38:51.3101|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). 2025-11-21 17:38:51.3101|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). 2025-11-21 17:38:51.3260|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). 2025-11-21 17:38:51.3260|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 17:38:51.3260|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 17:38:51.3260|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 17:38:51.3260||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 17:38:51.3476|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)) 2025-11-21 17:38:51.3476|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]]'. 2025-11-21 17:38:51.3476|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)) 2025-11-21 17:38:51.3476|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 24.1365ms 2025-11-21 17:38:51.3476|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 2025-11-21 17:38:51.3476||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 17:38:51.3476||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 17:38:51.3562|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 17:38:51.3562|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]]'. 2025-11-21 17:38:51.3562||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 17:38:51.3562|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 85.4582ms 200 application/json; charset=utf-8 2025-11-21 17:38:51.3562||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 17:38:51.3562|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 38.8066ms 2025-11-21 17:38:51.3808|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 17:38:51.3808|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 102.5981ms 200 application/json; charset=utf-8 2025-11-21 17:38:51.3954||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 17:38:51.3954||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 17:38:51.4041||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 17:38:51.4041||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 17:38:51.4041||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 17:38:51.4041||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 17:38:52.2980||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-8624381391.76","bookBalance":0.0,"accountType":null,"accountName":"AGD EXPENDITURE ACCOUNTS-GENERAL","currency":null,"accountno":"0111001279","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 17:38:52.2980||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 17:38:52.2980||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 17:38:52.3201||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 17:38:52.3201||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 17:38:52.3271||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 17:38:53.1782||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-8624381391.76","bookBalance":0.0,"accountType":null,"accountName":"AGD EXPENDITURE ACCOUNTS-GENERAL","currency":null,"accountno":"0111001279","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 17:38:53.1782||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 17:38:53.1873||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 17:38:53.2023||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 17:38:53.2023||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 17:38:53.2023||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 17:38:53.9695||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-5092566928.3","bookBalance":0.0,"accountType":null,"accountName":"AGD SALARIES AND WAGES ACCOUNT19","currency":null,"accountno":"0111001293","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 17:38:53.9695||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 17:38:53.9695||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 17:38:53.9892||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 17:38:53.9892||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 17:38:53.9892||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 17:38:54.8789||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"10547897.45","bookBalance":0.0,"accountType":null,"accountName":"ELECTRONIC FUNDS TRANS SUSPENSE","currency":null,"accountno":"SLE116030002","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 17:38:54.8789||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 17:38:54.8870||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 17:38:54.8870||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[{"availableBalance":1008205876.55,"formattedAmount":"1,008,205,876.55","bookBalance":1008205876.55,"accountType":"","accountName":"TREASURY MAIN","currency":null,"accountno":"0111001255"},{"availableBalance":-8624381391.76,"formattedAmount":"-8,624,381,391.76","bookBalance":-8624381391.76,"accountType":"","accountName":"AGD EXPENDITURE ACCOUNTS-GENERAL","currency":null,"accountno":"0111001279"},{"availableBalance":-5092566928.3,"formattedAmount":"-5,092,566,928.30","bookBalance":-5092566928.3,"accountType":"","accountName":"AGD SALARIES AND WAGES ACCOUNT19","currency":null,"accountno":"0111001293"},{"availableBalance":-88918787.83,"formattedAmount":"-88,918,787.83","bookBalance":-88918787.83,"accountType":"","accountName":"AGD PENSIONS ACCOUNTS 1998","currency":null,"accountno":"0111001310"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"DIFD (UK) BUDGSUPPORT GRANT","currency":null,"accountno":"0111001358"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SALARY ADVANCES ACCOUNT","currency":null,"accountno":"0111001372"},{"availableBalance":5660770071.02,"formattedAmount":"5,660,770,071.02","bookBalance":5660770071.02,"accountType":"","accountName":"INCOME TAX TREAS AC","currency":null,"accountno":"0111001396"},{"availableBalance":1639971708.73,"formattedAmount":"1,639,971,708.73","bookBalance":1639971708.73,"accountType":"","accountName":"CUSTOMS AND EXCISE TREAS AC","currency":null,"accountno":"0111001413"},{"availableBalance":126976443.29,"formattedAmount":"126,976,443.29","bookBalance":126976443.29,"accountType":"","accountName":"MARINE RESOURCES TREAS AC","currency":null,"accountno":"0111001437"},{"availableBalance":1172818491.68,"formattedAmount":"1,172,818,491.68","bookBalance":1172818491.68,"accountType":"","accountName":"MINERAL RESOURCES TREAS AC","currency":null,"accountno":"0111001451"},{"availableBalance":10582481.0,"formattedAmount":"10,582,481.00","bookBalance":10582481.0,"accountType":"","accountName":"IMMIGRATION TREAS AC","currency":null,"accountno":"0111001475"},{"availableBalance":452767547.26,"formattedAmount":"452,767,547.26","bookBalance":452767547.26,"accountType":"","accountName":"GENERAL REVENUE TREAS AC","currency":null,"accountno":"0111001499"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"IMMIGRATION ESCROW ACCOUNT","currency":null,"accountno":"0111001516"},{"availableBalance":12109569.0,"formattedAmount":"12,109,569.00","bookBalance":12109569.0,"accountType":"","accountName":"ADMINISTRATOR AND REGISTRAR GENE","currency":null,"accountno":"0111001530"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"POLICE-UNCLAIMED SALARIES WAGES","currency":null,"accountno":"0111001578"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"EDU SCIENCE AND TECH-UNCLAIMED S","currency":null,"accountno":"0111001592"},{"availableBalance":2068951.32,"formattedAmount":"2,068,951.32","bookBalance":2068951.32,"accountType":"","accountName":"OTHER DEPTMINISTRIES-UNCLAIMED S","currency":null,"accountno":"0111001657"},{"availableBalance":650610335.09,"formattedAmount":"650,610,335.09","bookBalance":650610335.09,"accountType":"","accountName":"TREASURY WAYS AND MEANS ADVANCES","currency":null,"accountno":"0111001671"},{"availableBalance":990172300.0,"formattedAmount":"990,172,300.00","bookBalance":990172300.0,"accountType":"","accountName":"TREASURY BEARER BOND ACCOUNTS","currency":null,"accountno":"0111001695"},{"availableBalance":-1359921007.56,"formattedAmount":"-1,359,921,007.56","bookBalance":-1359921007.56,"accountType":"","accountName":"INTEREST ON TREASURY BEARER BOND","currency":null,"accountno":"0111001712"},{"availableBalance":-2301895609.95,"formattedAmount":"-2,301,895,609.95","bookBalance":-2301895609.95,"accountType":"","accountName":"EXTERNAL DEBT SERVICE PAYMENTS","currency":null,"accountno":"0111001736"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"KENEMA GOVT TREASURY DEPOSITS AC","currency":null,"accountno":"0111001750"},{"availableBalance":20494300.88,"formattedAmount":"20,494,300.88","bookBalance":20494300.88,"accountType":"","accountName":"HIPC TRUST FUND ACCOUNT","currency":null,"accountno":"0111001774"},{"availableBalance":-729960.98,"formattedAmount":"-729,960.98","bookBalance":-729960.98,"accountType":"","accountName":"TREASURY BILLS AC","currency":null,"accountno":"0111001839"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"OFIDSL GOV DEBT RELIEF AC","currency":null,"accountno":"0111001891"},{"availableBalance":115026697.18,"formattedAmount":"115,026,697.18","bookBalance":115026697.18,"accountType":"","accountName":"NOMINALCOST AC FOR 182-DAYS TREA","currency":null,"accountno":"0111001918"},{"availableBalance":3320175223.38,"formattedAmount":"3,320,175,223.38","bookBalance":3320175223.38,"accountType":"","accountName":"NOMINALCOST AC FOR 364-DAYS TREA","currency":null,"accountno":"0111001932"},{"availableBalance":-8559679.4,"formattedAmount":"-8,559,679.40","bookBalance":-8559679.4,"accountType":"","accountName":"COMMISSION AC FOR TREASURY BILLS","currency":null,"accountno":"0111001970"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"MIN OF FISHERIES AND MARINE RESO","currency":null,"accountno":"0111002032"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"NAT TELECOMS REVENUE ESCROW AC","currency":null,"accountno":"0111002056"},{"availableBalance":4213148.95,"formattedAmount":"4,213,148.95","bookBalance":4213148.95,"accountType":"","accountName":"SIERRA LEONE PHARMACY BOARD REVE","currency":null,"accountno":"0111002070"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SIERRA LEONE MARITIME ADMIN REVE","currency":null,"accountno":"0111002094"},{"availableBalance":13207078.86,"formattedAmount":"13,207,078.86","bookBalance":13207078.86,"accountType":"","accountName":"SLCAA FOREIGN TRAVEL TAX A/C","currency":null,"accountno":"0111002111"},{"availableBalance":2292475373.13,"formattedAmount":"2,292,475,373.13","bookBalance":2292475373.13,"accountType":"","accountName":"GOODS AND SERVICES TAX ACCOUNT","currency":null,"accountno":"0111002135"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"MARINES FINES AC","currency":null,"accountno":"0111002159"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"AFFORESTATION AC","currency":null,"accountno":"0111002197"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"NATIONAL IDENTITY CARD PROJECT E","currency":null,"accountno":"0111002252"},{"availableBalance":412398.2,"formattedAmount":"412,398.20","bookBalance":412398.2,"accountType":"","accountName":"MINISTRY OF PRESIDENTIAL AND PUB","currency":null,"accountno":"0111002276"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"JAPANESE GRANT FOR COPING WITH C","currency":null,"accountno":"0111002317"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"DIAMOND ROYALTIES AC","currency":null,"accountno":"0111002355"},{"availableBalance":11320146.22,"formattedAmount":"11,320,146.22","bookBalance":11320146.22,"accountType":"","accountName":"NON-TAX REVENUE AC","currency":null,"accountno":"0111002379"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"INT. ON 91 182 364 - DAYS TREASU","currency":null,"accountno":"0111002393"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SIERRATELEBID MODERNISATION AND","currency":null,"accountno":"0111002410"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"IMF BUDGET FINANCING TREASURY A/","currency":null,"accountno":"0111002843"},{"availableBalance":962154707.06,"formattedAmount":"962,154,707.06","bookBalance":962154707.06,"accountType":"","accountName":"PETROLEUM EXCISE DUTY ACCOUNT","currency":null,"accountno":"0111002984"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"CATASTROPHE CONTAINMENT RELIEF T","currency":null,"accountno":"0111002991"},{"availableBalance":-47389.02,"formattedAmount":"-47,389.02","bookBalance":-47389.02,"accountType":"","accountName":"INTEREST ON 91 DAYS TREASURY BIL","currency":null,"accountno":"0111003314"},{"availableBalance":-14662146.43,"formattedAmount":"-14,662,146.43","bookBalance":-14662146.43,"accountType":"","accountName":"INTEREST ON 182 DAYS TREASURY BI","currency":null,"accountno":"0111003321"},{"availableBalance":-4861882392.28,"formattedAmount":"-4,861,882,392.28","bookBalance":-4861882392.28,"accountType":"","accountName":"INTEREST ON 364 DAYS TREASURY BI","currency":null,"accountno":"0111003338"},{"availableBalance":13011149.86,"formattedAmount":"13,011,149.86","bookBalance":13011149.86,"accountType":"","accountName":"PETROLEUM REGULATORY AGENCY","currency":null,"accountno":"0111003448"},{"availableBalance":14624361.1,"formattedAmount":"14,624,361.10","bookBalance":14624361.1,"accountType":"","accountName":"PETROLEUM DIRECTORATE","currency":null,"accountno":"0111003455"},{"availableBalance":716682.0,"formattedAmount":"716,682.00","bookBalance":716682.0,"accountType":"","accountName":"ROAD MAINTENANCE FUND","currency":null,"accountno":"0111003462"},{"availableBalance":12446437.0,"formattedAmount":"12,446,437.00","bookBalance":12446437.0,"accountType":"","accountName":"ENVIRONMENTAL PROTECTION AGENCY","currency":null,"accountno":"0111003479"},{"availableBalance":2736797.72,"formattedAmount":"2,736,797.72","bookBalance":2736797.72,"accountType":"","accountName":"NATIONAL TELECOMMUNICATION COMMI","currency":null,"accountno":"0111003486"},{"availableBalance":34714514.21,"formattedAmount":"34,714,514.21","bookBalance":34714514.21,"accountType":"","accountName":"SIERRA LEONE MARITIME ADMINISTRA","currency":null,"accountno":"0111003493"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SPECIAL TAX & DUTIES","currency":null,"accountno":"0111003503"},{"availableBalance":431020263.0,"formattedAmount":"431,020,263.00","bookBalance":431020263.0,"accountType":"","accountName":"TIMBER EXPORT LEVY","currency":null,"accountno":"0111003527"},{"availableBalance":6709406.02,"formattedAmount":"6,709,406.02","bookBalance":6709406.02,"accountType":"","accountName":"AFFORESTATION AND CITIES LEVY","currency":null,"accountno":"0111003534"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"MULTI DONOR BASKET FUND FREE EDU","currency":null,"accountno":"0111003572"},{"availableBalance":622112.00,"formattedAmount":"622,112.00","bookBalance":622112.00,"accountType":"","accountName":"MULTI DONOR BASKET FUND 4 FREE E","currency":null,"accountno":"0111003596"},{"availableBalance":-10000000.00,"formattedAmount":"-10,000,000.00","bookBalance":-10000000.00,"accountType":"","accountName":"CORRUPTION REC FUNDS ACCOUNT (SL","currency":null,"accountno":"0111003637"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"CORRUPTION REC FUNDS ACCOUNT (US","currency":null,"accountno":"0111003644"},{"availableBalance":3983620.62,"formattedAmount":"3,983,620.62","bookBalance":3983620.62,"accountType":"","accountName":"SIERRA LEONE STANDARD BUREAU DIS","currency":null,"accountno":"0111003651"},{"availableBalance":2256323.84,"formattedAmount":"2,256,323.84","bookBalance":2256323.84,"accountType":"","accountName":"SIERRA LEONE ROADS SAFETY AUTHOR","currency":null,"accountno":"0111003668"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SLPA/GOSL CARGO TRACKING","currency":null,"accountno":"0111003699"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"RECO FUNDS BASED ON TECHNICAL AU","currency":null,"accountno":"0111003730"},{"availableBalance":16922324.29,"formattedAmount":"16,922,324.29","bookBalance":16922324.29,"accountType":"","accountName":"FISHERIES PROTECTION STATISTICS&","currency":null,"accountno":"0111003754"},{"availableBalance":673795.84,"formattedAmount":"673,795.84","bookBalance":673795.84,"accountType":"","accountName":"FREE HEALTH CARE INITIATIVE","currency":null,"accountno":"0111003778"},{"availableBalance":66065954.89,"formattedAmount":"66,065,954.89","bookBalance":66065954.89,"accountType":"","accountName":"PRODUCE MONITORING BOARD","currency":null,"accountno":"0111003785"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"USL TEACHING HOSPITAL COMPLEX","currency":null,"accountno":"0111003840"},{"availableBalance":11031596.25,"formattedAmount":"11,031,596.25","bookBalance":11031596.25,"accountType":"","accountName":"DUTY WAIVER JOINT MNT FUND TREAS","currency":null,"accountno":"0111003857"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"PUBLIC AUCTION COMMITTE TREASURY","currency":null,"accountno":"0111003864"},{"availableBalance":3623824.03,"formattedAmount":"3,623,824.03","bookBalance":3623824.03,"accountType":"","accountName":"COMM OF INQUIRY SPECIAL RECOVERY","currency":null,"accountno":"0111003888"},{"availableBalance":-2055291.44,"formattedAmount":"-2,055,291.44","bookBalance":-2055291.44,"accountType":"","accountName":"DAILY SUBSISTENCE ALW/MED EXP AC","currency":null,"accountno":"0111003929"},{"availableBalance":3780.96,"formattedAmount":"3,780.96","bookBalance":3780.96,"accountType":"","accountName":"S/L LOCAL CONTENT DEVELOPMENT FU","currency":null,"accountno":"0111003936"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"LSS/SLPA/GOSL CARGO TRACKING","currency":null,"accountno":"0111003943"},{"availableBalance":5000000.0,"formattedAmount":"5,000,000.00","bookBalance":5000000.0,"accountType":"","accountName":"LOCAL COUNCIL DEVELOPMENT PROJEC","currency":null,"accountno":"0111003950"},{"availableBalance":205694040.46,"formattedAmount":"205,694,040.46","bookBalance":205694040.46,"accountType":"","accountName":"DEBT MANAGEMENT TREASURY","currency":null,"accountno":"0111003967"},{"availableBalance":85000.0,"formattedAmount":"85,000.00","bookBalance":85000.0,"accountType":"","accountName":"AUDIT SERVICE S/L - AUDIT FEES","currency":null,"accountno":"0111003974"},{"availableBalance":911265.54,"formattedAmount":"911,265.54","bookBalance":911265.54,"accountType":"","accountName":"NPPA-REV FROM SALE OF BIDDING DO","currency":null,"accountno":"0111003981"},{"availableBalance":20024585.14,"formattedAmount":"20,024,585.14","bookBalance":20024585.14,"accountType":"","accountName":"VEHICLE LOAN SCHEME","currency":null,"accountno":"0111004005"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SLCAA AVIATION FEES","currency":null,"accountno":"0111004012"},{"availableBalance":3326998.54,"formattedAmount":"3,326,998.54","bookBalance":3326998.54,"accountType":"","accountName":"NACOVERC LAB FEES & ENFORCE FINE","currency":null,"accountno":"0111004029"},{"availableBalance":139164.95,"formattedAmount":"139,164.95","bookBalance":139164.95,"accountType":"","accountName":"CTN FEES - FOREIGN CURRENCY","currency":null,"accountno":"0111004036"},{"availableBalance":0.01,"formattedAmount":"0.01","bookBalance":0.01,"accountType":"","accountName":"NATCOM AND BRADCORP GATEWAY REVE","currency":null,"accountno":"0111004043"},{"availableBalance":1120558.48,"formattedAmount":"1,120,558.48","bookBalance":1120558.48,"accountType":"","accountName":"NAT. WATER RESOURCES MGMT AGENCY","currency":null,"accountno":"0111004067"},{"availableBalance":2252147.11,"formattedAmount":"2,252,147.11","bookBalance":2252147.11,"accountType":"","accountName":"NaCOVERC LABORATORY FEES (USD)","currency":null,"accountno":"0111004074"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"WAGE BILL REVOLVING FUND ACCOUNT","currency":null,"accountno":"0111004098"},{"availableBalance":83069442.86,"formattedAmount":"83,069,442.86","bookBalance":83069442.86,"accountType":"","accountName":"STATE LAND SALES A/C","currency":null,"accountno":"0111004160"},{"availableBalance":59935.0,"formattedAmount":"59,935.00","bookBalance":59935.0,"accountType":"","accountName":"34 MILITARY HOSPITAL","currency":null,"accountno":"0111004201"},{"availableBalance":2206155.0,"formattedAmount":"2,206,155.00","bookBalance":2206155.0,"accountType":"","accountName":"BETTING & GAMBLING LICENCES ACCO","currency":null,"accountno":"0111004232"},{"availableBalance":34865.21,"formattedAmount":"34,865.21","bookBalance":34865.21,"accountType":"","accountName":"PAY NO BRIBE CAMPAIGN PROJECT AC","currency":null,"accountno":"0111004421"},{"availableBalance":2293395.84,"formattedAmount":"2,293,395.84","bookBalance":2293395.84,"accountType":"","accountName":"LUNGI BRIDGE FEASIBILITY STUDY(S","currency":null,"accountno":"0111004438"},{"availableBalance":17.05,"formattedAmount":"17.05","bookBalance":17.05,"accountType":"","accountName":"MOPED UNICEF PROGRAM SUPPORT A/C","currency":null,"accountno":"0111004658"},{"availableBalance":164418.88,"formattedAmount":"164,418.88","bookBalance":164418.88,"accountType":"","accountName":"NAT ELECTIONS SUSTAIN TRUST FUND","currency":null,"accountno":"0111004809"},{"availableBalance":0.79,"formattedAmount":"0.79","bookBalance":0.79,"accountType":"","accountName":"IMF SPECIAL DRAWING RIGHTS RETRO","currency":null,"accountno":"0111004847"},{"availableBalance":74814520.77,"formattedAmount":"74,814,520.77","bookBalance":74814520.77,"accountType":"","accountName":"GoSL TSA REVENUE SHARE ACCOUNT","currency":null,"accountno":"0111004878"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"DUTY WAIVER","currency":null,"accountno":"0111004885"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"IMPREST AC FOR ACC GEN DEPT","currency":null,"accountno":"0111004926"},{"availableBalance":10685160.00,"formattedAmount":"10,685,160.00","bookBalance":10685160.00,"accountType":"","accountName":"SL NATIONAL SHIPPING COMPANY ESC","currency":null,"accountno":"0111004995"},{"availableBalance":-1009872.99,"formattedAmount":"-1,009,872.99","bookBalance":-1009872.99,"accountType":"","accountName":"MINISTRY OF DEFENCE QUARTERLY","currency":null,"accountno":"0111005057"},{"availableBalance":-458150.0,"formattedAmount":"-458,150.00","bookBalance":-458150.0,"accountType":"","accountName":"SIERRA LEONE POLICE GENERAL ACCO","currency":null,"accountno":"0111005129"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"SIERRA LEONE CORRECTIONAL SERVIC","currency":null,"accountno":"0111005136"},{"availableBalance":3446.86,"formattedAmount":"3,446.86","bookBalance":3446.86,"accountType":"","accountName":"IMMIGRATION ACCOUNT","currency":null,"accountno":"0111005150"},{"availableBalance":14952799.83,"formattedAmount":"14,952,799.83","bookBalance":14952799.83,"accountType":"","accountName":"DIAGNOSTIC MEDICAL CENTRE","currency":null,"accountno":"0111005260"},{"availableBalance":6699287.89,"formattedAmount":"6,699,287.89","bookBalance":6699287.89,"accountType":"","accountName":"SALES OF AIRSTRIP LANDS","currency":null,"accountno":"0111005332"},{"availableBalance":245148.43,"formattedAmount":"245,148.43","bookBalance":245148.43,"accountType":"","accountName":"GOSL NATIONAL TREE PLANTING","currency":null,"accountno":"0111005387"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"OFFICE OF THE OMBUDSMAN DISBURSE","currency":null,"accountno":"0111005844"},{"availableBalance":9034.5,"formattedAmount":"9,034.50","bookBalance":9034.5,"accountType":"","accountName":"FERTILIZER SUPPORT FUND","currency":null,"accountno":"0111006054"},{"availableBalance":117899.95,"formattedAmount":"117,899.95","bookBalance":117899.95,"accountType":"","accountName":"TERTIARY EDUCATION COMMISSION DI","currency":null,"accountno":"0111006308"},{"availableBalance":1500000.0,"formattedAmount":"1,500,000.00","bookBalance":1500000.0,"accountType":"","accountName":"SIERRA LEONE PHARMACY BOARD DISB","currency":null,"accountno":"0111006377"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"SLMET AGRIC VAL CHA DEV PROJ (AV","currency":null,"accountno":"0111006456"},{"availableBalance":1384132.82,"formattedAmount":"1,384,132.82","bookBalance":1384132.82,"accountType":"","accountName":"DIGITAL DEVELOPMENT FUND (DDF) A","currency":null,"accountno":"0111006535"}],"code":"01","success":true,"description":"Success"}] 2025-11-21 17:38:54.8870||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 17:38:54.8870||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 17:38:54.8870|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]]'. 2025-11-21 17:38:54.8870||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 17:38:54.9026|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 3570.4774ms 2025-11-21 17:38:54.9026|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 17:38:54.9026||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 17:38:54.9026|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 3624.9999ms 200 application/json; charset=utf-8 2025-11-21 17:38:55.6762||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-5092566928.3","bookBalance":0.0,"accountType":null,"accountName":"AGD SALARIES AND WAGES ACCOUNT19","currency":null,"accountno":"0111001293","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 17:38:55.6762||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 17:38:55.6762||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 17:38:55.6958||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 17:38:55.6958||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 17:38:55.6958||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 17:38:56.5827||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-88918787.83","bookBalance":0.0,"accountType":null,"accountName":"AGD PENSIONS ACCOUNTS 1998","currency":null,"accountno":"0111001310","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 17:38:56.5827||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 17:38:56.5827||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 17:38:56.5995||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 17:38:56.5995|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; 2025-11-21 17:38:56.6098|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 2025-11-21 17:38:56.6098|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 17:38:56.6098|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 17:38:56.6098|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 17:38:56.6098|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 17:38:56.6233|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 17:38:56.6233|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 17:38:56.6233|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 17:38:56.6233|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 17:38:56.6233|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 17:38:56.6233|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 17:38:56.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' 2025-11-21 17:38:56.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)) 2025-11-21 17:38:56.6831|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]]'. 2025-11-21 17:38:56.6862|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 5357.1194ms 2025-11-21 17:38:56.6862|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 17:38:56.6862|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5409.2351ms 200 application/json; charset=utf-8 2025-11-21 17:59:33.4193|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://127.0.0.1:24736/ACCOUNTSERVICES/iisintegration 0 2025-11-21 17:59:33.4229|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 3.6269ms 202 2025-11-21 22:32:46.5218||DEBUG|AccountManagement.Program|init main function 2025-11-21 22:32:49.5669|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()'. 2025-11-21 22:32:49.5795|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()'. 2025-11-21 22:32:49.5795|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()'. 2025-11-21 22:32:49.6100|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 22:32:49.9800|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (15ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT 1 2025-11-21 22:32:50.0007|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (12ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT OBJECT_ID(N'[__EFMigrationsHistory]'); 2025-11-21 22:32:50.0007|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT 1 2025-11-21 22:32:50.0082|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT OBJECT_ID(N'[__EFMigrationsHistory]'); 2025-11-21 22:32:50.0082|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [MigrationId], [ProductVersion] FROM [__EFMigrationsHistory] ORDER BY [MigrationId]; 2025-11-21 22:32:50.0372|20405|INFO|Microsoft.EntityFrameworkCore.Migrations|No migrations were applied. The database is already up to date. 2025-11-21 22:32:50.3476||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. 2025-11-21 22:32:50.7177|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 22:32:50.7177|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 22:32:50.7177|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=564 2025-11-21 22:32:50.7177|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 22:32:50.9068|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 22:32:50.9068|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 22:32:50.9068|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 22:32:50.9068|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 22:32:50.9148|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 197.8953ms 204 2025-11-21 22:32:50.9148|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 197.8949ms 204 2025-11-21 22:32:50.9148|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 198.4418ms 204 2025-11-21 22:32:50.9148|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 197.8947ms 204 2025-11-21 22:32:51.2011|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2025-11-21 22:32:51.2155|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2025-11-21 22:32:51.2262|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2025-11-21 22:32:51.2262|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=564 2025-11-21 22:32:51.4006|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 22:32:51.4006|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 22:32:51.4006|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 22:32:51.4006|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2025-11-21 22:32:51.4006|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 22:32:51.4006|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 22:32:51.4006|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 22:32:51.4006|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2025-11-21 22:32:51.4142|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 22:32:51.4142|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 22:32:51.4142|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 22:32:51.4142|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2025-11-21 22:32:51.4142|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 22:32:51.4142|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 22:32:51.4142|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 22:32:51.4142|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 22:32:51.4460|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). 2025-11-21 22:32:51.4460|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 22:32:51.4460|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). 2025-11-21 22:32:51.4460|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). 2025-11-21 22:32:51.4460|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). 2025-11-21 22:32:51.4828|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 22:32:51.4828|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2025-11-21 22:32:51.4828||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2025-11-21 22:32:51.6316|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 2025-11-21 22:32:51.6847|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)) 2025-11-21 22:32:51.6847|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (35ms) [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)) 2025-11-21 22:32:51.7005|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]]'. 2025-11-21 22:32:51.7207||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 22:32:51.7207||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 22:32:51.7207||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2025-11-21 22:32:51.7278||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2025-11-21 22:32:51.7278|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]]'. 2025-11-21 22:32:51.7278|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 286.153ms 2025-11-21 22:32:51.7278|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2025-11-21 22:32:51.7278|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 525.5986ms 200 application/json; charset=utf-8 2025-11-21 22:32:51.7556|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 295.6646ms 2025-11-21 22:32:51.7578|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2025-11-21 22:32:51.7578|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 532.9376ms 200 application/json; charset=utf-8 2025-11-21 22:32:52.1674||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 22:32:52.1674||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2025-11-21 22:32:52.2012||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2025-11-21 22:32:52.2012||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 22:32:52.2012||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2025-11-21 22:32:52.2012||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2025-11-21 22:32:54.4089||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-8624381391.76","bookBalance":0.0,"accountType":null,"accountName":"AGD EXPENDITURE ACCOUNTS-GENERAL","currency":null,"accountno":"0111001279","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 22:32:54.4264||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 22:32:54.4312||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 22:32:54.4656||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 22:32:54.4656||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 22:32:54.4656||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2025-11-21 22:32:54.6109||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[{"availableBalance":1008205876.55,"formattedAmount":"1,008,205,876.55","bookBalance":1008205876.55,"accountType":"","accountName":"TREASURY MAIN","currency":null,"accountno":"0111001255"},{"availableBalance":-8624381391.76,"formattedAmount":"-8,624,381,391.76","bookBalance":-8624381391.76,"accountType":"","accountName":"AGD EXPENDITURE ACCOUNTS-GENERAL","currency":null,"accountno":"0111001279"},{"availableBalance":-5092566928.3,"formattedAmount":"-5,092,566,928.30","bookBalance":-5092566928.3,"accountType":"","accountName":"AGD SALARIES AND WAGES ACCOUNT19","currency":null,"accountno":"0111001293"},{"availableBalance":-88918787.83,"formattedAmount":"-88,918,787.83","bookBalance":-88918787.83,"accountType":"","accountName":"AGD PENSIONS ACCOUNTS 1998","currency":null,"accountno":"0111001310"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"DIFD (UK) BUDGSUPPORT GRANT","currency":null,"accountno":"0111001358"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SALARY ADVANCES ACCOUNT","currency":null,"accountno":"0111001372"},{"availableBalance":5668794833.74,"formattedAmount":"5,668,794,833.74","bookBalance":5668794833.74,"accountType":"","accountName":"INCOME TAX TREAS AC","currency":null,"accountno":"0111001396"},{"availableBalance":1642378541.16,"formattedAmount":"1,642,378,541.16","bookBalance":1642378541.16,"accountType":"","accountName":"CUSTOMS AND EXCISE TREAS AC","currency":null,"accountno":"0111001413"},{"availableBalance":126980443.29,"formattedAmount":"126,980,443.29","bookBalance":126980443.29,"accountType":"","accountName":"MARINE RESOURCES TREAS AC","currency":null,"accountno":"0111001437"},{"availableBalance":1172818491.68,"formattedAmount":"1,172,818,491.68","bookBalance":1172818491.68,"accountType":"","accountName":"MINERAL RESOURCES TREAS AC","currency":null,"accountno":"0111001451"},{"availableBalance":10608761.0,"formattedAmount":"10,608,761.00","bookBalance":10608761.0,"accountType":"","accountName":"IMMIGRATION TREAS AC","currency":null,"accountno":"0111001475"},{"availableBalance":452795567.26,"formattedAmount":"452,795,567.26","bookBalance":452795567.26,"accountType":"","accountName":"GENERAL REVENUE TREAS AC","currency":null,"accountno":"0111001499"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"IMMIGRATION ESCROW ACCOUNT","currency":null,"accountno":"0111001516"},{"availableBalance":12109569.0,"formattedAmount":"12,109,569.00","bookBalance":12109569.0,"accountType":"","accountName":"ADMINISTRATOR AND REGISTRAR GENE","currency":null,"accountno":"0111001530"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"POLICE-UNCLAIMED SALARIES WAGES","currency":null,"accountno":"0111001578"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"EDU SCIENCE AND TECH-UNCLAIMED S","currency":null,"accountno":"0111001592"},{"availableBalance":2068951.32,"formattedAmount":"2,068,951.32","bookBalance":2068951.32,"accountType":"","accountName":"OTHER DEPTMINISTRIES-UNCLAIMED S","currency":null,"accountno":"0111001657"},{"availableBalance":640338159.28,"formattedAmount":"640,338,159.28","bookBalance":640338159.28,"accountType":"","accountName":"TREASURY WAYS AND MEANS ADVANCES","currency":null,"accountno":"0111001671"},{"availableBalance":990172300.0,"formattedAmount":"990,172,300.00","bookBalance":990172300.0,"accountType":"","accountName":"TREASURY BEARER BOND ACCOUNTS","currency":null,"accountno":"0111001695"},{"availableBalance":-1359921007.56,"formattedAmount":"-1,359,921,007.56","bookBalance":-1359921007.56,"accountType":"","accountName":"INTEREST ON TREASURY BEARER BOND","currency":null,"accountno":"0111001712"},{"availableBalance":-2301895609.95,"formattedAmount":"-2,301,895,609.95","bookBalance":-2301895609.95,"accountType":"","accountName":"EXTERNAL DEBT SERVICE PAYMENTS","currency":null,"accountno":"0111001736"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"KENEMA GOVT TREASURY DEPOSITS AC","currency":null,"accountno":"0111001750"},{"availableBalance":20494300.88,"formattedAmount":"20,494,300.88","bookBalance":20494300.88,"accountType":"","accountName":"HIPC TRUST FUND ACCOUNT","currency":null,"accountno":"0111001774"},{"availableBalance":-729960.98,"formattedAmount":"-729,960.98","bookBalance":-729960.98,"accountType":"","accountName":"TREASURY BILLS AC","currency":null,"accountno":"0111001839"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"OFIDSL GOV DEBT RELIEF AC","currency":null,"accountno":"0111001891"},{"availableBalance":125242769.31,"formattedAmount":"125,242,769.31","bookBalance":125242769.31,"accountType":"","accountName":"NOMINALCOST AC FOR 182-DAYS TREA","currency":null,"accountno":"0111001918"},{"availableBalance":3754386061.22,"formattedAmount":"3,754,386,061.22","bookBalance":3754386061.22,"accountType":"","accountName":"NOMINALCOST AC FOR 364-DAYS TREA","currency":null,"accountno":"0111001932"},{"availableBalance":-8559679.4,"formattedAmount":"-8,559,679.40","bookBalance":-8559679.4,"accountType":"","accountName":"COMMISSION AC FOR TREASURY BILLS","currency":null,"accountno":"0111001970"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"MIN OF FISHERIES AND MARINE RESO","currency":null,"accountno":"0111002032"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"NAT TELECOMS REVENUE ESCROW AC","currency":null,"accountno":"0111002056"},{"availableBalance":4213148.95,"formattedAmount":"4,213,148.95","bookBalance":4213148.95,"accountType":"","accountName":"SIERRA LEONE PHARMACY BOARD REVE","currency":null,"accountno":"0111002070"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SIERRA LEONE MARITIME ADMIN REVE","currency":null,"accountno":"0111002094"},{"availableBalance":13210078.86,"formattedAmount":"13,210,078.86","bookBalance":13210078.86,"accountType":"","accountName":"SLCAA FOREIGN TRAVEL TAX A/C","currency":null,"accountno":"0111002111"},{"availableBalance":2295872847.48,"formattedAmount":"2,295,872,847.48","bookBalance":2295872847.48,"accountType":"","accountName":"GOODS AND SERVICES TAX ACCOUNT","currency":null,"accountno":"0111002135"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"MARINES FINES AC","currency":null,"accountno":"0111002159"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"AFFORESTATION AC","currency":null,"accountno":"0111002197"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"NATIONAL IDENTITY CARD PROJECT E","currency":null,"accountno":"0111002252"},{"availableBalance":412398.2,"formattedAmount":"412,398.20","bookBalance":412398.2,"accountType":"","accountName":"MINISTRY OF PRESIDENTIAL AND PUB","currency":null,"accountno":"0111002276"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"JAPANESE GRANT FOR COPING WITH C","currency":null,"accountno":"0111002317"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"DIAMOND ROYALTIES AC","currency":null,"accountno":"0111002355"},{"availableBalance":11326646.22,"formattedAmount":"11,326,646.22","bookBalance":11326646.22,"accountType":"","accountName":"NON-TAX REVENUE AC","currency":null,"accountno":"0111002379"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"INT. ON 91 182 364 - DAYS TREASU","currency":null,"accountno":"0111002393"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SIERRATELEBID MODERNISATION AND","currency":null,"accountno":"0111002410"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"IMF BUDGET FINANCING TREASURY A/","currency":null,"accountno":"0111002843"},{"availableBalance":962154707.06,"formattedAmount":"962,154,707.06","bookBalance":962154707.06,"accountType":"","accountName":"PETROLEUM EXCISE DUTY ACCOUNT","currency":null,"accountno":"0111002984"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"CATASTROPHE CONTAINMENT RELIEF T","currency":null,"accountno":"0111002991"},{"availableBalance":-47389.02,"formattedAmount":"-47,389.02","bookBalance":-47389.02,"accountType":"","accountName":"INTEREST ON 91 DAYS TREASURY BIL","currency":null,"accountno":"0111003314"},{"availableBalance":-14662146.43,"formattedAmount":"-14,662,146.43","bookBalance":-14662146.43,"accountType":"","accountName":"INTEREST ON 182 DAYS TREASURY BI","currency":null,"accountno":"0111003321"},{"availableBalance":-4861882392.28,"formattedAmount":"-4,861,882,392.28","bookBalance":-4861882392.28,"accountType":"","accountName":"INTEREST ON 364 DAYS TREASURY BI","currency":null,"accountno":"0111003338"},{"availableBalance":12592341.58,"formattedAmount":"12,592,341.58","bookBalance":12592341.58,"accountType":"","accountName":"PETROLEUM REGULATORY AGENCY","currency":null,"accountno":"0111003448"},{"availableBalance":14624361.1,"formattedAmount":"14,624,361.10","bookBalance":14624361.1,"accountType":"","accountName":"PETROLEUM DIRECTORATE","currency":null,"accountno":"0111003455"},{"availableBalance":1416682.0,"formattedAmount":"1,416,682.00","bookBalance":1416682.0,"accountType":"","accountName":"ROAD MAINTENANCE FUND","currency":null,"accountno":"0111003462"},{"availableBalance":12425415.83,"formattedAmount":"12,425,415.83","bookBalance":12425415.83,"accountType":"","accountName":"ENVIRONMENTAL PROTECTION AGENCY","currency":null,"accountno":"0111003479"},{"availableBalance":2661997.72,"formattedAmount":"2,661,997.72","bookBalance":2661997.72,"accountType":"","accountName":"NATIONAL TELECOMMUNICATION COMMI","currency":null,"accountno":"0111003486"},{"availableBalance":34714514.21,"formattedAmount":"34,714,514.21","bookBalance":34714514.21,"accountType":"","accountName":"SIERRA LEONE MARITIME ADMINISTRA","currency":null,"accountno":"0111003493"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SPECIAL TAX & DUTIES","currency":null,"accountno":"0111003503"},{"availableBalance":431020263.0,"formattedAmount":"431,020,263.00","bookBalance":431020263.0,"accountType":"","accountName":"TIMBER EXPORT LEVY","currency":null,"accountno":"0111003527"},{"availableBalance":6709406.02,"formattedAmount":"6,709,406.02","bookBalance":6709406.02,"accountType":"","accountName":"AFFORESTATION AND CITIES LEVY","currency":null,"accountno":"0111003534"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"MULTI DONOR BASKET FUND FREE EDU","currency":null,"accountno":"0111003572"},{"availableBalance":622112.00,"formattedAmount":"622,112.00","bookBalance":622112.00,"accountType":"","accountName":"MULTI DONOR BASKET FUND 4 FREE E","currency":null,"accountno":"0111003596"},{"availableBalance":-10000000.00,"formattedAmount":"-10,000,000.00","bookBalance":-10000000.00,"accountType":"","accountName":"CORRUPTION REC FUNDS ACCOUNT (SL","currency":null,"accountno":"0111003637"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"CORRUPTION REC FUNDS ACCOUNT (US","currency":null,"accountno":"0111003644"},{"availableBalance":3983620.62,"formattedAmount":"3,983,620.62","bookBalance":3983620.62,"accountType":"","accountName":"SIERRA LEONE STANDARD BUREAU DIS","currency":null,"accountno":"0111003651"},{"availableBalance":2696148.84,"formattedAmount":"2,696,148.84","bookBalance":2696148.84,"accountType":"","accountName":"SIERRA LEONE ROADS SAFETY AUTHOR","currency":null,"accountno":"0111003668"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SLPA/GOSL CARGO TRACKING","currency":null,"accountno":"0111003699"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"RECO FUNDS BASED ON TECHNICAL AU","currency":null,"accountno":"0111003730"},{"availableBalance":16922324.29,"formattedAmount":"16,922,324.29","bookBalance":16922324.29,"accountType":"","accountName":"FISHERIES PROTECTION STATISTICS&","currency":null,"accountno":"0111003754"},{"availableBalance":673795.84,"formattedAmount":"673,795.84","bookBalance":673795.84,"accountType":"","accountName":"FREE HEALTH CARE INITIATIVE","currency":null,"accountno":"0111003778"},{"availableBalance":66085329.89,"formattedAmount":"66,085,329.89","bookBalance":66085329.89,"accountType":"","accountName":"PRODUCE MONITORING BOARD","currency":null,"accountno":"0111003785"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"USL TEACHING HOSPITAL COMPLEX","currency":null,"accountno":"0111003840"},{"availableBalance":11031596.25,"formattedAmount":"11,031,596.25","bookBalance":11031596.25,"accountType":"","accountName":"DUTY WAIVER JOINT MNT FUND TREAS","currency":null,"accountno":"0111003857"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"PUBLIC AUCTION COMMITTE TREASURY","currency":null,"accountno":"0111003864"},{"availableBalance":3623824.03,"formattedAmount":"3,623,824.03","bookBalance":3623824.03,"accountType":"","accountName":"COMM OF INQUIRY SPECIAL RECOVERY","currency":null,"accountno":"0111003888"},{"availableBalance":-2055291.44,"formattedAmount":"-2,055,291.44","bookBalance":-2055291.44,"accountType":"","accountName":"DAILY SUBSISTENCE ALW/MED EXP AC","currency":null,"accountno":"0111003929"},{"availableBalance":3780.96,"formattedAmount":"3,780.96","bookBalance":3780.96,"accountType":"","accountName":"S/L LOCAL CONTENT DEVELOPMENT FU","currency":null,"accountno":"0111003936"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"LSS/SLPA/GOSL CARGO TRACKING","currency":null,"accountno":"0111003943"},{"availableBalance":5000000.0,"formattedAmount":"5,000,000.00","bookBalance":5000000.0,"accountType":"","accountName":"LOCAL COUNCIL DEVELOPMENT PROJEC","currency":null,"accountno":"0111003950"},{"availableBalance":205694040.46,"formattedAmount":"205,694,040.46","bookBalance":205694040.46,"accountType":"","accountName":"DEBT MANAGEMENT TREASURY","currency":null,"accountno":"0111003967"},{"availableBalance":85000.0,"formattedAmount":"85,000.00","bookBalance":85000.0,"accountType":"","accountName":"AUDIT SERVICE S/L - AUDIT FEES","currency":null,"accountno":"0111003974"},{"availableBalance":916265.54,"formattedAmount":"916,265.54","bookBalance":916265.54,"accountType":"","accountName":"NPPA-REV FROM SALE OF BIDDING DO","currency":null,"accountno":"0111003981"},{"availableBalance":20024585.14,"formattedAmount":"20,024,585.14","bookBalance":20024585.14,"accountType":"","accountName":"VEHICLE LOAN SCHEME","currency":null,"accountno":"0111004005"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"SLCAA AVIATION FEES","currency":null,"accountno":"0111004012"},{"availableBalance":3326998.54,"formattedAmount":"3,326,998.54","bookBalance":3326998.54,"accountType":"","accountName":"NACOVERC LAB FEES & ENFORCE FINE","currency":null,"accountno":"0111004029"},{"availableBalance":139164.95,"formattedAmount":"139,164.95","bookBalance":139164.95,"accountType":"","accountName":"CTN FEES - FOREIGN CURRENCY","currency":null,"accountno":"0111004036"},{"availableBalance":0.01,"formattedAmount":"0.01","bookBalance":0.01,"accountType":"","accountName":"NATCOM AND BRADCORP GATEWAY REVE","currency":null,"accountno":"0111004043"},{"availableBalance":1120558.48,"formattedAmount":"1,120,558.48","bookBalance":1120558.48,"accountType":"","accountName":"NAT. WATER RESOURCES MGMT AGENCY","currency":null,"accountno":"0111004067"},{"availableBalance":2252147.11,"formattedAmount":"2,252,147.11","bookBalance":2252147.11,"accountType":"","accountName":"NaCOVERC LABORATORY FEES (USD)","currency":null,"accountno":"0111004074"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"WAGE BILL REVOLVING FUND ACCOUNT","currency":null,"accountno":"0111004098"},{"availableBalance":83069442.86,"formattedAmount":"83,069,442.86","bookBalance":83069442.86,"accountType":"","accountName":"STATE LAND SALES A/C","currency":null,"accountno":"0111004160"},{"availableBalance":59935.0,"formattedAmount":"59,935.00","bookBalance":59935.0,"accountType":"","accountName":"34 MILITARY HOSPITAL","currency":null,"accountno":"0111004201"},{"availableBalance":2206155.0,"formattedAmount":"2,206,155.00","bookBalance":2206155.0,"accountType":"","accountName":"BETTING & GAMBLING LICENCES ACCO","currency":null,"accountno":"0111004232"},{"availableBalance":34865.21,"formattedAmount":"34,865.21","bookBalance":34865.21,"accountType":"","accountName":"PAY NO BRIBE CAMPAIGN PROJECT AC","currency":null,"accountno":"0111004421"},{"availableBalance":2293395.84,"formattedAmount":"2,293,395.84","bookBalance":2293395.84,"accountType":"","accountName":"LUNGI BRIDGE FEASIBILITY STUDY(S","currency":null,"accountno":"0111004438"},{"availableBalance":17.05,"formattedAmount":"17.05","bookBalance":17.05,"accountType":"","accountName":"MOPED UNICEF PROGRAM SUPPORT A/C","currency":null,"accountno":"0111004658"},{"availableBalance":164418.88,"formattedAmount":"164,418.88","bookBalance":164418.88,"accountType":"","accountName":"NAT ELECTIONS SUSTAIN TRUST FUND","currency":null,"accountno":"0111004809"},{"availableBalance":0.79,"formattedAmount":"0.79","bookBalance":0.79,"accountType":"","accountName":"IMF SPECIAL DRAWING RIGHTS RETRO","currency":null,"accountno":"0111004847"},{"availableBalance":74814520.77,"formattedAmount":"74,814,520.77","bookBalance":74814520.77,"accountType":"","accountName":"GoSL TSA REVENUE SHARE ACCOUNT","currency":null,"accountno":"0111004878"},{"availableBalance":0.00,"formattedAmount":"0.00","bookBalance":0.00,"accountType":"","accountName":"DUTY WAIVER","currency":null,"accountno":"0111004885"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"IMPREST AC FOR ACC GEN DEPT","currency":null,"accountno":"0111004926"},{"availableBalance":10685160.00,"formattedAmount":"10,685,160.00","bookBalance":10685160.00,"accountType":"","accountName":"SL NATIONAL SHIPPING COMPANY ESC","currency":null,"accountno":"0111004995"},{"availableBalance":-1009872.99,"formattedAmount":"-1,009,872.99","bookBalance":-1009872.99,"accountType":"","accountName":"MINISTRY OF DEFENCE QUARTERLY","currency":null,"accountno":"0111005057"},{"availableBalance":-458150.0,"formattedAmount":"-458,150.00","bookBalance":-458150.0,"accountType":"","accountName":"SIERRA LEONE POLICE GENERAL ACCO","currency":null,"accountno":"0111005129"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"SIERRA LEONE CORRECTIONAL SERVIC","currency":null,"accountno":"0111005136"},{"availableBalance":3446.86,"formattedAmount":"3,446.86","bookBalance":3446.86,"accountType":"","accountName":"IMMIGRATION ACCOUNT","currency":null,"accountno":"0111005150"},{"availableBalance":14952799.83,"formattedAmount":"14,952,799.83","bookBalance":14952799.83,"accountType":"","accountName":"DIAGNOSTIC MEDICAL CENTRE","currency":null,"accountno":"0111005260"},{"availableBalance":6699287.89,"formattedAmount":"6,699,287.89","bookBalance":6699287.89,"accountType":"","accountName":"SALES OF AIRSTRIP LANDS","currency":null,"accountno":"0111005332"},{"availableBalance":140148.43,"formattedAmount":"140,148.43","bookBalance":140148.43,"accountType":"","accountName":"GOSL NATIONAL TREE PLANTING","currency":null,"accountno":"0111005387"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"OFFICE OF THE OMBUDSMAN DISBURSE","currency":null,"accountno":"0111005844"},{"availableBalance":9034.5,"formattedAmount":"9,034.50","bookBalance":9034.5,"accountType":"","accountName":"FERTILIZER SUPPORT FUND","currency":null,"accountno":"0111006054"},{"availableBalance":117899.95,"formattedAmount":"117,899.95","bookBalance":117899.95,"accountType":"","accountName":"TERTIARY EDUCATION COMMISSION DI","currency":null,"accountno":"0111006308"},{"availableBalance":1500000.0,"formattedAmount":"1,500,000.00","bookBalance":1500000.0,"accountType":"","accountName":"SIERRA LEONE PHARMACY BOARD DISB","currency":null,"accountno":"0111006377"},{"availableBalance":0.0,"formattedAmount":"0.00","bookBalance":0.0,"accountType":"","accountName":"SLMET AGRIC VAL CHA DEV PROJ (AV","currency":null,"accountno":"0111006456"},{"availableBalance":1384132.82,"formattedAmount":"1,384,132.82","bookBalance":1384132.82,"accountType":"","accountName":"DIGITAL DEVELOPMENT FUND (DDF) A","currency":null,"accountno":"0111006535"}],"code":"01","success":true,"description":"Success"}] 2025-11-21 22:32:54.6208||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2025-11-21 22:32:54.6208|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]]'. 2025-11-21 22:32:54.6354|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 3174.4393ms 2025-11-21 22:32:54.6354|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2025-11-21 22:32:54.6354|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 3437.6612ms 200 application/json; charset=utf-8 2025-11-21 22:32:55.3049||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-8624381391.76","bookBalance":0.0,"accountType":null,"accountName":"AGD EXPENDITURE ACCOUNTS-GENERAL","currency":null,"accountno":"0111001279","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 22:32:55.3049||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 22:32:55.3049||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 22:32:55.3432||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 22:32:55.3432||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 22:32:55.3525||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2025-11-21 22:32:56.1589||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-5092566928.3","bookBalance":0.0,"accountType":null,"accountName":"AGD SALARIES AND WAGES ACCOUNT19","currency":null,"accountno":"0111001293","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 22:32:56.1589||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 22:32:56.1646||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 22:32:56.1801||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 22:32:56.1801||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 22:32:56.1801||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2025-11-21 22:32:56.9747||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"10547897.45","bookBalance":0.0,"accountType":null,"accountName":"ELECTRONIC FUNDS TRANS SUSPENSE","currency":null,"accountno":"SLE116030002","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 22:32:56.9787||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 22:32:56.9787||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 22:32:56.9989||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 22:32:56.9989||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 22:32:56.9989||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2025-11-21 22:32:57.8428||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-5092566928.3","bookBalance":0.0,"accountType":null,"accountName":"AGD SALARIES AND WAGES ACCOUNT19","currency":null,"accountno":"0111001293","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 22:32:57.8428||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 22:32:57.8428||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 22:32:57.8646||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 22:32:57.8679||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2025-11-21 22:32:57.8679||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2025-11-21 22:32:58.6783||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":"-88918787.83","bookBalance":0.0,"accountType":null,"accountName":"AGD PENSIONS ACCOUNTS 1998","currency":null,"accountno":"0111001310","responseCode":"00","responseMessage":"Success","transactionDate":"0001-01-01T00:00:00"}] 2025-11-21 22:32:58.6819||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2025-11-21 22:32:58.6819||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2025-11-21 22:32:58.7046||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2025-11-21 22:32:58.8223|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; 2025-11-21 22:32:58.8741|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (9ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[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 2025-11-21 22:32:58.8935|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' 2025-11-21 22:32:58.9174|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (8ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 22:32:58.9174|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2025-11-21 22:32:58.9322|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (7ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 22:32:58.9322|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' 2025-11-21 22:32:58.9728|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (26ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 22:32:58.9728|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' 2025-11-21 22:32:58.9839|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (7ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 22:32:58.9839|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' 2025-11-21 22:32:58.9967|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (7ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 22:32:58.9967|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' 2025-11-21 22:32:59.0083|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (5ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2025-11-21 22:32:59.1918|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]]'. 2025-11-21 22:32:59.2045|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 7745.5209ms 2025-11-21 22:32:59.2045|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2025-11-21 22:32:59.2045|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7981.7071ms 200 application/json; charset=utf-8 2025-11-21 22:53:45.2131|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://127.0.0.1:36514/ACCOUNTSERVICES/iisintegration 0 2025-11-21 22:53:45.2161|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 3.1118ms 202