// Job ID: #1106798
using AG.A1.Scheduler.Project.Contracts.Contracts;
var commitLeadToSFCommandHandler = Activate<ICommitLeadToSFCommandHandler>();
await commitLeadToSFCommandHandler.Handle(
FromJson<CommitLeadToSFRequest>("{\"RavingFanId\":44746,\"LastName\":\"N/A\",\"FirstName\":\"ink\",\"Title\":\"ms\",\"Company\":\"ink t4\",\"Street\":null,\"City\":null,\"State\":null,\"PostalCode\":\"12345\",\"Country\":\"United States\",\"Phone\":\"1234567890\",\"Email\":\"test@test.com\",\"Website\":null,\"LeadSource\":\"Employee Referral\",\"Fiscal_Year_End__c\":null,\"Entity_Type__c\":null,\"Source_Email__c\":\"Indira.Kapoor@alliantglobal.com\",\"Source_Name__c\":\"Indira Kapoor\",\"CPA_Email__c\":\"\",\"CPA_Firm__c\":\"\",\"CPA_Name__c\":\"\",\"CPA_Phone__c\":\"\",\"Service_Lines_Interested_In__c\":null,\"Existing_Client_Project_Manager__c\":\"Adam Smith\",\"Primary_Service_Line__c\":\"179D Services\",\"ASL__c\":false,\"Mattersphere_Referral_ID__c\":\"44746\",\"Matter_Number__c\":null,\"PM_ID__c\":\"127\",\"CR_ID__c\":null,\"Submitted_By_ID__c\":3373,\"Submitted_By_Title__c\":null,\"Sub_Team_ID__c\":null,\"Team_ID__c\":null,\"CPA_Contact_Title__c\":\"\",\"Additional_Notes__c\":null,\"Referring_Client_Consent__c\":\"Yes\",\"Existing_Client_Project_Number__c\":\"013229.TCS20002\",\"Referred_By_Company__c\":\"0PTIMUS CONSULTING\",\"Referred_By_Contact__c\":null,\"Referred_By_Title__c\":null,\"Referred_By_Contact_Phone__c\":null,\"Referred_By_Contact_Email__c\":null,\"Current_Service_Lines__c\":\"TCS\",\"Existing_Client_Team_Director__c\":null}"),
null,
null);
| CurrentCulture | |
| CurrentUICulture | |
An exception occurred during performance of the job.
The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing.
System.Threading.Tasks.TaskCanceledException: The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing. ---> System.TimeoutException: The operation was canceled. ---> System.Threading.Tasks.TaskCanceledException: The operation was canceled. ---> System.IO.IOException: Unable to read data from the transport connection: The I/O operation has been aborted because of either a thread exit or an application request.. ---> System.Net.Sockets.SocketException (995): The I/O operation has been aborted because of either a thread exit or an application request. --- End of inner exception stack trace --- at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken) at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource<System.Int32>.GetResult(Int16 token) at System.Net.Http.HttpConnection.InitialFillAsync(Boolean async) at System.Net.Http.HttpConnection.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) --- End of inner exception stack trace --- at System.Net.Http.HttpConnection.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken) at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.DecompressionHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken) --- End of inner exception stack trace --- --- End of inner exception stack trace --- at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponse restResponse) in C:\aOne\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 392 at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpoint apiEndpoint, IDictionary`2 headers, T obj, IDictionary`2 urlParameters) in C:\aOne\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 266 at AG.Integrations.RESTClients.AlliantOneApiREST.ClientControllers.RavingFanA1ApiClientController.UpdateRavingFanRecordLeadId(RavingFanReferralUpdateDto requestModel) in C:\aOne\A1Solution\src-integrations\AG.Integrations.RESTClients\AlliantOneApiREST\ClientControllers\RavingFanA1ApiClientController.cs:line 31 at AG.A1.Scheduler.Project.Application.Features.RavingFanReferralToSF.Commands.CommitLeadToSFCommandHandler.Handle(CommitLeadToSFRequest request, CancellationToken cancellationToken, PerformContext performContext) in C:\aOne\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\LeadToSF\Commands\CommitLeadToSFCommandHandler.cs:line 50 at System.Runtime.CompilerServices.TaskAwaiter.GetResult()