rough


# curl
curl -X GET "<https://stg.sentinel.hwyhaul.com/core/hwyhaul/services/loads/79142868-056c-4736-9653-efeddb386cb8>" -H "Content-Type: application/json" -H "x-api-key: 0b39c3fc-af20-439d-808b-cb5b87ccbef2" -H "x-hh-token: <auth_token>"

# response
{
  "data": {
    "id": "79142868-056c-4736-9653-efeddb386cb8",
    "company": {
      "id": "9108eabe-26fe-43cf-9928-f0dc76e070b9",
      "shipperId": "59daa3e4-46cd-11ea-8ac4-42010af72124",
      "name": "American Star Clothing",
      "address": {
        "name": "",
        "city": "San Antonio",
        "state": "TX",
        "zip": "78218",
        "country": "US",
        "type": "PHYSICAL",
        "dst": "1",
        "timezone": "America/Chicago",
        "lat": -98.40431,
        "lon": 29.49428,
        "isValid": false,
        "id": "0277165e-3194-40ea-b8fb-71ca0a812f4a",
        "valid": false,
        "addressCity": {
          "zip": "78218",
          "name": "San Antonio",
          "state": "TX",
          "country": "US"
        },
        "singleLineAddress": "San Antonio, TX 78218, United States",
        "streetAddress": "",
        "cityZipState": "San Antonio, TX 78218",
        "cityState": "San Antonio, TX"
      },
      "type": "Unknown"
    },
    "shipper": {
      "id": "59daa3e4-46cd-11ea-8ac4-42010af72124",
      "companyId": "9108eabe-26fe-43cf-9928-f0dc76e070b9",
      "company": {
        "id": "9108eabe-26fe-43cf-9928-f0dc76e070b9",
        "name": "American Star Clothing",
        "address": {
          "name": "",
          "city": "San Antonio",
          "state": "TX",
          "zip": "78218",
          "country": "US",
          "type": "PHYSICAL",
          "dst": "1",
          "timezone": "America/Chicago",
          "lat": -98.40431,
          "lon": 29.49428,
          "isValid": false,
          "id": "0277165e-3194-40ea-b8fb-71ca0a812f4a",
          "valid": false,
          "addressCity": {
            "zip": "78218",
            "name": "San Antonio",
            "state": "TX",
            "country": "US"
          },
          "singleLineAddress": "San Antonio, TX 78218, United States",
          "streetAddress": "",
          "cityZipState": "San Antonio, TX 78218",
          "cityState": "San Antonio, TX"
        },
        "type": "SH",
        "notificationList": "",
        "currencies": [
          {
            "name": "CAD",
            "symbol": "CA$"
          },
          {
            "name": "USD",
            "symbol": "US$"
          }
        ],
        "defaultCurrency": {
          "name": "CAD",
          "symbol": "CA$"
        },
        "domains": [
          "americanstar.com"
        ]
      },
      "name": "American Star Clothing",
      "notificationList": "",
      "address": {
        "name": "",
        "city": "San Antonio",
        "state": "TX",
        "zip": "78218",
        "country": "US",
        "type": "PHYSICAL",
        "dst": "1",
        "timezone": "America/Chicago",
        "lat": -98.40431,
        "lon": 29.49428,
        "isValid": false,
        "id": "0277165e-3194-40ea-b8fb-71ca0a812f4a",
        "valid": false,
        "addressCity": {
          "zip": "78218",
          "name": "San Antonio",
          "state": "TX",
          "country": "US"
        },
        "singleLineAddress": "San Antonio, TX 78218, United States",
        "streetAddress": "",
        "cityZipState": "San Antonio, TX 78218",
        "cityState": "San Antonio, TX"
      },
      "users": [
        {
          "id": "3d497557-0294-480b-9731-8ab2b7fa7515",
          "firstName": "Jessia",
          "lastName": "Alvarez",
          "email": "[email protected]",
          "phoneNumber": "3485784672",
          "phoneCountryCode": "US",
          "status": "USER_PROFILE_EMAIL_VERIFICATION_REQUESTED"
        }
      ],
      "accountManagers": [
        {
          "userID": "ae008eee-5324-11ee-a60e-42010af72359",
          "firstName": "Sales",
          "lastName": "User",
          "phoneNumber": "5103657836",
          "phoneCountryCode": "US",
          "email": "[email protected]",
          "roleNameList": []
        }
      ],
      "defaultCurrency": {
        "name": "CAD",
        "symbol": "CA$"
      },
      "currencies": [
        {
          "name": "CAD",
          "symbol": "CA$"
        },
        {
          "name": "USD",
          "symbol": "US$"
        }
      ],
      "shipperFeatures": [],
      "partners": [
        {
          "id": "8a597899-12bb-45ab-838b-92c6938d3e66",
          "name": "Hwy Haul"
        }
      ]
    },
    "loadNumber": "151257",
    "shipperLoadNumber": "151257",
    "shipperLoadNumbers": [
      {
        "shipperLoadNumber": "151257",
        "setAt": "2025-02-06T13:37:31.786590068Z",
        "setBy": "aeda7d0c-5324-11ee-a60e-42010af72359"
      }
    ],
    "earliestPickupDateTime": "2025-02-11T08:00:00-08:00[America/Los_Angeles]",
    "latestPickupDateTime": "2025-02-11T09:00:00-08:00[America/Los_Angeles]",
    "earliestDropoffDateTime": "2025-02-15T08:00:00-05:00[America/New_York]",
    "latestDropoffDateTime": "2025-02-15T09:00:00-05:00[America/New_York]",
    "origin": {
      "name": "789 Test Test",
      "addressLine1": "",
      "addressLine2": "3456 E Miraloma Ave",
      "city": "Anaheim",
      "state": "CA",
      "zip": "92807",
      "country": "US",
      "type": "FACILITY",
      "dst": "1",
      "timezone": "America/Los_Angeles",
      "lat": 33.8596338,
      "lon": -117.8444151,
      "isValid": false,
      "id": "2b63982d-4ff3-456f-9ede-ad4e0747459d",
      "valid": false,
      "line1": "",
      "line2": "3456 E Miraloma Ave",
      "addressCity": {
        "zip": "92807",
        "name": "Anaheim",
        "state": "CA",
        "country": "US"
      },
      "singleLineAddress": "3456 E Miraloma Ave, Anaheim, CA 92807, United States",
      "streetAddress": "3456 E Miraloma Ave",
      "cityZipState": "Anaheim, CA 92807",
      "cityState": "Anaheim, CA"
    },
    "destination": {
      "name": "123123 North Black Horse test",
      "addressLine1": "",
      "addressLine2": "123123 A N Black Horse Pike",
      "city": "Blackwood",
      "state": "NJ",
      "zip": "08012",
      "country": "US",
      "type": "FACILITY",
      "dst": "1",
      "timezone": "America/New_York",
      "lat": -98.40431,
      "lon": 29.49428,
      "isValid": false,
      "id": "f60ee8a9-a72e-442a-8671-9a2582770cef",
      "valid": false,
      "line1": "",
      "line2": "123123 A N Black Horse Pike",
      "addressCity": {
        "zip": "08012",
        "name": "Blackwood",
        "state": "NJ",
        "country": "US"
      },
      "singleLineAddress": "123123 A N Black Horse Pike, Blackwood, NJ 08012, United States",
      "streetAddress": "123123 A N Black Horse Pike",
      "cityZipState": "Blackwood, NJ 08012",
      "cityState": "Blackwood, NJ"
    },
    "ratePerMile": 3.8,
    "equipment": "Reefer",
    "driverCombination": 1,
    "commodity": "Other",
    "size": "TL",
    "packaging": "Pallet",
    "pickUpInstructions": "",
    "contact": {
      "id": "55abb4bf-e014-4840-baaa-915232162679",
      "firstName": "Jessia",
      "lastName": "Alvarez",
      "phoneNumber": "3485784672",
      "phoneCountryCode": "US",
      "email": "[email protected]"
    },
    "weight": 20000.0,
    "temperatureSource": "LOAD",
    "temperature": 40.0,
    "distance": 2716.0,
    "status": "PUBLISHED",
    "createdBy": "Super Admin",
    "modifiedBy": "Super Admin",
    "createdAt": "2025-02-06T13:37:32Z",
    "modifiedAt": "2025-02-06T13:37:50Z",
    "isNew": false,
    "pickUpNumber": "",
    "pickupAppointmentNumber": "",
    "loadPrice": 10320.0,
    "cargoValue": 25000.0,
    "cargoValueMax": 50000.0,
    "dropOffNumber": "",
    "dropOffAppointmentNumber": "",
    "dropOffInstructions": "",
    "version": 1,
    "loadBoardActivePostings": [],
    "quoteId": "72f046b7-945d-4943-957a-2d376e9af533",
    "sequence": [
      {
        "addressDTO": {
          "name": "789 Test Test",
          "addressLine1": "",
          "addressLine2": "3456 E Miraloma Ave",
          "city": "Anaheim",
          "state": "CA",
          "zip": "92807",
          "country": "US",
          "type": "FACILITY",
          "dst": "1",
          "timezone": "America/Los_Angeles",
          "lat": 33.8596338,
          "lon": -117.8444151,
          "isValid": false,
          "phone": "8999999999",
          "phoneCountryCode": "US",
          "operationType": "FIRST_COME_FIRST_SERVE",
          "tenantAddressType": "COMPANY",
          "id": "2b63982d-4ff3-456f-9ede-ad4e0747459d",
          "valid": false,
          "line1": "",
          "line2": "3456 E Miraloma Ave",
          "addressCity": {
            "zip": "92807",
            "name": "Anaheim",
            "state": "CA",
            "country": "US"
          },
          "singleLineAddress": "3456 E Miraloma Ave, Anaheim, CA 92807, United States",
          "streetAddress": "3456 E Miraloma Ave",
          "cityZipState": "Anaheim, CA 92807",
          "cityState": "Anaheim, CA"
        },
        "appointmentNo": "",
        "commodities": [
          {
            "group": "Produce",
            "name": "Artichokes"
          }
        ],
        "earliestPickupDateTime": "2025-02-11T08:00:00-08:00[America/Los_Angeles]",
        "id": "bf6164e7-683f-4a40-9f3f-e2b1a887265e",
        "instruction": "",
        "lat": 33.8596338,
        "latestPickupDateTime": "2025-02-11T09:00:00-08:00[America/Los_Angeles]",
        "lon": -117.8444151,
        "palletCount": 10.0,
        "pickUpNumber": "",
        "orders": [],
        "poNumber": "",
        "sequenceNumber": 1,
        "sequenceType": "PICK",
        "timezone": "America/Los_Angeles",
        "trackingId": "OCkLhrrnd8",
        "weight": 20000.0
      },
      {
        "addressDTO": {
          "name": "123123 North Black Horse test",
          "addressLine1": "",
          "addressLine2": "123123 A N Black Horse Pike",
          "city": "Blackwood",
          "state": "NJ",
          "zip": "08012",
          "country": "US",
          "type": "FACILITY",
          "dst": "1",
          "timezone": "America/New_York",
          "lat": -98.40431,
          "lon": 29.49428,
          "isValid": false,
          "phone": "2342342343",
          "phoneExt": "+1",
          "phoneCountryCode": "US",
          "operationType": "APPOINTMENT",
          "tenantAddressType": "COMPANY",
          "id": "f60ee8a9-a72e-442a-8671-9a2582770cef",
          "valid": false,
          "line1": "",
          "line2": "123123 A N Black Horse Pike",
          "addressCity": {
            "zip": "08012",
            "name": "Blackwood",
            "state": "NJ",
            "country": "US"
          },
          "singleLineAddress": "123123 A N Black Horse Pike, Blackwood, NJ 08012, United States",
          "streetAddress": "123123 A N Black Horse Pike",
          "cityZipState": "Blackwood, NJ 08012",
          "cityState": "Blackwood, NJ"
        },
        "appointmentNo": "",
        "commodities": [],
        "dropOffNumber": "",
        "earliestDropoffDateTime": "2025-02-15T08:00:00-05:00[America/New_York]",
        "id": "1be1d4b1-a295-4eb7-b915-6ea9cf6edd24",
        "instruction": "",
        "lat": -98.40431,
        "latestDropoffDateTime": "2025-02-15T09:00:00-05:00[America/New_York]",
        "lon": 29.49428,
        "palletCount": 10.0,
        "caseCount": 0.0,
        "orders": [],
        "poNumber": "",
        "sequenceNumber": 2,
        "sequenceType": "DROP",
        "timezone": "America/New_York",
        "trackingId": "7za3fCLWr1",
        "weight": 20000.0
      }
    ],
    "tripType": "SINGLE_PICK_SINGLE_DROP",
    "currency": {
      "name": "USD",
      "symbol": "US$"
    },
    "doNotCall": false,
    "notify": false,
    "reeferMode": 1,
    "pricingType": "SPOT",
    "pickupPoVisible": false,
    "shipperCreditRecipient": {
      "creditRecipientUserId": "ae008eee-5324-11ee-a60e-42010af72359",
      "creditRecipientUserName": "Sales User",
      "creditRecipientUserCommissionPlanName": "Default",
      "creditRecipientUserCommissionPlanId": "44eed648-6f7b-11ef-b672-42010af7232e"
    },
    "tenant": {
      "id": "8a597899-12bb-45ab-838b-92c6938d3e66",
      "name": "Hwy Haul",
      "tenantType": "BROKER"
    },
    "mshipLoad": false,
    "new": false
  },
  "code": "OK"
}

# curl
curl -X GET "<https://stg.sentinel.hwyhaul.com/core/hwyhaul/services/loads/79142868-056c-4736-9653-efeddb386cb8/offer>" -H "Content-Type: application/json" -H "x-api-key: 0b39c3fc-af20-439d-808b-cb5b87ccbef2" -H "x-hh-token: <auth_token>"

# response
{
  "data": {
    "id": "de6ef3f9-f816-43c6-8302-d804ad956610",
    "loadId": "79142868-056c-4736-9653-efeddb386cb8",
    "company": {
      "id": "9108eabe-26fe-43cf-9928-f0dc76e070b9",
      "name": "American Star Clothing",
      "address": {
        "name": "",
        "type": "PHYSICAL",
        "timezone": "America/Chicago",
        "lat": -98.40431,
        "lon": 29.49428,
        "isValid": false,
        "validationCheckSource": "USPS",
        "valid": false,
        "addressCity": {},
        "cityState": "",
        "singleLineAddress": "",
        "streetAddress": "",
        "cityZipState": " null"
      },
      "type": "SH",
      "currencies": [
        {
          "name": "CAD",
          "symbol": "CA$"
        },
        {
          "name": "USD",
          "symbol": "US$"
        }
      ],
      "defaultCurrency": {
        "name": "CAD",
        "symbol": "CA$"
      },
      "domains": [
        "americanstar.com"
      ]
    },
    "loadNumber": "151257",
    "earliestPickupDateTime": "2025-02-11T08:00:00.000Z",
    "latestPickupDateTime": "2025-02-11T09:00:00.000Z",
    "earliestDropoffDateTime": "2025-02-15T08:00:00.000Z",
    "latestDropoffDateTime": "2025-02-15T09:00:00.000Z",
    "origin": {
      "name": "789 Test Test",
      "addressLine1": "",
      "addressLine2": "3456 E Miraloma Ave",
      "city": "Anaheim",
      "state": "CA",
      "zip": "92807",
      "country": "US",
      "type": "FACILITY",
      "dst": "1",
      "timezone": "America/Los_Angeles",
      "lat": 33.8596338,
      "lon": -117.8444151,
      "isValid": false,
      "id": "2b63982d-4ff3-456f-9ede-ad4e0747459d",
      "valid": false,
      "line1": "",
      "line2": "3456 E Miraloma Ave",
      "addressCity": {
        "zip": "92807",
        "name": "Anaheim",
        "state": "CA",
        "country": "US"
      },
      "cityState": "Anaheim, CA",
      "singleLineAddress": "3456 E Miraloma Ave, Anaheim, CA 92807, United States",
      "streetAddress": "3456 E Miraloma Ave",
      "cityZipState": "Anaheim, CA 92807"
    },
    "destination": {
      "name": "123123 North Black Horse test",
      "addressLine1": "",
      "addressLine2": "123123 A N Black Horse Pike",
      "city": "Blackwood",
      "state": "NJ",
      "zip": "08012",
      "country": "US",
      "type": "FACILITY",
      "dst": "1",
      "timezone": "America/New_York",
      "lat": -98.40431,
      "lon": 29.49428,
      "isValid": false,
      "id": "f60ee8a9-a72e-442a-8671-9a2582770cef",
      "valid": false,
      "line1": "",
      "line2": "123123 A N Black Horse Pike",
      "addressCity": {
        "zip": "08012",
        "name": "Blackwood",
        "state": "NJ",
        "country": "US"
      },
      "cityState": "Blackwood, NJ",
      "singleLineAddress": "123123 A N Black Horse Pike, Blackwood, NJ 08012, United States",
      "streetAddress": "123123 A N Black Horse Pike",
      "cityZipState": "Blackwood, NJ 08012"
    },
    "ratePerMile": 2.23,
    "currency": {
      "name": "USD",
      "symbol": "US$"
    },
    "equipment": "Reefer",
    "pickUpInstructions": "",
    "dropOffInstructions": "",
    "pickUpNumber": "",
    "dropOffNumber": "",
    "weight": 20000.0,
    "distance": 2716.0,
    "offerPrice": 6050.0,
    "offerPriceMax": 6250.0,
    "status": "PUBLISHED",
    "temperature": 40.0,
    "createdBy": "Super Admin",
    "createdAt": "2025-02-06T13:37:50Z",
    "tenant": {
      "id": "8a597899-12bb-45ab-838b-92c6938d3e66",
      "name": "Hwy Haul"
    },
    "favorite": false
  },
  "code": "OK"
}