2025-12-11 16:44:56.267 +05:30 WRN Using an in-memory repository. Keys will not be persisted to storage. 2025-12-11 16:44:56.334 +05:30 WRN Neither user profile nor HKLM registry available. Using an ephemeral key repository. Protected data will be unavailable when application exits. 2025-12-11 16:44:56.366 +05:30 INF Creating key {7c94514a-8f7b-416e-854e-71da27f03cdd} with creation date 2025-12-11 11:14:56Z, activation date 2025-12-11 11:14:56Z, and expiration date 2026-03-11 11:14:56Z. 2025-12-11 16:44:56.392 +05:30 WRN No XML encryptor configured. Key {7c94514a-8f7b-416e-854e-71da27f03cdd} may be persisted to storage in unencrypted form. 2025-12-11 16:44:56.590 +05:30 INF Application started. Press Ctrl+C to shut down. 2025-12-11 16:44:56.591 +05:30 INF Hosting environment: Production 2025-12-11 16:44:56.591 +05:30 INF Content root path: C:\inetpub\wwwroot\Sang.FocusIntegration.API 2025-12-11 16:44:56.610 +05:30 b9203b31-9569-4133-9318-fb10d268c40f INF Request starting HTTP/1.1 POST http://103.120.178.195/Sang.FocusIntegration.API/gsg/posttofocusgsgtransactions?transId=15282&docType=1&be=1&countryId=1&isEdit=False - application/json; charset=utf-8 2 2025-12-11 16:44:56.821 +05:30 b9203b31-9569-4133-9318-fb10d268c40f INF HTTP request: Path: /gsg/posttofocusgsgtransactions QueryString: ?transId=15282&docType=1&be=1&countryId=1&isEdit=False Headers: {Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoiZGlwaW4iLCJ1bmlxdWVfbmFtZSI6ImRpcGluIiwibmFtZWlkIjoiMTAzMiIsIkN1c3RvbUNsYWltVHlwZSI6WyJEYXRhYmFzZUtleSIsIkRhdGFiYXNlTmFtZSIsIkNoYW5uZWxJZCIsIkxhbmd1YWdlSWQiXSwiRGF0YWJhc2VLZXkiOiIxIiwiRGF0YWJhc2VOYW1lIjoiU2FuZ0V4REJfR1NHIiwiQ2hhbm5lbElkIjoiMSIsIkxhbmd1YWdlSWQiOiIwIiwibmJmIjoxNzY1NDQ0NTY1LCJleHAiOjE3NjU0NTg5NjUsImlhdCI6MTc2NTQ0NDU2NX0.Pa4uyCQuqfDv9XqDgYzmXfx3zk47aPyvfaOMS6_QSys}, {Content-Length: 2}, {Content-Type: application/json; charset=utf-8}, {Host: 103.120.178.195}, {traceparent: 00-84bba7e7ecfdc266258416b8f6bd8925-1ebc65f418427df2-00} Host: 103.120.178.195 Body: {} 2025-12-11 16:44:56.875 +05:30 50cb2aa2-7077-465e-9895-487b9dcefd36 INF Executing endpoint 'Sang.FocusIntegration.Api.Controllers.GsgController.PostToFocusGsgTransactions (Sang.FocusIntegration.Api)' 2025-12-11 16:44:56.912 +05:30 50cb2aa2-7077-465e-9895-487b9dcefd36 INF Route matched with {action = "PostToFocusGsgTransactions", controller = "Gsg"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] PostToFocusGsgTransactions(Int32, Int32, Int32, Int32, Boolean) on controller Sang.FocusIntegration.Api.Controllers.GsgController (Sang.FocusIntegration.Api). 2025-12-11 16:44:58.253 +05:30 50cb2aa2-7077-465e-9895-487b9dcefd36 INF Start processing HTTP request POST http://103.120.178.195/Focus8API/login 2025-12-11 16:44:58.258 +05:30 50cb2aa2-7077-465e-9895-487b9dcefd36 INF Sending HTTP request POST http://103.120.178.195/Focus8API/login 2025-12-11 16:45:25.230 +05:30 50cb2aa2-7077-465e-9895-487b9dcefd36 INF Received HTTP response headers after 26962.4265ms - 200 2025-12-11 16:45:25.239 +05:30 50cb2aa2-7077-465e-9895-487b9dcefd36 INF End processing HTTP request after 26996.9065ms - 200 2025-12-11 16:45:25.447 +05:30 50cb2aa2-7077-465e-9895-487b9dcefd36 INF Formatted Json Request: {"data":[{"Body":[{"Item__Id":13811,"TaxCode__Id":1,"VAT":5,"Unit__Id":1,"Quantity":42.0,"Rate":274.0,"sRemarks":"","ItemExtraDescription":"DRY DOG FOOD","Description":"PRO PLAN EVERYDAY NUTRITION SMALL & MINI ADULT 14 KG CHICKN","ItemBarcode":"7613035122314","WarrantyNote":"","RMA":"","Batch":{"BatchId":2341,"BatchNo":"BATCH 1","Qty":42.0},"ItemExpiryDate":132777477},{"Item__Id":13812,"TaxCode__Id":1,"VAT":5,"Unit__Id":1,"Quantity":43.0,"Rate":152.0,"sRemarks":"","ItemExtraDescription":"DRY DOG FOOD","Description":"PRO PLAN EVERYDAY NUTRITION SMALL & MINI ADULT 7KG CHICKEN","ItemBarcode":"7613035123458","WarrantyNote":"","RMA":"","Batch":{"BatchId":2082,"BatchNo":"EKUEYRUI","Qty":43.0},"ItemExpiryDate":132778778},{"Item__Id":13813,"TaxCode__Id":1,"VAT":5,"Unit__Id":8,"Quantity":92.0,"Rate":45.0,"sRemarks":"","ItemExtraDescription":"MULTIPACK","Description":"PRO PLAN STERILISED WET CAT FOOD, BEEF IN GRAVY,10 X 85G","ItemBarcode":"7613038182506","WarrantyNote":"","RMA":"","Batch":{"BatchId":30,"BatchNo":"45","Qty":92.0},"ItemExpiryDate":132843273},{"Item__Id":13814,"TaxCode__Id":1,"VAT":5,"Unit__Id":8,"Quantity":85.0,"Rate":45.0,"sRemarks":"","ItemExtraDescription":"GRAVY, MULTIPACK,","Description":"PRO PLAN STERILISED ADULT WET CAT FOOD, CHICKEN 10 X 85G","ItemBarcode":"7613034771186","WarrantyNote":"","RMA":"","Batch":{"BatchId":2102,"BatchNo":"GLHIURT","Qty":85.0},"ItemExpiryDate":132713503},{"Item__Id":13816,"TaxCode__Id":1,"VAT":5,"Unit__Id":8,"Quantity":60.0,"Rate":45.0,"sRemarks":"","ItemExtraDescription":"MULTIPACK","Description":"PRO PLAN KITTEN, WET CAT FOOD, TURKEY IN GRAVY, 10X85G","ItemBarcode":"7613034767646","WarrantyNote":"","RMA":"","Batch":{"BatchId":2122,"BatchNo":"RTOIYURTY","Qty":60.0},"ItemExpiryDate":132776213},{"Item__Id":13817,"TaxCode__Id":1,"VAT":5,"Unit__Id":8,"Quantity":24.0,"Rate":113.0,"sRemarks":"","ItemExtraDescription":"WET CAT FOOD MOUSSE","Description":"PRO PLAN ADULT DELICATE DIGESTION, TURKEY 24 X 85G","ItemBarcode":"3222277189920","WarrantyNote":"","RMA":"","Batch":{"BatchId":70,"BatchNo":"189955","Qty":24.0},"ItemExpiryDate":132908809},{"Item__Id":13818,"TaxCode__Id":1,"VAT":5,"Unit__Id":8,"Quantity":25.0,"Rate":113.0,"sRemarks":"","ItemExtraDescription":"","Description":"PRO PLAN ADULT MAINTENANCE,WET CAT FOOD,CHICKEN 24 X 85G","ItemBarcode":"7613031358076","WarrantyNote":"","RMA":"","Batch":{"BatchId":2142,"BatchNo":"EROUIERO","Qty":25.0},"ItemExpiryDate":132842001},{"Item__Id":13820,"TaxCode__Id":1,"VAT":5,"Unit__Id":8,"Quantity":13.0,"Rate":113.0,"sRemarks":"","ItemExtraDescription":"WET CAT FOOD","Description":"PRO PLAN KITTEN HEALTHY START, MOUSSE CHICKEN 24 X 85","ItemBarcode":"7613033568626","WarrantyNote":"","RMA":"","Batch":{"BatchId":2162,"BatchNo":"ROIUREOIT","Qty":13.0},"ItemExpiryDate":132778241},{"Item__Id":13821,"TaxCode__Id":1,"VAT":5,"Unit__Id":1,"Quantity":89.0,"Rate":60.0,"sRemarks":"","ItemExtraDescription":"DRY CAT FOOD","Description":"PRO PLAN STERILISED KITTEN HEALTHY START,SALMON 1.5 KG","ItemBarcode":"7613037684070","WarrantyNote":"","RMA":"","Batch":{"BatchId":2172,"BatchNo":"EORUTEROI","Qty":89.0},"ItemExpiryDate":132842760},{"Item__Id":13822,"TaxCode__Id":1,"VAT":5,"Unit__Id":1,"Quantity":65.0,"Rate":170.0,"sRemarks":"","ItemExtraDescription":"ALLERGEN REDUCING DRY CAT FOOD","Description":"PRO PLAN LIVECLEAR STERILISED ADULT,TURKEY 2.8 KG","ItemBarcode":"7613038388694","WarrantyNote":"","RMA":"","Batch":{"BatchId":2182,"BatchNo":"RTOIYURTOIY","Qty":65.0},"ItemExpiryDate":132777222},{"Item__Id":13823,"TaxCode__Id":1,"VAT":5,"Unit__Id":1,"Quantity":26.0,"Rate":285.0,"sRemarks":"","ItemExtraDescription":"DRY CATFOOD","Description":"PRO PLAN ADULT RENAL PLUS EVERYDAY CHICKEN, 10 KG","ItemBarcode":"7613036508032","WarrantyNote":"","RMA":"","Batch":{"BatchId":2192,"BatchNo":"DFJKGHDF","Qty":26.0},"ItemExpiryDate":132908293},{"Item__Id":13824,"TaxCode__Id":1,"VAT":5,"Unit__Id":1,"Quantity":57.0,"Rate":85.0,"sRemarks":"","ItemExtraDescription":"","Description":"PRO PLAN KITTEN HEALTHY START DRY CAT FOOD CHICKEN, 3 KG","ItemBarcode":"7613036505277","WarrantyNote":"","RMA":"","Batch":{"BatchId":2202,"BatchNo":"EROTUIREOI","Qty":57.0},"ItemExpiryDate":132843528},{"Item__Id":13825,"TaxCode__Id":1,"VAT":5,"Unit__Id":1,"Quantity":82.0,"Rate":95.0,"sRemarks":"","ItemExtraDescription":"DRY CAT FOOD","Description":"PRO PLAN STERILISED ADULT DELICATE DIGESTION CHICKEN, 3 KG","ItemBarcode":"7613036520027","WarrantyNote":"","RMA":"","Batch":{"BatchId":2212,"BatchNo":"EROUITFGJ","Qty":82.0},"ItemExpiryDate":132842761},{"Item__Id":13826,"TaxCode__Id":1,"VAT":5,"Unit__Id":1,"Quantity":84.0,"Rate":95.0,"sRemarks":"","ItemExtraDescription":"","Description":"PRO PLAN STERILISED ADULT RENAL PLUS DRY CATFOOD TURKEY,3KG","ItemBarcode":"7613033560033","WarrantyNote":"","RMA":"","Batch":{"BatchId":2222,"BatchNo":"VM,BNDFK","Qty":84.0},"ItemExpiryDate":132777987},{"Item__Id":13827,"TaxCode__Id":1,"VAT":5,"Unit__Id":1,"Quantity":27.0,"Rate":95.0,"sRemarks":"","ItemExtraDescription":"DRY CAT FOOD","Description":"PRO PLAN ADULT RENAL PLUS EVERYDAY CHICKEN, 3 KG","ItemBarcode":"7613036508001","WarrantyNote":"","RMA":"","Batch":{"BatchId":2232,"BatchNo":"RITOTYUR","Qty":27.0},"ItemExpiryDate":132842782},{"Item__Id":13828,"TaxCode__Id":1,"VAT":5,"Unit__Id":1,"Quantity":83.0,"Rate":20.0,"sRemarks":"","ItemExtraDescription":"DRY CAT FOOD","Description":"PRO PLAN STERILISED ADULT DELICATE DIGESTION CHICKEN, 400 G","ItemBarcode":"7613036544801","WarrantyNote":"","RMA":"","Batch":{"BatchId":2242,"BatchNo":"GJKLFH","Qty":83.0},"ItemExpiryDate":132843037},{"Item__Id":13829,"TaxCode__Id":1,"VAT":5,"Unit__Id":1,"Quantity":23.0,"Rate":20.0,"sRemarks":"","ItemExtraDescription":"","Description":"PRO PLAN ADULT DELICATE DIGESTION, DRY CAT FOOD TURKEY,400G","ItemBarcode":"7613033568671","WarrantyNote":"","RMA":"","Batch":{},"ItemExpiryDate":null},{"Item__Id":13815,"TaxCode__Id":1,"VAT":5,"Unit__Id":8,"Quantity":37.0,"Rate":45.0,"sRemarks":"","ItemExtraDescription":"MULTIPACK","Description":"PRO PLAN DELICATE WET CAT FOOD, OCEANFISH IN GRAVY,10X85G","ItemBarcode":"7613034771155","WarrantyNote":"","RMA":"","Batch":{},"ItemExpiryDate":null},{"Item__Id":13819,"TaxCode__Id":1,"VAT":5,"Unit__Id":8,"Quantity":93.0,"Rate":120.0,"sRemarks":"","ItemExtraDescription":"","Description":"PRO PLAN STRLS CAT HSCC SMN&TN 24X85G","ItemBarcode":"7613033568565","WarrantyNote":"","RMA":"","Batch":{"BatchId":90,"BatchNo":"9888","Qty":93.0},"ItemExpiryDate":132908809}],"Header":{"Date":132713483,"CustomerAC__Id":1518,"Currency__Id":7,"Company Master__Id":1,"Division__Id":2,"Branch__Id":6,"Place of supply__Id":3,"Jurisdiction__Id":1,"Salesman__Id":0,"Type Of Voucher__Id":61,"Discount Type__Id":0,"Pay Terms__Id":1,"sNarration":null,"DeliveryTerms":"","CustomerDeliveryAddress":"P.O BOX: 52150, , ABU DHABI, ","DiscountReference":"","EventDateandName":"","SampleRequestBy__Id":0,"DiscountCouponReference":"","HeaderId":0,"Outlet__Id":2,"WebOrderNo":"ORD273"}}]}. 2025-12-11 16:45:25.454 +05:30 50cb2aa2-7077-465e-9895-487b9dcefd36 INF Start processing HTTP request POST http://103.120.178.195/Focus8API/Transactions/Delivery%20Note%20-%20Nestle%20Online 2025-12-11 16:45:25.455 +05:30 50cb2aa2-7077-465e-9895-487b9dcefd36 INF Sending HTTP request POST http://103.120.178.195/Focus8API/Transactions/Delivery%20Note%20-%20Nestle%20Online 2025-12-11 16:45:30.436 +05:30 50cb2aa2-7077-465e-9895-487b9dcefd36 INF Received HTTP response headers after 4981.0831ms - 200 2025-12-11 16:45:30.438 +05:30 50cb2aa2-7077-465e-9895-487b9dcefd36 INF End processing HTTP request after 4986.3468ms - 200 2025-12-11 16:45:30.446 +05:30 50cb2aa2-7077-465e-9895-487b9dcefd36 INF Transaction result: OK - {"data":[null],"url":"http://103.120.178.195/Focus8API/Transactions/Delivery%20Note%20-%20Nestle%20Online","result":-1,"message":"Transaction Validation is failed: Batch not available"} 2025-12-11 16:45:30.701 +05:30 50cb2aa2-7077-465e-9895-487b9dcefd36 WRN Transaction Failed Sync Status : TransId - 15282, TotalVouchers - 1, FailureCount - 1, OverallFocusStatus - 3 2025-12-11 16:45:30.856 +05:30 50cb2aa2-7077-465e-9895-487b9dcefd36 INF Executing BadRequestObjectResult, writing value of type 'Sang.Service.Common.ApiResponse.ApiResponse'. 2025-12-11 16:45:30.918 +05:30 50cb2aa2-7077-465e-9895-487b9dcefd36 INF Executed action Sang.FocusIntegration.Api.Controllers.GsgController.PostToFocusGsgTransactions (Sang.FocusIntegration.Api) in 33994.2842ms 2025-12-11 16:45:30.921 +05:30 50cb2aa2-7077-465e-9895-487b9dcefd36 INF Executed endpoint 'Sang.FocusIntegration.Api.Controllers.GsgController.PostToFocusGsgTransactions (Sang.FocusIntegration.Api)' 2025-12-11 16:45:30.925 +05:30 50cb2aa2-7077-465e-9895-487b9dcefd36 INF HTTP Response: StatusCode: 400 Headers: {X-Correlation-Id: b9203b31-9569-4133-9318-fb10d268c40f}, {Content-Type: application/json; charset=utf-8}, {Content-Length: 463} Body: {"status":"Failure","statusCode":5000,"message":"Failed Posting to Focus.","result":"[{\"Voucher\":\"Delivery Note - Nestle Online\",\"Url\":\"http://103.120.178.195/Focus8API/Transactions/Delivery Note - Nestle Online\",\"Response\":\"{\\\"data\\\":[null],\\\"url\\\":\\\"http://103.120.178.195/Focus8API/Transactions/Delivery%20Note%20-%20Nestle%20Online\\\",\\\"result\\\":-1,\\\"message\\\":\\\"Transaction Validation is failed: Batch not available\\\"}\"}]"} 2025-12-11 16:45:30.961 +05:30 50cb2aa2-7077-465e-9895-487b9dcefd36 INF Request finished HTTP/1.1 POST http://103.120.178.195/Sang.FocusIntegration.API/gsg/posttofocusgsgtransactions?transId=15282&docType=1&be=1&countryId=1&isEdit=False - 400 463 application/json; charset=utf-8 34351.914ms 2025-12-11 16:51:29.203 +05:30 2ad301d3-2fee-45e7-96c7-4e48acdfbb61 INF Request starting HTTP/1.1 POST http://103.120.178.195/Sang.FocusIntegration.API/gsg/posttofocusgsgtransactions?transId=15283&docType=1&be=1&countryId=1&isEdit=False - application/json; charset=utf-8 2 2025-12-11 16:51:29.221 +05:30 2ad301d3-2fee-45e7-96c7-4e48acdfbb61 INF HTTP request: Path: /gsg/posttofocusgsgtransactions QueryString: ?transId=15283&docType=1&be=1&countryId=1&isEdit=False Headers: {Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoic2hpamkiLCJ1bmlxdWVfbmFtZSI6InNoaWppIiwibmFtZWlkIjoiMjA5MiIsIkN1c3RvbUNsYWltVHlwZSI6WyJEYXRhYmFzZUtleSIsIkRhdGFiYXNlTmFtZSIsIkNoYW5uZWxJZCIsIkxhbmd1YWdlSWQiXSwiRGF0YWJhc2VLZXkiOiIxIiwiRGF0YWJhc2VOYW1lIjoiU2FuZ0V4REJfR1NHIiwiQ2hhbm5lbElkIjoiMSIsIkxhbmd1YWdlSWQiOiIwIiwibmJmIjoxNzY1NDUxOTQ2LCJleHAiOjE3NjU0NjYzNDYsImlhdCI6MTc2NTQ1MTk0Nn0.guzr48BwtspCEqF5nXkJiSurX0Chx5a5ZAniL4qkjzE}, {Content-Length: 2}, {Content-Type: application/json; charset=utf-8}, {Host: 103.120.178.195}, {traceparent: 00-ce4469028c91628b3a852594c59b1efb-5108ac9977a2bc4b-00} Host: 103.120.178.195 Body: {} 2025-12-11 16:51:29.229 +05:30 44d9d626-ce8b-40c5-acec-144c30e7eed0 INF Executing endpoint 'Sang.FocusIntegration.Api.Controllers.GsgController.PostToFocusGsgTransactions (Sang.FocusIntegration.Api)' 2025-12-11 16:51:29.230 +05:30 44d9d626-ce8b-40c5-acec-144c30e7eed0 INF Route matched with {action = "PostToFocusGsgTransactions", controller = "Gsg"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] PostToFocusGsgTransactions(Int32, Int32, Int32, Int32, Boolean) on controller Sang.FocusIntegration.Api.Controllers.GsgController (Sang.FocusIntegration.Api). 2025-12-11 16:51:29.403 +05:30 44d9d626-ce8b-40c5-acec-144c30e7eed0 INF Start processing HTTP request POST http://103.120.178.195/Focus8API/login 2025-12-11 16:51:29.403 +05:30 44d9d626-ce8b-40c5-acec-144c30e7eed0 INF Sending HTTP request POST http://103.120.178.195/Focus8API/login 2025-12-11 16:51:29.477 +05:30 44d9d626-ce8b-40c5-acec-144c30e7eed0 INF Received HTTP response headers after 73.8623ms - 200 2025-12-11 16:51:29.477 +05:30 44d9d626-ce8b-40c5-acec-144c30e7eed0 INF End processing HTTP request after 75.1084ms - 200 2025-12-11 16:51:29.481 +05:30 44d9d626-ce8b-40c5-acec-144c30e7eed0 INF Formatted Json Request: {"data":[{"Body":[{"Item__Id":13816,"TaxCode__Id":1,"VAT":5,"Unit__Id":8,"Quantity":1.0,"Rate":45.0,"sRemarks":"","ItemExtraDescription":"MULTIPACK","Description":"PRO PLAN KITTEN, WET CAT FOOD, TURKEY IN GRAVY, 10X85G","ItemBarcode":"7613034767646","WarrantyNote":"","RMA":"","Batch":{"BatchId":2122,"BatchNo":"RTOIYURTY","Qty":1.0},"ItemExpiryDate":132776213},{"Item__Id":13821,"TaxCode__Id":1,"VAT":5,"Unit__Id":1,"Quantity":9.0,"Rate":60.0,"sRemarks":"","ItemExtraDescription":"DRY CAT FOOD","Description":"PRO PLAN STERILISED KITTEN HEALTHY START,SALMON 1.5 KG","ItemBarcode":"7613037684070","WarrantyNote":"","RMA":"","Batch":{"BatchId":2172,"BatchNo":"EORUTEROI","Qty":9.0},"ItemExpiryDate":132842760},{"Item__Id":13829,"TaxCode__Id":1,"VAT":5,"Unit__Id":1,"Quantity":2.0,"Rate":20.0,"sRemarks":"","ItemExtraDescription":"","Description":"PRO PLAN ADULT DELICATE DIGESTION, DRY CAT FOOD TURKEY,400G","ItemBarcode":"7613033568671","WarrantyNote":"","RMA":"","Batch":{},"ItemExpiryDate":null}],"Header":{"Date":132713483,"CustomerAC__Id":1001,"Currency__Id":7,"Company Master__Id":1,"Division__Id":2,"Branch__Id":6,"Place of supply__Id":1,"Jurisdiction__Id":1,"Salesman__Id":0,"Type Of Voucher__Id":61,"Discount Type__Id":0,"Pay Terms__Id":1,"sNarration":null,"DeliveryTerms":"","CustomerDeliveryAddress":"DUBAI, UAE, , , ","DiscountReference":"","EventDateandName":"","SampleRequestBy__Id":0,"DiscountCouponReference":"","HeaderId":0,"Outlet__Id":2,"WebOrderNo":"ORD274"}}]}. 2025-12-11 16:51:29.482 +05:30 44d9d626-ce8b-40c5-acec-144c30e7eed0 INF Start processing HTTP request POST http://103.120.178.195/Focus8API/Transactions/Delivery%20Note%20-%20Nestle%20Online 2025-12-11 16:51:29.482 +05:30 44d9d626-ce8b-40c5-acec-144c30e7eed0 INF Sending HTTP request POST http://103.120.178.195/Focus8API/Transactions/Delivery%20Note%20-%20Nestle%20Online 2025-12-11 16:51:30.104 +05:30 44d9d626-ce8b-40c5-acec-144c30e7eed0 INF Received HTTP response headers after 621.5444ms - 200 2025-12-11 16:51:30.107 +05:30 44d9d626-ce8b-40c5-acec-144c30e7eed0 INF End processing HTTP request after 625.0957ms - 200 2025-12-11 16:51:30.109 +05:30 44d9d626-ce8b-40c5-acec-144c30e7eed0 INF Transaction result: OK - {"data":[null],"url":"http://103.120.178.195/Focus8API/Transactions/Delivery%20Note%20-%20Nestle%20Online","result":-1,"message":"Transaction Validation is failed: Batch not available"} 2025-12-11 16:51:30.111 +05:30 44d9d626-ce8b-40c5-acec-144c30e7eed0 WRN Transaction Failed Sync Status : TransId - 15283, TotalVouchers - 1, FailureCount - 1, OverallFocusStatus - 3 2025-12-11 16:51:30.125 +05:30 44d9d626-ce8b-40c5-acec-144c30e7eed0 INF Executing BadRequestObjectResult, writing value of type 'Sang.Service.Common.ApiResponse.ApiResponse'. 2025-12-11 16:51:30.130 +05:30 44d9d626-ce8b-40c5-acec-144c30e7eed0 INF Executed action Sang.FocusIntegration.Api.Controllers.GsgController.PostToFocusGsgTransactions (Sang.FocusIntegration.Api) in 899.5401ms 2025-12-11 16:51:30.130 +05:30 44d9d626-ce8b-40c5-acec-144c30e7eed0 INF Executed endpoint 'Sang.FocusIntegration.Api.Controllers.GsgController.PostToFocusGsgTransactions (Sang.FocusIntegration.Api)' 2025-12-11 16:51:30.131 +05:30 44d9d626-ce8b-40c5-acec-144c30e7eed0 INF HTTP Response: StatusCode: 400 Headers: {X-Correlation-Id: 2ad301d3-2fee-45e7-96c7-4e48acdfbb61}, {Content-Type: application/json; charset=utf-8}, {Content-Length: 463} Body: {"status":"Failure","statusCode":5000,"message":"Failed Posting to Focus.","result":"[{\"Voucher\":\"Delivery Note - Nestle Online\",\"Url\":\"http://103.120.178.195/Focus8API/Transactions/Delivery Note - Nestle Online\",\"Response\":\"{\\\"data\\\":[null],\\\"url\\\":\\\"http://103.120.178.195/Focus8API/Transactions/Delivery%20Note%20-%20Nestle%20Online\\\",\\\"result\\\":-1,\\\"message\\\":\\\"Transaction Validation is failed: Batch not available\\\"}\"}]"} 2025-12-11 16:51:30.135 +05:30 44d9d626-ce8b-40c5-acec-144c30e7eed0 INF Request finished HTTP/1.1 POST http://103.120.178.195/Sang.FocusIntegration.API/gsg/posttofocusgsgtransactions?transId=15283&docType=1&be=1&countryId=1&isEdit=False - 400 463 application/json; charset=utf-8 932.7907ms 2025-12-11 16:59:18.799 +05:30 334d8249-27f2-4a17-a175-23ea5bf28702 INF Request starting HTTP/1.1 POST http://103.120.178.195/Sang.FocusIntegration.API/gsg/posttofocusgsgtransactions?transId=15284&docType=1&be=1&countryId=1&isEdit=False - application/json; charset=utf-8 2 2025-12-11 16:59:18.826 +05:30 334d8249-27f2-4a17-a175-23ea5bf28702 INF HTTP request: Path: /gsg/posttofocusgsgtransactions QueryString: ?transId=15284&docType=1&be=1&countryId=1&isEdit=False Headers: {Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoic2hpamkiLCJ1bmlxdWVfbmFtZSI6InNoaWppIiwibmFtZWlkIjoiMjA5MiIsIkN1c3RvbUNsYWltVHlwZSI6WyJEYXRhYmFzZUtleSIsIkRhdGFiYXNlTmFtZSIsIkNoYW5uZWxJZCIsIkxhbmd1YWdlSWQiXSwiRGF0YWJhc2VLZXkiOiIxIiwiRGF0YWJhc2VOYW1lIjoiU2FuZ0V4REJfR1NHIiwiQ2hhbm5lbElkIjoiMSIsIkxhbmd1YWdlSWQiOiIwIiwibmJmIjoxNzY1NDUxOTQ2LCJleHAiOjE3NjU0NjYzNDYsImlhdCI6MTc2NTQ1MTk0Nn0.guzr48BwtspCEqF5nXkJiSurX0Chx5a5ZAniL4qkjzE}, {Content-Length: 2}, {Content-Type: application/json; charset=utf-8}, {Host: 103.120.178.195}, {traceparent: 00-090d9f75fa2c507dc7da49862765aa43-c88019fe83c665aa-00} Host: 103.120.178.195 Body: {} 2025-12-11 16:59:18.836 +05:30 91ada078-edf1-4070-bcf3-53bca0cff163 INF Executing endpoint 'Sang.FocusIntegration.Api.Controllers.GsgController.PostToFocusGsgTransactions (Sang.FocusIntegration.Api)' 2025-12-11 16:59:18.839 +05:30 91ada078-edf1-4070-bcf3-53bca0cff163 INF Route matched with {action = "PostToFocusGsgTransactions", controller = "Gsg"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] PostToFocusGsgTransactions(Int32, Int32, Int32, Int32, Boolean) on controller Sang.FocusIntegration.Api.Controllers.GsgController (Sang.FocusIntegration.Api). 2025-12-11 16:59:18.944 +05:30 91ada078-edf1-4070-bcf3-53bca0cff163 INF Start processing HTTP request POST http://103.120.178.195/Focus8API/login 2025-12-11 16:59:18.945 +05:30 91ada078-edf1-4070-bcf3-53bca0cff163 INF Sending HTTP request POST http://103.120.178.195/Focus8API/login 2025-12-11 16:59:19.095 +05:30 91ada078-edf1-4070-bcf3-53bca0cff163 INF Received HTTP response headers after 150.0653ms - 200 2025-12-11 16:59:19.096 +05:30 91ada078-edf1-4070-bcf3-53bca0cff163 INF End processing HTTP request after 151.7637ms - 200 2025-12-11 16:59:19.100 +05:30 91ada078-edf1-4070-bcf3-53bca0cff163 INF Formatted Json Request: {"data":[{"Body":[{"Item__Id":13816,"TaxCode__Id":1,"VAT":5,"Unit__Id":8,"Quantity":24.0,"Rate":45.0,"sRemarks":"","ItemExtraDescription":"MULTIPACK","Description":"PRO PLAN KITTEN, WET CAT FOOD, TURKEY IN GRAVY, 10X85G","ItemBarcode":"7613034767646","WarrantyNote":"","RMA":"","Batch":{"BatchId":2122,"BatchNo":"RTOIYURTY","Qty":24.0},"ItemExpiryDate":132776213},{"Item__Id":13829,"TaxCode__Id":1,"VAT":5,"Unit__Id":1,"Quantity":1.0,"Rate":20.0,"sRemarks":"","ItemExtraDescription":"","Description":"PRO PLAN ADULT DELICATE DIGESTION, DRY CAT FOOD TURKEY,400G","ItemBarcode":"7613033568671","WarrantyNote":"","RMA":"","Batch":{},"ItemExpiryDate":null}],"Header":{"Date":132713483,"CustomerAC__Id":1001,"Currency__Id":7,"Company Master__Id":1,"Division__Id":2,"Branch__Id":6,"Place of supply__Id":1,"Jurisdiction__Id":1,"Salesman__Id":0,"Type Of Voucher__Id":61,"Discount Type__Id":0,"Pay Terms__Id":1,"sNarration":null,"DeliveryTerms":"","CustomerDeliveryAddress":"DUBAI, UAE, , , ","DiscountReference":"","EventDateandName":"","SampleRequestBy__Id":0,"DiscountCouponReference":"","HeaderId":0,"Outlet__Id":2,"WebOrderNo":"ORD275"}}]}. 2025-12-11 16:59:19.101 +05:30 91ada078-edf1-4070-bcf3-53bca0cff163 INF Start processing HTTP request POST http://103.120.178.195/Focus8API/Transactions/Delivery%20Note%20-%20Nestle%20Online 2025-12-11 16:59:19.101 +05:30 91ada078-edf1-4070-bcf3-53bca0cff163 INF Sending HTTP request POST http://103.120.178.195/Focus8API/Transactions/Delivery%20Note%20-%20Nestle%20Online 2025-12-11 16:59:19.917 +05:30 91ada078-edf1-4070-bcf3-53bca0cff163 INF Received HTTP response headers after 815.9856ms - 200 2025-12-11 16:59:19.917 +05:30 91ada078-edf1-4070-bcf3-53bca0cff163 INF End processing HTTP request after 816.9549ms - 200 2025-12-11 16:59:19.918 +05:30 91ada078-edf1-4070-bcf3-53bca0cff163 INF Transaction result: OK - {"data":[null],"url":"http://103.120.178.195/Focus8API/Transactions/Delivery%20Note%20-%20Nestle%20Online","result":-1,"message":"Transaction Validation is failed: Batch not available"} 2025-12-11 16:59:19.919 +05:30 91ada078-edf1-4070-bcf3-53bca0cff163 WRN Transaction Failed Sync Status : TransId - 15284, TotalVouchers - 1, FailureCount - 1, OverallFocusStatus - 3 2025-12-11 16:59:19.933 +05:30 91ada078-edf1-4070-bcf3-53bca0cff163 INF Executing BadRequestObjectResult, writing value of type 'Sang.Service.Common.ApiResponse.ApiResponse'. 2025-12-11 16:59:19.934 +05:30 91ada078-edf1-4070-bcf3-53bca0cff163 INF Executed action Sang.FocusIntegration.Api.Controllers.GsgController.PostToFocusGsgTransactions (Sang.FocusIntegration.Api) in 1094.8061ms 2025-12-11 16:59:19.935 +05:30 91ada078-edf1-4070-bcf3-53bca0cff163 INF Executed endpoint 'Sang.FocusIntegration.Api.Controllers.GsgController.PostToFocusGsgTransactions (Sang.FocusIntegration.Api)' 2025-12-11 16:59:19.935 +05:30 91ada078-edf1-4070-bcf3-53bca0cff163 INF HTTP Response: StatusCode: 400 Headers: {X-Correlation-Id: 334d8249-27f2-4a17-a175-23ea5bf28702}, {Content-Type: application/json; charset=utf-8}, {Content-Length: 463} Body: {"status":"Failure","statusCode":5000,"message":"Failed Posting to Focus.","result":"[{\"Voucher\":\"Delivery Note - Nestle Online\",\"Url\":\"http://103.120.178.195/Focus8API/Transactions/Delivery Note - Nestle Online\",\"Response\":\"{\\\"data\\\":[null],\\\"url\\\":\\\"http://103.120.178.195/Focus8API/Transactions/Delivery%20Note%20-%20Nestle%20Online\\\",\\\"result\\\":-1,\\\"message\\\":\\\"Transaction Validation is failed: Batch not available\\\"}\"}]"} 2025-12-11 16:59:19.937 +05:30 91ada078-edf1-4070-bcf3-53bca0cff163 INF Request finished HTTP/1.1 POST http://103.120.178.195/Sang.FocusIntegration.API/gsg/posttofocusgsgtransactions?transId=15284&docType=1&be=1&countryId=1&isEdit=False - 400 463 application/json; charset=utf-8 1138.9261ms