LPJson.Comparer 1.1.8

dotnet add package LPJson.Comparer --version 1.1.8
                    
NuGet\Install-Package LPJson.Comparer -Version 1.1.8
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="LPJson.Comparer" Version="1.1.8" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="LPJson.Comparer" Version="1.1.8" />
                    
Directory.Packages.props
<PackageReference Include="LPJson.Comparer" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add LPJson.Comparer --version 1.1.8
                    
#r "nuget: LPJson.Comparer, 1.1.8"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package LPJson.Comparer@1.1.8
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=LPJson.Comparer&version=1.1.8
                    
Install as a Cake Addin
#tool nuget:?package=LPJson.Comparer&version=1.1.8
                    
Install as a Cake Tool

Most stable version for Json comparison, return result either as formatted string or as formatted object. Added corresponding line number from Modified Json for Added, Changed and Removed element for Formatted Text as output for console or text file as send to option. for console o/p Line No and changes are highlighted on Console.

Usages: List<JsonComparerenum> jsonComparerenums = new(); List<string> propertiesToIgnore = new();

var data = CompareJson.CreateJsonComparerObject(originalJsonjt, modifiedJsonjt, jsonComparerenums, propertiesToIgnore);

will return formatted string data to caller without filtering properties/element/column.

CompareJson.SendOutputTo= JsonSendOutputToenum.TextFile; Send compared data to text file, depending other setting(s).

jsonComparerenums.Add(JsonComparerenum.returnAsObject); return data in formatted object, depending on other setting(s);

List<string> propertiesToIgnore = new() { "CarrierLegs[0]", "CreatedBy", "CustomerName", "Status" }; Return data with filtering properties/element/column, depending on other setting(s). Example:

List<string> propertiesToIgnore = new List<string>(); propertiesToIgnore.Add("CarrierLegs[0].Stops[0].Status");

CompareJson.SendOutputTo= JsonSendOutpuToenum.TextFile;

O/P:

CarrierLegs[0].Stops[0].Origin.City Changed From Appleton To test11111

CarrierLegs[0].Stops[1].Status Changed From 2 To 222

CarrierLegs[0].Origin.City Changed From Appleton To test

CustomerLegs[0].CustomerLegStatus Changed From 32 To 2 CustomerLegs[0].Charges[1].Accessorial.Total Removed 24 CustomerLegs[0].Charges[1].Accessorial.AccessorialList Added [ { "Test": 222 }, { "Test": 111 } ]

Example:

List<string> propertiesToIgnore = new List<string>(); propertiesToIgnore.Add("CarrierLegs[0].Stops.Status");

CompareJson.SendOutputTo= JsonSendOutpuToenum.TextFile;

O/P:

CarrierLegs[0].Stops[0].Origin.City Changed From Appleton To test11111

CarrierLegs[0].Origin.City Changed From Appleton To test

CustomerLegs[0].CustomerLegStatus Changed From 32 To 2 CustomerLegs[0].Charges[1].Accessorial.Total Removed 24 CustomerLegs[0].Charges[1].Accessorial.AccessorialList Added [ { "Test": 222 }, { "Test": 111 } ]

Example:

List<string> propertiesToIgnore = new List<string>(); propertiesToIgnore.Add("CarrierLegs[0].Stops[0]");

CompareJson.SendOutputTo= JsonSendOutpuToenum.TextFile;

O/P:

CarrierLegs[0].Stops[1].Status Changed From 2 To 222

CarrierLegs[0].Origin.City Changed From Appleton To test

CustomerLegs[0].CustomerLegStatus Changed From 32 To 2 CustomerLegs[0].Charges[1].Accessorial.Total Removed 24 CustomerLegs[0].Charges[1].Accessorial.AccessorialList Added [ { "Test": 222 }, { "Test": 111 } ]

Original.json:

{ "id": "8155be71-d47d-4be1-b2d9-44e391971b8e", "_rid": "011wAKNJwhRkAAAAAAAAAA==", "_self": "dbs/011wAA==/colls/011wAKNJwhQ=/docs/011wAKNJwhRkAAAAAAAAAA==/", "_etag": ""d40456e3-0000-0200-0000-637df1ee0000"", "ShipmentReferenceNumber": "ZZZA54169477", "TenantId": "TFWW", "ShipmentMode": "LTL", "CustomerId": "18931", "TmsCustomerId": "74de3e0a-3ff4-4773-8693-cc5a76c69a75", "StationId": "ZZZA", "CustomerName": "TMS-Customer", "CreatedDateTime": "2022-09-28T20:40:27.9921233Z", "CreatedBy": "", "Status": 1, "References": [ { "ReferenceId": 0, "ReferenceName": "CRMRL", "ReferenceValue": "true", "IsPrimary": false } ], "OriginLocation": { "Name": "760 PORT CARTERET DRIVE", "Address1": "760 PORT CARTERET DRIVE", "Address2": null, "City": "Appleton", "State": "WI", "PostalCode": "54915", "Country": "USA", "Comments": null, "Contact": { "Name": "Test", "Phonenumber": "", "Fax": "", "EmailId": null, "PhoneExtension": null, "FaxExtension": null } }, "DestinationLocation": { "Name": "N9234 S LAKE PARK RD", "Address1": "N9234 S Lake Park Rd", "Address2": "ii", "City": "Carteret", "State": "NJ", "PostalCode": "07008", "Country": "USA", "Comments": null, "Contact": { "Name": null, "Phonenumber": "", "Fax": "", "EmailId": null, "PhoneExtension": null, "FaxExtension": null } }, "Items": [ { "Name": null, "Description": "goods", "Class": "50", "WeightUOM": "LBS", "Weight": 100, "QuantityUOM": "PLT", "Quantity": 1, "Nmfc": null, "Dimension": { "Length": 0, "Width": 0, "Height": 0, "Uom": "IN" }, "IsHazmat": false, "IsStack": false, "HazmatDetails": { "UNNumber": null, "CCNNumber": null, "PackageGroup": null, "HazmatClass": null, "HazmatContactName": null, "HazmatContactNumber": null }, "Type": 0 }, { "Name": null, "Description": "goods", "Class": "11", "WeightUOM": "LBS", "Weight": 100, "QuantityUOM": "PLT", "Quantity": 1, "Nmfc": null, "Dimension": { "Length": 0, "Width": 0, "Height": 0, "Uom": "IN" }, "IsHazmat": false, "IsStack": false, "HazmatDetails": { "UNNumber": null, "CCNNumber": null, "PackageGroup": null, "HazmatClass": null, "HazmatContactName": null, "HazmatContactNumber": null }, "Type": 0 } ], "PickupDateTime": { "Start": "2022-09-28T08:00:00", "End": "2022-09-28T17:00:00", "Actual": null, "Estimated": null }, "DropoffDateTime": { "Start": "2022-09-28T08:00:00", "End": "2022-09-28T17:00:00", "Actual": null, "Estimated": null }, "ShipmentValue": 0, "IsShipmentProtection": false, "IsNew": false, "CarrierLegs": [ { "LegNumber": 1, "CustomerLegStatus": 2, "Stops": [ { "StopNumber": 1, "Status": 1, "PickItems": [ { "Name": null, "Description": "goods", "Class": "50", "WeightUOM": "LBS", "Weight": 100, "QuantityUOM": "PLT", "Quantity": 1, "Nmfc": null, "Dimension": { "Length": 0, "Width": 0, "Height": 0, "Uom": "IN" }, "IsHazmat": false, "IsStack": false, "HazmatDetails": { "UNNumber": null, "CCNNumber": null, "PackageGroup": null, "HazmatClass": null, "HazmatContactName": null, "HazmatContactNumber": null }, "Type": 0 } ], "DropItems": [ { "Name": null, "Description": "goods", "Class": "50", "WeightUOM": "LBS", "Weight": 100, "QuantityUOM": "PLT", "Quantity": 1, "Nmfc": null, "Dimension": { "Length": 0, "Width": 0, "Height": 0, "Uom": "IN" }, "IsHazmat": false, "IsStack": false, "HazmatDetails": { "UNNumber": null, "CCNNumber": null, "PackageGroup": null, "HazmatClass": null, "HazmatContactName": null, "HazmatContactNumber": null }, "Type": 0 } ], "Origin": { "Name": "760 PORT CARTERET DRIVE", "Address1": "760 PORT CARTERET DRIVE", "Address2": null, "City": "Appleton", "State": "WI", "PostalCode": "54915", "Country": "USA", "Comments": null, "Contact": { "Name": null, "Phonenumber": "", "Fax": "", "EmailId": null, "PhoneExtension": null, "FaxExtension": null } }, "Destination": { "Name": "N9234 S LAKE PARK RD", "Address1": "N9234 S Lake Park Rd", "Address2": "ii", "City": "Carteret", "State": "NJ", "PostalCode": "07008", "Country": "USA", "Comments": null, "Contact": { "Name": null, "Phonenumber": "", "Fax": "", "EmailId": null, "PhoneExtension": null, "FaxExtension": null } }, "PickupDateTime": { "Start": "2022-09-28T08:00:00", "End": "2022-09-28T17:00:00", "Actual": null, "Estimated": null }, "DropoffDateTime": { "Start": "2022-09-28T08:00:00", "End": "2022-09-28T17:00:00", "Actual": null, "Estimated": null } }, { "StopNumber": 2, "Status": 2, "PickItems": [ { "Name": null, "Description": "goods", "Class": "50", "WeightUOM": "LBS", "Weight": 100, "QuantityUOM": "PLT", "Quantity": 1, "Nmfc": null, "Dimension": { "Length": 0, "Width": 0, "Height": 0, "Uom": "IN" }, "IsHazmat": false, "IsStack": false, "HazmatDetails": { "UNNumber": null, "CCNNumber": null, "PackageGroup": null, "HazmatClass": null, "HazmatContactName": null, "HazmatContactNumber": null }, "Type": 0 } ], "DropItems": [ { "Name": null, "Description": "goods", "Class": "50", "WeightUOM": "LBS", "Weight": 100, "QuantityUOM": "PLT", "Quantity": 1, "Nmfc": null, "Dimension": { "Length": 0, "Width": 0, "Height": 0, "Uom": "IN" }, "IsHazmat": false, "IsStack": false, "HazmatDetails": { "UNNumber": null, "CCNNumber": null, "PackageGroup": null, "HazmatClass": null, "HazmatContactName": null, "HazmatContactNumber": null }, "Type": 0 } ], "Origin": { "Name": "760 PORT CARTERET DRIVE", "Address1": "760 PORT CARTERET DRIVE", "Address2": null, "City": "Appleton", "State": "WI", "PostalCode": "54915", "Country": "USA", "Comments": null, "Contact": { "Name": null, "Phonenumber": "", "Fax": "", "EmailId": null, "PhoneExtension": null, "FaxExtension": null } }, "Destination": { "Name": "N9234 S LAKE PARK RD", "Address1": "N9234 S Lake Park Rd", "Address2": "ii", "City": "Carteret", "State": "NJ", "PostalCode": "07008", "Country": "USA", "Comments": null, "Contact": { "Name": null, "Phonenumber": "", "Fax": "", "EmailId": null, "PhoneExtension": null, "FaxExtension": null } }, "PickupDateTime": { "Start": "2022-09-28T08:00:00", "End": "2022-09-28T17:00:00", "Actual": null, "Estimated": null }, "DropoffDateTime": { "Start": "2022-09-28T08:00:00", "End": "2022-09-28T17:00:00", "Actual": null, "Estimated": null } } ], "Origin": { "Name": "760 PORT CARTERET DRIVE", "Address1": "760 PORT CARTERET DRIVE", "Address2": null, "City": "Appleton", "State": "WI", "PostalCode": "54915", "Country": "USA", "Comments": null, "Contact": { "Name": null, "Phonenumber": "", "Fax": "", "EmailId": null, "PhoneExtension": null, "FaxExtension": null } }, "Destination": { "Name": "N9234 S LAKE PARK RD", "Address1": "N9234 S Lake Park Rd", "Address2": "ii", "City": "Carteret", "State": "NJ", "PostalCode": "07008", "Country": "USA", "Comments": null, "Contact": { "Name": null, "Phonenumber": "", "Fax": "", "EmailId": null, "PhoneExtension": null, "FaxExtension": null } }, "PickupDateTime": { "Start": "2022-09-28T08:00:00", "End": "2022-09-28T17:00:00", "Actual": null, "Estimated": null }, "DropoffDateTime": { "Start": "2022-09-28T08:00:00", "End": "2022-09-28T17:00:00", "Actual": null, "Estimated": null }, "ServiceDays": 0, "Distance": 987.2, "Charges": [ { "Carrier": { "Name": "Federal Carrier LLC", "Description": null, "SCAC": "FXFE", "CarrierProfileId": "54e902da-17f6-4c66-91f5-26d0e9df77c3", "EquipmentType": null, "CarrierLocationDetails": null }, "ContractId": "d1908b33-0468-48ba-a5c3-05c6dd85d530", "IsActive": true, "Total": 150.39, "Type": null, "PickupNumber": null, "ProNumber": null, "Linehaul": { "Total": 101, "ItemLinehaul": [ { "Id": null, "FreightClass": "50", "FakClass": "Default", "Weight": 100, "WeightUom": "lbs", "Quantity": 1, "QuantityUom": "PLT", "Total": 101, "AccessorialProfileId": "OAKHHC", "Details": { "RateType": "Per Item", "BaseRate": 5, "Charge": 5, "Uom": "PLT", "UomValue": 1 } } ] }, "Fuel": { "Total": 39.39, "Rate": 0, "Index": 0 }, "Accessorial": { "Total": 10, "AccessorialList": [] } }, { "Carrier": { "Name": "Federal Carrier LLC", "Description": null, "SCAC": "FXFE", "CarrierProfileId": "54e902da-17f6-4c66-91f5-26d0e9df77c3", "EquipmentType": null, "CarrierLocationDetails": null }, "ContractId": "d1908b33-0468-48ba-a5c3-05c6dd85d530", "IsActive": false, "Total": 150.39, "Type": null, "PickupNumber": null, "ProNumber": null, "Linehaul": { "Total": 101, "ItemLinehaul": [ { "Id": null, "FreightClass": "50", "FakClass": "Default", "Weight": 100, "WeightUom": "lbs", "Quantity": 1, "QuantityUom": "PLT", "Total": 101, "AccessorialProfileId": "OAKHHC", "Details": { "RateType": "Per Item", "BaseRate": 5, "Charge": 5, "Uom": "PLT", "UomValue": 1 } } ] }, "Fuel": { "Total": 39.39, "Rate": 0, "Index": 0 }, "Accessorial": { "Total": 10, "AccessorialList": null } } ] } ], "CustomerLegs": [ { "LegNumber": 1, "CustomerLegStatus": 32, "Stops": [ { "StopNumber": 1, "Status": 2, "PickItems": [ { "Name": null, "Description": "goods", "Class": "50", "WeightUOM": "LBS", "Weight": 100, "QuantityUOM": "PLT", "Quantity": 1, "Nmfc": null, "Dimension": { "Length": 0, "Width": 0, "Height": 0, "Uom": "IN" }, "IsHazmat": false, "IsStack": false, "HazmatDetails": { "UNNumber": null, "CCNNumber": null, "PackageGroup": null, "HazmatClass": null, "HazmatContactName": null, "HazmatContactNumber": null }, "Type": 0 } ], "DropItems": [ { "Name": null, "Description": "goods", "Class": "50", "WeightUOM": "LBS", "Weight": 100, "QuantityUOM": "PLT", "Quantity": 1, "Nmfc": null, "Dimension": { "Length": 0, "Width": 0, "Height": 0, "Uom": "IN" }, "IsHazmat": false, "IsStack": false, "HazmatDetails": { "UNNumber": null, "CCNNumber": null, "PackageGroup": null, "HazmatClass": null, "HazmatContactName": null, "HazmatContactNumber": null }, "Type": 0 } ], "Origin": { "Name": "760 PORT CARTERET DRIVE", "Address1": "760 PORT CARTERET DRIVE", "Address2": null, "City": "Appleton", "State": "WI", "PostalCode": "54915", "Country": "USA", "Comments": null, "Contact": { "Name": null, "Phonenumber": "", "Fax": "", "EmailId": null, "PhoneExtension": null, "FaxExtension": null } }, "Destination": { "Name": "N9234 S LAKE PARK RD", "Address1": "N9234 S Lake Park Rd", "Address2": "ii", "City": "Carteret", "State": "NJ", "PostalCode": "07008", "Country": "USA", "Comments": null, "Contact": { "Name": null, "Phonenumber": "", "Fax": "", "EmailId": null, "PhoneExtension": null, "FaxExtension": null } }, "PickupDateTime": { "Start": "2022-09-28T08:00:00", "End": "2022-09-28T17:00:00", "Actual": null, "Estimated": null }, "DropoffDateTime": { "Start": "2022-09-28T08:00:00", "End": "2022-09-28T17:00:00", "Actual": null, "Estimated": null } } ], "Origin": { "Name": "760 PORT CARTERET DRIVE", "Address1": "760 PORT CARTERET DRIVE", "Address2": null, "City": "Appleton", "State": "WI", "PostalCode": "54915", "Country": "USA", "Comments": null, "Contact": { "Name": null, "Phonenumber": "", "Fax": "", "EmailId": null, "PhoneExtension": null, "FaxExtension": null } }, "Destination": { "Name": "N9234 S LAKE PARK RD", "Address1": "N9234 S Lake Park Rd", "Address2": "ii", "City": "Carteret", "State": "NJ", "PostalCode": "07008", "Country": "USA", "Comments": null, "Contact": { "Name": null, "Phonenumber": "", "Fax": "", "EmailId": null, "PhoneExtension": null, "FaxExtension": null } }, "PickupDateTime": { "Start": "2022-09-28T08:00:00", "End": "2022-09-28T17:00:00", "Actual": null, "Estimated": null }, "DropoffDateTime": { "Start": "2022-09-28T08:00:00", "End": "2022-09-28T17:00:00", "Actual": null, "Estimated": null }, "ServiceDays": 0, "Distance": 987, "Charges": [ { "Carrier": { "Name": "Federal Carrier LLC", "Description": null, "SCAC": "FXFE", "CarrierProfileId": "54e902da-17f6-4c66-91f5-26d0e9df77c3", "EquipmentType": null, "CarrierLocationDetails": null }, "ContractId": "d1908b33-0468-48ba-a5c3-05c6dd85d530", "IsActive": true, "Total": 270.95, "Type": null, "PickupNumber": null, "ProNumber": null, "Linehaul": { "Total": 177.66068633093525, "ItemLinehaul": [] }, "Fuel": { "Total": 69.28766766906475, "Rate": 69.28766766906475, "Index": 0 }, "Accessorial": { "Total": 24, "AccessorialList": [] } }, { "Carrier": { "Name": "Federal Carrier LLC", "Description": null, "SCAC": "FXFE", "CarrierProfileId": "54e902da-17f6-4c66-91f5-26d0e9df77c3", "EquipmentType": null, "CarrierLocationDetails": null }, "ContractId": "d1908b33-0468-48ba-a5c3-05c6dd85d530", "IsActive": false, "Total": 270.95, "Type": null, "PickupNumber": null, "ProNumber": null, "Linehaul": { "Total": 177.66068633093525, "ItemLinehaul": null }, "Fuel": { "Total": 69.28766766906475, "Rate": 69.28766766906475, "Index": 0 }, "Accessorial": { "Total": 24 // "AccessorialList": null } } ] } ], "_attachments": "attachments/", "_lsn": 488, "_ts": 1669198318 }

Modified Json :

  {
    "id": "8155be71-d47d-4be1-b2d9-44e391971b8e",
    "_rid": "011wAKNJwhRkAAAAAAAAAA==",
    "_self": "dbs/011wAA==/colls/011wAKNJwhQ=/docs/011wAKNJwhRkAAAAAAAAAA==/",
    "_etag": "\"d40456e3-0000-0200-0000-637df1ee0000\"",
    "ShipmentReferenceNumber": "ZZZA54169477",
    "TenantId": "TFWW",
    "ShipmentMode": "LTL",
    "CustomerId": "18931",
    "TmsCustomerId": "74de3e0a-3ff4-4773-8693-cc5a76c69a75",
    "StationId": "ZZZA",
    "CustomerName": "TMS-Customer",
    "CreatedDateTime": "2022-09-28T20:40:27.9921233Z",
    "CreatedBy": "",
    "Status": 4,
    "References": [
      {
        "ReferenceId": 1,
        "ReferenceName": "CRMRL",
        "ReferenceValue": "true",
        "IsPrimary": false
      },
      {
        "ReferenceId": 2,
        "ReferenceName": "PRO",
        "ReferenceValue": "123456",
        "IsPrimary": true
      }
    ],
    "OriginLocation": {
      "Name": "760 PORT CARTERET DRIVE",
      "Address1": "760 PORT CARTERET DRIVE",
      "Address2": null,
      "City": "Appleton",
      "State": "WI",
      "PostalCode": "54915",
      "Country": "USA",
      "Comments": null,
      "Contact": {
        "Name": "",
        "Phonenumber": "",
        "Fax": "",
        "EmailId": null,
        "PhoneExtension": null,
        "FaxExtension": null
      }
    },
    "DestinationLocation": {
      "Name": "N9234 S LAKE PARK RD",
      "Address1": "N9234 S Lake Park Rd",
      "Address2": "ii",
      "City": "Carteret",
      "State": "NJ",
      "PostalCode": "07008",
      "Country": "USA",
      "Comments": null,
      "Contact": {
        "Name": "YYYYYYYYYYYYYYYYYYYYYYYYYY",
        "Phonenumber": "",
        "Fax": "",
        "EmailId": null,
        "PhoneExtension": null,
        "FaxExtension": null
      }
    },
    "Items": [
      {
        "Name": null,
        "Description": "goods",
        "Class": "150",
        "WeightUOM": "LBS",
        "Weight": 100,
        "QuantityUOM": "PLT",
        "Quantity": 1,
        "Nmfc": null,
        "Dimension": {
          "Length": 0,
          "Width": 0,
          "Height": 0,
          "Uom": "IN"
        },
        //  "IsHazmat": false,
        "IsStack": false,
        "HazmatDetails": {
          "UNNumber": null,
          "CCNNumber": null,
          "PackageGroup": null,
          "HazmatClass": null,
          "HazmatContactName": null,
          "HazmatContactNumber": null
        },
        "Type": 0
      },
      {
        "Name": null,
        "Description": "goodds",
        "Class": "150",
        "WeightUOM": "LBS",
        "Weight": 100,
        "QuantityUOM": "PLT",
        "Quantity": 1,
        "Nmfc": null,
        "Dimension": {
          "Length": 0,
          "Width": 0,
          "Height": 0,
          "Uom": "IN"
        },
        //  "IsHazmat": false,
        "IsStack": false,
        "HazmatDetails": {
          "UNNumber": null,
          "CCNNumber": null,
          "PackageGroup": null,
          "HazmatClass": null,
          "HazmatContactName": null,
          "HazmatContactNumber": null
        },
        "Type": 0
      }
    ],
    "PickupDateTime": {
      "Start": "2022-09-28T08:00:00",
      "End": "2022-09-28T17:00:00",
      "Actual": null,
      "Estimated": null
    },
    "DropoffDateTime": {
      "Start": "2022-09-28T08:00:00",
      "End": "2022-09-28T17:00:00",
      "Actual": null,
      "Estimated": null
    },
    "ShipmentValue": 0,
    "IsShipmentProtection": false,
    "IsNew": false,
    "CarrierLegs": [
      {
        "LegNumber": 1,
        "CustomerLegStatus": 2,
        "Stops": [
          {
            "StopNumber": 1,
            "Status": 111,
            "PickItems": [
              {
                "Name": null,
                "Description": "goods",
                "Class": "50",
                "WeightUOM": "LBS",
                "Weight": 100,
                "QuantityUOM": "PLT",
                "Quantity": 1,
                "Nmfc": null,
                "Dimension": {
                  "Length": 0,
                  "Width": 0,
                  "Height": 0,
                  "Uom": "IN"
                },
                "IsHazmat": false,
                "IsStack": false,
                "HazmatDetails": {
                  "UNNumber": null,
                  "CCNNumber": null,
                  "PackageGroup": null,
                  "HazmatClass": null,
                  "HazmatContactName": null,
                  "HazmatContactNumber": null
                },
                "Type": 0
              }
            ],
            "DropItems": [
              {
                "Name": null,
                "Description": "goods",
                "Class": "50",
                "WeightUOM": "LBS",
                "Weight": 100,
                "QuantityUOM": "PLT",
                "Quantity": 1,
                "Nmfc": null,
                "Dimension": {
                  "Length": 0,
                  "Width": 0,
                  "Height": 0,
                  "Uom": "IN"
                },
                "IsHazmat": false,
                "IsStack": false,
                "HazmatDetails": {
                  "UNNumber": null,
                  "CCNNumber": null,
                  "PackageGroup": null,
                  "HazmatClass": null,
                  "HazmatContactName": null,
                  "HazmatContactNumber": null
                },
                "Type": 0
              }
            ],
            "Origin": {
              "Name": "760 PORT CARTERET DRIVE",
              "Address1": "760 PORT CARTERET DRIVE",
              "Address2": null,
              "City": "test11111",
              "State": "WI",
              "PostalCode": "54915",
              "Country": "USA",
              "Comments": null,
              "Contact": {
                "Name": null,
                "Phonenumber": "",
                "Fax": "",
                "EmailId": null,
                "PhoneExtension": null,
                "FaxExtension": null
              }
            },
            "Destination": {
              "Name": "N9234 S LAKE PARK RD",
              "Address1": "N9234 S Lake Park Rd",
              "Address2": "ii",
              "City": "Carteret",
              "State": "NJ",
              "PostalCode": "07008",
              "Country": "USA",
              "Comments": null,
              "Contact": {
                "Name": null,
                "Phonenumber": "",
                "Fax": "",
                "EmailId": null,
                "PhoneExtension": null,
                "FaxExtension": null
              }
            },
            "PickupDateTime": {
              "Start": "2022-09-28T08:00:00",
              "End": "2022-09-28T17:00:00",
              "Actual": null,
              "Estimated": null
            },
            "DropoffDateTime": {
              "Start": "2022-09-28T08:00:00",
              "End": "2022-09-28T17:00:00",
              "Actual": null,
              "Estimated": null
            }
          },
          {
            "StopNumber": 2,
            "Status": 222,
            "PickItems": [
              {
                "Name": null,
                "Description": "goods",
                "Class": "50",
                "WeightUOM": "LBS",
                "Weight": 100,
                "QuantityUOM": "PLT1111",
                "Quantity": 1,
                "Nmfc": null,
                "Dimension": {
                  "Length": 0,
                  "Width": 0,
                  "Height": 0,
                  "Uom": "IN"
                },
                "IsHazmat": false,
                "IsStack": false,
                "HazmatDetails": {
                  "UNNumber": null,
                  "CCNNumber": null,
                  "PackageGroup": null,
                  "HazmatClass": null,
                  "HazmatContactName": null,
                  "HazmatContactNumber": null
                },
                "Type": 0
              }
            ],
            "DropItems": [
              {
                "Name": null,
                "Description": "goods",
                "Class": "50",
                "WeightUOM": "LBS",
                "Weight": 100,
                "QuantityUOM": "PLT",
                "Quantity": 1,
                "Nmfc": null,
                "Dimension": {
                  "Length": 0,
                  "Width": 0,
                  "Height": 0,
                  "Uom": "IN"
                },
                "IsHazmat": false,
                "IsStack": false,
                "HazmatDetails": {
                  "UNNumber": null,
                  "CCNNumber": null,
                  "PackageGroup": null,
                  "HazmatClass": null,
                  "HazmatContactName": null,
                  "HazmatContactNumber": null
                },
                "Type": 0
              }
            ],
            "Origin": {
              "Name": "760 PORT CARTERET DRIVE",
              "Address1": "760 PORT CARTERET DRIVE",
              "Address2": null,
              "City": "Appleton",
              "State": "WI",
              "PostalCode": "54915",
              "Country": "USA",
              "Comments": null,
              "Contact": {
                "Name": null,
                "Phonenumber": "",
                "Fax": "",
                "EmailId": null,
                "PhoneExtension": null,
                "FaxExtension": null
              }
            },
            "Destination": {
              "Name": "N9234 S LAKE PARK RD",
              "Address1": "N9234 S Lake Park Rd",
              "Address2": "ii",
              "City": "Carteret",
              "State": "NJ",
              "PostalCode": "07008",
              "Country": "USA",
              "Comments": null,
              "Contact": {
                "Name": null,
                "Phonenumber": "",
                "Fax": "",
                "EmailId": null,
                "PhoneExtension": null,
                "FaxExtension": null
              }
            },
            "PickupDateTime": {
              "Start": "2022-09-28T08:00:00",
              "End": "2022-09-28T17:00:00",
              "Actual": null,
              "Estimated": null
            },
            "DropoffDateTime": {
              "Start": "2022-09-28T08:00:00",
              "End": "2022-09-28T17:00:00",
              "Actual": null,
              "Estimated": null
            }
          },
          {
            "StopNumber": 3,
            "Status": 11111111111111111,
            "PickItems": [
              {
                "Name": null,
                "Description": "goods",
                "Class": "50",
                "WeightUOM": "LBS",
                "Weight": 100,
                "QuantityUOM": "PLT",
                "Quantity": 1,
                "Nmfc": null,
                "Dimension": {
                  "Length": 0,
                  "Width": 0,
                  "Height": 0,
                  "Uom": "IN"
                },
                "IsHazmat": false,
                "IsStack": false,
                "HazmatDetails": {
                  "UNNumber": null,
                  "CCNNumber": null,
                  "PackageGroup": null,
                  "HazmatClass": null,
                  "HazmatContactName": null,
                  "HazmatContactNumber": null
                },
                "Type": 0
              }
            ],
            "DropItems": [
              {
                "Name": null,
                "Description": "goods",
                "Class": "50",
                "WeightUOM": "LBS",
                "Weight": 100,
                "QuantityUOM": "PLT",
                "Quantity": 1,
                "Nmfc": null,
                "Dimension": {
                  "Length": 0,
                  "Width": 0,
                  "Height": 0,
                  "Uom": "IN"
                },
                "IsHazmat": false,
                "IsStack": false,
                "HazmatDetails": {
                  "UNNumber": null,
                  "CCNNumber": null,
                  "PackageGroup": null,
                  "HazmatClass": null,
                  "HazmatContactName": null,
                  "HazmatContactNumber": null
                },
                "Type": 0
              }
            ],
            "Origin": {
              "Name": "760 PORT CARTERET DRIVE",
              "Address1": "760 PORT CARTERET DRIVE",
              "Address2": null,
              "City": "test11111",
              "State": "WI",
              "PostalCode": "54915",
              "Country": "USA",
              "Comments": null,
              "Contact": {
                "Name": null,
                "Phonenumber": "",
                "Fax": "",
                "EmailId": null,
                "PhoneExtension": null,
                "FaxExtension": null
              }
            },
            "Destination": {
              "Name": "N9234 S LAKE PARK RD",
              "Address1": "N9234 S Lake Park Rd",
              "Address2": "ii",
              "City": "Carteret",
              "State": "NJ",
              "PostalCode": "07008",
              "Country": "USA",
              "Comments": null,
              "Contact": {
                "Name": null,
                "Phonenumber": "",
                "Fax": "",
                "EmailId": null,
                "PhoneExtension": null,
                "FaxExtension": null
              }
            },
            "PickupDateTime": {
              "Start": "2022-09-28T08:00:00",
              "End": "2022-09-28T17:00:00",
              "Actual": null,
              "Estimated": null
            },
            "DropoffDateTime": {
              "Start": "2022-09-28T08:00:00",
              "End": "2022-09-28T17:00:00",
              "Actual": null,
              "Estimated": null
            }
          }
        ],
        "Origin": {
          "Name": "760 PORT CARTERET DRIVE",
          "Address1": "760 PORT CARTERET DRIVE",
          "Address2": null,
          "City": "test",
          "State": "WI",
          "PostalCode": "54915",
          "Country": "USA",
          "Comments": null,
          "Contact": {
            "Name": null,
            "Phonenumber": "",
            "Fax": "",
            "EmailId": null,
            "PhoneExtension": null,
            "FaxExtension": null
          }
        },
        "Destination": {
          "Name": "N9234 S LAKE PARK RD",
          "Address1": "N9234 S Lake Park Rd",
          "Address2": "ii",
          "City": "Carteret",
          "State": "NJ",
          "PostalCode": "07008",
          "Country": "USA",
          "Comments": null,
          "Contact": {
            "Name": null,
            "Phonenumber": "",
            "Fax": "",
            "EmailId": null,
            "PhoneExtension": null,
            "FaxExtension": null
          }
        },
        "PickupDateTime": {
          "Start": "2022-09-28T08:00:00",
          "End": "2022-09-28T17:00:00",
          "Actual": null,
          "Estimated": null
        },
        "DropoffDateTime": {
          "Start": "2022-09-28T08:00:00",
          "End": "2022-09-28T17:00:00",
          "Actual": null,
          "Estimated": null
        },
        "ServiceDays": 0,
        "Distance": 987.2,
        "Charges": [
          {
            "Carrier": {
              "Name": "Federal Carrier LLC",
              "Description": null,
              "SCAC": "FXFE",
              "CarrierProfileId": "54e902da-17f6-4c66-91f5-26d0e9df77c3",
              "EquipmentType": null,
              "CarrierLocationDetails": null
            },
            "ContractId": "d1908b33-0468-48ba-a5c3-05c6dd85d530",
            "IsActive": true,
            "Total": 150.39,
            "Type": null,
            "PickupNumber": null,
            "ProNumber": null,
            "Linehaul": {
              "Total": 101,
              "ItemLinehaul": [
                {
                  "Id": null,
                  "FreightClass": "50",
                  "FakClass": "Default",
                  "Weight": 100,
                  "WeightUom": "lbs",
                  "Quantity": 1,
                  "QuantityUom": "PLT",
                  "Total": 101,
                  "AccessorialProfileId": "OAKHHC",
                  "Details": {
                    "RateType": "Per Item",
                    "BaseRate": 5,
                    "Charge": 5,
                    "Uom": "PLT",
                    "UomValue": 1
                  }
                }
              ]
            },
            "Fuel": {
              "Total": 39.39,
              "Rate": 0,
              "Index": 0
            },
            "Accessorial": {
              "Total": 10,
              "AccessorialList": []
            }
          },
          {
            "Carrier": {
              "Name": "Federal Carrier LLC",
              "Description": null,
              "SCAC": "FXFE",
              "CarrierProfileId": "54e902da-17f6-4c66-91f5-26d0e9df77c3",
              "EquipmentType": null,
              "CarrierLocationDetails": null
            },
            "ContractId": "d1908b33-0468-48ba-a5c3-05c6dd85d530",
            "IsActive": false,
            "Total": 150.39,
            "Type": null,
            "PickupNumber": null,
            "ProNumber": null,
            "Linehaul": {
              "Total": 101,
              "ItemLinehaul": [
                {
                  "Id": null,
                  "FreightClass": "50",
                  "FakClass": "Default",
                  "Weight": 100,
                  "WeightUom": "lbs",
                  "Quantity": 1,
                  "QuantityUom": "PLT",
                  "Total": 101,
                  "AccessorialProfileId": "OAKHHC",
                  "Details": {
                    "RateType": "Per Item",
                    "BaseRate": 5,
                    "Charge": 5,
                    "Uom": "PLT",
                    "UomValue": 1
                  }
                }
              ]
            },
            //,
            //"Fuel": {
            //  "Total": 39.39,
            //  "Rate": 0,
            //  "Index": 0
            //}
            //,
            "Accessorial": {
              "Total": 10,
              "AccessorialList": null
            }
          }
        ]
      }
    ],
    "CustomerLegs": [
      {
        "LegNumber": 1,
        "CustomerLegStatus": 2,
        "Stops": [
          {
            "StopNumber": 1,
            "Status": 2,
            "PickItems": [
              {
                "Name": null,
                "Description": "goods",
                "Class": "50",
                "WeightUOM": "LBS",
                "Weight": 100,
                "QuantityUOM": "PLT",
                "Quantity": 1,
                "Nmfc": null,
                "Dimension": {
                  "Length": 0,
                  "Width": 0,
                  "Height": 0,
                  "Uom": "IN"
                },
                "IsHazmat": false,
                "IsStack": false,
                "HazmatDetails": {
                  "UNNumber": null,
                  "CCNNumber": null,
                  "PackageGroup": null,
                  "HazmatClass": null,
                  "HazmatContactName": null,
                  "HazmatContactNumber": null
                },
                "Type": 0
              }
            ],
            "DropItems": [
              {
                "Name": null,
                "Description": "goods",
                "Class": "50",
                "WeightUOM": "LBS",
                "Weight": 100,
                "QuantityUOM": "PLT",
                "Quantity": 1,
                "Nmfc": null,
                "Dimension": {
                  "Length": 0,
                  "Width": 0,
                  "Height": 0,
                  "Uom": "IN"
                },
                "IsHazmat": false,
                "IsStack": false,
                "HazmatDetails": {
                  "UNNumber": null,
                  "CCNNumber": null,
                  "PackageGroup": null,
                  "HazmatClass": null,
                  "HazmatContactName": null,
                  "HazmatContactNumber": null
                },
                "Type": 0
              }
            ],
            "Origin": {
              "Name": "760 PORT CARTERET DRIVE",
              "Address1": "760 PORT CARTERET DRIVE",
              "Address2": null,
              "City": "Appleton",
              "State": "WI",
              "PostalCode": "54915",
              "Country": "USA",
              "Comments": null,
              "Contact": {
                "Name": null,
                "Phonenumber": "",
                "Fax": "",
                "EmailId": null,
                "PhoneExtension": null,
                "FaxExtension": null
              }
            },
            "Destination": {
              "Name": "N9234 S LAKE PARK RD",
              "Address1": "N9234 S Lake Park Rd",
              "Address2": "ii",
              "City": "Carteret",
              "State": "NJ",
              "PostalCode": "07008",
              "Country": "USA",
              "Comments": null,
              "Contact": {
                "Name": null,
                "Phonenumber": "",
                "Fax": "",
                "EmailId": null,
                "PhoneExtension": null,
                "FaxExtension": null
              }
            },
            "PickupDateTime": {
              "Start": "2022-09-28T08:00:00",
              "End": "2022-09-28T17:00:00",
              "Actual": null,
              "Estimated": null
            },
            "DropoffDateTime": {
              "Start": "2022-09-28T08:00:00",
              "End": "2022-09-28T17:00:00",
              "Actual": null,
              "Estimated": null
            }
          }
        ],
        "Origin": {
          "Name": "760 PORT CARTERET DRIVE",
          "Address1": "760 PORT CARTERET DRIVE",
          "Address2": null,
          "City": "Appleton",
          "State": "WI",
          "PostalCode": "54915",
          "Country": "USA",
          "Comments": null,
          "Contact": {
            "Name": null,
            "Phonenumber": "",
            "Fax": "",
            "EmailId": null,
            "PhoneExtension": null,
            "FaxExtension": null
          }
        },
        "Destination": {
          "Name": "N9234 S LAKE PARK RD",
          "Address1": "N9234 S Lake Park Rd",
          "Address2": "ii",
          "City": "Carteret",
          "State": "NJ",
          "PostalCode": "07008",
          "Country": "USA",
          "Comments": null,
          "Contact": {
            "Name": null,
            "Phonenumber": "",
            "Fax": "",
            "EmailId": null,
            "PhoneExtension": null,
            "FaxExtension": null
          }
        },
        "PickupDateTime": {
          "Start": "2022-09-28T08:00:00",
          "End": "2022-09-28T17:00:00",
          "Actual": null,
          "Estimated": null
        },
        "DropoffDateTime": {
          "Start": "2022-09-28T08:00:00",
          "End": "2022-09-28T17:00:00",
          "Actual": null,
          "Estimated": null
        },
        "ServiceDays": 0,
        "Distance": 987,
        "Charges": [
          {
            "Carrier": {
              "Name": "Federal Carrier LLC",
              "Description": null,
              "SCAC": "FXFE",
              "CarrierProfileId": "54e902da-17f6-4c66-91f5-26d0e9df77c3",
              "EquipmentType": null,
              "CarrierLocationDetails": null
            },
            "ContractId": "d1908b33-0468-48ba-a5c3-05c6dd85d530",
            "IsActive": true,
            "Total": 270.95,
            "Type": null,
            "PickupNumber": null,
            "ProNumber": null,
            "Linehaul": {
              "Total": 177.66068633093525,
              "ItemLinehaul": []
            },
            "Fuel": {
              "Total": 69.2876676690647,
              "Rate": 69.28766766906475,
              "Index": 0
            },
            "Accessorial": {
              "Total": 2411111111111111111111,
              "AccessorialList": []
            }
          },
          {
            "Carrier": {
              "Name": "Federal Carrier LLC",
              "Description": "testing",
              "SCAC": "FXFE",
              "CarrierProfileId": "54e902da-17f6-4c66-91f5-26d0e9df77c3",
              "EquipmentType": null,
              "CarrierLocationDetails": null
            },
            "ContractId": "d1908b33-0468-48ba-a5c3-05c6dd85d530",
            "IsActive": false,
            "Total": 270.95,
            "Type": null,
            "PickupNumber": null,
            "ProNumber": null,
            "Linehaul": {
              "Total": 177.66068633093525,
              "ItemLinehaul": null
            },
            "Fuel": {
              "Total": 69,
              "Rate": 69.28766766906475,
              "Index": 0
            },
            "Accessorial": {
            //  "Total": 24,
              "AccessorialList": [
                { "Test": 222 },
                { "Test": 111 }
              ]
            }
          }
        ]
      }
    ],
    "_attachments": "attachments/",
    "_lsn": 488,
    "_ts": 1669198318
  }
Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.1.8 171 3/27/2024
1.1.7 379 1/24/2023
1.1.6 375 1/5/2023
1.1.5 356 12/15/2022
1.1.4 364 12/14/2022
1.1.3 340 12/14/2022
1.1.2 342 12/14/2022
1.1.1 359 12/13/2022
1.1.0 350 12/13/2022
1.0.9 349 12/12/2022
1.0.8 368 12/12/2022
1.0.7 355 12/11/2022
1.0.6 351 12/9/2022
1.0.5 352 12/7/2022
1.0.4 371 12/7/2022
1.0.3 358 12/5/2022
1.0.2 368 12/5/2022
1.0.1 389 12/2/2022
1.0.0 406 12/1/2022