ICommitTimeEntriesTo3E.Handle

// Job ID: #1113924
using AG.A1.Scheduler.Billing.Contracts.Contracts;

var commitTimeEntriesTo3E = Activate<ICommitTimeEntriesTo3E>();
await commitTimeEntriesTo3E.Handle(
    FromJson<CommitTimeEntriesTo3ERequest>("{\"CommitAll\":false,\"TimeEntryIds\":[24320215],\"UserId\":50,\"UserFullName\":\"Abbas Naqi\",\"UserWindowsId\":\"AG\\ANaqi\",\"InputSource\":\"alliantOne\",\"SubmittedBy\":7814,\"IsAGTalent\":false}"),
    null,
    null);

Parameters

CurrentCulture
"en-US"
CurrentUICulture
"en-US"

State

11/14/2025 7:20:33 AM (+7.553s) Failed

An exception occurred during performance of the job.

Newtonsoft.Json.JsonSerializationException

Cannot deserialize the current JSON object (e.g. {"name":"value"}) into type 'System.Collections.Generic.List`1[AG.A1.Application.Contracts.DTO.Billings.TimeSplitDto]' because the type requires a JSON array (e.g. [1,2,3]) to deserialize correctly. To fix this error either change the JSON to a JSON array (e.g. [1,2,3]) or change the deserialized type so that it is a normal .NET type (e.g. not a primitive type like integer, not a collection type like an array or List<T>) that can be deserialized from a JSON object. JsonObjectAttribute can also be added to the type to force it to deserialize from a JSON object. Path 'result', line 1, position 10.

Newtonsoft.Json.JsonSerializationException: Cannot deserialize the current JSON object (e.g. {"name":"value"}) into type 'System.Collections.Generic.List`1[AG.A1.Application.Contracts.DTO.Billings.TimeSplitDto]' because the type requires a JSON array (e.g. [1,2,3]) to deserialize correctly.
To fix this error either change the JSON to a JSON array (e.g. [1,2,3]) or change the deserialized type so that it is a normal .NET type (e.g. not a primitive type like integer, not a collection type like an array or List<T>) that can be deserialized from a JSON object. JsonObjectAttribute can also be added to the type to force it to deserialize from a JSON object.
Path 'result', line 1, position 10.
   at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponse restResponse) in C:\Users\MSailaja\Source\Repos\alliantOne\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 392
   at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpoint apiEndpoint, IDictionary`2 headers, IDictionary`2 bodyParameters, IDictionary`2 urlParameters) in C:\Users\MSailaja\Source\Repos\alliantOne\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 273
   at AG.Integrations.RESTClients.BillingApiREST.BillingControllers.BillingA1ApiClientController.GetTimeLedgerTimeSplits(IEnumerable`1 requestModels) in C:\Users\MSailaja\Source\Repos\alliantOne\A1Solution\src-integrations\AG.Integrations.RESTClients\BillingApiREST\BillingControllers\BillingA1ApiClientController.cs:line 290
   at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.CommitTimeEntryTo3ECommandHandler.SplitTimeForLinkedFiles()
   at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.CommitTimeEntryTo3ECommandHandler.AddTimeSplitRows()
   at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.CommitTimeEntryTo3ECommandHandler.Handle(CommitTimeEntriesTo3ERequest request, CancellationToken cancellationToken, PerformContext performContext)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()

+19.380s Processing

Server:
wvdappdevv2-19:2364
Worker:
3d901d5e
+18msSubmission to 3E - Started at 11/14/2025 1:20:25 AM
+32msFeeUserId: 50, name=Abbas Naqi(AG\ANaqi)
+1.357sTotal entries #: 1, Submitted by=Mythili Sailaja(AG\MSailaja)
+1.478sTotal Linked TCS Time Splits #: 2
+2.498sTimekeeperIndex: 3872, Timekeeper Status: ACTIVE
+3.576sA1TimekeeperId: 1073, User Daily Time Limit: NULL, User Daily Client Time Limit: NULL
+7.482sCannot perform commit operation - Cannot deserialize the current JSON object (e.g. {"name":"value"}) into type 'System.Collections.Generic.List`1[AG.A1.Application.Contracts.DTO.Billings.TimeSplitDto]' because the type requires a JSON array (e.g. [1,2,3]) to deserialize correctly. To fix this error either change the JSON to a JSON array (e.g. [1,2,3]) or change the deserialized type so that it is a normal .NET type (e.g. not a primitive type like integer, not a collection type like an array or List<T>) that can be deserialized from a JSON object. JsonObjectAttribute can also be added to the type to force it to deserialize from a JSON object. Path 'result', line 1, position 10.

+11m 45.927s Processing

Server:
wvdappdevv2-19:2364
Worker:
c8405a76
+1.182sSubmission to 3E - Started at 11/14/2025 1:20:07 AM
+1.789sFeeUserId: 50, name=Abbas Naqi(AG\ANaqi)
+10.969sTotal entries #: 1, Submitted by=Mythili Sailaja(AG\MSailaja)
+11.164sTotal Linked TCS Time Splits #: 2
+11.564sTimekeeperIndex: 3872, Timekeeper Status: ACTIVE
+11.701sA1TimekeeperId: 1073, User Daily Time Limit: NULL, User Daily Client Time Limit: NULL
+19.221sCannot perform commit operation - Cannot deserialize the current JSON object (e.g. {"name":"value"}) into type 'System.Collections.Generic.List`1[AG.A1.Application.Contracts.DTO.Billings.TimeSplitDto]' because the type requires a JSON array (e.g. [1,2,3]) to deserialize correctly. To fix this error either change the JSON to a JSON array (e.g. [1,2,3]) or change the deserialized type so that it is a normal .NET type (e.g. not a primitive type like integer, not a collection type like an array or List<T>) that can be deserialized from a JSON object. JsonObjectAttribute can also be added to the type to force it to deserialize from a JSON object. Path 'result', line 1, position 10.

+57ms Processing

Server:
wvdappdevv2-19:2364
Worker:
963e5a1b
+20msSubmission to 3E - Started at 11/14/2025 1:08:20 AM
+1.502sFeeUserId: 50, name=Abbas Naqi(AG\ANaqi)
+7.343sTotal entries #: 1, Submitted by=Mythili Sailaja(AG\MSailaja)
+13.387sTimekeeperIndex: 3872, Timekeeper Status: ACTIVE
+13.498sA1TimekeeperId: 1073, User Daily Time Limit: NULL, User Daily Client Time Limit: NULL
+12m 12.347sSending TimeSplitCard to 3E: #24320216 | 013229.0006 | 11/14/2025 | 16 Unit(s) - Failed
+12m 13.175sOne or more records could not be committed successfully
+12m 13.181sSubmission to 3E - Completed at 11/14/2025 1:20:33 AM

+1.833s Enqueued

11/14/2025 7:08:18 AM Created