---
title: Rail / Intermodal
slug: fourkites-api-reference/rail-intermodal
description: Learn how to use the "Create Load API" to efficiently create and track new loads. Our comprehensive document provides the API endpoint for seamless load creation via rail, along with code examples and a sample response. Ensure the generation of unique loa
icon: {"apiMethod":"POST"}
createdAt: 2023-08-03T17:38:32.000Z
---

Create Load API allows authorized users to create a new load for tracking. It is ideally called after the carrier has accepted the tender for the load.

:::hint{type="danger"}
### ⚠️ Important Update:

<font color="#EF4444">The Pallets structure is being deprecated. Please transition to  for product details. </font>[Learn more](https://docs.fourkites.com/api-reference/BXk7-create-shipment#ICU0Y)
:::

:::hint{type="warning"}
This API is called after the carrier has accepted the tender for the load. FourKites does not limit customers from creating more than one load with the same load number or PRO number -- creation of more than one load with the same load or PRO number will cause duplication of loads, which will end up affecting the tracking performance. Customers are advised to handle this on their side. To learn more about Idempotency Protection, [refer here](https://docs.fourkites.com/api-reference/idempotency-protection).
:::

:::hint{type="info"}
If you receive a server error **(5xx error code)**, please try again a few times. It's best to wait a little longer between each retry attempt. Try at least 3-5 times before giving up, as many server issues resolve themselves quickly.
:::

Supporting Document: [Create Shipment](https://docs.fourkites.com/api-reference/BXk7-create-shipment#4xc3cRbgZT-au2XAHx_w3)

:::hint{type="info"}
### Rate Limit

**1 request per second**
:::

:::hint{type="info"}
### Format Supported

**JSON**
:::

:::hint{type="info"}
### Authenticated Resource

**API Key**
:::

For more information on Authentication, [click here](https://docs.fourkites.com/api-reference/authentication).&#x20;

:::hint{type="info"}
FourKites does not limit customers from creating more than one load with the same load number or PRO number. When making POST requests to create a load, please ensure that it is the first time that a specific load number has been used to create a load. If multiple POST requests are made with the same data, FourKites will generate duplicate loads
:::

:::hint{type="success"}
For the European Rail road, the `wagonNumber` field must be used instead of the `railEquipmentInitials` and `railEquipmentNumber`fields as European standards for naming/identifying rail equipment are different than other regions. If your organization intends to track rail shipments in Europe, please contact your Implementation Manager and request that European rail tracking be enabled along with the usage of this field.
:::

:::ApiMethodV2
```json
{
  "name": "Production",
  "method": "POST",
  "url": "https://api.fourkites.com/api/v1/tracking",
  "description": "",
  "tab": "examples",
  "examples": {
    "languages": [
      {
        "id": "Oz5hW9DYWl5uJH6otuM0s",
        "language": "curl",
        "code": "curl --location 'https://api.fourkites.com/api/v1/tracking' \\\n--header 'Content-Type: application/json' \\\n--header 'apikey: REPLACE_KEY_VALUE' \\\n--data '{\n  \"trackingInfo\": {\n    \"driverPhone\": \"\",\n    \"truckNumber\": \"\",\n    \"railEquipmentInitials\": \"RAIL\",\n    \"railEquipmentNumber\": \"654405\",\n    \"wagonNumber\": \"qwerty123\"\n  },\n  \"load\": {\n    \"loadNumber\": \"TestRail05_1\",\n    \"skipAppointmentTimeValidation\": true,\n    \"priority\": \"normal\",\n    \"carrier\": \"cc79\",\n    \"carrierPermalink\": \"support-carrier-production\",\n    \"carrierName\": \"Support Carrier (Production)\",\n    \"masterSequenceNumber\": \"1\",\n    \"masterReferenceNumber\": \"7328623\",\n    \"referenceNumbers\": [\n      \"TU-2945\",\n      \"80982\",\n      \"94BC8\"\n    ],\n    \"shipper\": null,\n    \"products\": [],\n    \"stops\": [\n      {\n        \"stopType\": \"pickup\",\n        \"completeAddress\": \"Chennai, TN - 600003, IN\",\n        \"city\": \"Chennai\",\n        \"state\": \"TN\",\n        \"country\": \"IN\",\n        \"customer\": {\n          \"poNumbers\": [\n            \"00210123OF-203503\"\n          ]\n        },\n        \"postalCode\": null,\n        \"latitude\": 13.0816437,\n        \"longitude\": 80.2752316,\n        \"geofencePoints\": [],\n        \"appointmentTime\": \"2024-08-20T07:35:00.000Z\",\n        \"wantTime\": null,\n        \"earliestWantTime\": null,\n        \"latestWantTime\": null,\n        \"transportationMode\": null,\n        \"useLocalLatLng\": true,\n        \"StopReferenceNumber\": \"7085568349\",\n        \"pallets\": [\n          {\n            \"number\": \"PAL-001\",\n            \"parts\": [\n              {\n                \"quantity\": \"25\",\n                \"shipperPartNumber\": \"22EE\",\n                \"weight\": \"7.998\"\n              }\n            ]\n          }\n        ],\n        \"productLineItems\": [\n          {\n            \"productId\": \"0123456\",\n            \"productName\": \"Rail Freight Item\",\n            \"productDescription\": \"Rail/intermodal freight shipment item\",\n            \"productCategory\": \"General Freight\",\n            \"quantity\": 25,\n            \"measurementUnitCode\": \"PCE\",\n            \"netWeight\": 44.8,\n            \"weightUnit\": \"KGM\",\n            \"unitCost\": 25.0,\n            \"currencyCode\": \"USD\",\n            \"extendedCost\": 625.00,\n            \"freightCost\": 20.00,\n            \"bestBeforeDate\": \"2026-04-25T00:00:00Z\",\n            \"additionalCharges\": 5.00,\n            \"tariffCost\": 2.50,\n            \"fourKitesCalculatedTariffCost\": 2.50,\n            \"totalLandedCost\": 655.00,\n            \"countryOfOrigin\": \"IN\",\n            \"harmonizedSystemCode\": \"8607911000\",\n            \"commodityTypeCode\": \"RAIL_FREIGHT\",\n            \"htsusCode\": \"8607911000\",\n            \"orderNumber\": \"TU-2945\",\n            \"deliveryNumber\": \"DN-7085568349\",\n            \"handlingUnitId\": \"PAL-001\",\n            \"barcode\": \"PAL001\",\n            \"containerType\": \"pallet\",\n            \"gtin\": \"00012345678905\",\n            \"customerPartNumber\": \"22EE\",\n            \"supplierPartNumber\": \"22EE\",\n            \"manufacturerPartNumber\": \"MFG-22EE\",\n            \"itemNumber\": \"ITM-22EE\",\n            \"productUpc\": \"012345678905\",\n            \"deliveryReferences\": [\"DEL-REF-001\"],\n            \"orderReferences\": [\"TU-2945\"],\n            \"brandName\": \"Generic Rail Freight Co\",\n            \"minimumTemperature\": 0,\n            \"maximumTemperature\": 0,\n            \"temperatureUnitCode\": \"cel\",\n            \"labelIdentifier\": \"LBL-22EE\",\n            \"productTrackingNumber\": \"7085568349\",\n            \"deviceType\": \"RFID_TAG\"\n          }\n        ]\n      },\n      {\n        \"stopType\": \"delivery\",\n        \"completeAddress\": \"Bengaluru, KA - 560002, IN\",\n        \"city\": \"Bengaluru\",\n        \"state\": \"KA\",\n        \"country\": \"IN\",\n        \"postalCode\": \"78738\",\n        \"latitude\": 12.96643,\n        \"longitude\": 77.58718,\n        \"geofencePoints\": [],\n        \"appointmentTime\": \"2024-08-29T07:35:00.000Z\",\n        \"wantTime\": null,\n        \"earliestWantTime\": null,\n        \"latestWantTime\": null,\n        \"transportationMode\": null,\n        \"addressType\": \"\",\n        \"pallets\": [\n          {\n            \"number\": \"PAL-002\",\n            \"parts\": [\n              {\n                \"quantity\": \"25\",\n                \"shipperPartNumber\": \"22EE\",\n                \"weight\": \"7.998\"\n              }\n            ]\n          }\n        ],\n        \"productLineItems\": [\n          {\n            \"productId\": \"0123456\",\n            \"productName\": \"Rail Freight Item\",\n            \"productDescription\": \"Rail/intermodal freight shipment item\",\n            \"productCategory\": \"General Freight\",\n            \"quantity\": 25,\n            \"measurementUnitCode\": \"PCE\",\n            \"netWeight\": 44.8,\n            \"weightUnit\": \"KGM\",\n            \"unitCost\": 25.0,\n            \"currencyCode\": \"USD\",\n            \"extendedCost\": 625.00,\n            \"freightCost\": 20.00,\n            \"additionalCharges\": 5.00,\n            \"tariffCost\": 2.50,\n            \"fourKitesCalculatedTariffCost\": 2.50,\n            \"totalLandedCost\": 655.00,\n            \"countryOfOrigin\": \"IN\",\n            \"harmonizedSystemCode\": \"8607911000\",\n            \"commodityTypeCode\": \"RAIL_FREIGHT\",\n            \"htsusCode\": \"8607911000\",\n            \"orderNumber\": \"80982\",\n            \"deliveryNumber\": \"DN-PAL002\",\n            \"handlingUnitId\": \"PAL-002\",\n            \"barcode\": \"PAL002\",\n            \"containerType\": \"pallet\",\n            \"gtin\": \"00012345678912\",\n            \"customerPartNumber\": \"33CC\",\n            \"supplierPartNumber\": \"33CC\",\n            \"manufacturerPartNumber\": \"MFG-33CC\",\n            \"itemNumber\": \"ITM-33CC\",\n            \"productUpc\": \"012345678912\",\n            \"deliveryReferences\": [\"DEL-REF-002\"],\n            \"orderReferences\": [\"80982\"],\n            \"brandName\": \"Generic Rail Freight Co\",\n            \"minimumTemperature\": 0,\n            \"maximumTemperature\": 0,\n            \"temperatureUnitCode\": \"cel\",\n            \"labelIdentifier\": \"LBL-33CC\",\n            \"productTrackingNumber\": \"94BC8\",\n            \"deviceType\": \"QR_CODE\"\n          }\n        ],\n        \"useLocalLatLng\": true\n      }\n    ],\n    \"tags\": [\n      \"temp\",\n      \"field2\",\n      \"Inbound\"\n    ]\n  }\n}'",
        "customLabel": ""
      },
      {
        "id": "BaKuc0unzRLfeYfHFtiM6",
        "language": "java",
        "code": "OkHttpClient client = new OkHttpClient().newBuilder()\n  .build();\nMediaType mediaType = MediaType.parse(\"application/json\");\nRequestBody body = RequestBody.create(mediaType, \"{\\n  \\\"trackingInfo\\\": {\\n    \\\"driverPhone\\\": \\\"\\\",\\n    \\\"truckNumber\\\": \\\"\\\",\\n    \\\"railEquipmentInitials\\\": \\\"RAIL\\\",\\n    \\\"railEquipmentNumber\\\": \\\"654405\\\",\\n    \\\"wagonNumber\\\": \\\"qwerty123\\\"\\n  },\\n  \\\"load\\\": {\\n    \\\"loadNumber\\\": \\\"TestRail05_1\\\",\\n    \\\"skipAppointmentTimeValidation\\\": true,\\n    \\\"priority\\\": \\\"normal\\\",\\n    \\\"carrier\\\": \\\"cc79\\\",\\n    \\\"carrierPermalink\\\": \\\"support-carrier-production\\\",\\n    \\\"carrierName\\\": \\\"Support Carrier (Production)\\\",\\n    \\\"masterSequenceNumber\\\": \\\"1\\\",\\n    \\\"masterReferenceNumber\\\": \\\"7328623\\\",\\n    \\\"referenceNumbers\\\": [\\n      \\\"TU-2945\\\",\\n      \\\"80982\\\",\\n      \\\"94BC8\\\"\\n    ],\\n    \\\"shipper\\\": null,\\n    \\\"products\\\": [],\\n    \\\"stops\\\": [\\n      {\\n        \\\"stopType\\\": \\\"pickup\\\",\\n        \\\"completeAddress\\\": \\\"Chennai, TN - 600003, IN\\\",\\n        \\\"city\\\": \\\"Chennai\\\",\\n        \\\"state\\\": \\\"TN\\\",\\n        \\\"country\\\": \\\"IN\\\",\\n        \\\"customer\\\": {\\n          \\\"poNumbers\\\": [\\n            \\\"00210123OF-203503\\\"\\n          ]\\n        },\\n        \\\"postalCode\\\": null,\\n        \\\"latitude\\\": 13.0816437,\\n        \\\"longitude\\\": 80.2752316,\\n        \\\"geofencePoints\\\": [],\\n        \\\"appointmentTime\\\": \\\"2024-08-20T07:35:00.000Z\\\",\\n        \\\"wantTime\\\": null,\\n        \\\"earliestWantTime\\\": null,\\n        \\\"latestWantTime\\\": null,\\n        \\\"transportationMode\\\": null,\\n        \\\"useLocalLatLng\\\": true,\\n        \\\"StopReferenceNumber\\\": \\\"7085568349\\\",\\n        \\\"pallets\\\": [\\n          {\\n            \\\"number\\\": \\\"PAL-001\\\",\\n            \\\"parts\\\": [\\n              {\\n                \\\"quantity\\\": \\\"25\\\",\\n                \\\"shipperPartNumber\\\": \\\"22EE\\\",\\n                \\\"weight\\\": \\\"7.998\\\"\\n              }\\n            ]\\n          }\\n        ],\\n        \\\"productLineItems\\\": [\\n          {\\n            \\\"productId\\\": \\\"0123456\\\",\\n            \\\"productName\\\": \\\"Rail Freight Item\\\",\\n            \\\"productDescription\\\": \\\"Rail/intermodal freight shipment item\\\",\\n            \\\"productCategory\\\": \\\"General Freight\\\",\\n            \\\"quantity\\\": 25,\\n            \\\"measurementUnitCode\\\": \\\"PCE\\\",\\n            \\\"netWeight\\\": 44.8,\\n            \\\"weightUnit\\\": \\\"KGM\\\",\\n            \\\"unitCost\\\": 25.0,\\n            \\\"currencyCode\\\": \\\"USD\\\",\\n            \\\"extendedCost\\\": 625.00,\\n            \\\"freightCost\\\": 20.00,\\n            \\\"bestBeforeDate\\\": \\\"2026-04-25T00:00:00Z\\\",\\n            \\\"additionalCharges\\\": 5.00,\\n            \\\"tariffCost\\\": 2.50,\\n            \\\"fourKitesCalculatedTariffCost\\\": 2.50,\\n            \\\"totalLandedCost\\\": 655.00,\\n            \\\"countryOfOrigin\\\": \\\"IN\\\",\\n            \\\"harmonizedSystemCode\\\": \\\"8607911000\\\",\\n            \\\"commodityTypeCode\\\": \\\"RAIL_FREIGHT\\\",\\n            \\\"htsusCode\\\": \\\"8607911000\\\",\\n            \\\"orderNumber\\\": \\\"TU-2945\\\",\\n            \\\"deliveryNumber\\\": \\\"DN-7085568349\\\",\\n            \\\"handlingUnitId\\\": \\\"PAL-001\\\",\\n            \\\"barcode\\\": \\\"PAL001\\\",\\n            \\\"containerType\\\": \\\"pallet\\\",\\n            \\\"gtin\\\": \\\"00012345678905\\\",\\n            \\\"customerPartNumber\\\": \\\"22EE\\\",\\n            \\\"supplierPartNumber\\\": \\\"22EE\\\",\\n            \\\"manufacturerPartNumber\\\": \\\"MFG-22EE\\\",\\n            \\\"itemNumber\\\": \\\"ITM-22EE\\\",\\n            \\\"productUpc\\\": \\\"012345678905\\\",\\n            \\\"deliveryReferences\\\": [\\\"DEL-REF-001\\\"],\\n            \\\"orderReferences\\\": [\\\"TU-2945\\\"],\\n            \\\"brandName\\\": \\\"Generic Rail Freight Co\\\",\\n            \\\"minimumTemperature\\\": 0,\\n            \\\"maximumTemperature\\\": 0,\\n            \\\"temperatureUnitCode\\\": \\\"cel\\\",\\n            \\\"labelIdentifier\\\": \\\"LBL-22EE\\\",\\n            \\\"productTrackingNumber\\\": \\\"7085568349\\\",\\n            \\\"deviceType\\\": \\\"RFID_TAG\\\"\\n          }\\n        ]\\n      },\\n      {\\n        \\\"stopType\\\": \\\"delivery\\\",\\n        \\\"completeAddress\\\": \\\"Bengaluru, KA - 560002, IN\\\",\\n        \\\"city\\\": \\\"Bengaluru\\\",\\n        \\\"state\\\": \\\"KA\\\",\\n        \\\"country\\\": \\\"IN\\\",\\n        \\\"postalCode\\\": \\\"78738\\\",\\n        \\\"latitude\\\": 12.96643,\\n        \\\"longitude\\\": 77.58718,\\n        \\\"geofencePoints\\\": [],\\n        \\\"appointmentTime\\\": \\\"2024-08-29T07:35:00.000Z\\\",\\n        \\\"wantTime\\\": null,\\n        \\\"earliestWantTime\\\": null,\\n        \\\"latestWantTime\\\": null,\\n        \\\"transportationMode\\\": null,\\n        \\\"addressType\\\": \\\"\\\",\\n        \\\"pallets\\\": [\\n          {\\n            \\\"number\\\": \\\"PAL-002\\\",\\n            \\\"parts\\\": [\\n              {\\n                \\\"quantity\\\": \\\"25\\\",\\n                \\\"shipperPartNumber\\\": \\\"22EE\\\",\\n                \\\"weight\\\": \\\"7.998\\\"\\n              }\\n            ]\\n          }\\n        ],\\n        \\\"productLineItems\\\": [\\n          {\\n            \\\"productId\\\": \\\"0123456\\\",\\n            \\\"productName\\\": \\\"Rail Freight Item\\\",\\n            \\\"productDescription\\\": \\\"Rail/intermodal freight shipment item\\\",\\n            \\\"productCategory\\\": \\\"General Freight\\\",\\n            \\\"quantity\\\": 25,\\n            \\\"measurementUnitCode\\\": \\\"PCE\\\",\\n            \\\"netWeight\\\": 44.8,\\n            \\\"weightUnit\\\": \\\"KGM\\\",\\n            \\\"unitCost\\\": 25.0,\\n            \\\"currencyCode\\\": \\\"USD\\\",\\n            \\\"extendedCost\\\": 625.00,\\n            \\\"freightCost\\\": 20.00,\\n            \\\"additionalCharges\\\": 5.00,\\n            \\\"tariffCost\\\": 2.50,\\n            \\\"fourKitesCalculatedTariffCost\\\": 2.50,\\n            \\\"totalLandedCost\\\": 655.00,\\n            \\\"countryOfOrigin\\\": \\\"IN\\\",\\n            \\\"harmonizedSystemCode\\\": \\\"8607911000\\\",\\n            \\\"commodityTypeCode\\\": \\\"RAIL_FREIGHT\\\",\\n            \\\"htsusCode\\\": \\\"8607911000\\\",\\n            \\\"orderNumber\\\": \\\"80982\\\",\\n            \\\"deliveryNumber\\\": \\\"DN-PAL002\\\",\\n            \\\"handlingUnitId\\\": \\\"PAL-002\\\",\\n            \\\"barcode\\\": \\\"PAL002\\\",\\n            \\\"containerType\\\": \\\"pallet\\\",\\n            \\\"gtin\\\": \\\"00012345678912\\\",\\n            \\\"customerPartNumber\\\": \\\"33CC\\\",\\n            \\\"supplierPartNumber\\\": \\\"33CC\\\",\\n            \\\"manufacturerPartNumber\\\": \\\"MFG-33CC\\\",\\n            \\\"itemNumber\\\": \\\"ITM-33CC\\\",\\n            \\\"productUpc\\\": \\\"012345678912\\\",\\n            \\\"deliveryReferences\\\": [\\\"DEL-REF-002\\\"],\\n            \\\"orderReferences\\\": [\\\"80982\\\"],\\n            \\\"brandName\\\": \\\"Generic Rail Freight Co\\\",\\n            \\\"minimumTemperature\\\": 0,\\n            \\\"maximumTemperature\\\": 0,\\n            \\\"temperatureUnitCode\\\": \\\"cel\\\",\\n            \\\"labelIdentifier\\\": \\\"LBL-33CC\\\",\\n            \\\"productTrackingNumber\\\": \\\"94BC8\\\",\\n            \\\"deviceType\\\": \\\"QR_CODE\\\"\\n          }\\n        ],\\n        \\\"useLocalLatLng\\\": true\\n      }\\n    ],\\n    \\\"tags\\\": [\\n      \\\"temp\\\",\\n      \\\"field2\\\",\\n      \\\"Inbound\\\"\\n    ]\\n  }\\n}\");\nRequest request = new Request.Builder()\n  .url(\"https://api.fourkites.com/api/v1/tracking\")\n  .method(\"POST\", body)\n  .addHeader(\"Content-Type\", \"application/json\")\n  .addHeader(\"apikey\", \"REPLACE_KEY_VALUE\")\n  .build();\nResponse response = client.newCall(request).execute();",
        "customLabel": ""
      },
      {
        "id": "rZWijjIsBRF4JmBXGx3ZA",
        "language": "javascript",
        "code": "var settings = {\n  \"url\": \"https://api.fourkites.com/api/v1/tracking\",\n  \"method\": \"POST\",\n  \"timeout\": 0,\n  \"headers\": {\n    \"Content-Type\": \"application/json\",\n    \"apikey\": \"REPLACE_KEY_VALUE\"\n  },\n  \"data\": JSON.stringify({\n    \"trackingInfo\": {\n      \"driverPhone\": \"\",\n      \"truckNumber\": \"\",\n      \"railEquipmentInitials\": \"RAIL\",\n      \"railEquipmentNumber\": \"654405\",\n      \"wagonNumber\": \"qwerty123\"\n    },\n    \"load\": {\n      \"loadNumber\": \"TestRail05_1\",\n      \"skipAppointmentTimeValidation\": true,\n      \"priority\": \"normal\",\n      \"carrier\": \"cc79\",\n      \"carrierPermalink\": \"support-carrier-production\",\n      \"carrierName\": \"Support Carrier (Production)\",\n      \"masterSequenceNumber\": \"1\",\n      \"masterReferenceNumber\": \"7328623\",\n      \"referenceNumbers\": [\n        \"TU-2945\",\n        \"80982\",\n        \"94BC8\"\n      ],\n      \"shipper\": null,\n      \"products\": [],\n      \"stops\": [\n        {\n          \"stopType\": \"pickup\",\n          \"completeAddress\": \"Chennai, TN - 600003, IN\",\n          \"city\": \"Chennai\",\n          \"state\": \"TN\",\n          \"country\": \"IN\",\n          \"customer\": {\n            \"poNumbers\": [\n              \"00210123OF-203503\"\n            ]\n          },\n          \"postalCode\": null,\n          \"latitude\": 13.0816437,\n          \"longitude\": 80.2752316,\n          \"geofencePoints\": [],\n          \"appointmentTime\": \"2024-08-20T07:35:00.000Z\",\n          \"wantTime\": null,\n          \"earliestWantTime\": null,\n          \"latestWantTime\": null,\n          \"transportationMode\": null,\n          \"useLocalLatLng\": true,\n          \"StopReferenceNumber\": \"7085568349\",\n        \"pallets\": [\n          {\n            \"number\": \"PAL-001\",\n            \"parts\": [\n              {\n                \"quantity\": \"25\",\n                \"shipperPartNumber\": \"22EE\",\n                \"weight\": \"7.998\"\n              }\n            ]\n          }\n        ],\n        \"productLineItems\": [\n          {\n            \"productId\": \"0123456\",\n            \"productName\": \"Rail Freight Item\",\n            \"productDescription\": \"Rail/intermodal freight shipment item\",\n            \"productCategory\": \"General Freight\",\n            \"quantity\": 25,\n            \"measurementUnitCode\": \"PCE\",\n            \"netWeight\": 44.8,\n            \"weightUnit\": \"KGM\",\n            \"unitCost\": 25.0,\n            \"currencyCode\": \"USD\",\n            \"extendedCost\": 625.00,\n            \"freightCost\": 20.00,\n            \"bestBeforeDate\": \"2026-04-25T00:00:00Z\",\n            \"additionalCharges\": 5.00,\n            \"tariffCost\": 2.50,\n            \"fourKitesCalculatedTariffCost\": 2.50,\n            \"totalLandedCost\": 655.00,\n            \"countryOfOrigin\": \"IN\",\n            \"harmonizedSystemCode\": \"8607911000\",\n            \"commodityTypeCode\": \"RAIL_FREIGHT\",\n            \"htsusCode\": \"8607911000\",\n            \"orderNumber\": \"TU-2945\",\n            \"deliveryNumber\": \"DN-7085568349\",\n            \"handlingUnitId\": \"PAL-001\",\n            \"barcode\": \"PAL001\",\n            \"containerType\": \"pallet\",\n            \"gtin\": \"00012345678905\",\n            \"customerPartNumber\": \"22EE\",\n            \"supplierPartNumber\": \"22EE\",\n            \"manufacturerPartNumber\": \"MFG-22EE\",\n            \"itemNumber\": \"ITM-22EE\",\n            \"productUpc\": \"012345678905\",\n            \"deliveryReferences\": [\"DEL-REF-001\"],\n            \"orderReferences\": [\"TU-2945\"],\n            \"brandName\": \"Generic Rail Freight Co\",\n            \"minimumTemperature\": 0,\n            \"maximumTemperature\": 0,\n            \"temperatureUnitCode\": \"cel\",\n            \"labelIdentifier\": \"LBL-22EE\",\n            \"productTrackingNumber\": \"7085568349\",\n            \"deviceType\": \"RFID_TAG\"\n          }\n        ]\n        },\n        {\n          \"stopType\": \"delivery\",\n          \"completeAddress\": \"Bengaluru, KA - 560002, IN\",\n          \"city\": \"Bengaluru\",\n          \"state\": \"KA\",\n          \"country\": \"IN\",\n          \"postalCode\": \"78738\",\n          \"latitude\": 12.96643,\n          \"longitude\": 77.58718,\n          \"geofencePoints\": [],\n          \"appointmentTime\": \"2024-08-29T07:35:00.000Z\",\n          \"wantTime\": null,\n          \"earliestWantTime\": null,\n          \"latestWantTime\": null,\n          \"transportationMode\": null,\n          \"addressType\": \"\",\n        \"pallets\": [\n          {\n            \"number\": \"PAL-002\",\n            \"parts\": [\n              {\n                \"quantity\": \"25\",\n                \"shipperPartNumber\": \"22EE\",\n                \"weight\": \"7.998\"\n              }\n            ]\n          }\n        ],\n        \"productLineItems\": [\n          {\n            \"productId\": \"0123456\",\n            \"productName\": \"Rail Freight Item\",\n            \"productDescription\": \"Rail/intermodal freight shipment item\",\n            \"productCategory\": \"General Freight\",\n            \"quantity\": 25,\n            \"measurementUnitCode\": \"PCE\",\n            \"netWeight\": 44.8,\n            \"weightUnit\": \"KGM\",\n            \"unitCost\": 25.0,\n            \"currencyCode\": \"USD\",\n            \"extendedCost\": 625.00,\n            \"freightCost\": 20.00,\n            \"additionalCharges\": 5.00,\n            \"tariffCost\": 2.50,\n            \"fourKitesCalculatedTariffCost\": 2.50,\n            \"totalLandedCost\": 655.00,\n            \"countryOfOrigin\": \"IN\",\n            \"harmonizedSystemCode\": \"8607911000\",\n            \"commodityTypeCode\": \"RAIL_FREIGHT\",\n            \"htsusCode\": \"8607911000\",\n            \"orderNumber\": \"80982\",\n            \"deliveryNumber\": \"DN-PAL002\",\n            \"handlingUnitId\": \"PAL-002\",\n            \"barcode\": \"PAL002\",\n            \"containerType\": \"pallet\",\n            \"gtin\": \"00012345678912\",\n            \"customerPartNumber\": \"33CC\",\n            \"supplierPartNumber\": \"33CC\",\n            \"manufacturerPartNumber\": \"MFG-33CC\",\n            \"itemNumber\": \"ITM-33CC\",\n            \"productUpc\": \"012345678912\",\n            \"deliveryReferences\": [\"DEL-REF-002\"],\n            \"orderReferences\": [\"80982\"],\n            \"brandName\": \"Generic Rail Freight Co\",\n            \"minimumTemperature\": 0,\n            \"maximumTemperature\": 0,\n            \"temperatureUnitCode\": \"cel\",\n            \"labelIdentifier\": \"LBL-33CC\",\n            \"productTrackingNumber\": \"94BC8\",\n            \"deviceType\": \"QR_CODE\"\n          }\n        ],\n          \"useLocalLatLng\": true\n        }\n      ],\n      \"tags\": [\n        \"temp\",\n        \"field2\",\n        \"Inbound\"\n      ]\n    }\n  }),\n};\n\n$.ajax(settings).done(function (response) {\n  console.log(response);\n});",
        "customLabel": ""
      },
      {
        "id": "zvQntS0ZQta6prUoKxjmU",
        "language": "swift",
        "code": "let parameters = \"{\\n  \\\"trackingInfo\\\": {\\n    \\\"driverPhone\\\": \\\"\\\",\\n    \\\"truckNumber\\\": \\\"\\\",\\n    \\\"railEquipmentInitials\\\": \\\"RAIL\\\",\\n    \\\"railEquipmentNumber\\\": \\\"654405\\\",\\n    \\\"wagonNumber\\\": \\\"qwerty123\\\"\\n  },\\n  \\\"load\\\": {\\n    \\\"loadNumber\\\": \\\"TestRail05_1\\\",\\n    \\\"skipAppointmentTimeValidation\\\": true,\\n    \\\"priority\\\": \\\"normal\\\",\\n    \\\"carrier\\\": \\\"cc79\\\",\\n    \\\"carrierPermalink\\\": \\\"support-carrier-production\\\",\\n    \\\"carrierName\\\": \\\"Support Carrier (Production)\\\",\\n    \\\"masterSequenceNumber\\\": \\\"1\\\",\\n    \\\"masterReferenceNumber\\\": \\\"7328623\\\",\\n    \\\"referenceNumbers\\\": [\\n      \\\"TU-2945\\\",\\n      \\\"80982\\\",\\n      \\\"94BC8\\\"\\n    ],\\n    \\\"shipper\\\": null,\\n    \\\"products\\\": [],\\n    \\\"stops\\\": [\\n      {\\n        \\\"stopType\\\": \\\"pickup\\\",\\n        \\\"completeAddress\\\": \\\"Chennai, TN - 600003, IN\\\",\\n        \\\"city\\\": \\\"Chennai\\\",\\n        \\\"state\\\": \\\"TN\\\",\\n        \\\"country\\\": \\\"IN\\\",\\n        \\\"customer\\\": {\\n          \\\"poNumbers\\\": [\\n            \\\"00210123OF-203503\\\"\\n          ]\\n        },\\n        \\\"postalCode\\\": null,\\n        \\\"latitude\\\": 13.0816437,\\n        \\\"longitude\\\": 80.2752316,\\n        \\\"geofencePoints\\\": [],\\n        \\\"appointmentTime\\\": \\\"2024-08-20T07:35:00.000Z\\\",\\n        \\\"wantTime\\\": null,\\n        \\\"earliestWantTime\\\": null,\\n        \\\"latestWantTime\\\": null,\\n        \\\"transportationMode\\\": null,\\n        \\\"useLocalLatLng\\\": true,\\n        \\\"StopReferenceNumber\\\": \\\"7085568349\\\",\\n        \\\"pallets\\\": [\\n          {\\n            \\\"number\\\": \\\"PAL-001\\\",\\n            \\\"parts\\\": [\\n              {\\n                \\\"quantity\\\": \\\"25\\\",\\n                \\\"shipperPartNumber\\\": \\\"22EE\\\",\\n                \\\"weight\\\": \\\"7.998\\\"\\n              }\\n            ]\\n          }\\n        ],\\n        \\\"productLineItems\\\": [\\n          {\\n            \\\"productId\\\": \\\"0123456\\\",\\n            \\\"productName\\\": \\\"Rail Freight Item\\\",\\n            \\\"productDescription\\\": \\\"Rail/intermodal freight shipment item\\\",\\n            \\\"productCategory\\\": \\\"General Freight\\\",\\n            \\\"quantity\\\": 25,\\n            \\\"measurementUnitCode\\\": \\\"PCE\\\",\\n            \\\"netWeight\\\": 44.8,\\n            \\\"weightUnit\\\": \\\"KGM\\\",\\n            \\\"unitCost\\\": 25.0,\\n            \\\"currencyCode\\\": \\\"USD\\\",\\n            \\\"extendedCost\\\": 625.00,\\n            \\\"freightCost\\\": 20.00,\\n            \\\"bestBeforeDate\\\": \\\"2026-04-25T00:00:00Z\\\",\\n            \\\"additionalCharges\\\": 5.00,\\n            \\\"tariffCost\\\": 2.50,\\n            \\\"fourKitesCalculatedTariffCost\\\": 2.50,\\n            \\\"totalLandedCost\\\": 655.00,\\n            \\\"countryOfOrigin\\\": \\\"IN\\\",\\n            \\\"harmonizedSystemCode\\\": \\\"8607911000\\\",\\n            \\\"commodityTypeCode\\\": \\\"RAIL_FREIGHT\\\",\\n            \\\"htsusCode\\\": \\\"8607911000\\\",\\n            \\\"orderNumber\\\": \\\"TU-2945\\\",\\n            \\\"deliveryNumber\\\": \\\"DN-7085568349\\\",\\n            \\\"handlingUnitId\\\": \\\"PAL-001\\\",\\n            \\\"barcode\\\": \\\"PAL001\\\",\\n            \\\"containerType\\\": \\\"pallet\\\",\\n            \\\"gtin\\\": \\\"00012345678905\\\",\\n            \\\"customerPartNumber\\\": \\\"22EE\\\",\\n            \\\"supplierPartNumber\\\": \\\"22EE\\\",\\n            \\\"manufacturerPartNumber\\\": \\\"MFG-22EE\\\",\\n            \\\"itemNumber\\\": \\\"ITM-22EE\\\",\\n            \\\"productUpc\\\": \\\"012345678905\\\",\\n            \\\"deliveryReferences\\\": [\\\"DEL-REF-001\\\"],\\n            \\\"orderReferences\\\": [\\\"TU-2945\\\"],\\n            \\\"brandName\\\": \\\"Generic Rail Freight Co\\\",\\n            \\\"minimumTemperature\\\": 0,\\n            \\\"maximumTemperature\\\": 0,\\n            \\\"temperatureUnitCode\\\": \\\"cel\\\",\\n            \\\"labelIdentifier\\\": \\\"LBL-22EE\\\",\\n            \\\"productTrackingNumber\\\": \\\"7085568349\\\",\\n            \\\"deviceType\\\": \\\"RFID_TAG\\\"\\n          }\\n        ]\\n      },\\n      {\\n        \\\"stopType\\\": \\\"delivery\\\",\\n        \\\"completeAddress\\\": \\\"Bengaluru, KA - 560002, IN\\\",\\n        \\\"city\\\": \\\"Bengaluru\\\",\\n        \\\"state\\\": \\\"KA\\\",\\n        \\\"country\\\": \\\"IN\\\",\\n        \\\"postalCode\\\": \\\"78738\\\",\\n        \\\"latitude\\\": 12.96643,\\n        \\\"longitude\\\": 77.58718,\\n        \\\"geofencePoints\\\": [],\\n        \\\"appointmentTime\\\": \\\"2024-08-29T07:35:00.000Z\\\",\\n        \\\"wantTime\\\": null,\\n        \\\"earliestWantTime\\\": null,\\n        \\\"latestWantTime\\\": null,\\n        \\\"transportationMode\\\": null,\\n        \\\"addressType\\\": \\\"\\\",\\n        \\\"pallets\\\": [\\n          {\\n            \\\"number\\\": \\\"PAL-002\\\",\\n            \\\"parts\\\": [\\n              {\\n                \\\"quantity\\\": \\\"25\\\",\\n                \\\"shipperPartNumber\\\": \\\"22EE\\\",\\n                \\\"weight\\\": \\\"7.998\\\"\\n              }\\n            ]\\n          }\\n        ],\\n        \\\"productLineItems\\\": [\\n          {\\n            \\\"productId\\\": \\\"0123456\\\",\\n            \\\"productName\\\": \\\"Rail Freight Item\\\",\\n            \\\"productDescription\\\": \\\"Rail/intermodal freight shipment item\\\",\\n            \\\"productCategory\\\": \\\"General Freight\\\",\\n            \\\"quantity\\\": 25,\\n            \\\"measurementUnitCode\\\": \\\"PCE\\\",\\n            \\\"netWeight\\\": 44.8,\\n            \\\"weightUnit\\\": \\\"KGM\\\",\\n            \\\"unitCost\\\": 25.0,\\n            \\\"currencyCode\\\": \\\"USD\\\",\\n            \\\"extendedCost\\\": 625.00,\\n            \\\"freightCost\\\": 20.00,\\n            \\\"additionalCharges\\\": 5.00,\\n            \\\"tariffCost\\\": 2.50,\\n            \\\"fourKitesCalculatedTariffCost\\\": 2.50,\\n            \\\"totalLandedCost\\\": 655.00,\\n            \\\"countryOfOrigin\\\": \\\"IN\\\",\\n            \\\"harmonizedSystemCode\\\": \\\"8607911000\\\",\\n            \\\"commodityTypeCode\\\": \\\"RAIL_FREIGHT\\\",\\n            \\\"htsusCode\\\": \\\"8607911000\\\",\\n            \\\"orderNumber\\\": \\\"80982\\\",\\n            \\\"deliveryNumber\\\": \\\"DN-PAL002\\\",\\n            \\\"handlingUnitId\\\": \\\"PAL-002\\\",\\n            \\\"barcode\\\": \\\"PAL002\\\",\\n            \\\"containerType\\\": \\\"pallet\\\",\\n            \\\"gtin\\\": \\\"00012345678912\\\",\\n            \\\"customerPartNumber\\\": \\\"33CC\\\",\\n            \\\"supplierPartNumber\\\": \\\"33CC\\\",\\n            \\\"manufacturerPartNumber\\\": \\\"MFG-33CC\\\",\\n            \\\"itemNumber\\\": \\\"ITM-33CC\\\",\\n            \\\"productUpc\\\": \\\"012345678912\\\",\\n            \\\"deliveryReferences\\\": [\\\"DEL-REF-002\\\"],\\n            \\\"orderReferences\\\": [\\\"80982\\\"],\\n            \\\"brandName\\\": \\\"Generic Rail Freight Co\\\",\\n            \\\"minimumTemperature\\\": 0,\\n            \\\"maximumTemperature\\\": 0,\\n            \\\"temperatureUnitCode\\\": \\\"cel\\\",\\n            \\\"labelIdentifier\\\": \\\"LBL-33CC\\\",\\n            \\\"productTrackingNumber\\\": \\\"94BC8\\\",\\n            \\\"deviceType\\\": \\\"QR_CODE\\\"\\n          }\\n        ],\\n        \\\"useLocalLatLng\\\": true\\n      }\\n    ],\\n    \\\"tags\\\": [\\n      \\\"temp\\\",\\n      \\\"field2\\\",\\n      \\\"Inbound\\\"\\n    ]\\n  }\\n}\"\nlet postData = parameters.data(using: .utf8)\n\nvar request = URLRequest(url: URL(string: \"https://api.fourkites.com/api/v1/tracking\")!,timeoutInterval: Double.infinity)\nrequest.addValue(\"application/json\", forHTTPHeaderField: \"Content-Type\")\nrequest.addValue(\"REPLACE_KEY_VALUE\", forHTTPHeaderField: \"apikey\")\n\nrequest.httpMethod = \"POST\"\nrequest.httpBody = postData\n\nlet task = URLSession.shared.dataTask(with: request) { data, response, error in \n  guard let data = data else {\n    print(String(describing: error))\n    return\n  }\n  print(String(data: data, encoding: .utf8)!)\n}\n\ntask.resume()\n",
        "customLabel": ""
      },
      {
        "id": "u5fxL0ftRtMWoYkZKcwNu",
        "language": "csharp",
        "code": "var client = new HttpClient();\nvar request = new HttpRequestMessage(HttpMethod.Post, \"https://api.fourkites.com/api/v1/tracking\");\nrequest.Headers.Add(\"apikey\", \"REPLACE_KEY_VALUE\");\nvar content = new StringContent(\"{\\n  \\\"trackingInfo\\\": {\\n    \\\"driverPhone\\\": \\\"\\\",\\n    \\\"truckNumber\\\": \\\"\\\",\\n    \\\"railEquipmentInitials\\\": \\\"RAIL\\\",\\n    \\\"railEquipmentNumber\\\": \\\"654405\\\",\\n    \\\"wagonNumber\\\": \\\"qwerty123\\\"\\n  },\\n  \\\"load\\\": {\\n    \\\"loadNumber\\\": \\\"TestRail05_1\\\",\\n    \\\"skipAppointmentTimeValidation\\\": true,\\n    \\\"priority\\\": \\\"normal\\\",\\n    \\\"carrier\\\": \\\"cc79\\\",\\n    \\\"carrierPermalink\\\": \\\"support-carrier-production\\\",\\n    \\\"carrierName\\\": \\\"Support Carrier (Production)\\\",\\n    \\\"masterSequenceNumber\\\": \\\"1\\\",\\n    \\\"masterReferenceNumber\\\": \\\"7328623\\\",\\n    \\\"referenceNumbers\\\": [\\n      \\\"TU-2945\\\",\\n      \\\"80982\\\",\\n      \\\"94BC8\\\"\\n    ],\\n    \\\"shipper\\\": null,\\n    \\\"products\\\": [],\\n    \\\"stops\\\": [\\n      {\\n        \\\"stopType\\\": \\\"pickup\\\",\\n        \\\"completeAddress\\\": \\\"Chennai, TN - 600003, IN\\\",\\n        \\\"city\\\": \\\"Chennai\\\",\\n        \\\"state\\\": \\\"TN\\\",\\n        \\\"country\\\": \\\"IN\\\",\\n        \\\"customer\\\": {\\n          \\\"poNumbers\\\": [\\n            \\\"00210123OF-203503\\\"\\n          ]\\n        },\\n        \\\"postalCode\\\": null,\\n        \\\"latitude\\\": 13.0816437,\\n        \\\"longitude\\\": 80.2752316,\\n        \\\"geofencePoints\\\": [],\\n        \\\"appointmentTime\\\": \\\"2024-08-20T07:35:00.000Z\\\",\\n        \\\"wantTime\\\": null,\\n        \\\"earliestWantTime\\\": null,\\n        \\\"latestWantTime\\\": null,\\n        \\\"transportationMode\\\": null,\\n        \\\"useLocalLatLng\\\": true,\\n        \\\"StopReferenceNumber\\\": \\\"7085568349\\\",\\n        \\\"pallets\\\": [\\n          {\\n            \\\"number\\\": \\\"PAL-001\\\",\\n            \\\"parts\\\": [\\n              {\\n                \\\"quantity\\\": \\\"25\\\",\\n                \\\"shipperPartNumber\\\": \\\"22EE\\\",\\n                \\\"weight\\\": \\\"7.998\\\"\\n              }\\n            ]\\n          }\\n        ],\\n        \\\"productLineItems\\\": [\\n          {\\n            \\\"productId\\\": \\\"0123456\\\",\\n            \\\"productName\\\": \\\"Rail Freight Item\\\",\\n            \\\"productDescription\\\": \\\"Rail/intermodal freight shipment item\\\",\\n            \\\"productCategory\\\": \\\"General Freight\\\",\\n            \\\"quantity\\\": 25,\\n            \\\"measurementUnitCode\\\": \\\"PCE\\\",\\n            \\\"netWeight\\\": 44.8,\\n            \\\"weightUnit\\\": \\\"KGM\\\",\\n            \\\"unitCost\\\": 25.0,\\n            \\\"currencyCode\\\": \\\"USD\\\",\\n            \\\"extendedCost\\\": 625.00,\\n            \\\"freightCost\\\": 20.00,\\n            \\\"bestBeforeDate\\\": \\\"2026-04-25T00:00:00Z\\\",\\n            \\\"additionalCharges\\\": 5.00,\\n            \\\"tariffCost\\\": 2.50,\\n            \\\"fourKitesCalculatedTariffCost\\\": 2.50,\\n            \\\"totalLandedCost\\\": 655.00,\\n            \\\"countryOfOrigin\\\": \\\"IN\\\",\\n            \\\"harmonizedSystemCode\\\": \\\"8607911000\\\",\\n            \\\"commodityTypeCode\\\": \\\"RAIL_FREIGHT\\\",\\n            \\\"htsusCode\\\": \\\"8607911000\\\",\\n            \\\"orderNumber\\\": \\\"TU-2945\\\",\\n            \\\"deliveryNumber\\\": \\\"DN-7085568349\\\",\\n            \\\"handlingUnitId\\\": \\\"PAL-001\\\",\\n            \\\"barcode\\\": \\\"PAL001\\\",\\n            \\\"containerType\\\": \\\"pallet\\\",\\n            \\\"gtin\\\": \\\"00012345678905\\\",\\n            \\\"customerPartNumber\\\": \\\"22EE\\\",\\n            \\\"supplierPartNumber\\\": \\\"22EE\\\",\\n            \\\"manufacturerPartNumber\\\": \\\"MFG-22EE\\\",\\n            \\\"itemNumber\\\": \\\"ITM-22EE\\\",\\n            \\\"productUpc\\\": \\\"012345678905\\\",\\n            \\\"deliveryReferences\\\": [\\\"DEL-REF-001\\\"],\\n            \\\"orderReferences\\\": [\\\"TU-2945\\\"],\\n            \\\"brandName\\\": \\\"Generic Rail Freight Co\\\",\\n            \\\"minimumTemperature\\\": 0,\\n            \\\"maximumTemperature\\\": 0,\\n            \\\"temperatureUnitCode\\\": \\\"cel\\\",\\n            \\\"labelIdentifier\\\": \\\"LBL-22EE\\\",\\n            \\\"productTrackingNumber\\\": \\\"7085568349\\\",\\n            \\\"deviceType\\\": \\\"RFID_TAG\\\"\\n          }\\n        ]\\n      },\\n      {\\n        \\\"stopType\\\": \\\"delivery\\\",\\n        \\\"completeAddress\\\": \\\"Bengaluru, KA - 560002, IN\\\",\\n        \\\"city\\\": \\\"Bengaluru\\\",\\n        \\\"state\\\": \\\"KA\\\",\\n        \\\"country\\\": \\\"IN\\\",\\n        \\\"postalCode\\\": \\\"78738\\\",\\n        \\\"latitude\\\": 12.96643,\\n        \\\"longitude\\\": 77.58718,\\n        \\\"geofencePoints\\\": [],\\n        \\\"appointmentTime\\\": \\\"2024-08-29T07:35:00.000Z\\\",\\n        \\\"wantTime\\\": null,\\n        \\\"earliestWantTime\\\": null,\\n        \\\"latestWantTime\\\": null,\\n        \\\"transportationMode\\\": null,\\n        \\\"addressType\\\": \\\"\\\",\\n        \\\"pallets\\\": [\\n          {\\n            \\\"number\\\": \\\"PAL-002\\\",\\n            \\\"parts\\\": [\\n              {\\n                \\\"quantity\\\": \\\"25\\\",\\n                \\\"shipperPartNumber\\\": \\\"22EE\\\",\\n                \\\"weight\\\": \\\"7.998\\\"\\n              }\\n            ]\\n          }\\n        ],\\n        \\\"productLineItems\\\": [\\n          {\\n            \\\"productId\\\": \\\"0123456\\\",\\n            \\\"productName\\\": \\\"Rail Freight Item\\\",\\n            \\\"productDescription\\\": \\\"Rail/intermodal freight shipment item\\\",\\n            \\\"productCategory\\\": \\\"General Freight\\\",\\n            \\\"quantity\\\": 25,\\n            \\\"measurementUnitCode\\\": \\\"PCE\\\",\\n            \\\"netWeight\\\": 44.8,\\n            \\\"weightUnit\\\": \\\"KGM\\\",\\n            \\\"unitCost\\\": 25.0,\\n            \\\"currencyCode\\\": \\\"USD\\\",\\n            \\\"extendedCost\\\": 625.00,\\n            \\\"freightCost\\\": 20.00,\\n            \\\"additionalCharges\\\": 5.00,\\n            \\\"tariffCost\\\": 2.50,\\n            \\\"fourKitesCalculatedTariffCost\\\": 2.50,\\n            \\\"totalLandedCost\\\": 655.00,\\n            \\\"countryOfOrigin\\\": \\\"IN\\\",\\n            \\\"harmonizedSystemCode\\\": \\\"8607911000\\\",\\n            \\\"commodityTypeCode\\\": \\\"RAIL_FREIGHT\\\",\\n            \\\"htsusCode\\\": \\\"8607911000\\\",\\n            \\\"orderNumber\\\": \\\"80982\\\",\\n            \\\"deliveryNumber\\\": \\\"DN-PAL002\\\",\\n            \\\"handlingUnitId\\\": \\\"PAL-002\\\",\\n            \\\"barcode\\\": \\\"PAL002\\\",\\n            \\\"containerType\\\": \\\"pallet\\\",\\n            \\\"gtin\\\": \\\"00012345678912\\\",\\n            \\\"customerPartNumber\\\": \\\"33CC\\\",\\n            \\\"supplierPartNumber\\\": \\\"33CC\\\",\\n            \\\"manufacturerPartNumber\\\": \\\"MFG-33CC\\\",\\n            \\\"itemNumber\\\": \\\"ITM-33CC\\\",\\n            \\\"productUpc\\\": \\\"012345678912\\\",\\n            \\\"deliveryReferences\\\": [\\\"DEL-REF-002\\\"],\\n            \\\"orderReferences\\\": [\\\"80982\\\"],\\n            \\\"brandName\\\": \\\"Generic Rail Freight Co\\\",\\n            \\\"minimumTemperature\\\": 0,\\n            \\\"maximumTemperature\\\": 0,\\n            \\\"temperatureUnitCode\\\": \\\"cel\\\",\\n            \\\"labelIdentifier\\\": \\\"LBL-33CC\\\",\\n            \\\"productTrackingNumber\\\": \\\"94BC8\\\",\\n            \\\"deviceType\\\": \\\"QR_CODE\\\"\\n          }\\n        ],\\n        \\\"useLocalLatLng\\\": true\\n      }\\n    ],\\n    \\\"tags\\\": [\\n      \\\"temp\\\",\\n      \\\"field2\\\",\\n      \\\"Inbound\\\"\\n    ]\\n  }\\n}\", null, \"application/json\");\nrequest.Content = content;\nvar response = await client.SendAsync(request);\nresponse.EnsureSuccessStatusCode();\nConsole.WriteLine(await response.Content.ReadAsStringAsync());\n",
        "customLabel": ""
      },
      {
        "id": "q08g6b15qD3wqqNux5Ug9",
        "language": "go",
        "code": "package main\n\nimport (\n  \"fmt\"\n  \"strings\"\n  \"net/http\"\n  \"io/ioutil\"\n)\n\nfunc main() {\n\n  url := \"https://api.fourkites.com/api/v1/tracking\"\n  method := \"POST\"\n\n  payload := strings.NewReader(`{\n  \"trackingInfo\": {\n    \"driverPhone\": \"\",\n    \"truckNumber\": \"\",\n    \"railEquipmentInitials\": \"RAIL\",\n    \"railEquipmentNumber\": \"654405\",\n    \"wagonNumber\": \"qwerty123\"\n  },\n  \"load\": {\n    \"loadNumber\": \"TestRail05_1\",\n    \"skipAppointmentTimeValidation\": true,\n    \"priority\": \"normal\",\n    \"carrier\": \"cc79\",\n    \"carrierPermalink\": \"support-carrier-production\",\n    \"carrierName\": \"Support Carrier (Production)\",\n    \"masterSequenceNumber\": \"1\",\n    \"masterReferenceNumber\": \"7328623\",\n    \"referenceNumbers\": [\n      \"TU-2945\",\n      \"80982\",\n      \"94BC8\"\n    ],\n    \"shipper\": null,\n    \"products\": [],\n    \"stops\": [\n      {\n        \"stopType\": \"pickup\",\n        \"completeAddress\": \"Chennai, TN - 600003, IN\",\n        \"city\": \"Chennai\",\n        \"state\": \"TN\",\n        \"country\": \"IN\",\n        \"customer\": {\n          \"poNumbers\": [\n            \"00210123OF-203503\"\n          ]\n        },\n        \"postalCode\": null,\n        \"latitude\": 13.0816437,\n        \"longitude\": 80.2752316,\n        \"geofencePoints\": [],\n        \"appointmentTime\": \"2024-08-20T07:35:00.000Z\",\n        \"wantTime\": null,\n        \"earliestWantTime\": null,\n        \"latestWantTime\": null,\n        \"transportationMode\": null,\n        \"useLocalLatLng\": true,\n        \"StopReferenceNumber\": \"7085568349\",\n        \"pallets\": [\n          {\n            \"number\": \"PAL-001\",\n            \"parts\": [\n              {\n                \"quantity\": \"25\",\n                \"shipperPartNumber\": \"22EE\",\n                \"weight\": \"7.998\"\n              }\n            ]\n          }\n        ],\n        \"productLineItems\": [\n          {\n            \"productId\": \"0123456\",\n            \"productName\": \"Rail Freight Item\",\n            \"productDescription\": \"Rail/intermodal freight shipment item\",\n            \"productCategory\": \"General Freight\",\n            \"quantity\": 25,\n            \"measurementUnitCode\": \"PCE\",\n            \"netWeight\": 44.8,\n            \"weightUnit\": \"KGM\",\n            \"unitCost\": 25.0,\n            \"currencyCode\": \"USD\",\n            \"extendedCost\": 625.00,\n            \"freightCost\": 20.00,\n            \"bestBeforeDate\": \"2026-04-25T00:00:00Z\",\n            \"additionalCharges\": 5.00,\n            \"tariffCost\": 2.50,\n            \"fourKitesCalculatedTariffCost\": 2.50,\n            \"totalLandedCost\": 655.00,\n            \"countryOfOrigin\": \"IN\",\n            \"harmonizedSystemCode\": \"8607911000\",\n            \"commodityTypeCode\": \"RAIL_FREIGHT\",\n            \"htsusCode\": \"8607911000\",\n            \"orderNumber\": \"TU-2945\",\n            \"deliveryNumber\": \"DN-7085568349\",\n            \"handlingUnitId\": \"PAL-001\",\n            \"barcode\": \"PAL001\",\n            \"containerType\": \"pallet\",\n            \"gtin\": \"00012345678905\",\n            \"customerPartNumber\": \"22EE\",\n            \"supplierPartNumber\": \"22EE\",\n            \"manufacturerPartNumber\": \"MFG-22EE\",\n            \"itemNumber\": \"ITM-22EE\",\n            \"productUpc\": \"012345678905\",\n            \"deliveryReferences\": [\"DEL-REF-001\"],\n            \"orderReferences\": [\"TU-2945\"],\n            \"brandName\": \"Generic Rail Freight Co\",\n            \"minimumTemperature\": 0,\n            \"maximumTemperature\": 0,\n            \"temperatureUnitCode\": \"cel\",\n            \"labelIdentifier\": \"LBL-22EE\",\n            \"productTrackingNumber\": \"7085568349\",\n            \"deviceType\": \"RFID_TAG\"\n          }\n        ]\n      },\n      {\n        \"stopType\": \"delivery\",\n        \"completeAddress\": \"Bengaluru, KA - 560002, IN\",\n        \"city\": \"Bengaluru\",\n        \"state\": \"KA\",\n        \"country\": \"IN\",\n        \"postalCode\": \"78738\",\n        \"latitude\": 12.96643,\n        \"longitude\": 77.58718,\n        \"geofencePoints\": [],\n        \"appointmentTime\": \"2024-08-29T07:35:00.000Z\",\n        \"wantTime\": null,\n        \"earliestWantTime\": null,\n        \"latestWantTime\": null,\n        \"transportationMode\": null,\n        \"addressType\": \"\",\n        \"pallets\": [\n          {\n            \"number\": \"PAL-002\",\n            \"parts\": [\n              {\n                \"quantity\": \"25\",\n                \"shipperPartNumber\": \"22EE\",\n                \"weight\": \"7.998\"\n              }\n            ]\n          }\n        ],\n        \"productLineItems\": [\n          {\n            \"productId\": \"0123456\",\n            \"productName\": \"Rail Freight Item\",\n            \"productDescription\": \"Rail/intermodal freight shipment item\",\n            \"productCategory\": \"General Freight\",\n            \"quantity\": 25,\n            \"measurementUnitCode\": \"PCE\",\n            \"netWeight\": 44.8,\n            \"weightUnit\": \"KGM\",\n            \"unitCost\": 25.0,\n            \"currencyCode\": \"USD\",\n            \"extendedCost\": 625.00,\n            \"freightCost\": 20.00,\n            \"additionalCharges\": 5.00,\n            \"tariffCost\": 2.50,\n            \"fourKitesCalculatedTariffCost\": 2.50,\n            \"totalLandedCost\": 655.00,\n            \"countryOfOrigin\": \"IN\",\n            \"harmonizedSystemCode\": \"8607911000\",\n            \"commodityTypeCode\": \"RAIL_FREIGHT\",\n            \"htsusCode\": \"8607911000\",\n            \"orderNumber\": \"80982\",\n            \"deliveryNumber\": \"DN-PAL002\",\n            \"handlingUnitId\": \"PAL-002\",\n            \"barcode\": \"PAL002\",\n            \"containerType\": \"pallet\",\n            \"gtin\": \"00012345678912\",\n            \"customerPartNumber\": \"33CC\",\n            \"supplierPartNumber\": \"33CC\",\n            \"manufacturerPartNumber\": \"MFG-33CC\",\n            \"itemNumber\": \"ITM-33CC\",\n            \"productUpc\": \"012345678912\",\n            \"deliveryReferences\": [\"DEL-REF-002\"],\n            \"orderReferences\": [\"80982\"],\n            \"brandName\": \"Generic Rail Freight Co\",\n            \"minimumTemperature\": 0,\n            \"maximumTemperature\": 0,\n            \"temperatureUnitCode\": \"cel\",\n            \"labelIdentifier\": \"LBL-33CC\",\n            \"productTrackingNumber\": \"94BC8\",\n            \"deviceType\": \"QR_CODE\"\n          }\n        ],\n        \"useLocalLatLng\": true\n      }\n    ],\n    \"tags\": [\n      \"temp\",\n      \"field2\",\n      \"Inbound\"\n    ]\n  }\n}`)\n\n  client := &http.Client {\n  }\n  req, err := http.NewRequest(method, url, payload)\n\n  if err != nil {\n    fmt.Println(err)\n    return\n  }\n  req.Header.Add(\"Content-Type\", \"application/json\")\n  req.Header.Add(\"apikey\", \"REPLACE_KEY_VALUE\")\n\n  res, err := client.Do(req)\n  if err != nil {\n    fmt.Println(err)\n    return\n  }\n  defer res.Body.Close()\n\n  body, err := ioutil.ReadAll(res.Body)\n  if err != nil {\n    fmt.Println(err)\n    return\n  }\n  fmt.Println(string(body))\n}",
        "customLabel": ""
      },
      {
        "id": "q34hJ2UOkSJpt5ELPMpCI",
        "language": "ruby",
        "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"https://api.fourkites.com/api/v1/tracking\")\n\nhttps = Net::HTTP.new(url.host, url.port)\nhttps.use_ssl = true\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"Content-Type\"] = \"application/json\"\nrequest[\"apikey\"] = \"REPLACE_KEY_VALUE\"\nrequest.body = JSON.dump({\n  \"trackingInfo\": {\n    \"driverPhone\": \"\",\n    \"truckNumber\": \"\",\n    \"railEquipmentInitials\": \"RAIL\",\n    \"railEquipmentNumber\": \"654405\",\n    \"wagonNumber\": \"qwerty123\"\n  },\n  \"load\": {\n    \"loadNumber\": \"TestRail05_1\",\n    \"skipAppointmentTimeValidation\": true,\n    \"priority\": \"normal\",\n    \"carrier\": \"cc79\",\n    \"carrierPermalink\": \"support-carrier-production\",\n    \"carrierName\": \"Support Carrier (Production)\",\n    \"masterSequenceNumber\": \"1\",\n    \"masterReferenceNumber\": \"7328623\",\n    \"referenceNumbers\": [\n      \"TU-2945\",\n      \"80982\",\n      \"94BC8\"\n    ],\n    \"shipper\": nil,\n    \"products\": [],\n    \"stops\": [\n      {\n        \"stopType\": \"pickup\",\n        \"completeAddress\": \"Chennai, TN - 600003, IN\",\n        \"city\": \"Chennai\",\n        \"state\": \"TN\",\n        \"country\": \"IN\",\n        \"customer\": {\n          \"poNumbers\": [\n            \"00210123OF-203503\"\n          ]\n        },\n        \"postalCode\": nil,\n        \"latitude\": 13.0816437,\n        \"longitude\": 80.2752316,\n        \"geofencePoints\": [],\n        \"appointmentTime\": \"2024-08-20T07:35:00.000Z\",\n        \"wantTime\": nil,\n        \"earliestWantTime\": nil,\n        \"latestWantTime\": nil,\n        \"transportationMode\": nil,\n        \"useLocalLatLng\": true,\n        \"StopReferenceNumber\": \"7085568349\",\n        \"pallets\": [\n          {\n            \"number\": \"PAL-001\",\n            \"parts\": [\n              {\n                \"quantity\": \"25\",\n                \"shipperPartNumber\": \"22EE\",\n                \"weight\": \"7.998\"\n              }\n            ]\n          }\n        ],\n        \"productLineItems\": [\n          {\n            \"productId\": \"0123456\",\n            \"productName\": \"Rail Freight Item\",\n            \"productDescription\": \"Rail/intermodal freight shipment item\",\n            \"productCategory\": \"General Freight\",\n            \"quantity\": 25,\n            \"measurementUnitCode\": \"PCE\",\n            \"netWeight\": 44.8,\n            \"weightUnit\": \"KGM\",\n            \"unitCost\": 25.0,\n            \"currencyCode\": \"USD\",\n            \"extendedCost\": 625.00,\n            \"freightCost\": 20.00,\n            \"bestBeforeDate\": \"2026-04-25T00:00:00Z\",\n            \"additionalCharges\": 5.00,\n            \"tariffCost\": 2.50,\n            \"fourKitesCalculatedTariffCost\": 2.50,\n            \"totalLandedCost\": 655.00,\n            \"countryOfOrigin\": \"IN\",\n            \"harmonizedSystemCode\": \"8607911000\",\n            \"commodityTypeCode\": \"RAIL_FREIGHT\",\n            \"htsusCode\": \"8607911000\",\n            \"orderNumber\": \"TU-2945\",\n            \"deliveryNumber\": \"DN-7085568349\",\n            \"handlingUnitId\": \"PAL-001\",\n            \"barcode\": \"PAL001\",\n            \"containerType\": \"pallet\",\n            \"gtin\": \"00012345678905\",\n            \"customerPartNumber\": \"22EE\",\n            \"supplierPartNumber\": \"22EE\",\n            \"manufacturerPartNumber\": \"MFG-22EE\",\n            \"itemNumber\": \"ITM-22EE\",\n            \"productUpc\": \"012345678905\",\n            \"deliveryReferences\": [\"DEL-REF-001\"],\n            \"orderReferences\": [\"TU-2945\"],\n            \"brandName\": \"Generic Rail Freight Co\",\n            \"minimumTemperature\": 0,\n            \"maximumTemperature\": 0,\n            \"temperatureUnitCode\": \"cel\",\n            \"labelIdentifier\": \"LBL-22EE\",\n            \"productTrackingNumber\": \"7085568349\",\n            \"deviceType\": \"RFID_TAG\"\n          }\n        ]\n      },\n      {\n        \"stopType\": \"delivery\",\n        \"completeAddress\": \"Bengaluru, KA - 560002, IN\",\n        \"city\": \"Bengaluru\",\n        \"state\": \"KA\",\n        \"country\": \"IN\",\n        \"postalCode\": \"78738\",\n        \"latitude\": 12.96643,\n        \"longitude\": 77.58718,\n        \"geofencePoints\": [],\n        \"appointmentTime\": \"2024-08-29T07:35:00.000Z\",\n        \"wantTime\": nil,\n        \"earliestWantTime\": nil,\n        \"latestWantTime\": nil,\n        \"transportationMode\": nil,\n        \"addressType\": \"\",\n        \"pallets\": [\n          {\n            \"number\": \"PAL-002\",\n            \"parts\": [\n              {\n                \"quantity\": \"25\",\n                \"shipperPartNumber\": \"22EE\",\n                \"weight\": \"7.998\"\n              }\n            ]\n          }\n        ],\n        \"productLineItems\": [\n          {\n            \"productId\": \"0123456\",\n            \"productName\": \"Rail Freight Item\",\n            \"productDescription\": \"Rail/intermodal freight shipment item\",\n            \"productCategory\": \"General Freight\",\n            \"quantity\": 25,\n            \"measurementUnitCode\": \"PCE\",\n            \"netWeight\": 44.8,\n            \"weightUnit\": \"KGM\",\n            \"unitCost\": 25.0,\n            \"currencyCode\": \"USD\",\n            \"extendedCost\": 625.00,\n            \"freightCost\": 20.00,\n            \"additionalCharges\": 5.00,\n            \"tariffCost\": 2.50,\n            \"fourKitesCalculatedTariffCost\": 2.50,\n            \"totalLandedCost\": 655.00,\n            \"countryOfOrigin\": \"IN\",\n            \"harmonizedSystemCode\": \"8607911000\",\n            \"commodityTypeCode\": \"RAIL_FREIGHT\",\n            \"htsusCode\": \"8607911000\",\n            \"orderNumber\": \"80982\",\n            \"deliveryNumber\": \"DN-PAL002\",\n            \"handlingUnitId\": \"PAL-002\",\n            \"barcode\": \"PAL002\",\n            \"containerType\": \"pallet\",\n            \"gtin\": \"00012345678912\",\n            \"customerPartNumber\": \"33CC\",\n            \"supplierPartNumber\": \"33CC\",\n            \"manufacturerPartNumber\": \"MFG-33CC\",\n            \"itemNumber\": \"ITM-33CC\",\n            \"productUpc\": \"012345678912\",\n            \"deliveryReferences\": [\"DEL-REF-002\"],\n            \"orderReferences\": [\"80982\"],\n            \"brandName\": \"Generic Rail Freight Co\",\n            \"minimumTemperature\": 0,\n            \"maximumTemperature\": 0,\n            \"temperatureUnitCode\": \"cel\",\n            \"labelIdentifier\": \"LBL-33CC\",\n            \"productTrackingNumber\": \"94BC8\",\n            \"deviceType\": \"QR_CODE\"\n          }\n        ],\n        \"useLocalLatLng\": true\n      }\n    ],\n    \"tags\": [\n      \"temp\",\n      \"field2\",\n      \"Inbound\"\n    ]\n  }\n})\n\nresponse = https.request(request)\nputs response.read_body\n",
        "customLabel": ""
      },
      {
        "id": "QE6Bi_j_PqL8ARv5idGmE",
        "language": "python",
        "code": "import http.client\nimport json\n\nconn = http.client.HTTPSConnection(\"api.fourkites.com\")\npayload = json.dumps({\n  \"trackingInfo\": {\n    \"driverPhone\": \"\",\n    \"truckNumber\": \"\",\n    \"railEquipmentInitials\": \"RAIL\",\n    \"railEquipmentNumber\": \"654405\",\n    \"wagonNumber\": \"qwerty123\"\n  },\n  \"load\": {\n    \"loadNumber\": \"TestRail05_1\",\n    \"skipAppointmentTimeValidation\": True,\n    \"priority\": \"normal\",\n    \"carrier\": \"cc79\",\n    \"carrierPermalink\": \"support-carrier-production\",\n    \"carrierName\": \"Support Carrier (Production)\",\n    \"masterSequenceNumber\": \"1\",\n    \"masterReferenceNumber\": \"7328623\",\n    \"referenceNumbers\": [\n      \"TU-2945\",\n      \"80982\",\n      \"94BC8\"\n    ],\n    \"shipper\": None,\n    \"products\": [],\n    \"stops\": [\n      {\n        \"stopType\": \"pickup\",\n        \"completeAddress\": \"Chennai, TN - 600003, IN\",\n        \"city\": \"Chennai\",\n        \"state\": \"TN\",\n        \"country\": \"IN\",\n        \"customer\": {\n          \"poNumbers\": [\n            \"00210123OF-203503\"\n          ]\n        },\n        \"postalCode\": None,\n        \"latitude\": 13.0816437,\n        \"longitude\": 80.2752316,\n        \"geofencePoints\": [],\n        \"appointmentTime\": \"2024-08-20T07:35:00.000Z\",\n        \"wantTime\": None,\n        \"earliestWantTime\": None,\n        \"latestWantTime\": None,\n        \"transportationMode\": None,\n        \"useLocalLatLng\": True,\n        \"StopReferenceNumber\": \"7085568349\",\n        \"pallets\": [\n          {\n            \"number\": \"PAL-001\",\n            \"parts\": [\n              {\n                \"quantity\": \"25\",\n                \"shipperPartNumber\": \"22EE\",\n                \"weight\": \"7.998\"\n              }\n            ]\n          }\n        ],\n        \"productLineItems\": [\n          {\n            \"productId\": \"0123456\",\n            \"productName\": \"Rail Freight Item\",\n            \"productDescription\": \"Rail/intermodal freight shipment item\",\n            \"productCategory\": \"General Freight\",\n            \"quantity\": 25,\n            \"measurementUnitCode\": \"PCE\",\n            \"netWeight\": 44.8,\n            \"weightUnit\": \"KGM\",\n            \"unitCost\": 25.0,\n            \"currencyCode\": \"USD\",\n            \"extendedCost\": 625.00,\n            \"freightCost\": 20.00,\n            \"bestBeforeDate\": \"2026-04-25T00:00:00Z\",\n            \"additionalCharges\": 5.00,\n            \"tariffCost\": 2.50,\n            \"fourKitesCalculatedTariffCost\": 2.50,\n            \"totalLandedCost\": 655.00,\n            \"countryOfOrigin\": \"IN\",\n            \"harmonizedSystemCode\": \"8607911000\",\n            \"commodityTypeCode\": \"RAIL_FREIGHT\",\n            \"htsusCode\": \"8607911000\",\n            \"orderNumber\": \"TU-2945\",\n            \"deliveryNumber\": \"DN-7085568349\",\n            \"handlingUnitId\": \"PAL-001\",\n            \"barcode\": \"PAL001\",\n            \"containerType\": \"pallet\",\n            \"gtin\": \"00012345678905\",\n            \"customerPartNumber\": \"22EE\",\n            \"supplierPartNumber\": \"22EE\",\n            \"manufacturerPartNumber\": \"MFG-22EE\",\n            \"itemNumber\": \"ITM-22EE\",\n            \"productUpc\": \"012345678905\",\n            \"deliveryReferences\": [\"DEL-REF-001\"],\n            \"orderReferences\": [\"TU-2945\"],\n            \"brandName\": \"Generic Rail Freight Co\",\n            \"minimumTemperature\": 0,\n            \"maximumTemperature\": 0,\n            \"temperatureUnitCode\": \"cel\",\n            \"labelIdentifier\": \"LBL-22EE\",\n            \"productTrackingNumber\": \"7085568349\",\n            \"deviceType\": \"RFID_TAG\"\n          }\n        ]\n      },\n      {\n        \"stopType\": \"delivery\",\n        \"completeAddress\": \"Bengaluru, KA - 560002, IN\",\n        \"city\": \"Bengaluru\",\n        \"state\": \"KA\",\n        \"country\": \"IN\",\n        \"postalCode\": \"78738\",\n        \"latitude\": 12.96643,\n        \"longitude\": 77.58718,\n        \"geofencePoints\": [],\n        \"appointmentTime\": \"2024-08-29T07:35:00.000Z\",\n        \"wantTime\": None,\n        \"earliestWantTime\": None,\n        \"latestWantTime\": None,\n        \"transportationMode\": None,\n        \"addressType\": \"\",\n        \"pallets\": [\n          {\n            \"number\": \"PAL-002\",\n            \"parts\": [\n              {\n                \"quantity\": \"25\",\n                \"shipperPartNumber\": \"22EE\",\n                \"weight\": \"7.998\"\n              }\n            ]\n          }\n        ],\n        \"productLineItems\": [\n          {\n            \"productId\": \"0123456\",\n            \"productName\": \"Rail Freight Item\",\n            \"productDescription\": \"Rail/intermodal freight shipment item\",\n            \"productCategory\": \"General Freight\",\n            \"quantity\": 25,\n            \"measurementUnitCode\": \"PCE\",\n            \"netWeight\": 44.8,\n            \"weightUnit\": \"KGM\",\n            \"unitCost\": 25.0,\n            \"currencyCode\": \"USD\",\n            \"extendedCost\": 625.00,\n            \"freightCost\": 20.00,\n            \"additionalCharges\": 5.00,\n            \"tariffCost\": 2.50,\n            \"fourKitesCalculatedTariffCost\": 2.50,\n            \"totalLandedCost\": 655.00,\n            \"countryOfOrigin\": \"IN\",\n            \"harmonizedSystemCode\": \"8607911000\",\n            \"commodityTypeCode\": \"RAIL_FREIGHT\",\n            \"htsusCode\": \"8607911000\",\n            \"orderNumber\": \"80982\",\n            \"deliveryNumber\": \"DN-PAL002\",\n            \"handlingUnitId\": \"PAL-002\",\n            \"barcode\": \"PAL002\",\n            \"containerType\": \"pallet\",\n            \"gtin\": \"00012345678912\",\n            \"customerPartNumber\": \"33CC\",\n            \"supplierPartNumber\": \"33CC\",\n            \"manufacturerPartNumber\": \"MFG-33CC\",\n            \"itemNumber\": \"ITM-33CC\",\n            \"productUpc\": \"012345678912\",\n            \"deliveryReferences\": [\"DEL-REF-002\"],\n            \"orderReferences\": [\"80982\"],\n            \"brandName\": \"Generic Rail Freight Co\",\n            \"minimumTemperature\": 0,\n            \"maximumTemperature\": 0,\n            \"temperatureUnitCode\": \"cel\",\n            \"labelIdentifier\": \"LBL-33CC\",\n            \"productTrackingNumber\": \"94BC8\",\n            \"deviceType\": \"QR_CODE\"\n          }\n        ],\n        \"useLocalLatLng\": True\n      }\n    ],\n    \"tags\": [\n      \"temp\",\n      \"field2\",\n      \"Inbound\"\n    ]\n  }\n})\nheaders = {\n  'Content-Type': 'application/json',\n  'apikey': 'REPLACE_KEY_VALUE'\n}\nconn.request(\"POST\", \"/api/v1/tracking\", payload, headers)\nres = conn.getresponse()\ndata = res.read()\nprint(data.decode(\"utf-8\"))",
        "customLabel": ""
      }
    ],
    "selectedLanguageId": "BaKuc0unzRLfeYfHFtiM6"
  },
  "results": {
    "languages": [
      {
        "id": "qkLkfi1sBo1o2cZPrX5P-",
        "language": "200",
        "customLabel": "",
        "code": "{\n  \"statusCode\": 200,\n  \"message\": \"Load creation request has been submitted successfully\",\n  \"loadId\": 176365311\n}"
      }
    ],
    "selectedLanguageId": "qkLkfi1sBo1o2cZPrX5P-"
  },
  "request": {
    "pathParameters": [],
    "queryParameters": [],
    "headerParameters": [],
    "bodyDataParameters": [
      {
        "name": "trackingInfo",
        "kind": "required",
        "type": "object",
        "description": "It indicates the information required for tracking the load.",
        "children": [
          {
            "name": "driverPhone",
            "kind": "optional",
            "type": "string",
            "description": "It indicates a valid mobile number. Example: +13125555555"
          },
          {
            "name": "truckNumber",
            "kind": "optional",
            "type": "string",
            "description": "It indicates the tractor or asset number dispatched by the carrier for the load."
          },
          {
            "name": "railEquipmentInitials",
            "kind": "optional",
            "type": "string",
            "description": "It indicates the 2 to 4 character rail equipment prefix."
          },
          {
            "name": "railEquipmentNumber",
            "kind": "optional",
            "type": "string",
            "description": "It indicates the load's six character rail container number."
          },
          {
            "name": "wagonNumber",
            "kind": "optional",
            "type": "string",
            "description": "For European Rail loads, the wagonNumber field should be used instead of the railEquipmentInitials and railEquipmentNumber fields as European standards of naming/identifying rail equipments are different than other regions. If your organization intends to track rail shipments in Europe, please contact your implementation manager and request that European rail tracking be enabled along with usage of this field. (CM) This applies to Europe only. If you do not intend to track rail shipments in Europe, this field may be ignored."
          }
        ]
      },
      {
        "name": "load",
        "kind": "required",
        "type": "object",
        "description": "It is the parent object for the load. Place the load attributes inside this object.",
        "children": [
          {
            "name": "loadNumber",
            "kind": "required",
            "type": "string",
            "description": "It is the unique load identifier from shipper's system. The load Number or BOL is an important piece of information used to link the load with truck information received from the Carrier's TMS."
          },
          {
            "name": "priority",
            "kind": "optional",
            "type": "string",
            "description": "It indicates whether a load is of normal or high priority. If priority is set as ‘hot’, the load will be marked as ‘Hot’. Valid values: ‘normal’, ‘high’ and ‘hot’. Defaults to normal. Setting the 'Priority' as 'hot' will mark the load as 'Hot' load."
          },
          {
            "name": "carrier",
            "kind": "optional",
            "type": "string",
            "description": "It is the SCAC or Service Provider ID of the carrier assigned to the load. The carrier should have approved sharing of their telematics data on FourKites® for the customer."
          },
          {
            "name": "carrierPermalink",
            "kind": "required",
            "type": "string",
            "description": "It is the unique identifier for the carrier in the FourKites platform."
          },
          {
            "name": "carrierName",
            "kind": "optional",
            "type": "string",
            "description": "It is the name of the carrier in the FK platform."
          },
          {
            "name": "masterSequenceNumber",
            "kind": "optional",
            "type": "string",
            "description": "It is the unique sequence number that represents the leg of the trip used for Consignment Pooling."
          },
          {
            "name": "masterReferenceNumber",
            "kind": "optional",
            "type": "string",
            "description": "It indicates a common reference number across a group of consignment loads in order to group them. For example, consignmentReferenceNumber: “XAF-BATCH-1”. (Conditional Mandatory)"
          },
          {
            "name": "referenceNumbers",
            "kind": "optional",
            "type": "array",
            "description": "It is the list of load-level reference numbers associated with a load. (CM)"
          },
          {
            "name": "shipper",
            "kind": "optional",
            "type": "string",
            "description": "It is the name of the shipper."
          },
          {
            "name": "products",
            "kind": "optional",
            "type": "string",
            "description": "It indicates the list of temperature tracked products on a load and their temperature tracking information."
          },
          {
            "name": "stops",
            "kind": "required",
            "type": "object",
            "description": "It is the list of stops for the load.",
            "children": [
              {
                "name": "stopType",
                "kind": "required",
                "type": "string",
                "description": "It defines the function of the stop. \tValid values: \"pickup\", \"delivery\", \"transfer\", \"portOfLoading\", \"transshipmentPort\", \"portOfDischarge\". There should be at least one pickup and delivery stop or one transfer (terminal) and one delivery."
              },
              {
                "name": "completeAddress",
                "kind": "optional",
                "type": "string",
                "description": "It indicates the first, second line of the stop's address -- along with city, state, postalCode and country information."
              },
              {
                "name": "city",
                "kind": "required",
                "type": "string",
                "description": "It indicates the name of the city."
              },
              {
                "name": "state",
                "kind": "required",
                "type": "string",
                "description": "it indicates the 2 character state code for US & Canada and 3 Character state code for Mexico."
              },
              {
                "name": "country",
                "kind": "optional",
                "type": "string",
                "description": "It indicates the valid country code."
              },
              {
                "name": "customer",
                "kind": "optional",
                "type": "object",
                "description": "It indicates the customer information for the stop. (CM)",
                "children": [
                  {
                    "name": "poNumbers",
                    "kind": "optional",
                    "type": "string",
                    "description": "It indicates the list of Customer PO Numbers associated with the load's stop. (CM)"
                  }
                ]
              },
              {
                "name": "postalCode",
                "kind": "optional",
                "type": "string",
                "description": "It indicates the valid postal code for the stop."
              },
              {
                "name": "latitude",
                "kind": "optional",
                "type": "string",
                "description": "It indicates the latitude of the stop's location. \tIt is formatted to decimal degrees.The only accepted format of lat/long by FourKites is the \"Decimal Degrees\" format. For example: 41.8781 (lat), -87.6298 (long)."
              },
              {
                "name": "longitude",
                "kind": "optional",
                "type": "string",
                "description": "It indicates the longitude of the stop's location. \tIt is formatted to decimal degrees.The only accepted format of lat/long by FourKites® is the \"Decimal Degrees\" format. For example: 41.8781 (lat), -87.6298 (long)."
              },
              {
                "name": "geofencePoints",
                "kind": "optional",
                "type": "string",
                "description": "It indicates the list of lat/long coordinates of the corners of the polygon geofence around the stop to be used for detecting arrival."
              },
              {
                "name": "appointmentTime",
                "kind": "required",
                "type": "string",
                "description": "It indicates the scheduled appointment time at the stop in the stop's local timezone in ISO 8601 format. ISO 8601 format. Appointment times cannot be more than 4 days in the past from the current time."
              },
              {
                "name": "wantTime",
                "kind": "optional",
                "type": "string",
                "description": "It indicates the time by which the load must be delivered to the consignee in stop's local timezone in ISO 8601 format.  (CM)"
              },
              {
                "name": "earliestWantTime",
                "kind": "optional",
                "type": "string",
                "description": "It indicates the earliest time by which the load must be delivered to the consignee in the stop's local timezone in ISO 8601 format. (CM). If the earliestWantTime is sent, then the latestWantTime must also be sent."
              },
              {
                "name": "latestWantTime",
                "kind": "optional",
                "type": "string",
                "description": "It indicates the latest time by which the load must be delivered to the consignee in the stop's local timezone in ISO 8601 format. (CM). If the latestWantTime is sent, then the earliestWantTime must also be sent."
              },
              {
                "name": "transportationMode",
                "kind": "optional",
                "type": "string",
                "description": "It defines the mode of the load. Valid values: \"TL\", \"LTL\", \"RAIL\", \"OCEAN\", \"PARCEL\""
              },
              {
                "name": "StopReferenceNumber",
                "kind": "optional",
                "type": "string",
                "description": "A unique identifier or reference number associated with a specific stop in the transportation journey. Stop Reference Number is one of the stop identifiers."
              },
              {
                "name": "pallets",
                "kind": "optional",
                "type": "object",
                "description": "It indicates the list of pallets to be delivered at the stop. Each pallet has a pallet number and list of parts.",
                "children": [
                  {
                    "name": "number",
                    "kind": "optional",
                    "type": "string",
                    "description": "It indicates the pallet number."
                  },
                  {
                    "name": "parts",
                    "kind": "optional",
                    "type": "object",
                    "description": "It indicates the list of parts in the pallet.",
                    "children": [
                      {
                        "name": "quantity",
                        "kind": "optional",
                        "type": "string",
                        "description": "It indicates the quantity of the part."
                      },
                      {
                        "name": "shipperPartNumber",
                        "kind": "optional",
                        "type": "string",
                        "description": "It indicates the shipper/manufacturer’s part number."
                      },
                      {
                        "name": "weight",
                        "kind": "optional",
                        "type": "string",
                        "description": "It indicates the weight of the part."
                      }
                    ]
                  }
                ]
              },
              {
                "name": "productLineItems",
                "kind": "optional",
                "type": "object",
                "description": "It is the list of product level details associated with a stop. Replaces the legacy pallets/parts structure going forward.",
                "children": [
                  {
                    "name": "productId",
                    "kind": "required",
                    "type": "string",
                    "description": "Unique identifier for the product. Mandatory if productLineItems object is present"
                  },
                  {
                    "name": "productName",
                    "kind": "optional",
                    "type": "string",
                    "description": "Name of the product"
                  },
                  {
                    "name": "productDescription",
                    "kind": "optional",
                    "type": "string",
                    "description": "Detailed description of the product"
                  },
                  {
                    "name": "productCategory",
                    "kind": "optional",
                    "type": "string",
                    "description": "Category classification of the product"
                  },
                  {
                    "name": "quantity",
                    "kind": "optional",
                    "type": "integer",
                    "description": "Number of units in the shipment"
                  },
                  {
                    "name": "measurementUnitCode",
                    "kind": "optional",
                    "type": "string",
                    "description": "Unit of measurement for quantity (e.g., PCE, KG, LB)"
                  },
                  {
                    "name": "netWeight",
                    "kind": "optional",
                    "type": "string",
                    "description": "Weight of the product excluding packaging"
                  },
                  {
                    "name": "weightUnit",
                    "kind": "optional",
                    "type": "string",
                    "description": "Unit of measurement for weight (e.g., KGM, LBM)"
                  },
                  {
                    "name": "unitCost",
                    "kind": "optional",
                    "type": "number",
                    "description": "Cost per unit of the product"
                  },
                  {
                    "name": "currencyCode",
                    "kind": "optional",
                    "type": "string",
                    "description": "Currency code for cost fields"
                  },
                  {
                    "name": "extendedCost",
                    "kind": "optional",
                    "type": "number",
                    "description": "Total cost for all units (unitCost x quantity)"
                  },
                  {
                    "name": "freightCost",
                    "kind": "optional",
                    "type": "number",
                    "description": "Freight cost allocated to this line item"
                  },
                  {
                    "name": "bestBeforeDate",
                    "kind": "optional",
                    "type": "string",
                    "description": "Expiration or best before date for the product"
                  },
                  {
                    "name": "additionalCharges",
                    "kind": "optional",
                    "type": "number",
                    "description": "Any additional charges specific to this line item"
                  },
                  {
                    "name": "tariffCost",
                    "kind": "optional",
                    "type": "number",
                    "description": "Tariff cost for this specific line item"
                  },
                  {
                    "name": "fourKitesCalculatedTariffCost",
                    "kind": "optional",
                    "type": "number",
                    "description": "System-calculated tariff cost"
                  },
                  {
                    "name": "totalLandedCost",
                    "kind": "optional",
                    "type": "number",
                    "description": "Total landed cost for this line item"
                  },
                  {
                    "name": "countryOfOrigin",
                    "kind": "optional",
                    "type": "string",
                    "description": "Country of origin for this product"
                  },
                  {
                    "name": "harmonizedSystemCode",
                    "kind": "optional",
                    "type": "string",
                    "description": "International trade classification code"
                  },
                  {
                    "name": "commodityTypeCode",
                    "kind": "optional",
                    "type": "string",
                    "description": "Commodity classification code"
                  },
                  {
                    "name": "htsusCode",
                    "kind": "optional",
                    "type": "string",
                    "description": "Harmonized Tariff Schedule code for US imports"
                  },
                  {
                    "name": "orderNumber",
                    "kind": "optional",
                    "type": "string",
                    "description": "Purchase order number"
                  },
                  {
                    "name": "deliveryNumber",
                    "kind": "optional",
                    "type": "string",
                    "description": "Delivery reference number"
                  },
                  {
                    "name": "handlingUnitId",
                    "kind": "optional",
                    "type": "string",
                    "description": "Identifier for the handling unit (pallet, box, etc.)"
                  },
                  {
                    "name": "barcode",
                    "kind": "optional",
                    "type": "string",
                    "description": "Product barcode"
                  },
                  {
                    "name": "containerType",
                    "kind": "optional",
                    "type": "string",
                    "description": "Type of container (pallet, box, carton, etc.)"
                  },
                  {
                    "name": "gtin",
                    "kind": "optional",
                    "type": "string",
                    "description": "Global Trade Item Number"
                  },
                  {
                    "name": "customerPartNumber",
                    "kind": "optional",
                    "type": "string",
                    "description": "Customer's part number for the product"
                  },
                  {
                    "name": "supplierPartNumber",
                    "kind": "optional",
                    "type": "string",
                    "description": "Supplier's part number for the product"
                  },
                  {
                    "name": "manufacturerPartNumber",
                    "kind": "optional",
                    "type": "string",
                    "description": "Manufacturer's part number"
                  },
                  {
                    "name": "itemNumber",
                    "kind": "optional",
                    "type": "string",
                    "description": "Internal item number"
                  },
                  {
                    "name": "productUpc",
                    "kind": "optional",
                    "type": "string",
                    "description": "Universal Product Code"
                  },
                  {
                    "name": "deliveryReferences",
                    "kind": "optional",
                    "type": "string",
                    "description": "Array of delivery reference numbers"
                  },
                  {
                    "name": "orderReferences",
                    "kind": "optional",
                    "type": "string",
                    "description": "Array of order reference numbers"
                  },
                  {
                    "name": "brandName",
                    "kind": "optional",
                    "type": "string",
                    "description": "Brand name of the product"
                  },
                  {
                    "name": "minimumTemperature",
                    "kind": "optional",
                    "type": "integer",
                    "description": "Minimum storage/transport temperature"
                  },
                  {
                    "name": "maximumTemperature",
                    "kind": "optional",
                    "type": "integer",
                    "description": "Maximum storage/transport temperature"
                  },
                  {
                    "name": "temperatureUnitCode",
                    "kind": "optional",
                    "type": "string",
                    "description": "Temperature unit (cel, fah)"
                  },
                  {
                    "name": "labelIdentifier",
                    "kind": "optional",
                    "type": "string",
                    "description": "Label identifier for tracking"
                  },
                  {
                    "name": "productTrackingNumber",
                    "kind": "optional",
                    "type": "string",
                    "description": "Unique tracking number for the product"
                  },
                  {
                    "name": "deviceType",
                    "kind": "optional",
                    "type": "string",
                    "description": "Type of tracking device (RFID_TAG, QR_CODE, etc.)"
                  }
                ]
              }
            ]
          },
          {
            "name": "tags",
            "kind": "optional",
            "type": "array",
            "description": "It is the list of tags or labels to be assigned to a load. Loads can be filtered in FourKites using tags. It is used for assigning categories for the load. A single tag can't exceed 50 characters. Even though we don’t have restrictions on the number of tags, it is advisable to keep total characters of all tags within the count of 255. (CM)"
          }
        ],
        "schema": [
          {
            "name": "loadNumber",
            "kind": "required",
            "type": "string",
            "description": "It is the unique load identifier from shipper's system. The load Number or BOL is an important piece of information used to link the load with truck information received from the Carrier's TMS."
          },
          {
            "name": "priority",
            "kind": "optional",
            "type": "string",
            "description": "It indicates whether a load is of normal or high priority. If priority is set as ‘hot’, the load will be marked as ‘Hot’. Valid values: ‘normal’, ‘high’ and ‘hot’. Defaults to normal. Setting the 'Priority' as 'hot' will mark the load as 'Hot' load."
          },
          {
            "name": "carrier",
            "kind": "optional",
            "type": "string",
            "description": "It is the SCAC or Service Provider ID of the carrier assigned to the load. The carrier should have approved sharing of their telematics data on FourKites® for the customer."
          },
          {
            "name": "carrierPermalink",
            "kind": "required",
            "type": "string",
            "description": "It is the unique identifier for the carrier in the FourKites platform."
          },
          {
            "name": "carrierName",
            "kind": "optional",
            "type": "string",
            "description": "It is the name of the carrier in the FK platform."
          },
          {
            "name": "masterSequenceNumber",
            "kind": "optional",
            "type": "string",
            "description": "It is the unique sequence number that represents the leg of the trip used for Consignment Pooling."
          },
          {
            "name": "masterReferenceNumber",
            "kind": "optional",
            "type": "string",
            "description": "It indicates a common reference number across a group of consignment loads in order to group them. For example, consignmentReferenceNumber: “XAF-BATCH-1”. (Conditional Mandatory)"
          },
          {
            "name": "referenceNumbers",
            "kind": "optional",
            "type": "array",
            "description": "It is the list of load-level reference numbers associated with a load. (CM)"
          },
          {
            "name": "shipper",
            "kind": "optional",
            "type": "string",
            "description": "It is the name of the shipper."
          },
          {
            "name": "products",
            "kind": "optional",
            "type": "string",
            "description": "It indicates the list of temperature tracked products on a load and their temperature tracking information."
          },
          {
            "name": "stops",
            "kind": "required",
            "type": "object",
            "description": "It is the list of stops for the load.",
            "children": [
              {
                "name": "stopType",
                "kind": "required",
                "type": "string",
                "description": "It defines the function of the stop. \tValid values: \"pickup\", \"delivery\", \"transfer\", \"portOfLoading\", \"transshipmentPort\", \"portOfDischarge\". There should be at least one pickup and delivery stop or one transfer (terminal) and one delivery."
              },
              {
                "name": "completeAddress",
                "kind": "optional",
                "type": "string",
                "description": "It indicates the first, second line of the stop's address -- along with city, state, postalCode and country information."
              },
              {
                "name": "city",
                "kind": "required",
                "type": "string",
                "description": "It indicates the name of the city."
              },
              {
                "name": "state",
                "kind": "required",
                "type": "string",
                "description": "it indicates the 2 character state code for US & Canada and 3 Character state code for Mexico."
              },
              {
                "name": "country",
                "kind": "optional",
                "type": "string",
                "description": "It indicates the valid country code."
              },
              {
                "name": "customer",
                "kind": "optional",
                "type": "object",
                "description": "It indicates the customer information for the stop. (CM)",
                "children": [
                  {
                    "name": "poNumbers",
                    "kind": "optional",
                    "type": "string",
                    "description": "It indicates the list of Customer PO Numbers associated with the load's stop. (CM)"
                  }
                ]
              },
              {
                "name": "postalCode",
                "kind": "optional",
                "type": "string",
                "description": "It indicates the valid postal code for the stop."
              },
              {
                "name": "latitude",
                "kind": "optional",
                "type": "string",
                "description": "It indicates the latitude of the stop's location. \tIt is formatted to decimal degrees.The only accepted format of lat/long by FourKites is the \"Decimal Degrees\" format. For example: 41.8781 (lat), -87.6298 (long)."
              },
              {
                "name": "longitude",
                "kind": "optional",
                "type": "string",
                "description": "It indicates the longitude of the stop's location. \tIt is formatted to decimal degrees.The only accepted format of lat/long by FourKites® is the \"Decimal Degrees\" format. For example: 41.8781 (lat), -87.6298 (long)."
              },
              {
                "name": "geofencePoints",
                "kind": "optional",
                "type": "string",
                "description": "It indicates the list of lat/long coordinates of the corners of the polygon geofence around the stop to be used for detecting arrival."
              },
              {
                "name": "appointmentTime",
                "kind": "required",
                "type": "string",
                "description": "It indicates the scheduled appointment time at the stop in the stop's local timezone in ISO 8601 format. ISO 8601 format. Appointment times cannot be more than 4 days in the past from the current time."
              },
              {
                "name": "wantTime",
                "kind": "optional",
                "type": "string",
                "description": "It indicates the time by which the load must be delivered to the consignee in stop's local timezone in ISO 8601 format.  (CM)"
              },
              {
                "name": "earliestWantTime",
                "kind": "optional",
                "type": "string",
                "description": "It indicates the earliest time by which the load must be delivered to the consignee in the stop's local timezone in ISO 8601 format. (CM). If the earliestWantTime is sent, then the latestWantTime must also be sent."
              },
              {
                "name": "latestWantTime",
                "kind": "optional",
                "type": "string",
                "description": "It indicates the latest time by which the load must be delivered to the consignee in the stop's local timezone in ISO 8601 format. (CM). If the latestWantTime is sent, then the earliestWantTime must also be sent."
              },
              {
                "name": "transportationMode",
                "kind": "optional",
                "type": "string",
                "description": "It defines the mode of the load. Valid values: \"TL\", \"LTL\", \"RAIL\", \"OCEAN\", \"PARCEL\""
              },
              {
                "name": "StopReferenceNumber",
                "kind": "optional",
                "type": "string",
                "description": "A unique identifier or reference number associated with a specific stop in the transportation journey. Stop Reference Number is one of the stop identifiers."
              },
              {
                "name": "pallets",
                "kind": "optional",
                "type": "object",
                "description": "It indicates the list of pallets to be delivered at the stop. Each pallet has a pallet number and list of parts.",
                "children": [
                  {
                    "name": "number",
                    "kind": "optional",
                    "type": "string",
                    "description": "It indicates the pallet number."
                  },
                  {
                    "name": "parts",
                    "kind": "optional",
                    "type": "object",
                    "description": "It indicates the list of parts in the pallet.",
                    "children": [
                      {
                        "name": "quantity",
                        "kind": "optional",
                        "type": "string",
                        "description": "It indicates the quantity of the part."
                      },
                      {
                        "name": "shipperPartNumber",
                        "kind": "optional",
                        "type": "string",
                        "description": "It indicates the shipper/manufacturer’s part number."
                      },
                      {
                        "name": "weight",
                        "kind": "optional",
                        "type": "string",
                        "description": "It indicates the weight of the part."
                      }
                    ]
                  }
                ]
              },
              {
                "name": "productLineItems",
                "kind": "optional",
                "type": "object",
                "description": "It is the list of product level details associated with a stop. Replaces the legacy pallets/parts structure going forward.",
                "children": [
                  {
                    "name": "productId",
                    "kind": "required",
                    "type": "string",
                    "description": "Unique identifier for the product. Mandatory if productLineItems object is present"
                  },
                  {
                    "name": "productName",
                    "kind": "optional",
                    "type": "string",
                    "description": "Name of the product"
                  },
                  {
                    "name": "productDescription",
                    "kind": "optional",
                    "type": "string",
                    "description": "Detailed description of the product"
                  },
                  {
                    "name": "productCategory",
                    "kind": "optional",
                    "type": "string",
                    "description": "Category classification of the product"
                  },
                  {
                    "name": "quantity",
                    "kind": "optional",
                    "type": "integer",
                    "description": "Number of units in the shipment"
                  },
                  {
                    "name": "measurementUnitCode",
                    "kind": "optional",
                    "type": "string",
                    "description": "Unit of measurement for quantity (e.g., PCE, KG, LB)"
                  },
                  {
                    "name": "netWeight",
                    "kind": "optional",
                    "type": "string",
                    "description": "Weight of the product excluding packaging"
                  },
                  {
                    "name": "weightUnit",
                    "kind": "optional",
                    "type": "string",
                    "description": "Unit of measurement for weight (e.g., KGM, LBM)"
                  },
                  {
                    "name": "unitCost",
                    "kind": "optional",
                    "type": "number",
                    "description": "Cost per unit of the product"
                  },
                  {
                    "name": "currencyCode",
                    "kind": "optional",
                    "type": "string",
                    "description": "Currency code for cost fields"
                  },
                  {
                    "name": "extendedCost",
                    "kind": "optional",
                    "type": "number",
                    "description": "Total cost for all units (unitCost x quantity)"
                  },
                  {
                    "name": "freightCost",
                    "kind": "optional",
                    "type": "number",
                    "description": "Freight cost allocated to this line item"
                  },
                  {
                    "name": "bestBeforeDate",
                    "kind": "optional",
                    "type": "string",
                    "description": "Expiration or best before date for the product"
                  },
                  {
                    "name": "additionalCharges",
                    "kind": "optional",
                    "type": "number",
                    "description": "Any additional charges specific to this line item"
                  },
                  {
                    "name": "tariffCost",
                    "kind": "optional",
                    "type": "number",
                    "description": "Tariff cost for this specific line item"
                  },
                  {
                    "name": "fourKitesCalculatedTariffCost",
                    "kind": "optional",
                    "type": "number",
                    "description": "System-calculated tariff cost"
                  },
                  {
                    "name": "totalLandedCost",
                    "kind": "optional",
                    "type": "number",
                    "description": "Total landed cost for this line item"
                  },
                  {
                    "name": "countryOfOrigin",
                    "kind": "optional",
                    "type": "string",
                    "description": "Country of origin for this product"
                  },
                  {
                    "name": "harmonizedSystemCode",
                    "kind": "optional",
                    "type": "string",
                    "description": "International trade classification code"
                  },
                  {
                    "name": "commodityTypeCode",
                    "kind": "optional",
                    "type": "string",
                    "description": "Commodity classification code"
                  },
                  {
                    "name": "htsusCode",
                    "kind": "optional",
                    "type": "string",
                    "description": "Harmonized Tariff Schedule code for US imports"
                  },
                  {
                    "name": "orderNumber",
                    "kind": "optional",
                    "type": "string",
                    "description": "Purchase order number"
                  },
                  {
                    "name": "deliveryNumber",
                    "kind": "optional",
                    "type": "string",
                    "description": "Delivery reference number"
                  },
                  {
                    "name": "handlingUnitId",
                    "kind": "optional",
                    "type": "string",
                    "description": "Identifier for the handling unit (pallet, box, etc.)"
                  },
                  {
                    "name": "barcode",
                    "kind": "optional",
                    "type": "string",
                    "description": "Product barcode"
                  },
                  {
                    "name": "containerType",
                    "kind": "optional",
                    "type": "string",
                    "description": "Type of container (pallet, box, carton, etc.)"
                  },
                  {
                    "name": "gtin",
                    "kind": "optional",
                    "type": "string",
                    "description": "Global Trade Item Number"
                  },
                  {
                    "name": "customerPartNumber",
                    "kind": "optional",
                    "type": "string",
                    "description": "Customer's part number for the product"
                  },
                  {
                    "name": "supplierPartNumber",
                    "kind": "optional",
                    "type": "string",
                    "description": "Supplier's part number for the product"
                  },
                  {
                    "name": "manufacturerPartNumber",
                    "kind": "optional",
                    "type": "string",
                    "description": "Manufacturer's part number"
                  },
                  {
                    "name": "itemNumber",
                    "kind": "optional",
                    "type": "string",
                    "description": "Internal item number"
                  },
                  {
                    "name": "productUpc",
                    "kind": "optional",
                    "type": "string",
                    "description": "Universal Product Code"
                  },
                  {
                    "name": "deliveryReferences",
                    "kind": "optional",
                    "type": "string",
                    "description": "Array of delivery reference numbers"
                  },
                  {
                    "name": "orderReferences",
                    "kind": "optional",
                    "type": "string",
                    "description": "Array of order reference numbers"
                  },
                  {
                    "name": "brandName",
                    "kind": "optional",
                    "type": "string",
                    "description": "Brand name of the product"
                  },
                  {
                    "name": "minimumTemperature",
                    "kind": "optional",
                    "type": "integer",
                    "description": "Minimum storage/transport temperature"
                  },
                  {
                    "name": "maximumTemperature",
                    "kind": "optional",
                    "type": "integer",
                    "description": "Maximum storage/transport temperature"
                  },
                  {
                    "name": "temperatureUnitCode",
                    "kind": "optional",
                    "type": "string",
                    "description": "Temperature unit (cel, fah)"
                  },
                  {
                    "name": "labelIdentifier",
                    "kind": "optional",
                    "type": "string",
                    "description": "Label identifier for tracking"
                  },
                  {
                    "name": "productTrackingNumber",
                    "kind": "optional",
                    "type": "string",
                    "description": "Unique tracking number for the product"
                  },
                  {
                    "name": "deviceType",
                    "kind": "optional",
                    "type": "string",
                    "description": "Type of tracking device (RFID_TAG, QR_CODE, etc.)"
                  }
                ]
              }
            ]
          },
          {
            "name": "tags",
            "kind": "optional",
            "type": "array",
            "description": "It is the list of tags or labels to be assigned to a load. Loads can be filtered in FourKites using tags. It is used for assigning categories for the load. A single tag can't exceed 50 characters. Even though we don’t have restrictions on the number of tags, it is advisable to keep total characters of all tags within the count of 255. (CM)"
          }
        ]
      }
    ],
    "formDataParameters": []
  },
  "currentNewParameter": {
    "label": "Body Parameter",
    "value": "bodyDataParameters"
  },
  "hasTryItOut": false,
  "autoGeneratedAnchorSlug": "production",
  "legacyHash": "gOfNzbC6zar7lCAJ5USoS"
}
```
:::

:::ApiMethodV2
```json
{
  "name": "Staging",
  "method": "POST",
  "url": "https://api-staging.fourkites.com/api/v1/tracking",
  "description": "",
  "tab": "examples",
  "examples": {
    "languages": [
      {
        "id": "Oz5hW9DYWl5uJH6otuM0s",
        "language": "curl",
        "code": "curl --location 'https://api-staging.fourkites.com/api/v1/tracking' \\\n--header 'Content-Type: application/json' \\\n--header 'apikey: REPLACE_KEY_VALUE' \\\n--data '{\n  \"trackingInfo\": {\n    \"driverPhone\": \"\",\n    \"truckNumber\": \"\",\n    \"railEquipmentInitials\": \"RAIL\",\n    \"railEquipmentNumber\": \"654405\",\n    \"wagonNumber\": \"qwerty123\"\n  },\n  \"load\": {\n    \"loadNumber\": \"TestRail05_1\",\n    \"skipAppointmentTimeValidation\": true,\n    \"priority\": \"normal\",\n    \"carrier\": \"cc79\",\n    \"carrierPermalink\": \"support-carrier-production\",\n    \"carrierName\": \"Support Carrier (Production)\",\n    \"masterSequenceNumber\": \"1\",\n    \"masterReferenceNumber\": \"7328623\",\n    \"referenceNumbers\": [\n      \"TU-2945\",\n      \"80982\",\n      \"94BC8\"\n    ],\n    \"shipper\": null,\n    \"products\": [],\n    \"stops\": [\n      {\n        \"stopType\": \"pickup\",\n        \"completeAddress\": \"Chennai, TN - 600003, IN\",\n        \"city\": \"Chennai\",\n        \"state\": \"TN\",\n        \"country\": \"IN\",\n        \"customer\": {\n          \"poNumbers\": [\n            \"00210123OF-203503\"\n          ]\n        },\n        \"postalCode\": null,\n        \"latitude\": 13.0816437,\n        \"longitude\": 80.2752316,\n        \"geofencePoints\": [],\n        \"appointmentTime\": \"2024-08-20T07:35:00.000Z\",\n        \"wantTime\": null,\n        \"earliestWantTime\": null,\n        \"latestWantTime\": null,\n        \"transportationMode\": null,\n        \"useLocalLatLng\": true,\n        \"StopReferenceNumber\": \"7085568349\",\n        \"pallets\": [\n          {\n            \"number\": \"PAL-001\",\n            \"parts\": [\n              {\n                \"quantity\": \"25\",\n                \"shipperPartNumber\": \"22EE\",\n                \"weight\": \"7.998\"\n              }\n            ]\n          }\n        ],\n        \"productLineItems\": [\n          {\n            \"productId\": \"0123456\",\n            \"productName\": \"Rail Freight Item\",\n            \"productDescription\": \"Rail/intermodal freight shipment item\",\n            \"productCategory\": \"General Freight\",\n            \"quantity\": 25,\n            \"measurementUnitCode\": \"PCE\",\n            \"netWeight\": 44.8,\n            \"weightUnit\": \"KGM\",\n            \"unitCost\": 25.0,\n            \"currencyCode\": \"USD\",\n            \"extendedCost\": 625.00,\n            \"freightCost\": 20.00,\n            \"bestBeforeDate\": \"2026-04-25T00:00:00Z\",\n            \"additionalCharges\": 5.00,\n            \"tariffCost\": 2.50,\n            \"fourKitesCalculatedTariffCost\": 2.50,\n            \"totalLandedCost\": 655.00,\n            \"countryOfOrigin\": \"IN\",\n            \"harmonizedSystemCode\": \"8607911000\",\n            \"commodityTypeCode\": \"RAIL_FREIGHT\",\n            \"htsusCode\": \"8607911000\",\n            \"orderNumber\": \"TU-2945\",\n            \"deliveryNumber\": \"DN-7085568349\",\n            \"handlingUnitId\": \"PAL-001\",\n            \"barcode\": \"PAL001\",\n            \"containerType\": \"pallet\",\n            \"gtin\": \"00012345678905\",\n            \"customerPartNumber\": \"22EE\",\n            \"supplierPartNumber\": \"22EE\",\n            \"manufacturerPartNumber\": \"MFG-22EE\",\n            \"itemNumber\": \"ITM-22EE\",\n            \"productUpc\": \"012345678905\",\n            \"deliveryReferences\": [\"DEL-REF-001\"],\n            \"orderReferences\": [\"TU-2945\"],\n            \"brandName\": \"Generic Rail Freight Co\",\n            \"minimumTemperature\": 0,\n            \"maximumTemperature\": 0,\n            \"temperatureUnitCode\": \"cel\",\n            \"labelIdentifier\": \"LBL-22EE\",\n            \"productTrackingNumber\": \"7085568349\",\n            \"deviceType\": \"RFID_TAG\"\n          }\n        ]\n      },\n      {\n        \"stopType\": \"delivery\",\n        \"completeAddress\": \"Bengaluru, KA - 560002, IN\",\n        \"city\": \"Bengaluru\",\n        \"state\": \"KA\",\n        \"country\": \"IN\",\n        \"postalCode\": \"78738\",\n        \"latitude\": 12.96643,\n        \"longitude\": 77.58718,\n        \"geofencePoints\": [],\n        \"appointmentTime\": \"2024-08-29T07:35:00.000Z\",\n        \"wantTime\": null,\n        \"earliestWantTime\": null,\n        \"latestWantTime\": null,\n        \"transportationMode\": null,\n        \"addressType\": \"\",\n        \"pallets\": [\n          {\n            \"number\": \"PAL-002\",\n            \"parts\": [\n              {\n                \"quantity\": \"25\",\n                \"shipperPartNumber\": \"22EE\",\n                \"weight\": \"7.998\"\n              }\n            ]\n          }\n        ],\n        \"productLineItems\": [\n          {\n            \"productId\": \"0123456\",\n            \"productName\": \"Rail Freight Item\",\n            \"productDescription\": \"Rail/intermodal freight shipment item\",\n            \"productCategory\": \"General Freight\",\n            \"quantity\": 25,\n            \"measurementUnitCode\": \"PCE\",\n            \"netWeight\": 44.8,\n            \"weightUnit\": \"KGM\",\n            \"unitCost\": 25.0,\n            \"currencyCode\": \"USD\",\n            \"extendedCost\": 625.00,\n            \"freightCost\": 20.00,\n            \"additionalCharges\": 5.00,\n            \"tariffCost\": 2.50,\n            \"fourKitesCalculatedTariffCost\": 2.50,\n            \"totalLandedCost\": 655.00,\n            \"countryOfOrigin\": \"IN\",\n            \"harmonizedSystemCode\": \"8607911000\",\n            \"commodityTypeCode\": \"RAIL_FREIGHT\",\n            \"htsusCode\": \"8607911000\",\n            \"orderNumber\": \"80982\",\n            \"deliveryNumber\": \"DN-PAL002\",\n            \"handlingUnitId\": \"PAL-002\",\n            \"barcode\": \"PAL002\",\n            \"containerType\": \"pallet\",\n            \"gtin\": \"00012345678912\",\n            \"customerPartNumber\": \"33CC\",\n            \"supplierPartNumber\": \"33CC\",\n            \"manufacturerPartNumber\": \"MFG-33CC\",\n            \"itemNumber\": \"ITM-33CC\",\n            \"productUpc\": \"012345678912\",\n            \"deliveryReferences\": [\"DEL-REF-002\"],\n            \"orderReferences\": [\"80982\"],\n            \"brandName\": \"Generic Rail Freight Co\",\n            \"minimumTemperature\": 0,\n            \"maximumTemperature\": 0,\n            \"temperatureUnitCode\": \"cel\",\n            \"labelIdentifier\": \"LBL-33CC\",\n            \"productTrackingNumber\": \"94BC8\",\n            \"deviceType\": \"QR_CODE\"\n          }\n        ],\n        \"useLocalLatLng\": true\n      }\n    ],\n    \"tags\": [\n      \"temp\",\n      \"field2\",\n      \"Inbound\"\n    ]\n  }\n}'",
        "customLabel": ""
      },
      {
        "id": "BaKuc0unzRLfeYfHFtiM6",
        "language": "java",
        "code": "OkHttpClient client = new OkHttpClient().newBuilder()\n  .build();\nMediaType mediaType = MediaType.parse(\"application/json\");\nRequestBody body = RequestBody.create(mediaType, \"{\\n  \\\"trackingInfo\\\": {\\n    \\\"driverPhone\\\": \\\"\\\",\\n    \\\"truckNumber\\\": \\\"\\\",\\n    \\\"railEquipmentInitials\\\": \\\"RAIL\\\",\\n    \\\"railEquipmentNumber\\\": \\\"654405\\\",\\n    \\\"wagonNumber\\\": \\\"qwerty123\\\"\\n  },\\n  \\\"load\\\": {\\n    \\\"loadNumber\\\": \\\"TestRail05_1\\\",\\n    \\\"skipAppointmentTimeValidation\\\": true,\\n    \\\"priority\\\": \\\"normal\\\",\\n    \\\"carrier\\\": \\\"cc79\\\",\\n    \\\"carrierPermalink\\\": \\\"support-carrier-production\\\",\\n    \\\"carrierName\\\": \\\"Support Carrier (Production)\\\",\\n    \\\"masterSequenceNumber\\\": \\\"1\\\",\\n    \\\"masterReferenceNumber\\\": \\\"7328623\\\",\\n    \\\"referenceNumbers\\\": [\\n      \\\"TU-2945\\\",\\n      \\\"80982\\\",\\n      \\\"94BC8\\\"\\n    ],\\n    \\\"shipper\\\": null,\\n    \\\"products\\\": [],\\n    \\\"stops\\\": [\\n      {\\n        \\\"stopType\\\": \\\"pickup\\\",\\n        \\\"completeAddress\\\": \\\"Chennai, TN - 600003, IN\\\",\\n        \\\"city\\\": \\\"Chennai\\\",\\n        \\\"state\\\": \\\"TN\\\",\\n        \\\"country\\\": \\\"IN\\\",\\n        \\\"customer\\\": {\\n          \\\"poNumbers\\\": [\\n            \\\"00210123OF-203503\\\"\\n          ]\\n        },\\n        \\\"postalCode\\\": null,\\n        \\\"latitude\\\": 13.0816437,\\n        \\\"longitude\\\": 80.2752316,\\n        \\\"geofencePoints\\\": [],\\n        \\\"appointmentTime\\\": \\\"2024-08-20T07:35:00.000Z\\\",\\n        \\\"wantTime\\\": null,\\n        \\\"earliestWantTime\\\": null,\\n        \\\"latestWantTime\\\": null,\\n        \\\"transportationMode\\\": null,\\n        \\\"useLocalLatLng\\\": true,\\n        \\\"StopReferenceNumber\\\": \\\"7085568349\\\",\\n        \\\"pallets\\\": [\\n          {\\n            \\\"number\\\": \\\"PAL-001\\\",\\n            \\\"parts\\\": [\\n              {\\n                \\\"quantity\\\": \\\"25\\\",\\n                \\\"shipperPartNumber\\\": \\\"22EE\\\",\\n                \\\"weight\\\": \\\"7.998\\\"\\n              }\\n            ]\\n          }\\n        ],\\n        \\\"productLineItems\\\": [\\n          {\\n            \\\"productId\\\": \\\"0123456\\\",\\n            \\\"productName\\\": \\\"Rail Freight Item\\\",\\n            \\\"productDescription\\\": \\\"Rail/intermodal freight shipment item\\\",\\n            \\\"productCategory\\\": \\\"General Freight\\\",\\n            \\\"quantity\\\": 25,\\n            \\\"measurementUnitCode\\\": \\\"PCE\\\",\\n            \\\"netWeight\\\": 44.8,\\n            \\\"weightUnit\\\": \\\"KGM\\\",\\n            \\\"unitCost\\\": 25.0,\\n            \\\"currencyCode\\\": \\\"USD\\\",\\n            \\\"extendedCost\\\": 625.00,\\n            \\\"freightCost\\\": 20.00,\\n            \\\"bestBeforeDate\\\": \\\"2026-04-25T00:00:00Z\\\",\\n            \\\"additionalCharges\\\": 5.00,\\n            \\\"tariffCost\\\": 2.50,\\n            \\\"fourKitesCalculatedTariffCost\\\": 2.50,\\n            \\\"totalLandedCost\\\": 655.00,\\n            \\\"countryOfOrigin\\\": \\\"IN\\\",\\n            \\\"harmonizedSystemCode\\\": \\\"8607911000\\\",\\n            \\\"commodityTypeCode\\\": \\\"RAIL_FREIGHT\\\",\\n            \\\"htsusCode\\\": \\\"8607911000\\\",\\n            \\\"orderNumber\\\": \\\"TU-2945\\\",\\n            \\\"deliveryNumber\\\": \\\"DN-7085568349\\\",\\n            \\\"handlingUnitId\\\": \\\"PAL-001\\\",\\n            \\\"barcode\\\": \\\"PAL001\\\",\\n            \\\"containerType\\\": \\\"pallet\\\",\\n            \\\"gtin\\\": \\\"00012345678905\\\",\\n            \\\"customerPartNumber\\\": \\\"22EE\\\",\\n            \\\"supplierPartNumber\\\": \\\"22EE\\\",\\n            \\\"manufacturerPartNumber\\\": \\\"MFG-22EE\\\",\\n            \\\"itemNumber\\\": \\\"ITM-22EE\\\",\\n            \\\"productUpc\\\": \\\"012345678905\\\",\\n            \\\"deliveryReferences\\\": [\\\"DEL-REF-001\\\"],\\n            \\\"orderReferences\\\": [\\\"TU-2945\\\"],\\n            \\\"brandName\\\": \\\"Generic Rail Freight Co\\\",\\n            \\\"minimumTemperature\\\": 0,\\n            \\\"maximumTemperature\\\": 0,\\n            \\\"temperatureUnitCode\\\": \\\"cel\\\",\\n            \\\"labelIdentifier\\\": \\\"LBL-22EE\\\",\\n            \\\"productTrackingNumber\\\": \\\"7085568349\\\",\\n            \\\"deviceType\\\": \\\"RFID_TAG\\\"\\n          }\\n        ]\\n      },\\n      {\\n        \\\"stopType\\\": \\\"delivery\\\",\\n        \\\"completeAddress\\\": \\\"Bengaluru, KA - 560002, IN\\\",\\n        \\\"city\\\": \\\"Bengaluru\\\",\\n        \\\"state\\\": \\\"KA\\\",\\n        \\\"country\\\": \\\"IN\\\",\\n        \\\"postalCode\\\": \\\"78738\\\",\\n        \\\"latitude\\\": 12.96643,\\n        \\\"longitude\\\": 77.58718,\\n        \\\"geofencePoints\\\": [],\\n        \\\"appointmentTime\\\": \\\"2024-08-29T07:35:00.000Z\\\",\\n        \\\"wantTime\\\": null,\\n        \\\"earliestWantTime\\\": null,\\n        \\\"latestWantTime\\\": null,\\n        \\\"transportationMode\\\": null,\\n        \\\"addressType\\\": \\\"\\\",\\n        \\\"pallets\\\": [\\n          {\\n            \\\"number\\\": \\\"PAL-002\\\",\\n            \\\"parts\\\": [\\n              {\\n                \\\"quantity\\\": \\\"25\\\",\\n                \\\"shipperPartNumber\\\": \\\"22EE\\\",\\n                \\\"weight\\\": \\\"7.998\\\"\\n              }\\n            ]\\n          }\\n        ],\\n        \\\"productLineItems\\\": [\\n          {\\n            \\\"productId\\\": \\\"0123456\\\",\\n            \\\"productName\\\": \\\"Rail Freight Item\\\",\\n            \\\"productDescription\\\": \\\"Rail/intermodal freight shipment item\\\",\\n            \\\"productCategory\\\": \\\"General Freight\\\",\\n            \\\"quantity\\\": 25,\\n            \\\"measurementUnitCode\\\": \\\"PCE\\\",\\n            \\\"netWeight\\\": 44.8,\\n            \\\"weightUnit\\\": \\\"KGM\\\",\\n            \\\"unitCost\\\": 25.0,\\n            \\\"currencyCode\\\": \\\"USD\\\",\\n            \\\"extendedCost\\\": 625.00,\\n            \\\"freightCost\\\": 20.00,\\n            \\\"additionalCharges\\\": 5.00,\\n            \\\"tariffCost\\\": 2.50,\\n            \\\"fourKitesCalculatedTariffCost\\\": 2.50,\\n            \\\"totalLandedCost\\\": 655.00,\\n            \\\"countryOfOrigin\\\": \\\"IN\\\",\\n            \\\"harmonizedSystemCode\\\": \\\"8607911000\\\",\\n            \\\"commodityTypeCode\\\": \\\"RAIL_FREIGHT\\\",\\n            \\\"htsusCode\\\": \\\"8607911000\\\",\\n            \\\"orderNumber\\\": \\\"80982\\\",\\n            \\\"deliveryNumber\\\": \\\"DN-PAL002\\\",\\n            \\\"handlingUnitId\\\": \\\"PAL-002\\\",\\n            \\\"barcode\\\": \\\"PAL002\\\",\\n            \\\"containerType\\\": \\\"pallet\\\",\\n            \\\"gtin\\\": \\\"00012345678912\\\",\\n            \\\"customerPartNumber\\\": \\\"33CC\\\",\\n            \\\"supplierPartNumber\\\": \\\"33CC\\\",\\n            \\\"manufacturerPartNumber\\\": \\\"MFG-33CC\\\",\\n            \\\"itemNumber\\\": \\\"ITM-33CC\\\",\\n            \\\"productUpc\\\": \\\"012345678912\\\",\\n            \\\"deliveryReferences\\\": [\\\"DEL-REF-002\\\"],\\n            \\\"orderReferences\\\": [\\\"80982\\\"],\\n            \\\"brandName\\\": \\\"Generic Rail Freight Co\\\",\\n            \\\"minimumTemperature\\\": 0,\\n            \\\"maximumTemperature\\\": 0,\\n            \\\"temperatureUnitCode\\\": \\\"cel\\\",\\n            \\\"labelIdentifier\\\": \\\"LBL-33CC\\\",\\n            \\\"productTrackingNumber\\\": \\\"94BC8\\\",\\n            \\\"deviceType\\\": \\\"QR_CODE\\\"\\n          }\\n        ],\\n        \\\"useLocalLatLng\\\": true\\n      }\\n    ],\\n    \\\"tags\\\": [\\n      \\\"temp\\\",\\n      \\\"field2\\\",\\n      \\\"Inbound\\\"\\n    ]\\n  }\\n}\");\nRequest request = new Request.Builder()\n  .url(\"https://api-staging.fourkites.com/api/v1/tracking\")\n  .method(\"POST\", body)\n  .addHeader(\"Content-Type\", \"application/json\")\n  .addHeader(\"apikey\", \"REPLACE_KEY_VALUE\")\n  .build();\nResponse response = client.newCall(request).execute();",
        "customLabel": ""
      },
      {
        "id": "rZWijjIsBRF4JmBXGx3ZA",
        "language": "javascript",
        "code": "var settings = {\n  \"url\": \"https://api-staging.fourkites.com/api/v1/tracking\",\n  \"method\": \"POST\",\n  \"timeout\": 0,\n  \"headers\": {\n    \"Content-Type\": \"application/json\",\n    \"apikey\": \"REPLACE_KEY_VALUE\"\n  },\n  \"data\": JSON.stringify({\n    \"trackingInfo\": {\n      \"driverPhone\": \"\",\n      \"truckNumber\": \"\",\n      \"railEquipmentInitials\": \"RAIL\",\n      \"railEquipmentNumber\": \"654405\",\n      \"wagonNumber\": \"qwerty123\"\n    },\n    \"load\": {\n      \"loadNumber\": \"TestRail05_1\",\n      \"skipAppointmentTimeValidation\": true,\n      \"priority\": \"normal\",\n      \"carrier\": \"cc79\",\n      \"carrierPermalink\": \"support-carrier-production\",\n      \"carrierName\": \"Support Carrier (Production)\",\n      \"masterSequenceNumber\": \"1\",\n      \"masterReferenceNumber\": \"7328623\",\n      \"referenceNumbers\": [\n        \"TU-2945\",\n        \"80982\",\n        \"94BC8\"\n      ],\n      \"shipper\": null,\n      \"products\": [],\n      \"stops\": [\n        {\n          \"stopType\": \"pickup\",\n          \"completeAddress\": \"Chennai, TN - 600003, IN\",\n          \"city\": \"Chennai\",\n          \"state\": \"TN\",\n          \"country\": \"IN\",\n          \"customer\": {\n            \"poNumbers\": [\n              \"00210123OF-203503\"\n            ]\n          },\n          \"postalCode\": null,\n          \"latitude\": 13.0816437,\n          \"longitude\": 80.2752316,\n          \"geofencePoints\": [],\n          \"appointmentTime\": \"2024-08-20T07:35:00.000Z\",\n          \"wantTime\": null,\n          \"earliestWantTime\": null,\n          \"latestWantTime\": null,\n          \"transportationMode\": null,\n          \"useLocalLatLng\": true,\n          \"StopReferenceNumber\": \"7085568349\",\n        \"pallets\": [\n          {\n            \"number\": \"PAL-001\",\n            \"parts\": [\n              {\n                \"quantity\": \"25\",\n                \"shipperPartNumber\": \"22EE\",\n                \"weight\": \"7.998\"\n              }\n            ]\n          }\n        ],\n        \"productLineItems\": [\n          {\n            \"productId\": \"0123456\",\n            \"productName\": \"Rail Freight Item\",\n            \"productDescription\": \"Rail/intermodal freight shipment item\",\n            \"productCategory\": \"General Freight\",\n            \"quantity\": 25,\n            \"measurementUnitCode\": \"PCE\",\n            \"netWeight\": 44.8,\n            \"weightUnit\": \"KGM\",\n            \"unitCost\": 25.0,\n            \"currencyCode\": \"USD\",\n            \"extendedCost\": 625.00,\n            \"freightCost\": 20.00,\n            \"bestBeforeDate\": \"2026-04-25T00:00:00Z\",\n            \"additionalCharges\": 5.00,\n            \"tariffCost\": 2.50,\n            \"fourKitesCalculatedTariffCost\": 2.50,\n            \"totalLandedCost\": 655.00,\n            \"countryOfOrigin\": \"IN\",\n            \"harmonizedSystemCode\": \"8607911000\",\n            \"commodityTypeCode\": \"RAIL_FREIGHT\",\n            \"htsusCode\": \"8607911000\",\n            \"orderNumber\": \"TU-2945\",\n            \"deliveryNumber\": \"DN-7085568349\",\n            \"handlingUnitId\": \"PAL-001\",\n            \"barcode\": \"PAL001\",\n            \"containerType\": \"pallet\",\n            \"gtin\": \"00012345678905\",\n            \"customerPartNumber\": \"22EE\",\n            \"supplierPartNumber\": \"22EE\",\n            \"manufacturerPartNumber\": \"MFG-22EE\",\n            \"itemNumber\": \"ITM-22EE\",\n            \"productUpc\": \"012345678905\",\n            \"deliveryReferences\": [\"DEL-REF-001\"],\n            \"orderReferences\": [\"TU-2945\"],\n            \"brandName\": \"Generic Rail Freight Co\",\n            \"minimumTemperature\": 0,\n            \"maximumTemperature\": 0,\n            \"temperatureUnitCode\": \"cel\",\n            \"labelIdentifier\": \"LBL-22EE\",\n            \"productTrackingNumber\": \"7085568349\",\n            \"deviceType\": \"RFID_TAG\"\n          }\n        ]\n        },\n        {\n          \"stopType\": \"delivery\",\n          \"completeAddress\": \"Bengaluru, KA - 560002, IN\",\n          \"city\": \"Bengaluru\",\n          \"state\": \"KA\",\n          \"country\": \"IN\",\n          \"postalCode\": \"78738\",\n          \"latitude\": 12.96643,\n          \"longitude\": 77.58718,\n          \"geofencePoints\": [],\n          \"appointmentTime\": \"2024-08-29T07:35:00.000Z\",\n          \"wantTime\": null,\n          \"earliestWantTime\": null,\n          \"latestWantTime\": null,\n          \"transportationMode\": null,\n          \"addressType\": \"\",\n        \"pallets\": [\n          {\n            \"number\": \"PAL-002\",\n            \"parts\": [\n              {\n                \"quantity\": \"25\",\n                \"shipperPartNumber\": \"22EE\",\n                \"weight\": \"7.998\"\n              }\n            ]\n          }\n        ],\n        \"productLineItems\": [\n          {\n            \"productId\": \"0123456\",\n            \"productName\": \"Rail Freight Item\",\n            \"productDescription\": \"Rail/intermodal freight shipment item\",\n            \"productCategory\": \"General Freight\",\n            \"quantity\": 25,\n            \"measurementUnitCode\": \"PCE\",\n            \"netWeight\": 44.8,\n            \"weightUnit\": \"KGM\",\n            \"unitCost\": 25.0,\n            \"currencyCode\": \"USD\",\n            \"extendedCost\": 625.00,\n            \"freightCost\": 20.00,\n            \"additionalCharges\": 5.00,\n            \"tariffCost\": 2.50,\n            \"fourKitesCalculatedTariffCost\": 2.50,\n            \"totalLandedCost\": 655.00,\n            \"countryOfOrigin\": \"IN\",\n            \"harmonizedSystemCode\": \"8607911000\",\n            \"commodityTypeCode\": \"RAIL_FREIGHT\",\n            \"htsusCode\": \"8607911000\",\n            \"orderNumber\": \"80982\",\n            \"deliveryNumber\": \"DN-PAL002\",\n            \"handlingUnitId\": \"PAL-002\",\n            \"barcode\": \"PAL002\",\n            \"containerType\": \"pallet\",\n            \"gtin\": \"00012345678912\",\n            \"customerPartNumber\": \"33CC\",\n            \"supplierPartNumber\": \"33CC\",\n            \"manufacturerPartNumber\": \"MFG-33CC\",\n            \"itemNumber\": \"ITM-33CC\",\n            \"productUpc\": \"012345678912\",\n            \"deliveryReferences\": [\"DEL-REF-002\"],\n            \"orderReferences\": [\"80982\"],\n            \"brandName\": \"Generic Rail Freight Co\",\n            \"minimumTemperature\": 0,\n            \"maximumTemperature\": 0,\n            \"temperatureUnitCode\": \"cel\",\n            \"labelIdentifier\": \"LBL-33CC\",\n            \"productTrackingNumber\": \"94BC8\",\n            \"deviceType\": \"QR_CODE\"\n          }\n        ],\n          \"useLocalLatLng\": true\n        }\n      ],\n      \"tags\": [\n        \"temp\",\n        \"field2\",\n        \"Inbound\"\n      ]\n    }\n  }),\n};\n\n$.ajax(settings).done(function (response) {\n  console.log(response);\n});",
        "customLabel": ""
      },
      {
        "id": "zvQntS0ZQta6prUoKxjmU",
        "language": "swift",
        "code": "let parameters = \"{\\n  \\\"trackingInfo\\\": {\\n    \\\"driverPhone\\\": \\\"\\\",\\n    \\\"truckNumber\\\": \\\"\\\",\\n    \\\"railEquipmentInitials\\\": \\\"RAIL\\\",\\n    \\\"railEquipmentNumber\\\": \\\"654405\\\",\\n    \\\"wagonNumber\\\": \\\"qwerty123\\\"\\n  },\\n  \\\"load\\\": {\\n    \\\"loadNumber\\\": \\\"TestRail05_1\\\",\\n    \\\"skipAppointmentTimeValidation\\\": true,\\n    \\\"priority\\\": \\\"normal\\\",\\n    \\\"carrier\\\": \\\"cc79\\\",\\n    \\\"carrierPermalink\\\": \\\"support-carrier-production\\\",\\n    \\\"carrierName\\\": \\\"Support Carrier (Production)\\\",\\n    \\\"masterSequenceNumber\\\": \\\"1\\\",\\n    \\\"masterReferenceNumber\\\": \\\"7328623\\\",\\n    \\\"referenceNumbers\\\": [\\n      \\\"TU-2945\\\",\\n      \\\"80982\\\",\\n      \\\"94BC8\\\"\\n    ],\\n    \\\"shipper\\\": null,\\n    \\\"products\\\": [],\\n    \\\"stops\\\": [\\n      {\\n        \\\"stopType\\\": \\\"pickup\\\",\\n        \\\"completeAddress\\\": \\\"Chennai, TN - 600003, IN\\\",\\n        \\\"city\\\": \\\"Chennai\\\",\\n        \\\"state\\\": \\\"TN\\\",\\n        \\\"country\\\": \\\"IN\\\",\\n        \\\"customer\\\": {\\n          \\\"poNumbers\\\": [\\n            \\\"00210123OF-203503\\\"\\n          ]\\n        },\\n        \\\"postalCode\\\": null,\\n        \\\"latitude\\\": 13.0816437,\\n        \\\"longitude\\\": 80.2752316,\\n        \\\"geofencePoints\\\": [],\\n        \\\"appointmentTime\\\": \\\"2024-08-20T07:35:00.000Z\\\",\\n        \\\"wantTime\\\": null,\\n        \\\"earliestWantTime\\\": null,\\n        \\\"latestWantTime\\\": null,\\n        \\\"transportationMode\\\": null,\\n        \\\"useLocalLatLng\\\": true,\\n        \\\"StopReferenceNumber\\\": \\\"7085568349\\\",\\n        \\\"pallets\\\": [\\n          {\\n            \\\"number\\\": \\\"PAL-001\\\",\\n            \\\"parts\\\": [\\n              {\\n                \\\"quantity\\\": \\\"25\\\",\\n                \\\"shipperPartNumber\\\": \\\"22EE\\\",\\n                \\\"weight\\\": \\\"7.998\\\"\\n              }\\n            ]\\n          }\\n        ],\\n        \\\"productLineItems\\\": [\\n          {\\n            \\\"productId\\\": \\\"0123456\\\",\\n            \\\"productName\\\": \\\"Rail Freight Item\\\",\\n            \\\"productDescription\\\": \\\"Rail/intermodal freight shipment item\\\",\\n            \\\"productCategory\\\": \\\"General Freight\\\",\\n            \\\"quantity\\\": 25,\\n            \\\"measurementUnitCode\\\": \\\"PCE\\\",\\n            \\\"netWeight\\\": 44.8,\\n            \\\"weightUnit\\\": \\\"KGM\\\",\\n            \\\"unitCost\\\": 25.0,\\n            \\\"currencyCode\\\": \\\"USD\\\",\\n            \\\"extendedCost\\\": 625.00,\\n            \\\"freightCost\\\": 20.00,\\n            \\\"bestBeforeDate\\\": \\\"2026-04-25T00:00:00Z\\\",\\n            \\\"additionalCharges\\\": 5.00,\\n            \\\"tariffCost\\\": 2.50,\\n            \\\"fourKitesCalculatedTariffCost\\\": 2.50,\\n            \\\"totalLandedCost\\\": 655.00,\\n            \\\"countryOfOrigin\\\": \\\"IN\\\",\\n            \\\"harmonizedSystemCode\\\": \\\"8607911000\\\",\\n            \\\"commodityTypeCode\\\": \\\"RAIL_FREIGHT\\\",\\n            \\\"htsusCode\\\": \\\"8607911000\\\",\\n            \\\"orderNumber\\\": \\\"TU-2945\\\",\\n            \\\"deliveryNumber\\\": \\\"DN-7085568349\\\",\\n            \\\"handlingUnitId\\\": \\\"PAL-001\\\",\\n            \\\"barcode\\\": \\\"PAL001\\\",\\n            \\\"containerType\\\": \\\"pallet\\\",\\n            \\\"gtin\\\": \\\"00012345678905\\\",\\n            \\\"customerPartNumber\\\": \\\"22EE\\\",\\n            \\\"supplierPartNumber\\\": \\\"22EE\\\",\\n            \\\"manufacturerPartNumber\\\": \\\"MFG-22EE\\\",\\n            \\\"itemNumber\\\": \\\"ITM-22EE\\\",\\n            \\\"productUpc\\\": \\\"012345678905\\\",\\n            \\\"deliveryReferences\\\": [\\\"DEL-REF-001\\\"],\\n            \\\"orderReferences\\\": [\\\"TU-2945\\\"],\\n            \\\"brandName\\\": \\\"Generic Rail Freight Co\\\",\\n            \\\"minimumTemperature\\\": 0,\\n            \\\"maximumTemperature\\\": 0,\\n            \\\"temperatureUnitCode\\\": \\\"cel\\\",\\n            \\\"labelIdentifier\\\": \\\"LBL-22EE\\\",\\n            \\\"productTrackingNumber\\\": \\\"7085568349\\\",\\n            \\\"deviceType\\\": \\\"RFID_TAG\\\"\\n          }\\n        ]\\n      },\\n      {\\n        \\\"stopType\\\": \\\"delivery\\\",\\n        \\\"completeAddress\\\": \\\"Bengaluru, KA - 560002, IN\\\",\\n        \\\"city\\\": \\\"Bengaluru\\\",\\n        \\\"state\\\": \\\"KA\\\",\\n        \\\"country\\\": \\\"IN\\\",\\n        \\\"postalCode\\\": \\\"78738\\\",\\n        \\\"latitude\\\": 12.96643,\\n        \\\"longitude\\\": 77.58718,\\n        \\\"geofencePoints\\\": [],\\n        \\\"appointmentTime\\\": \\\"2024-08-29T07:35:00.000Z\\\",\\n        \\\"wantTime\\\": null,\\n        \\\"earliestWantTime\\\": null,\\n        \\\"latestWantTime\\\": null,\\n        \\\"transportationMode\\\": null,\\n        \\\"addressType\\\": \\\"\\\",\\n        \\\"pallets\\\": [\\n          {\\n            \\\"number\\\": \\\"PAL-002\\\",\\n            \\\"parts\\\": [\\n              {\\n                \\\"quantity\\\": \\\"25\\\",\\n                \\\"shipperPartNumber\\\": \\\"22EE\\\",\\n                \\\"weight\\\": \\\"7.998\\\"\\n              }\\n            ]\\n          }\\n        ],\\n        \\\"productLineItems\\\": [\\n          {\\n            \\\"productId\\\": \\\"0123456\\\",\\n            \\\"productName\\\": \\\"Rail Freight Item\\\",\\n            \\\"productDescription\\\": \\\"Rail/intermodal freight shipment item\\\",\\n            \\\"productCategory\\\": \\\"General Freight\\\",\\n            \\\"quantity\\\": 25,\\n            \\\"measurementUnitCode\\\": \\\"PCE\\\",\\n            \\\"netWeight\\\": 44.8,\\n            \\\"weightUnit\\\": \\\"KGM\\\",\\n            \\\"unitCost\\\": 25.0,\\n            \\\"currencyCode\\\": \\\"USD\\\",\\n            \\\"extendedCost\\\": 625.00,\\n            \\\"freightCost\\\": 20.00,\\n            \\\"additionalCharges\\\": 5.00,\\n            \\\"tariffCost\\\": 2.50,\\n            \\\"fourKitesCalculatedTariffCost\\\": 2.50,\\n            \\\"totalLandedCost\\\": 655.00,\\n            \\\"countryOfOrigin\\\": \\\"IN\\\",\\n            \\\"harmonizedSystemCode\\\": \\\"8607911000\\\",\\n            \\\"commodityTypeCode\\\": \\\"RAIL_FREIGHT\\\",\\n            \\\"htsusCode\\\": \\\"8607911000\\\",\\n            \\\"orderNumber\\\": \\\"80982\\\",\\n            \\\"deliveryNumber\\\": \\\"DN-PAL002\\\",\\n            \\\"handlingUnitId\\\": \\\"PAL-002\\\",\\n            \\\"barcode\\\": \\\"PAL002\\\",\\n            \\\"containerType\\\": \\\"pallet\\\",\\n            \\\"gtin\\\": \\\"00012345678912\\\",\\n            \\\"customerPartNumber\\\": \\\"33CC\\\",\\n            \\\"supplierPartNumber\\\": \\\"33CC\\\",\\n            \\\"manufacturerPartNumber\\\": \\\"MFG-33CC\\\",\\n            \\\"itemNumber\\\": \\\"ITM-33CC\\\",\\n            \\\"productUpc\\\": \\\"012345678912\\\",\\n            \\\"deliveryReferences\\\": [\\\"DEL-REF-002\\\"],\\n            \\\"orderReferences\\\": [\\\"80982\\\"],\\n            \\\"brandName\\\": \\\"Generic Rail Freight Co\\\",\\n            \\\"minimumTemperature\\\": 0,\\n            \\\"maximumTemperature\\\": 0,\\n            \\\"temperatureUnitCode\\\": \\\"cel\\\",\\n            \\\"labelIdentifier\\\": \\\"LBL-33CC\\\",\\n            \\\"productTrackingNumber\\\": \\\"94BC8\\\",\\n            \\\"deviceType\\\": \\\"QR_CODE\\\"\\n          }\\n        ],\\n        \\\"useLocalLatLng\\\": true\\n      }\\n    ],\\n    \\\"tags\\\": [\\n      \\\"temp\\\",\\n      \\\"field2\\\",\\n      \\\"Inbound\\\"\\n    ]\\n  }\\n}\"\nlet postData = parameters.data(using: .utf8)\n\nvar request = URLRequest(url: URL(string: \"https://api-staging.fourkites.com/api/v1/tracking\")!,timeoutInterval: Double.infinity)\nrequest.addValue(\"application/json\", forHTTPHeaderField: \"Content-Type\")\nrequest.addValue(\"REPLACE_KEY_VALUE\", forHTTPHeaderField: \"apikey\")\n\nrequest.httpMethod = \"POST\"\nrequest.httpBody = postData\n\nlet task = URLSession.shared.dataTask(with: request) { data, response, error in \n  guard let data = data else {\n    print(String(describing: error))\n    return\n  }\n  print(String(data: data, encoding: .utf8)!)\n}\n\ntask.resume()\n",
        "customLabel": ""
      },
      {
        "id": "u5fxL0ftRtMWoYkZKcwNu",
        "language": "csharp",
        "code": "var client = new HttpClient();\nvar request = new HttpRequestMessage(HttpMethod.Post, \"https://api-staging.fourkites.com/api/v1/tracking\");\nrequest.Headers.Add(\"apikey\", \"REPLACE_KEY_VALUE\");\nvar content = new StringContent(\"{\\n  \\\"trackingInfo\\\": {\\n    \\\"driverPhone\\\": \\\"\\\",\\n    \\\"truckNumber\\\": \\\"\\\",\\n    \\\"railEquipmentInitials\\\": \\\"RAIL\\\",\\n    \\\"railEquipmentNumber\\\": \\\"654405\\\",\\n    \\\"wagonNumber\\\": \\\"qwerty123\\\"\\n  },\\n  \\\"load\\\": {\\n    \\\"loadNumber\\\": \\\"TestRail05_1\\\",\\n    \\\"skipAppointmentTimeValidation\\\": true,\\n    \\\"priority\\\": \\\"normal\\\",\\n    \\\"carrier\\\": \\\"cc79\\\",\\n    \\\"carrierPermalink\\\": \\\"support-carrier-production\\\",\\n    \\\"carrierName\\\": \\\"Support Carrier (Production)\\\",\\n    \\\"masterSequenceNumber\\\": \\\"1\\\",\\n    \\\"masterReferenceNumber\\\": \\\"7328623\\\",\\n    \\\"referenceNumbers\\\": [\\n      \\\"TU-2945\\\",\\n      \\\"80982\\\",\\n      \\\"94BC8\\\"\\n    ],\\n    \\\"shipper\\\": null,\\n    \\\"products\\\": [],\\n    \\\"stops\\\": [\\n      {\\n        \\\"stopType\\\": \\\"pickup\\\",\\n        \\\"completeAddress\\\": \\\"Chennai, TN - 600003, IN\\\",\\n        \\\"city\\\": \\\"Chennai\\\",\\n        \\\"state\\\": \\\"TN\\\",\\n        \\\"country\\\": \\\"IN\\\",\\n        \\\"customer\\\": {\\n          \\\"poNumbers\\\": [\\n            \\\"00210123OF-203503\\\"\\n          ]\\n        },\\n        \\\"postalCode\\\": null,\\n        \\\"latitude\\\": 13.0816437,\\n        \\\"longitude\\\": 80.2752316,\\n        \\\"geofencePoints\\\": [],\\n        \\\"appointmentTime\\\": \\\"2024-08-20T07:35:00.000Z\\\",\\n        \\\"wantTime\\\": null,\\n        \\\"earliestWantTime\\\": null,\\n        \\\"latestWantTime\\\": null,\\n        \\\"transportationMode\\\": null,\\n        \\\"useLocalLatLng\\\": true,\\n        \\\"StopReferenceNumber\\\": \\\"7085568349\\\",\\n        \\\"pallets\\\": [\\n          {\\n            \\\"number\\\": \\\"PAL-001\\\",\\n            \\\"parts\\\": [\\n              {\\n                \\\"quantity\\\": \\\"25\\\",\\n                \\\"shipperPartNumber\\\": \\\"22EE\\\",\\n                \\\"weight\\\": \\\"7.998\\\"\\n              }\\n            ]\\n          }\\n        ],\\n        \\\"productLineItems\\\": [\\n          {\\n            \\\"productId\\\": \\\"0123456\\\",\\n            \\\"productName\\\": \\\"Rail Freight Item\\\",\\n            \\\"productDescription\\\": \\\"Rail/intermodal freight shipment item\\\",\\n            \\\"productCategory\\\": \\\"General Freight\\\",\\n            \\\"quantity\\\": 25,\\n            \\\"measurementUnitCode\\\": \\\"PCE\\\",\\n            \\\"netWeight\\\": 44.8,\\n            \\\"weightUnit\\\": \\\"KGM\\\",\\n            \\\"unitCost\\\": 25.0,\\n            \\\"currencyCode\\\": \\\"USD\\\",\\n            \\\"extendedCost\\\": 625.00,\\n            \\\"freightCost\\\": 20.00,\\n            \\\"bestBeforeDate\\\": \\\"2026-04-25T00:00:00Z\\\",\\n            \\\"additionalCharges\\\": 5.00,\\n            \\\"tariffCost\\\": 2.50,\\n            \\\"fourKitesCalculatedTariffCost\\\": 2.50,\\n            \\\"totalLandedCost\\\": 655.00,\\n            \\\"countryOfOrigin\\\": \\\"IN\\\",\\n            \\\"harmonizedSystemCode\\\": \\\"8607911000\\\",\\n            \\\"commodityTypeCode\\\": \\\"RAIL_FREIGHT\\\",\\n            \\\"htsusCode\\\": \\\"8607911000\\\",\\n            \\\"orderNumber\\\": \\\"TU-2945\\\",\\n            \\\"deliveryNumber\\\": \\\"DN-7085568349\\\",\\n            \\\"handlingUnitId\\\": \\\"PAL-001\\\",\\n            \\\"barcode\\\": \\\"PAL001\\\",\\n            \\\"containerType\\\": \\\"pallet\\\",\\n            \\\"gtin\\\": \\\"00012345678905\\\",\\n            \\\"customerPartNumber\\\": \\\"22EE\\\",\\n            \\\"supplierPartNumber\\\": \\\"22EE\\\",\\n            \\\"manufacturerPartNumber\\\": \\\"MFG-22EE\\\",\\n            \\\"itemNumber\\\": \\\"ITM-22EE\\\",\\n            \\\"productUpc\\\": \\\"012345678905\\\",\\n            \\\"deliveryReferences\\\": [\\\"DEL-REF-001\\\"],\\n            \\\"orderReferences\\\": [\\\"TU-2945\\\"],\\n            \\\"brandName\\\": \\\"Generic Rail Freight Co\\\",\\n            \\\"minimumTemperature\\\": 0,\\n            \\\"maximumTemperature\\\": 0,\\n            \\\"temperatureUnitCode\\\": \\\"cel\\\",\\n            \\\"labelIdentifier\\\": \\\"LBL-22EE\\\",\\n            \\\"productTrackingNumber\\\": \\\"7085568349\\\",\\n            \\\"deviceType\\\": \\\"RFID_TAG\\\"\\n          }\\n        ]\\n      },\\n      {\\n        \\\"stopType\\\": \\\"delivery\\\",\\n        \\\"completeAddress\\\": \\\"Bengaluru, KA - 560002, IN\\\",\\n        \\\"city\\\": \\\"Bengaluru\\\",\\n        \\\"state\\\": \\\"KA\\\",\\n        \\\"country\\\": \\\"IN\\\",\\n        \\\"postalCode\\\": \\\"78738\\\",\\n        \\\"latitude\\\": 12.96643,\\n        \\\"longitude\\\": 77.58718,\\n        \\\"geofencePoints\\\": [],\\n        \\\"appointmentTime\\\": \\\"2024-08-29T07:35:00.000Z\\\",\\n        \\\"wantTime\\\": null,\\n        \\\"earliestWantTime\\\": null,\\n        \\\"latestWantTime\\\": null,\\n        \\\"transportationMode\\\": null,\\n        \\\"addressType\\\": \\\"\\\",\\n        \\\"pallets\\\": [\\n          {\\n            \\\"number\\\": \\\"PAL-002\\\",\\n            \\\"parts\\\": [\\n              {\\n                \\\"quantity\\\": \\\"25\\\",\\n                \\\"shipperPartNumber\\\": \\\"22EE\\\",\\n                \\\"weight\\\": \\\"7.998\\\"\\n              }\\n            ]\\n          }\\n        ],\\n        \\\"productLineItems\\\": [\\n          {\\n            \\\"productId\\\": \\\"0123456\\\",\\n            \\\"productName\\\": \\\"Rail Freight Item\\\",\\n            \\\"productDescription\\\": \\\"Rail/intermodal freight shipment item\\\",\\n            \\\"productCategory\\\": \\\"General Freight\\\",\\n            \\\"quantity\\\": 25,\\n            \\\"measurementUnitCode\\\": \\\"PCE\\\",\\n            \\\"netWeight\\\": 44.8,\\n            \\\"weightUnit\\\": \\\"KGM\\\",\\n            \\\"unitCost\\\": 25.0,\\n            \\\"currencyCode\\\": \\\"USD\\\",\\n            \\\"extendedCost\\\": 625.00,\\n            \\\"freightCost\\\": 20.00,\\n            \\\"additionalCharges\\\": 5.00,\\n            \\\"tariffCost\\\": 2.50,\\n            \\\"fourKitesCalculatedTariffCost\\\": 2.50,\\n            \\\"totalLandedCost\\\": 655.00,\\n            \\\"countryOfOrigin\\\": \\\"IN\\\",\\n            \\\"harmonizedSystemCode\\\": \\\"8607911000\\\",\\n            \\\"commodityTypeCode\\\": \\\"RAIL_FREIGHT\\\",\\n            \\\"htsusCode\\\": \\\"8607911000\\\",\\n            \\\"orderNumber\\\": \\\"80982\\\",\\n            \\\"deliveryNumber\\\": \\\"DN-PAL002\\\",\\n            \\\"handlingUnitId\\\": \\\"PAL-002\\\",\\n            \\\"barcode\\\": \\\"PAL002\\\",\\n            \\\"containerType\\\": \\\"pallet\\\",\\n            \\\"gtin\\\": \\\"00012345678912\\\",\\n            \\\"customerPartNumber\\\": \\\"33CC\\\",\\n            \\\"supplierPartNumber\\\": \\\"33CC\\\",\\n            \\\"manufacturerPartNumber\\\": \\\"MFG-33CC\\\",\\n            \\\"itemNumber\\\": \\\"ITM-33CC\\\",\\n            \\\"productUpc\\\": \\\"012345678912\\\",\\n            \\\"deliveryReferences\\\": [\\\"DEL-REF-002\\\"],\\n            \\\"orderReferences\\\": [\\\"80982\\\"],\\n            \\\"brandName\\\": \\\"Generic Rail Freight Co\\\",\\n            \\\"minimumTemperature\\\": 0,\\n            \\\"maximumTemperature\\\": 0,\\n            \\\"temperatureUnitCode\\\": \\\"cel\\\",\\n            \\\"labelIdentifier\\\": \\\"LBL-33CC\\\",\\n            \\\"productTrackingNumber\\\": \\\"94BC8\\\",\\n            \\\"deviceType\\\": \\\"QR_CODE\\\"\\n          }\\n        ],\\n        \\\"useLocalLatLng\\\": true\\n      }\\n    ],\\n    \\\"tags\\\": [\\n      \\\"temp\\\",\\n      \\\"field2\\\",\\n      \\\"Inbound\\\"\\n    ]\\n  }\\n}\", null, \"application/json\");\nrequest.Content = content;\nvar response = await client.SendAsync(request);\nresponse.EnsureSuccessStatusCode();\nConsole.WriteLine(await response.Content.ReadAsStringAsync());\n",
        "customLabel": ""
      },
      {
        "id": "q08g6b15qD3wqqNux5Ug9",
        "language": "go",
        "code": "package main\n\nimport (\n  \"fmt\"\n  \"strings\"\n  \"net/http\"\n  \"io/ioutil\"\n)\n\nfunc main() {\n\n  url := \"https://api-staging.fourkites.com/api/v1/tracking\"\n  method := \"POST\"\n\n  payload := strings.NewReader(`{\n  \"trackingInfo\": {\n    \"driverPhone\": \"\",\n    \"truckNumber\": \"\",\n    \"railEquipmentInitials\": \"RAIL\",\n    \"railEquipmentNumber\": \"654405\",\n    \"wagonNumber\": \"qwerty123\"\n  },\n  \"load\": {\n    \"loadNumber\": \"TestRail05_1\",\n    \"skipAppointmentTimeValidation\": true,\n    \"priority\": \"normal\",\n    \"carrier\": \"cc79\",\n    \"carrierPermalink\": \"support-carrier-production\",\n    \"carrierName\": \"Support Carrier (Production)\",\n    \"masterSequenceNumber\": \"1\",\n    \"masterReferenceNumber\": \"7328623\",\n    \"referenceNumbers\": [\n      \"TU-2945\",\n      \"80982\",\n      \"94BC8\"\n    ],\n    \"shipper\": null,\n    \"products\": [],\n    \"stops\": [\n      {\n        \"stopType\": \"pickup\",\n        \"completeAddress\": \"Chennai, TN - 600003, IN\",\n        \"city\": \"Chennai\",\n        \"state\": \"TN\",\n        \"country\": \"IN\",\n        \"customer\": {\n          \"poNumbers\": [\n            \"00210123OF-203503\"\n          ]\n        },\n        \"postalCode\": null,\n        \"latitude\": 13.0816437,\n        \"longitude\": 80.2752316,\n        \"geofencePoints\": [],\n        \"appointmentTime\": \"2024-08-20T07:35:00.000Z\",\n        \"wantTime\": null,\n        \"earliestWantTime\": null,\n        \"latestWantTime\": null,\n        \"transportationMode\": null,\n        \"useLocalLatLng\": true,\n        \"StopReferenceNumber\": \"7085568349\",\n        \"pallets\": [\n          {\n            \"number\": \"PAL-001\",\n            \"parts\": [\n              {\n                \"quantity\": \"25\",\n                \"shipperPartNumber\": \"22EE\",\n                \"weight\": \"7.998\"\n              }\n            ]\n          }\n        ],\n        \"productLineItems\": [\n          {\n            \"productId\": \"0123456\",\n            \"productName\": \"Rail Freight Item\",\n            \"productDescription\": \"Rail/intermodal freight shipment item\",\n            \"productCategory\": \"General Freight\",\n            \"quantity\": 25,\n            \"measurementUnitCode\": \"PCE\",\n            \"netWeight\": 44.8,\n            \"weightUnit\": \"KGM\",\n            \"unitCost\": 25.0,\n            \"currencyCode\": \"USD\",\n            \"extendedCost\": 625.00,\n            \"freightCost\": 20.00,\n            \"bestBeforeDate\": \"2026-04-25T00:00:00Z\",\n            \"additionalCharges\": 5.00,\n            \"tariffCost\": 2.50,\n            \"fourKitesCalculatedTariffCost\": 2.50,\n            \"totalLandedCost\": 655.00,\n            \"countryOfOrigin\": \"IN\",\n            \"harmonizedSystemCode\": \"8607911000\",\n            \"commodityTypeCode\": \"RAIL_FREIGHT\",\n            \"htsusCode\": \"8607911000\",\n            \"orderNumber\": \"TU-2945\",\n            \"deliveryNumber\": \"DN-7085568349\",\n            \"handlingUnitId\": \"PAL-001\",\n            \"barcode\": \"PAL001\",\n            \"containerType\": \"pallet\",\n            \"gtin\": \"00012345678905\",\n            \"customerPartNumber\": \"22EE\",\n            \"supplierPartNumber\": \"22EE\",\n            \"manufacturerPartNumber\": \"MFG-22EE\",\n            \"itemNumber\": \"ITM-22EE\",\n            \"productUpc\": \"012345678905\",\n            \"deliveryReferences\": [\"DEL-REF-001\"],\n            \"orderReferences\": [\"TU-2945\"],\n            \"brandName\": \"Generic Rail Freight Co\",\n            \"minimumTemperature\": 0,\n            \"maximumTemperature\": 0,\n            \"temperatureUnitCode\": \"cel\",\n            \"labelIdentifier\": \"LBL-22EE\",\n            \"productTrackingNumber\": \"7085568349\",\n            \"deviceType\": \"RFID_TAG\"\n          }\n        ]\n      },\n      {\n        \"stopType\": \"delivery\",\n        \"completeAddress\": \"Bengaluru, KA - 560002, IN\",\n        \"city\": \"Bengaluru\",\n        \"state\": \"KA\",\n        \"country\": \"IN\",\n        \"postalCode\": \"78738\",\n        \"latitude\": 12.96643,\n        \"longitude\": 77.58718,\n        \"geofencePoints\": [],\n        \"appointmentTime\": \"2024-08-29T07:35:00.000Z\",\n        \"wantTime\": null,\n        \"earliestWantTime\": null,\n        \"latestWantTime\": null,\n        \"transportationMode\": null,\n        \"addressType\": \"\",\n        \"pallets\": [\n          {\n            \"number\": \"PAL-002\",\n            \"parts\": [\n              {\n                \"quantity\": \"25\",\n                \"shipperPartNumber\": \"22EE\",\n                \"weight\": \"7.998\"\n              }\n            ]\n          }\n        ],\n        \"productLineItems\": [\n          {\n            \"productId\": \"0123456\",\n            \"productName\": \"Rail Freight Item\",\n            \"productDescription\": \"Rail/intermodal freight shipment item\",\n            \"productCategory\": \"General Freight\",\n            \"quantity\": 25,\n            \"measurementUnitCode\": \"PCE\",\n            \"netWeight\": 44.8,\n            \"weightUnit\": \"KGM\",\n            \"unitCost\": 25.0,\n            \"currencyCode\": \"USD\",\n            \"extendedCost\": 625.00,\n            \"freightCost\": 20.00,\n            \"additionalCharges\": 5.00,\n            \"tariffCost\": 2.50,\n            \"fourKitesCalculatedTariffCost\": 2.50,\n            \"totalLandedCost\": 655.00,\n            \"countryOfOrigin\": \"IN\",\n            \"harmonizedSystemCode\": \"8607911000\",\n            \"commodityTypeCode\": \"RAIL_FREIGHT\",\n            \"htsusCode\": \"8607911000\",\n            \"orderNumber\": \"80982\",\n            \"deliveryNumber\": \"DN-PAL002\",\n            \"handlingUnitId\": \"PAL-002\",\n            \"barcode\": \"PAL002\",\n            \"containerType\": \"pallet\",\n            \"gtin\": \"00012345678912\",\n            \"customerPartNumber\": \"33CC\",\n            \"supplierPartNumber\": \"33CC\",\n            \"manufacturerPartNumber\": \"MFG-33CC\",\n            \"itemNumber\": \"ITM-33CC\",\n            \"productUpc\": \"012345678912\",\n            \"deliveryReferences\": [\"DEL-REF-002\"],\n            \"orderReferences\": [\"80982\"],\n            \"brandName\": \"Generic Rail Freight Co\",\n            \"minimumTemperature\": 0,\n            \"maximumTemperature\": 0,\n            \"temperatureUnitCode\": \"cel\",\n            \"labelIdentifier\": \"LBL-33CC\",\n            \"productTrackingNumber\": \"94BC8\",\n            \"deviceType\": \"QR_CODE\"\n          }\n        ],\n        \"useLocalLatLng\": true\n      }\n    ],\n    \"tags\": [\n      \"temp\",\n      \"field2\",\n      \"Inbound\"\n    ]\n  }\n}`)\n\n  client := &http.Client {\n  }\n  req, err := http.NewRequest(method, url, payload)\n\n  if err != nil {\n    fmt.Println(err)\n    return\n  }\n  req.Header.Add(\"Content-Type\", \"application/json\")\n  req.Header.Add(\"apikey\", \"REPLACE_KEY_VALUE\")\n\n  res, err := client.Do(req)\n  if err != nil {\n    fmt.Println(err)\n    return\n  }\n  defer res.Body.Close()\n\n  body, err := ioutil.ReadAll(res.Body)\n  if err != nil {\n    fmt.Println(err)\n    return\n  }\n  fmt.Println(string(body))\n}",
        "customLabel": ""
      },
      {
        "id": "q34hJ2UOkSJpt5ELPMpCI",
        "language": "ruby",
        "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"https://api-staging.fourkites.com/api/v1/tracking\")\n\nhttps = Net::HTTP.new(url.host, url.port)\nhttps.use_ssl = true\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"Content-Type\"] = \"application/json\"\nrequest[\"apikey\"] = \"REPLACE_KEY_VALUE\"\nrequest.body = JSON.dump({\n  \"trackingInfo\": {\n    \"driverPhone\": \"\",\n    \"truckNumber\": \"\",\n    \"railEquipmentInitials\": \"RAIL\",\n    \"railEquipmentNumber\": \"654405\",\n    \"wagonNumber\": \"qwerty123\"\n  },\n  \"load\": {\n    \"loadNumber\": \"TestRail05_1\",\n    \"skipAppointmentTimeValidation\": true,\n    \"priority\": \"normal\",\n    \"carrier\": \"cc79\",\n    \"carrierPermalink\": \"support-carrier-production\",\n    \"carrierName\": \"Support Carrier (Production)\",\n    \"masterSequenceNumber\": \"1\",\n    \"masterReferenceNumber\": \"7328623\",\n    \"referenceNumbers\": [\n      \"TU-2945\",\n      \"80982\",\n      \"94BC8\"\n    ],\n    \"shipper\": nil,\n    \"products\": [],\n    \"stops\": [\n      {\n        \"stopType\": \"pickup\",\n        \"completeAddress\": \"Chennai, TN - 600003, IN\",\n        \"city\": \"Chennai\",\n        \"state\": \"TN\",\n        \"country\": \"IN\",\n        \"customer\": {\n          \"poNumbers\": [\n            \"00210123OF-203503\"\n          ]\n        },\n        \"postalCode\": nil,\n        \"latitude\": 13.0816437,\n        \"longitude\": 80.2752316,\n        \"geofencePoints\": [],\n        \"appointmentTime\": \"2024-08-20T07:35:00.000Z\",\n        \"wantTime\": nil,\n        \"earliestWantTime\": nil,\n        \"latestWantTime\": nil,\n        \"transportationMode\": nil,\n        \"useLocalLatLng\": true,\n        \"StopReferenceNumber\": \"7085568349\",\n        \"pallets\": [\n          {\n            \"number\": \"PAL-001\",\n            \"parts\": [\n              {\n                \"quantity\": \"25\",\n                \"shipperPartNumber\": \"22EE\",\n                \"weight\": \"7.998\"\n              }\n            ]\n          }\n        ],\n        \"productLineItems\": [\n          {\n            \"productId\": \"0123456\",\n            \"productName\": \"Rail Freight Item\",\n            \"productDescription\": \"Rail/intermodal freight shipment item\",\n            \"productCategory\": \"General Freight\",\n            \"quantity\": 25,\n            \"measurementUnitCode\": \"PCE\",\n            \"netWeight\": 44.8,\n            \"weightUnit\": \"KGM\",\n            \"unitCost\": 25.0,\n            \"currencyCode\": \"USD\",\n            \"extendedCost\": 625.00,\n            \"freightCost\": 20.00,\n            \"bestBeforeDate\": \"2026-04-25T00:00:00Z\",\n            \"additionalCharges\": 5.00,\n            \"tariffCost\": 2.50,\n            \"fourKitesCalculatedTariffCost\": 2.50,\n            \"totalLandedCost\": 655.00,\n            \"countryOfOrigin\": \"IN\",\n            \"harmonizedSystemCode\": \"8607911000\",\n            \"commodityTypeCode\": \"RAIL_FREIGHT\",\n            \"htsusCode\": \"8607911000\",\n            \"orderNumber\": \"TU-2945\",\n            \"deliveryNumber\": \"DN-7085568349\",\n            \"handlingUnitId\": \"PAL-001\",\n            \"barcode\": \"PAL001\",\n            \"containerType\": \"pallet\",\n            \"gtin\": \"00012345678905\",\n            \"customerPartNumber\": \"22EE\",\n            \"supplierPartNumber\": \"22EE\",\n            \"manufacturerPartNumber\": \"MFG-22EE\",\n            \"itemNumber\": \"ITM-22EE\",\n            \"productUpc\": \"012345678905\",\n            \"deliveryReferences\": [\"DEL-REF-001\"],\n            \"orderReferences\": [\"TU-2945\"],\n            \"brandName\": \"Generic Rail Freight Co\",\n            \"minimumTemperature\": 0,\n            \"maximumTemperature\": 0,\n            \"temperatureUnitCode\": \"cel\",\n            \"labelIdentifier\": \"LBL-22EE\",\n            \"productTrackingNumber\": \"7085568349\",\n            \"deviceType\": \"RFID_TAG\"\n          }\n        ]\n      },\n      {\n        \"stopType\": \"delivery\",\n        \"completeAddress\": \"Bengaluru, KA - 560002, IN\",\n        \"city\": \"Bengaluru\",\n        \"state\": \"KA\",\n        \"country\": \"IN\",\n        \"postalCode\": \"78738\",\n        \"latitude\": 12.96643,\n        \"longitude\": 77.58718,\n        \"geofencePoints\": [],\n        \"appointmentTime\": \"2024-08-29T07:35:00.000Z\",\n        \"wantTime\": nil,\n        \"earliestWantTime\": nil,\n        \"latestWantTime\": nil,\n        \"transportationMode\": nil,\n        \"addressType\": \"\",\n        \"pallets\": [\n          {\n            \"number\": \"PAL-002\",\n            \"parts\": [\n              {\n                \"quantity\": \"25\",\n                \"shipperPartNumber\": \"22EE\",\n                \"weight\": \"7.998\"\n              }\n            ]\n          }\n        ],\n        \"productLineItems\": [\n          {\n            \"productId\": \"0123456\",\n            \"productName\": \"Rail Freight Item\",\n            \"productDescription\": \"Rail/intermodal freight shipment item\",\n            \"productCategory\": \"General Freight\",\n            \"quantity\": 25,\n            \"measurementUnitCode\": \"PCE\",\n            \"netWeight\": 44.8,\n            \"weightUnit\": \"KGM\",\n            \"unitCost\": 25.0,\n            \"currencyCode\": \"USD\",\n            \"extendedCost\": 625.00,\n            \"freightCost\": 20.00,\n            \"additionalCharges\": 5.00,\n            \"tariffCost\": 2.50,\n            \"fourKitesCalculatedTariffCost\": 2.50,\n            \"totalLandedCost\": 655.00,\n            \"countryOfOrigin\": \"IN\",\n            \"harmonizedSystemCode\": \"8607911000\",\n            \"commodityTypeCode\": \"RAIL_FREIGHT\",\n            \"htsusCode\": \"8607911000\",\n            \"orderNumber\": \"80982\",\n            \"deliveryNumber\": \"DN-PAL002\",\n            \"handlingUnitId\": \"PAL-002\",\n            \"barcode\": \"PAL002\",\n            \"containerType\": \"pallet\",\n            \"gtin\": \"00012345678912\",\n            \"customerPartNumber\": \"33CC\",\n            \"supplierPartNumber\": \"33CC\",\n            \"manufacturerPartNumber\": \"MFG-33CC\",\n            \"itemNumber\": \"ITM-33CC\",\n            \"productUpc\": \"012345678912\",\n            \"deliveryReferences\": [\"DEL-REF-002\"],\n            \"orderReferences\": [\"80982\"],\n            \"brandName\": \"Generic Rail Freight Co\",\n            \"minimumTemperature\": 0,\n            \"maximumTemperature\": 0,\n            \"temperatureUnitCode\": \"cel\",\n            \"labelIdentifier\": \"LBL-33CC\",\n            \"productTrackingNumber\": \"94BC8\",\n            \"deviceType\": \"QR_CODE\"\n          }\n        ],\n        \"useLocalLatLng\": true\n      }\n    ],\n    \"tags\": [\n      \"temp\",\n      \"field2\",\n      \"Inbound\"\n    ]\n  }\n})\n\nresponse = https.request(request)\nputs response.read_body\n",
        "customLabel": ""
      },
      {
        "id": "QE6Bi_j_PqL8ARv5idGmE",
        "language": "python",
        "code": "import http.client\nimport json\n\nconn = http.client.HTTPSConnection(\"api-stagu.fourkites.com\")\npayload = json.dumps({\n  \"trackingInfo\": {\n    \"driverPhone\": \"\",\n    \"truckNumber\": \"\",\n    \"railEquipmentInitials\": \"RAIL\",\n    \"railEquipmentNumber\": \"654405\",\n    \"wagonNumber\": \"qwerty123\"\n  },\n  \"load\": {\n    \"loadNumber\": \"TestRail05_1\",\n    \"skipAppointmentTimeValidation\": True,\n    \"priority\": \"normal\",\n    \"carrier\": \"cc79\",\n    \"carrierPermalink\": \"support-carrier-production\",\n    \"carrierName\": \"Support Carrier (Production)\",\n    \"masterSequenceNumber\": \"1\",\n    \"masterReferenceNumber\": \"7328623\",\n    \"referenceNumbers\": [\n      \"TU-2945\",\n      \"80982\",\n      \"94BC8\"\n    ],\n    \"shipper\": None,\n    \"products\": [],\n    \"stops\": [\n      {\n        \"stopType\": \"pickup\",\n        \"completeAddress\": \"Chennai, TN - 600003, IN\",\n        \"city\": \"Chennai\",\n        \"state\": \"TN\",\n        \"country\": \"IN\",\n        \"customer\": {\n          \"poNumbers\": [\n            \"00210123OF-203503\"\n          ]\n        },\n        \"postalCode\": None,\n        \"latitude\": 13.0816437,\n        \"longitude\": 80.2752316,\n        \"geofencePoints\": [],\n        \"appointmentTime\": \"2024-08-20T07:35:00.000Z\",\n        \"wantTime\": None,\n        \"earliestWantTime\": None,\n        \"latestWantTime\": None,\n        \"transportationMode\": None,\n        \"useLocalLatLng\": True,\n        \"StopReferenceNumber\": \"7085568349\",\n        \"pallets\": [\n          {\n            \"number\": \"PAL-001\",\n            \"parts\": [\n              {\n                \"quantity\": \"25\",\n                \"shipperPartNumber\": \"22EE\",\n                \"weight\": \"7.998\"\n              }\n            ]\n          }\n        ],\n        \"productLineItems\": [\n          {\n            \"productId\": \"0123456\",\n            \"productName\": \"Rail Freight Item\",\n            \"productDescription\": \"Rail/intermodal freight shipment item\",\n            \"productCategory\": \"General Freight\",\n            \"quantity\": 25,\n            \"measurementUnitCode\": \"PCE\",\n            \"netWeight\": 44.8,\n            \"weightUnit\": \"KGM\",\n            \"unitCost\": 25.0,\n            \"currencyCode\": \"USD\",\n            \"extendedCost\": 625.00,\n            \"freightCost\": 20.00,\n            \"bestBeforeDate\": \"2026-04-25T00:00:00Z\",\n            \"additionalCharges\": 5.00,\n            \"tariffCost\": 2.50,\n            \"fourKitesCalculatedTariffCost\": 2.50,\n            \"totalLandedCost\": 655.00,\n            \"countryOfOrigin\": \"IN\",\n            \"harmonizedSystemCode\": \"8607911000\",\n            \"commodityTypeCode\": \"RAIL_FREIGHT\",\n            \"htsusCode\": \"8607911000\",\n            \"orderNumber\": \"TU-2945\",\n            \"deliveryNumber\": \"DN-7085568349\",\n            \"handlingUnitId\": \"PAL-001\",\n            \"barcode\": \"PAL001\",\n            \"containerType\": \"pallet\",\n            \"gtin\": \"00012345678905\",\n            \"customerPartNumber\": \"22EE\",\n            \"supplierPartNumber\": \"22EE\",\n            \"manufacturerPartNumber\": \"MFG-22EE\",\n            \"itemNumber\": \"ITM-22EE\",\n            \"productUpc\": \"012345678905\",\n            \"deliveryReferences\": [\"DEL-REF-001\"],\n            \"orderReferences\": [\"TU-2945\"],\n            \"brandName\": \"Generic Rail Freight Co\",\n            \"minimumTemperature\": 0,\n            \"maximumTemperature\": 0,\n            \"temperatureUnitCode\": \"cel\",\n            \"labelIdentifier\": \"LBL-22EE\",\n            \"productTrackingNumber\": \"7085568349\",\n            \"deviceType\": \"RFID_TAG\"\n          }\n        ]\n      },\n      {\n        \"stopType\": \"delivery\",\n        \"completeAddress\": \"Bengaluru, KA - 560002, IN\",\n        \"city\": \"Bengaluru\",\n        \"state\": \"KA\",\n        \"country\": \"IN\",\n        \"postalCode\": \"78738\",\n        \"latitude\": 12.96643,\n        \"longitude\": 77.58718,\n        \"geofencePoints\": [],\n        \"appointmentTime\": \"2024-08-29T07:35:00.000Z\",\n        \"wantTime\": None,\n        \"earliestWantTime\": None,\n        \"latestWantTime\": None,\n        \"transportationMode\": None,\n        \"addressType\": \"\",\n        \"pallets\": [\n          {\n            \"number\": \"PAL-002\",\n            \"parts\": [\n              {\n                \"quantity\": \"25\",\n                \"shipperPartNumber\": \"22EE\",\n                \"weight\": \"7.998\"\n              }\n            ]\n          }\n        ],\n        \"productLineItems\": [\n          {\n            \"productId\": \"0123456\",\n            \"productName\": \"Rail Freight Item\",\n            \"productDescription\": \"Rail/intermodal freight shipment item\",\n            \"productCategory\": \"General Freight\",\n            \"quantity\": 25,\n            \"measurementUnitCode\": \"PCE\",\n            \"netWeight\": 44.8,\n            \"weightUnit\": \"KGM\",\n            \"unitCost\": 25.0,\n            \"currencyCode\": \"USD\",\n            \"extendedCost\": 625.00,\n            \"freightCost\": 20.00,\n            \"additionalCharges\": 5.00,\n            \"tariffCost\": 2.50,\n            \"fourKitesCalculatedTariffCost\": 2.50,\n            \"totalLandedCost\": 655.00,\n            \"countryOfOrigin\": \"IN\",\n            \"harmonizedSystemCode\": \"8607911000\",\n            \"commodityTypeCode\": \"RAIL_FREIGHT\",\n            \"htsusCode\": \"8607911000\",\n            \"orderNumber\": \"80982\",\n            \"deliveryNumber\": \"DN-PAL002\",\n            \"handlingUnitId\": \"PAL-002\",\n            \"barcode\": \"PAL002\",\n            \"containerType\": \"pallet\",\n            \"gtin\": \"00012345678912\",\n            \"customerPartNumber\": \"33CC\",\n            \"supplierPartNumber\": \"33CC\",\n            \"manufacturerPartNumber\": \"MFG-33CC\",\n            \"itemNumber\": \"ITM-33CC\",\n            \"productUpc\": \"012345678912\",\n            \"deliveryReferences\": [\"DEL-REF-002\"],\n            \"orderReferences\": [\"80982\"],\n            \"brandName\": \"Generic Rail Freight Co\",\n            \"minimumTemperature\": 0,\n            \"maximumTemperature\": 0,\n            \"temperatureUnitCode\": \"cel\",\n            \"labelIdentifier\": \"LBL-33CC\",\n            \"productTrackingNumber\": \"94BC8\",\n            \"deviceType\": \"QR_CODE\"\n          }\n        ],\n        \"useLocalLatLng\": True\n      }\n    ],\n    \"tags\": [\n      \"temp\",\n      \"field2\",\n      \"Inbound\"\n    ]\n  }\n})\nheaders = {\n  'Content-Type': 'application/json',\n  'apikey': 'REPLACE_KEY_VALUE'\n}\nconn.request(\"POST\", \"/api/v1/tracking\", payload, headers)\nres = conn.getresponse()\ndata = res.read()\nprint(data.decode(\"utf-8\"))",
        "customLabel": ""
      }
    ],
    "selectedLanguageId": "QE6Bi_j_PqL8ARv5idGmE"
  },
  "results": {
    "languages": [
      {
        "id": "qkLkfi1sBo1o2cZPrX5P-",
        "language": "200",
        "customLabel": "",
        "code": "{\n  \"statusCode\": 200,\n  \"message\": \"Load creation request has been submitted successfully\",\n  \"loadId\": 176365311\n}"
      }
    ],
    "selectedLanguageId": "qkLkfi1sBo1o2cZPrX5P-"
  },
  "request": {
    "pathParameters": [],
    "queryParameters": [],
    "headerParameters": [],
    "bodyDataParameters": [
      {
        "name": "trackingInfo",
        "kind": "required",
        "type": "object",
        "description": "It indicates the information required for tracking the load.",
        "children": [
          {
            "name": "driverPhone",
            "kind": "optional",
            "type": "string",
            "description": "It indicates a valid mobile number. Example: +13125555555"
          },
          {
            "name": "truckNumber",
            "kind": "optional",
            "type": "string",
            "description": "It indicates the tractor or asset number dispatched by the carrier for the load."
          },
          {
            "name": "railEquipmentInitials",
            "kind": "optional",
            "type": "string",
            "description": "It indicates the 2 to 4 character rail equipment prefix."
          },
          {
            "name": "railEquipmentNumber",
            "kind": "optional",
            "type": "string",
            "description": "It indicates the load's six character rail container number."
          },
          {
            "name": "wagonNumber",
            "kind": "optional",
            "type": "string",
            "description": "For European Rail loads, the wagonNumber field should be used instead of the railEquipmentInitials and railEquipmentNumber fields as European standards of naming/identifying rail equipments are different than other regions. If your organization intends to track rail shipments in Europe, please contact your implementation manager and request that European rail tracking be enabled along with usage of this field. (CM) This applies to Europe only. If you do not intend to track rail shipments in Europe, this field may be ignored."
          }
        ]
      },
      {
        "name": "load",
        "kind": "required",
        "type": "object",
        "description": "It is the parent object for the load. Place the load attributes inside this object.",
        "children": [
          {
            "name": "loadNumber",
            "kind": "required",
            "type": "string",
            "description": "It is the unique load identifier from shipper's system. The load Number or BOL is an important piece of information used to link the load with truck information received from the Carrier's TMS."
          },
          {
            "name": "priority",
            "kind": "optional",
            "type": "string",
            "description": "It indicates whether a load is of normal or high priority. If priority is set as ‘hot’, the load will be marked as ‘Hot’. Valid values: ‘normal’, ‘high’ and ‘hot’. Defaults to normal. Setting the 'Priority' as 'hot' will mark the load as 'Hot' load."
          },
          {
            "name": "carrier",
            "kind": "optional",
            "type": "string",
            "description": "It is the SCAC or Service Provider ID of the carrier assigned to the load. The carrier should have approved sharing of their telematics data on FourKites® for the customer."
          },
          {
            "name": "carrierPermalink",
            "kind": "required",
            "type": "string",
            "description": "It is the unique identifier for the carrier in the FourKites platform."
          },
          {
            "name": "carrierName",
            "kind": "optional",
            "type": "string",
            "description": "It is the name of the carrier in the FK platform."
          },
          {
            "name": "masterSequenceNumber",
            "kind": "optional",
            "type": "string",
            "description": "It is the unique sequence number that represents the leg of the trip used for Consignment Pooling."
          },
          {
            "name": "masterReferenceNumber",
            "kind": "optional",
            "type": "string",
            "description": "It indicates a common reference number across a group of consignment loads in order to group them. For example, consignmentReferenceNumber: “XAF-BATCH-1”. (Conditional Mandatory)"
          },
          {
            "name": "referenceNumbers",
            "kind": "optional",
            "type": "array",
            "description": "It is the list of load-level reference numbers associated with a load. (CM)"
          },
          {
            "name": "shipper",
            "kind": "optional",
            "type": "string",
            "description": "It is the name of the shipper."
          },
          {
            "name": "products",
            "kind": "optional",
            "type": "string",
            "description": "It indicates the list of temperature tracked products on a load and their temperature tracking information."
          },
          {
            "name": "stops",
            "kind": "required",
            "type": "object",
            "description": "It is the list of stops for the load.",
            "children": [
              {
                "name": "stopType",
                "kind": "required",
                "type": "string",
                "description": "It defines the function of the stop. \tValid values: \"pickup\", \"delivery\", \"transfer\", \"portOfLoading\", \"transshipmentPort\", \"portOfDischarge\". There should be at least one pickup and delivery stop or one transfer (terminal) and one delivery."
              },
              {
                "name": "completeAddress",
                "kind": "optional",
                "type": "string",
                "description": "It indicates the first, second line of the stop's address -- along with city, state, postalCode and country information."
              },
              {
                "name": "city",
                "kind": "required",
                "type": "string",
                "description": "It indicates the name of the city."
              },
              {
                "name": "state",
                "kind": "required",
                "type": "string",
                "description": "it indicates the 2 character state code for US & Canada and 3 Character state code for Mexico."
              },
              {
                "name": "country",
                "kind": "optional",
                "type": "string",
                "description": "It indicates the valid country code."
              },
              {
                "name": "customer",
                "kind": "optional",
                "type": "object",
                "description": "It indicates the customer information for the stop. (CM)",
                "children": [
                  {
                    "name": "poNumbers",
                    "kind": "optional",
                    "type": "string",
                    "description": "It indicates the list of Customer PO Numbers associated with the load's stop. (CM)"
                  }
                ]
              },
              {
                "name": "postalCode",
                "kind": "optional",
                "type": "string",
                "description": "It indicates the valid postal code for the stop."
              },
              {
                "name": "latitude",
                "kind": "optional",
                "type": "string",
                "description": "It indicates the latitude of the stop's location. \tIt is formatted to decimal degrees.The only accepted format of lat/long by FourKites is the \"Decimal Degrees\" format. For example: 41.8781 (lat), -87.6298 (long)."
              },
              {
                "name": "longitude",
                "kind": "optional",
                "type": "string",
                "description": "It indicates the longitude of the stop's location. \tIt is formatted to decimal degrees.The only accepted format of lat/long by FourKites® is the \"Decimal Degrees\" format. For example: 41.8781 (lat), -87.6298 (long)."
              },
              {
                "name": "geofencePoints",
                "kind": "optional",
                "type": "string",
                "description": "It indicates the list of lat/long coordinates of the corners of the polygon geofence around the stop to be used for detecting arrival."
              },
              {
                "name": "appointmentTime",
                "kind": "required",
                "type": "string",
                "description": "It indicates the scheduled appointment time at the stop in the stop's local timezone in ISO 8601 format. ISO 8601 format. Appointment times cannot be more than 4 days in the past from the current time."
              },
              {
                "name": "wantTime",
                "kind": "optional",
                "type": "string",
                "description": "It indicates the time by which the load must be delivered to the consignee in stop's local timezone in ISO 8601 format.  (CM)"
              },
              {
                "name": "earliestWantTime",
                "kind": "optional",
                "type": "string",
                "description": "It indicates the earliest time by which the load must be delivered to the consignee in the stop's local timezone in ISO 8601 format. (CM). If the earliestWantTime is sent, then the latestWantTime must also be sent."
              },
              {
                "name": "latestWantTime",
                "kind": "optional",
                "type": "string",
                "description": "It indicates the latest time by which the load must be delivered to the consignee in the stop's local timezone in ISO 8601 format. (CM). If the latestWantTime is sent, then the earliestWantTime must also be sent."
              },
              {
                "name": "transportationMode",
                "kind": "optional",
                "type": "string",
                "description": "It defines the mode of the load. Valid values: \"TL\", \"LTL\", \"RAIL\", \"OCEAN\", \"PARCEL\""
              },
              {
                "name": "StopReferenceNumber",
                "kind": "optional",
                "type": "string",
                "description": "A unique identifier or reference number associated with a specific stop in the transportation journey. Stop Reference Number is one of the stop identifiers."
              },
              {
                "name": "pallets",
                "kind": "optional",
                "type": "object",
                "description": "It indicates the list of pallets to be delivered at the stop. Each pallet has a pallet number and list of parts.",
                "children": [
                  {
                    "name": "number",
                    "kind": "optional",
                    "type": "string",
                    "description": "It indicates the pallet number."
                  },
                  {
                    "name": "parts",
                    "kind": "optional",
                    "type": "object",
                    "description": "It indicates the list of parts in the pallet.",
                    "children": [
                      {
                        "name": "quantity",
                        "kind": "optional",
                        "type": "string",
                        "description": "It indicates the quantity of the part."
                      },
                      {
                        "name": "shipperPartNumber",
                        "kind": "optional",
                        "type": "string",
                        "description": "It indicates the shipper/manufacturer’s part number."
                      },
                      {
                        "name": "weight",
                        "kind": "optional",
                        "type": "string",
                        "description": "It indicates the weight of the part."
                      }
                    ]
                  }
                ]
              },
              {
                "name": "productLineItems",
                "kind": "optional",
                "type": "object",
                "description": "It is the list of product level details associated with a stop. Replaces the legacy pallets/parts structure going forward.",
                "children": [
                  {
                    "name": "productId",
                    "kind": "required",
                    "type": "string",
                    "description": "Unique identifier for the product. Mandatory if productLineItems object is present"
                  },
                  {
                    "name": "productName",
                    "kind": "optional",
                    "type": "string",
                    "description": "Name of the product"
                  },
                  {
                    "name": "productDescription",
                    "kind": "optional",
                    "type": "string",
                    "description": "Detailed description of the product"
                  },
                  {
                    "name": "productCategory",
                    "kind": "optional",
                    "type": "string",
                    "description": "Category classification of the product"
                  },
                  {
                    "name": "quantity",
                    "kind": "optional",
                    "type": "integer",
                    "description": "Number of units in the shipment"
                  },
                  {
                    "name": "measurementUnitCode",
                    "kind": "optional",
                    "type": "string",
                    "description": "Unit of measurement for quantity (e.g., PCE, KG, LB)"
                  },
                  {
                    "name": "netWeight",
                    "kind": "optional",
                    "type": "string",
                    "description": "Weight of the product excluding packaging"
                  },
                  {
                    "name": "weightUnit",
                    "kind": "optional",
                    "type": "string",
                    "description": "Unit of measurement for weight (e.g., KGM, LBM)"
                  },
                  {
                    "name": "unitCost",
                    "kind": "optional",
                    "type": "number",
                    "description": "Cost per unit of the product"
                  },
                  {
                    "name": "currencyCode",
                    "kind": "optional",
                    "type": "string",
                    "description": "Currency code for cost fields"
                  },
                  {
                    "name": "extendedCost",
                    "kind": "optional",
                    "type": "number",
                    "description": "Total cost for all units (unitCost x quantity)"
                  },
                  {
                    "name": "freightCost",
                    "kind": "optional",
                    "type": "number",
                    "description": "Freight cost allocated to this line item"
                  },
                  {
                    "name": "bestBeforeDate",
                    "kind": "optional",
                    "type": "string",
                    "description": "Expiration or best before date for the product"
                  },
                  {
                    "name": "additionalCharges",
                    "kind": "optional",
                    "type": "number",
                    "description": "Any additional charges specific to this line item"
                  },
                  {
                    "name": "tariffCost",
                    "kind": "optional",
                    "type": "number",
                    "description": "Tariff cost for this specific line item"
                  },
                  {
                    "name": "fourKitesCalculatedTariffCost",
                    "kind": "optional",
                    "type": "number",
                    "description": "System-calculated tariff cost"
                  },
                  {
                    "name": "totalLandedCost",
                    "kind": "optional",
                    "type": "number",
                    "description": "Total landed cost for this line item"
                  },
                  {
                    "name": "countryOfOrigin",
                    "kind": "optional",
                    "type": "string",
                    "description": "Country of origin for this product"
                  },
                  {
                    "name": "harmonizedSystemCode",
                    "kind": "optional",
                    "type": "string",
                    "description": "International trade classification code"
                  },
                  {
                    "name": "commodityTypeCode",
                    "kind": "optional",
                    "type": "string",
                    "description": "Commodity classification code"
                  },
                  {
                    "name": "htsusCode",
                    "kind": "optional",
                    "type": "string",
                    "description": "Harmonized Tariff Schedule code for US imports"
                  },
                  {
                    "name": "orderNumber",
                    "kind": "optional",
                    "type": "string",
                    "description": "Purchase order number"
                  },
                  {
                    "name": "deliveryNumber",
                    "kind": "optional",
                    "type": "string",
                    "description": "Delivery reference number"
                  },
                  {
                    "name": "handlingUnitId",
                    "kind": "optional",
                    "type": "string",
                    "description": "Identifier for the handling unit (pallet, box, etc.)"
                  },
                  {
                    "name": "barcode",
                    "kind": "optional",
                    "type": "string",
                    "description": "Product barcode"
                  },
                  {
                    "name": "containerType",
                    "kind": "optional",
                    "type": "string",
                    "description": "Type of container (pallet, box, carton, etc.)"
                  },
                  {
                    "name": "gtin",
                    "kind": "optional",
                    "type": "string",
                    "description": "Global Trade Item Number"
                  },
                  {
                    "name": "customerPartNumber",
                    "kind": "optional",
                    "type": "string",
                    "description": "Customer's part number for the product"
                  },
                  {
                    "name": "supplierPartNumber",
                    "kind": "optional",
                    "type": "string",
                    "description": "Supplier's part number for the product"
                  },
                  {
                    "name": "manufacturerPartNumber",
                    "kind": "optional",
                    "type": "string",
                    "description": "Manufacturer's part number"
                  },
                  {
                    "name": "itemNumber",
                    "kind": "optional",
                    "type": "string",
                    "description": "Internal item number"
                  },
                  {
                    "name": "productUpc",
                    "kind": "optional",
                    "type": "string",
                    "description": "Universal Product Code"
                  },
                  {
                    "name": "deliveryReferences",
                    "kind": "optional",
                    "type": "string",
                    "description": "Array of delivery reference numbers"
                  },
                  {
                    "name": "orderReferences",
                    "kind": "optional",
                    "type": "string",
                    "description": "Array of order reference numbers"
                  },
                  {
                    "name": "brandName",
                    "kind": "optional",
                    "type": "string",
                    "description": "Brand name of the product"
                  },
                  {
                    "name": "minimumTemperature",
                    "kind": "optional",
                    "type": "integer",
                    "description": "Minimum storage/transport temperature"
                  },
                  {
                    "name": "maximumTemperature",
                    "kind": "optional",
                    "type": "integer",
                    "description": "Maximum storage/transport temperature"
                  },
                  {
                    "name": "temperatureUnitCode",
                    "kind": "optional",
                    "type": "string",
                    "description": "Temperature unit (cel, fah)"
                  },
                  {
                    "name": "labelIdentifier",
                    "kind": "optional",
                    "type": "string",
                    "description": "Label identifier for tracking"
                  },
                  {
                    "name": "productTrackingNumber",
                    "kind": "optional",
                    "type": "string",
                    "description": "Unique tracking number for the product"
                  },
                  {
                    "name": "deviceType",
                    "kind": "optional",
                    "type": "string",
                    "description": "Type of tracking device (RFID_TAG, QR_CODE, etc.)"
                  }
                ]
              }
            ]
          },
          {
            "name": "tags",
            "kind": "optional",
            "type": "array",
            "description": "It is the list of tags or labels to be assigned to a load. Loads can be filtered in FourKites using tags. It is used for assigning categories for the load. A single tag can't exceed 50 characters. Even though we don’t have restrictions on the number of tags, it is advisable to keep total characters of all tags within the count of 255. (CM)"
          }
        ],
        "schema": [
          {
            "name": "loadNumber",
            "kind": "required",
            "type": "string",
            "description": "It is the unique load identifier from shipper's system. The load Number or BOL is an important piece of information used to link the load with truck information received from the Carrier's TMS."
          },
          {
            "name": "priority",
            "kind": "optional",
            "type": "string",
            "description": "It indicates whether a load is of normal or high priority. If priority is set as ‘hot’, the load will be marked as ‘Hot’. Valid values: ‘normal’, ‘high’ and ‘hot’. Defaults to normal. Setting the 'Priority' as 'hot' will mark the load as 'Hot' load."
          },
          {
            "name": "carrier",
            "kind": "optional",
            "type": "string",
            "description": "It is the SCAC or Service Provider ID of the carrier assigned to the load. The carrier should have approved sharing of their telematics data on FourKites® for the customer."
          },
          {
            "name": "carrierPermalink",
            "kind": "required",
            "type": "string",
            "description": "It is the unique identifier for the carrier in the FourKites platform."
          },
          {
            "name": "carrierName",
            "kind": "optional",
            "type": "string",
            "description": "It is the name of the carrier in the FK platform."
          },
          {
            "name": "masterSequenceNumber",
            "kind": "optional",
            "type": "string",
            "description": "It is the unique sequence number that represents the leg of the trip used for Consignment Pooling."
          },
          {
            "name": "masterReferenceNumber",
            "kind": "optional",
            "type": "string",
            "description": "It indicates a common reference number across a group of consignment loads in order to group them. For example, consignmentReferenceNumber: “XAF-BATCH-1”. (Conditional Mandatory)"
          },
          {
            "name": "referenceNumbers",
            "kind": "optional",
            "type": "array",
            "description": "It is the list of load-level reference numbers associated with a load. (CM)"
          },
          {
            "name": "shipper",
            "kind": "optional",
            "type": "string",
            "description": "It is the name of the shipper."
          },
          {
            "name": "products",
            "kind": "optional",
            "type": "string",
            "description": "It indicates the list of temperature tracked products on a load and their temperature tracking information."
          },
          {
            "name": "stops",
            "kind": "required",
            "type": "object",
            "description": "It is the list of stops for the load.",
            "children": [
              {
                "name": "stopType",
                "kind": "required",
                "type": "string",
                "description": "It defines the function of the stop. \tValid values: \"pickup\", \"delivery\", \"transfer\", \"portOfLoading\", \"transshipmentPort\", \"portOfDischarge\". There should be at least one pickup and delivery stop or one transfer (terminal) and one delivery."
              },
              {
                "name": "completeAddress",
                "kind": "optional",
                "type": "string",
                "description": "It indicates the first, second line of the stop's address -- along with city, state, postalCode and country information."
              },
              {
                "name": "city",
                "kind": "required",
                "type": "string",
                "description": "It indicates the name of the city."
              },
              {
                "name": "state",
                "kind": "required",
                "type": "string",
                "description": "it indicates the 2 character state code for US & Canada and 3 Character state code for Mexico."
              },
              {
                "name": "country",
                "kind": "optional",
                "type": "string",
                "description": "It indicates the valid country code."
              },
              {
                "name": "customer",
                "kind": "optional",
                "type": "object",
                "description": "It indicates the customer information for the stop. (CM)",
                "children": [
                  {
                    "name": "poNumbers",
                    "kind": "optional",
                    "type": "string",
                    "description": "It indicates the list of Customer PO Numbers associated with the load's stop. (CM)"
                  }
                ]
              },
              {
                "name": "postalCode",
                "kind": "optional",
                "type": "string",
                "description": "It indicates the valid postal code for the stop."
              },
              {
                "name": "latitude",
                "kind": "optional",
                "type": "string",
                "description": "It indicates the latitude of the stop's location. \tIt is formatted to decimal degrees.The only accepted format of lat/long by FourKites is the \"Decimal Degrees\" format. For example: 41.8781 (lat), -87.6298 (long)."
              },
              {
                "name": "longitude",
                "kind": "optional",
                "type": "string",
                "description": "It indicates the longitude of the stop's location. \tIt is formatted to decimal degrees.The only accepted format of lat/long by FourKites® is the \"Decimal Degrees\" format. For example: 41.8781 (lat), -87.6298 (long)."
              },
              {
                "name": "geofencePoints",
                "kind": "optional",
                "type": "string",
                "description": "It indicates the list of lat/long coordinates of the corners of the polygon geofence around the stop to be used for detecting arrival."
              },
              {
                "name": "appointmentTime",
                "kind": "required",
                "type": "string",
                "description": "It indicates the scheduled appointment time at the stop in the stop's local timezone in ISO 8601 format. ISO 8601 format. Appointment times cannot be more than 4 days in the past from the current time."
              },
              {
                "name": "wantTime",
                "kind": "optional",
                "type": "string",
                "description": "It indicates the time by which the load must be delivered to the consignee in stop's local timezone in ISO 8601 format.  (CM)"
              },
              {
                "name": "earliestWantTime",
                "kind": "optional",
                "type": "string",
                "description": "It indicates the earliest time by which the load must be delivered to the consignee in the stop's local timezone in ISO 8601 format. (CM). If the earliestWantTime is sent, then the latestWantTime must also be sent."
              },
              {
                "name": "latestWantTime",
                "kind": "optional",
                "type": "string",
                "description": "It indicates the latest time by which the load must be delivered to the consignee in the stop's local timezone in ISO 8601 format. (CM). If the latestWantTime is sent, then the earliestWantTime must also be sent."
              },
              {
                "name": "transportationMode",
                "kind": "optional",
                "type": "string",
                "description": "It defines the mode of the load. Valid values: \"TL\", \"LTL\", \"RAIL\", \"OCEAN\", \"PARCEL\""
              },
              {
                "name": "StopReferenceNumber",
                "kind": "optional",
                "type": "string",
                "description": "A unique identifier or reference number associated with a specific stop in the transportation journey. Stop Reference Number is one of the stop identifiers."
              },
              {
                "name": "pallets",
                "kind": "optional",
                "type": "object",
                "description": "It indicates the list of pallets to be delivered at the stop. Each pallet has a pallet number and list of parts.",
                "children": [
                  {
                    "name": "number",
                    "kind": "optional",
                    "type": "string",
                    "description": "It indicates the pallet number."
                  },
                  {
                    "name": "parts",
                    "kind": "optional",
                    "type": "object",
                    "description": "It indicates the list of parts in the pallet.",
                    "children": [
                      {
                        "name": "quantity",
                        "kind": "optional",
                        "type": "string",
                        "description": "It indicates the quantity of the part."
                      },
                      {
                        "name": "shipperPartNumber",
                        "kind": "optional",
                        "type": "string",
                        "description": "It indicates the shipper/manufacturer’s part number."
                      },
                      {
                        "name": "weight",
                        "kind": "optional",
                        "type": "string",
                        "description": "It indicates the weight of the part."
                      }
                    ]
                  }
                ]
              },
              {
                "name": "productLineItems",
                "kind": "optional",
                "type": "object",
                "description": "It is the list of product level details associated with a stop. Replaces the legacy pallets/parts structure going forward.",
                "children": [
                  {
                    "name": "productId",
                    "kind": "required",
                    "type": "string",
                    "description": "Unique identifier for the product. Mandatory if productLineItems object is present"
                  },
                  {
                    "name": "productName",
                    "kind": "optional",
                    "type": "string",
                    "description": "Name of the product"
                  },
                  {
                    "name": "productDescription",
                    "kind": "optional",
                    "type": "string",
                    "description": "Detailed description of the product"
                  },
                  {
                    "name": "productCategory",
                    "kind": "optional",
                    "type": "string",
                    "description": "Category classification of the product"
                  },
                  {
                    "name": "quantity",
                    "kind": "optional",
                    "type": "integer",
                    "description": "Number of units in the shipment"
                  },
                  {
                    "name": "measurementUnitCode",
                    "kind": "optional",
                    "type": "string",
                    "description": "Unit of measurement for quantity (e.g., PCE, KG, LB)"
                  },
                  {
                    "name": "netWeight",
                    "kind": "optional",
                    "type": "string",
                    "description": "Weight of the product excluding packaging"
                  },
                  {
                    "name": "weightUnit",
                    "kind": "optional",
                    "type": "string",
                    "description": "Unit of measurement for weight (e.g., KGM, LBM)"
                  },
                  {
                    "name": "unitCost",
                    "kind": "optional",
                    "type": "number",
                    "description": "Cost per unit of the product"
                  },
                  {
                    "name": "currencyCode",
                    "kind": "optional",
                    "type": "string",
                    "description": "Currency code for cost fields"
                  },
                  {
                    "name": "extendedCost",
                    "kind": "optional",
                    "type": "number",
                    "description": "Total cost for all units (unitCost x quantity)"
                  },
                  {
                    "name": "freightCost",
                    "kind": "optional",
                    "type": "number",
                    "description": "Freight cost allocated to this line item"
                  },
                  {
                    "name": "bestBeforeDate",
                    "kind": "optional",
                    "type": "string",
                    "description": "Expiration or best before date for the product"
                  },
                  {
                    "name": "additionalCharges",
                    "kind": "optional",
                    "type": "number",
                    "description": "Any additional charges specific to this line item"
                  },
                  {
                    "name": "tariffCost",
                    "kind": "optional",
                    "type": "number",
                    "description": "Tariff cost for this specific line item"
                  },
                  {
                    "name": "fourKitesCalculatedTariffCost",
                    "kind": "optional",
                    "type": "number",
                    "description": "System-calculated tariff cost"
                  },
                  {
                    "name": "totalLandedCost",
                    "kind": "optional",
                    "type": "number",
                    "description": "Total landed cost for this line item"
                  },
                  {
                    "name": "countryOfOrigin",
                    "kind": "optional",
                    "type": "string",
                    "description": "Country of origin for this product"
                  },
                  {
                    "name": "harmonizedSystemCode",
                    "kind": "optional",
                    "type": "string",
                    "description": "International trade classification code"
                  },
                  {
                    "name": "commodityTypeCode",
                    "kind": "optional",
                    "type": "string",
                    "description": "Commodity classification code"
                  },
                  {
                    "name": "htsusCode",
                    "kind": "optional",
                    "type": "string",
                    "description": "Harmonized Tariff Schedule code for US imports"
                  },
                  {
                    "name": "orderNumber",
                    "kind": "optional",
                    "type": "string",
                    "description": "Purchase order number"
                  },
                  {
                    "name": "deliveryNumber",
                    "kind": "optional",
                    "type": "string",
                    "description": "Delivery reference number"
                  },
                  {
                    "name": "handlingUnitId",
                    "kind": "optional",
                    "type": "string",
                    "description": "Identifier for the handling unit (pallet, box, etc.)"
                  },
                  {
                    "name": "barcode",
                    "kind": "optional",
                    "type": "string",
                    "description": "Product barcode"
                  },
                  {
                    "name": "containerType",
                    "kind": "optional",
                    "type": "string",
                    "description": "Type of container (pallet, box, carton, etc.)"
                  },
                  {
                    "name": "gtin",
                    "kind": "optional",
                    "type": "string",
                    "description": "Global Trade Item Number"
                  },
                  {
                    "name": "customerPartNumber",
                    "kind": "optional",
                    "type": "string",
                    "description": "Customer's part number for the product"
                  },
                  {
                    "name": "supplierPartNumber",
                    "kind": "optional",
                    "type": "string",
                    "description": "Supplier's part number for the product"
                  },
                  {
                    "name": "manufacturerPartNumber",
                    "kind": "optional",
                    "type": "string",
                    "description": "Manufacturer's part number"
                  },
                  {
                    "name": "itemNumber",
                    "kind": "optional",
                    "type": "string",
                    "description": "Internal item number"
                  },
                  {
                    "name": "productUpc",
                    "kind": "optional",
                    "type": "string",
                    "description": "Universal Product Code"
                  },
                  {
                    "name": "deliveryReferences",
                    "kind": "optional",
                    "type": "string",
                    "description": "Array of delivery reference numbers"
                  },
                  {
                    "name": "orderReferences",
                    "kind": "optional",
                    "type": "string",
                    "description": "Array of order reference numbers"
                  },
                  {
                    "name": "brandName",
                    "kind": "optional",
                    "type": "string",
                    "description": "Brand name of the product"
                  },
                  {
                    "name": "minimumTemperature",
                    "kind": "optional",
                    "type": "integer",
                    "description": "Minimum storage/transport temperature"
                  },
                  {
                    "name": "maximumTemperature",
                    "kind": "optional",
                    "type": "integer",
                    "description": "Maximum storage/transport temperature"
                  },
                  {
                    "name": "temperatureUnitCode",
                    "kind": "optional",
                    "type": "string",
                    "description": "Temperature unit (cel, fah)"
                  },
                  {
                    "name": "labelIdentifier",
                    "kind": "optional",
                    "type": "string",
                    "description": "Label identifier for tracking"
                  },
                  {
                    "name": "productTrackingNumber",
                    "kind": "optional",
                    "type": "string",
                    "description": "Unique tracking number for the product"
                  },
                  {
                    "name": "deviceType",
                    "kind": "optional",
                    "type": "string",
                    "description": "Type of tracking device (RFID_TAG, QR_CODE, etc.)"
                  }
                ]
              }
            ]
          },
          {
            "name": "tags",
            "kind": "optional",
            "type": "array",
            "description": "It is the list of tags or labels to be assigned to a load. Loads can be filtered in FourKites using tags. It is used for assigning categories for the load. A single tag can't exceed 50 characters. Even though we don’t have restrictions on the number of tags, it is advisable to keep total characters of all tags within the count of 255. (CM)"
          }
        ]
      }
    ],
    "formDataParameters": []
  },
  "currentNewParameter": {
    "label": "Body Parameter",
    "value": "bodyDataParameters"
  },
  "hasTryItOut": false,
  "autoGeneratedAnchorSlug": "staging",
  "legacyHash": "YRvKzwT06VCE21WN6olFj"
}
```
:::

:::ApiMethodV2
```json
{
  "name": "Azure - Production",
  "method": "POST",
  "url": "https://api.ng.fourkites.com/api/v1/tracking",
  "description": "",
  "tab": "examples",
  "examples": {
    "languages": [
      {
        "id": "Oz5hW9DYWl5uJH6otuM0s",
        "language": "curl",
        "code": "curl --location 'https://api.ng.fourkites.com/api/v1/tracking' \\\n--header 'Content-Type: application/json' \\\n--header 'apikey: REPLACE_KEY_VALUE' \\\n--data '{\n  \"trackingInfo\": {\n    \"driverPhone\": \"\",\n    \"truckNumber\": \"\",\n    \"railEquipmentInitials\": \"RAIL\",\n    \"railEquipmentNumber\": \"654405\",\n    \"wagonNumber\": \"qwerty123\"\n  },\n  \"load\": {\n    \"loadNumber\": \"TestRail05_1\",\n    \"skipAppointmentTimeValidation\": true,\n    \"priority\": \"normal\",\n    \"carrier\": \"cc79\",\n    \"carrierPermalink\": \"support-carrier-production\",\n    \"carrierName\": \"Support Carrier (Production)\",\n    \"masterSequenceNumber\": \"1\",\n    \"masterReferenceNumber\": \"7328623\",\n    \"referenceNumbers\": [\n      \"TU-2945\",\n      \"80982\",\n      \"94BC8\"\n    ],\n    \"shipper\": null,\n    \"products\": [],\n    \"stops\": [\n      {\n        \"stopType\": \"pickup\",\n        \"completeAddress\": \"Chennai, TN - 600003, IN\",\n        \"city\": \"Chennai\",\n        \"state\": \"TN\",\n        \"country\": \"IN\",\n        \"customer\": {\n          \"poNumbers\": [\n            \"00210123OF-203503\"\n          ]\n        },\n        \"postalCode\": null,\n        \"latitude\": 13.0816437,\n        \"longitude\": 80.2752316,\n        \"geofencePoints\": [],\n        \"appointmentTime\": \"2024-08-20T07:35:00.000Z\",\n        \"wantTime\": null,\n        \"earliestWantTime\": null,\n        \"latestWantTime\": null,\n        \"transportationMode\": null,\n        \"useLocalLatLng\": true,\n        \"StopReferenceNumber\": \"7085568349\",\n        \"pallets\": [\n          {\n            \"number\": \"PAL-001\",\n            \"parts\": [\n              {\n                \"quantity\": \"25\",\n                \"shipperPartNumber\": \"22EE\",\n                \"weight\": \"7.998\"\n              }\n            ]\n          }\n        ],\n        \"productLineItems\": [\n          {\n            \"productId\": \"0123456\",\n            \"productName\": \"Rail Freight Item\",\n            \"productDescription\": \"Rail/intermodal freight shipment item\",\n            \"productCategory\": \"General Freight\",\n            \"quantity\": 25,\n            \"measurementUnitCode\": \"PCE\",\n            \"netWeight\": 44.8,\n            \"weightUnit\": \"KGM\",\n            \"unitCost\": 25.0,\n            \"currencyCode\": \"USD\",\n            \"extendedCost\": 625.00,\n            \"freightCost\": 20.00,\n            \"bestBeforeDate\": \"2026-04-25T00:00:00Z\",\n            \"additionalCharges\": 5.00,\n            \"tariffCost\": 2.50,\n            \"fourKitesCalculatedTariffCost\": 2.50,\n            \"totalLandedCost\": 655.00,\n            \"countryOfOrigin\": \"IN\",\n            \"harmonizedSystemCode\": \"8607911000\",\n            \"commodityTypeCode\": \"RAIL_FREIGHT\",\n            \"htsusCode\": \"8607911000\",\n            \"orderNumber\": \"TU-2945\",\n            \"deliveryNumber\": \"DN-7085568349\",\n            \"handlingUnitId\": \"PAL-001\",\n            \"barcode\": \"PAL001\",\n            \"containerType\": \"pallet\",\n            \"gtin\": \"00012345678905\",\n            \"customerPartNumber\": \"22EE\",\n            \"supplierPartNumber\": \"22EE\",\n            \"manufacturerPartNumber\": \"MFG-22EE\",\n            \"itemNumber\": \"ITM-22EE\",\n            \"productUpc\": \"012345678905\",\n            \"deliveryReferences\": [\"DEL-REF-001\"],\n            \"orderReferences\": [\"TU-2945\"],\n            \"brandName\": \"Generic Rail Freight Co\",\n            \"minimumTemperature\": 0,\n            \"maximumTemperature\": 0,\n            \"temperatureUnitCode\": \"cel\",\n            \"labelIdentifier\": \"LBL-22EE\",\n            \"productTrackingNumber\": \"7085568349\",\n            \"deviceType\": \"RFID_TAG\"\n          }\n        ]\n      },\n      {\n        \"stopType\": \"delivery\",\n        \"completeAddress\": \"Bengaluru, KA - 560002, IN\",\n        \"city\": \"Bengaluru\",\n        \"state\": \"KA\",\n        \"country\": \"IN\",\n        \"postalCode\": \"78738\",\n        \"latitude\": 12.96643,\n        \"longitude\": 77.58718,\n        \"geofencePoints\": [],\n        \"appointmentTime\": \"2024-08-29T07:35:00.000Z\",\n        \"wantTime\": null,\n        \"earliestWantTime\": null,\n        \"latestWantTime\": null,\n        \"transportationMode\": null,\n        \"addressType\": \"\",\n        \"pallets\": [\n          {\n            \"number\": \"PAL-002\",\n            \"parts\": [\n              {\n                \"quantity\": \"25\",\n                \"shipperPartNumber\": \"22EE\",\n                \"weight\": \"7.998\"\n              }\n            ]\n          }\n        ],\n        \"productLineItems\": [\n          {\n            \"productId\": \"0123456\",\n            \"productName\": \"Rail Freight Item\",\n            \"productDescription\": \"Rail/intermodal freight shipment item\",\n            \"productCategory\": \"General Freight\",\n            \"quantity\": 25,\n            \"measurementUnitCode\": \"PCE\",\n            \"netWeight\": 44.8,\n            \"weightUnit\": \"KGM\",\n            \"unitCost\": 25.0,\n            \"currencyCode\": \"USD\",\n            \"extendedCost\": 625.00,\n            \"freightCost\": 20.00,\n            \"additionalCharges\": 5.00,\n            \"tariffCost\": 2.50,\n            \"fourKitesCalculatedTariffCost\": 2.50,\n            \"totalLandedCost\": 655.00,\n            \"countryOfOrigin\": \"IN\",\n            \"harmonizedSystemCode\": \"8607911000\",\n            \"commodityTypeCode\": \"RAIL_FREIGHT\",\n            \"htsusCode\": \"8607911000\",\n            \"orderNumber\": \"80982\",\n            \"deliveryNumber\": \"DN-PAL002\",\n            \"handlingUnitId\": \"PAL-002\",\n            \"barcode\": \"PAL002\",\n            \"containerType\": \"pallet\",\n            \"gtin\": \"00012345678912\",\n            \"customerPartNumber\": \"33CC\",\n            \"supplierPartNumber\": \"33CC\",\n            \"manufacturerPartNumber\": \"MFG-33CC\",\n            \"itemNumber\": \"ITM-33CC\",\n            \"productUpc\": \"012345678912\",\n            \"deliveryReferences\": [\"DEL-REF-002\"],\n            \"orderReferences\": [\"80982\"],\n            \"brandName\": \"Generic Rail Freight Co\",\n            \"minimumTemperature\": 0,\n            \"maximumTemperature\": 0,\n            \"temperatureUnitCode\": \"cel\",\n            \"labelIdentifier\": \"LBL-33CC\",\n            \"productTrackingNumber\": \"94BC8\",\n            \"deviceType\": \"QR_CODE\"\n          }\n        ],\n        \"useLocalLatLng\": true\n      }\n    ],\n    \"tags\": [\n      \"temp\",\n      \"field2\",\n      \"Inbound\"\n    ]\n  }\n}'",
        "customLabel": ""
      },
      {
        "id": "BaKuc0unzRLfeYfHFtiM6",
        "language": "java",
        "code": "OkHttpClient client = new OkHttpClient().newBuilder()\n  .build();\nMediaType mediaType = MediaType.parse(\"application/json\");\nRequestBody body = RequestBody.create(mediaType, \"{\\n  \\\"trackingInfo\\\": {\\n    \\\"driverPhone\\\": \\\"\\\",\\n    \\\"truckNumber\\\": \\\"\\\",\\n    \\\"railEquipmentInitials\\\": \\\"RAIL\\\",\\n    \\\"railEquipmentNumber\\\": \\\"654405\\\",\\n    \\\"wagonNumber\\\": \\\"qwerty123\\\"\\n  },\\n  \\\"load\\\": {\\n    \\\"loadNumber\\\": \\\"TestRail05_1\\\",\\n    \\\"skipAppointmentTimeValidation\\\": true,\\n    \\\"priority\\\": \\\"normal\\\",\\n    \\\"carrier\\\": \\\"cc79\\\",\\n    \\\"carrierPermalink\\\": \\\"support-carrier-production\\\",\\n    \\\"carrierName\\\": \\\"Support Carrier (Production)\\\",\\n    \\\"masterSequenceNumber\\\": \\\"1\\\",\\n    \\\"masterReferenceNumber\\\": \\\"7328623\\\",\\n    \\\"referenceNumbers\\\": [\\n      \\\"TU-2945\\\",\\n      \\\"80982\\\",\\n      \\\"94BC8\\\"\\n    ],\\n    \\\"shipper\\\": null,\\n    \\\"products\\\": [],\\n    \\\"stops\\\": [\\n      {\\n        \\\"stopType\\\": \\\"pickup\\\",\\n        \\\"completeAddress\\\": \\\"Chennai, TN - 600003, IN\\\",\\n        \\\"city\\\": \\\"Chennai\\\",\\n        \\\"state\\\": \\\"TN\\\",\\n        \\\"country\\\": \\\"IN\\\",\\n        \\\"customer\\\": {\\n          \\\"poNumbers\\\": [\\n            \\\"00210123OF-203503\\\"\\n          ]\\n        },\\n        \\\"postalCode\\\": null,\\n        \\\"latitude\\\": 13.0816437,\\n        \\\"longitude\\\": 80.2752316,\\n        \\\"geofencePoints\\\": [],\\n        \\\"appointmentTime\\\": \\\"2024-08-20T07:35:00.000Z\\\",\\n        \\\"wantTime\\\": null,\\n        \\\"earliestWantTime\\\": null,\\n        \\\"latestWantTime\\\": null,\\n        \\\"transportationMode\\\": null,\\n        \\\"useLocalLatLng\\\": true,\\n        \\\"StopReferenceNumber\\\": \\\"7085568349\\\",\\n        \\\"pallets\\\": [\\n          {\\n            \\\"number\\\": \\\"PAL-001\\\",\\n            \\\"parts\\\": [\\n              {\\n                \\\"quantity\\\": \\\"25\\\",\\n                \\\"shipperPartNumber\\\": \\\"22EE\\\",\\n                \\\"weight\\\": \\\"7.998\\\"\\n              }\\n            ]\\n          }\\n        ],\\n        \\\"productLineItems\\\": [\\n          {\\n            \\\"productId\\\": \\\"0123456\\\",\\n            \\\"productName\\\": \\\"Rail Freight Item\\\",\\n            \\\"productDescription\\\": \\\"Rail/intermodal freight shipment item\\\",\\n            \\\"productCategory\\\": \\\"General Freight\\\",\\n            \\\"quantity\\\": 25,\\n            \\\"measurementUnitCode\\\": \\\"PCE\\\",\\n            \\\"netWeight\\\": 44.8,\\n            \\\"weightUnit\\\": \\\"KGM\\\",\\n            \\\"unitCost\\\": 25.0,\\n            \\\"currencyCode\\\": \\\"USD\\\",\\n            \\\"extendedCost\\\": 625.00,\\n            \\\"freightCost\\\": 20.00,\\n            \\\"bestBeforeDate\\\": \\\"2026-04-25T00:00:00Z\\\",\\n            \\\"additionalCharges\\\": 5.00,\\n            \\\"tariffCost\\\": 2.50,\\n            \\\"fourKitesCalculatedTariffCost\\\": 2.50,\\n            \\\"totalLandedCost\\\": 655.00,\\n            \\\"countryOfOrigin\\\": \\\"IN\\\",\\n            \\\"harmonizedSystemCode\\\": \\\"8607911000\\\",\\n            \\\"commodityTypeCode\\\": \\\"RAIL_FREIGHT\\\",\\n            \\\"htsusCode\\\": \\\"8607911000\\\",\\n            \\\"orderNumber\\\": \\\"TU-2945\\\",\\n            \\\"deliveryNumber\\\": \\\"DN-7085568349\\\",\\n            \\\"handlingUnitId\\\": \\\"PAL-001\\\",\\n            \\\"barcode\\\": \\\"PAL001\\\",\\n            \\\"containerType\\\": \\\"pallet\\\",\\n            \\\"gtin\\\": \\\"00012345678905\\\",\\n            \\\"customerPartNumber\\\": \\\"22EE\\\",\\n            \\\"supplierPartNumber\\\": \\\"22EE\\\",\\n            \\\"manufacturerPartNumber\\\": \\\"MFG-22EE\\\",\\n            \\\"itemNumber\\\": \\\"ITM-22EE\\\",\\n            \\\"productUpc\\\": \\\"012345678905\\\",\\n            \\\"deliveryReferences\\\": [\\\"DEL-REF-001\\\"],\\n            \\\"orderReferences\\\": [\\\"TU-2945\\\"],\\n            \\\"brandName\\\": \\\"Generic Rail Freight Co\\\",\\n            \\\"minimumTemperature\\\": 0,\\n            \\\"maximumTemperature\\\": 0,\\n            \\\"temperatureUnitCode\\\": \\\"cel\\\",\\n            \\\"labelIdentifier\\\": \\\"LBL-22EE\\\",\\n            \\\"productTrackingNumber\\\": \\\"7085568349\\\",\\n            \\\"deviceType\\\": \\\"RFID_TAG\\\"\\n          }\\n        ]\\n      },\\n      {\\n        \\\"stopType\\\": \\\"delivery\\\",\\n        \\\"completeAddress\\\": \\\"Bengaluru, KA - 560002, IN\\\",\\n        \\\"city\\\": \\\"Bengaluru\\\",\\n        \\\"state\\\": \\\"KA\\\",\\n        \\\"country\\\": \\\"IN\\\",\\n        \\\"postalCode\\\": \\\"78738\\\",\\n        \\\"latitude\\\": 12.96643,\\n        \\\"longitude\\\": 77.58718,\\n        \\\"geofencePoints\\\": [],\\n        \\\"appointmentTime\\\": \\\"2024-08-29T07:35:00.000Z\\\",\\n        \\\"wantTime\\\": null,\\n        \\\"earliestWantTime\\\": null,\\n        \\\"latestWantTime\\\": null,\\n        \\\"transportationMode\\\": null,\\n        \\\"addressType\\\": \\\"\\\",\\n        \\\"pallets\\\": [\\n          {\\n            \\\"number\\\": \\\"PAL-002\\\",\\n            \\\"parts\\\": [\\n              {\\n                \\\"quantity\\\": \\\"25\\\",\\n                \\\"shipperPartNumber\\\": \\\"22EE\\\",\\n                \\\"weight\\\": \\\"7.998\\\"\\n              }\\n            ]\\n          }\\n        ],\\n        \\\"productLineItems\\\": [\\n          {\\n            \\\"productId\\\": \\\"0123456\\\",\\n            \\\"productName\\\": \\\"Rail Freight Item\\\",\\n            \\\"productDescription\\\": \\\"Rail/intermodal freight shipment item\\\",\\n            \\\"productCategory\\\": \\\"General Freight\\\",\\n            \\\"quantity\\\": 25,\\n            \\\"measurementUnitCode\\\": \\\"PCE\\\",\\n            \\\"netWeight\\\": 44.8,\\n            \\\"weightUnit\\\": \\\"KGM\\\",\\n            \\\"unitCost\\\": 25.0,\\n            \\\"currencyCode\\\": \\\"USD\\\",\\n            \\\"extendedCost\\\": 625.00,\\n            \\\"freightCost\\\": 20.00,\\n            \\\"additionalCharges\\\": 5.00,\\n            \\\"tariffCost\\\": 2.50,\\n            \\\"fourKitesCalculatedTariffCost\\\": 2.50,\\n            \\\"totalLandedCost\\\": 655.00,\\n            \\\"countryOfOrigin\\\": \\\"IN\\\",\\n            \\\"harmonizedSystemCode\\\": \\\"8607911000\\\",\\n            \\\"commodityTypeCode\\\": \\\"RAIL_FREIGHT\\\",\\n            \\\"htsusCode\\\": \\\"8607911000\\\",\\n            \\\"orderNumber\\\": \\\"80982\\\",\\n            \\\"deliveryNumber\\\": \\\"DN-PAL002\\\",\\n            \\\"handlingUnitId\\\": \\\"PAL-002\\\",\\n            \\\"barcode\\\": \\\"PAL002\\\",\\n            \\\"containerType\\\": \\\"pallet\\\",\\n            \\\"gtin\\\": \\\"00012345678912\\\",\\n            \\\"customerPartNumber\\\": \\\"33CC\\\",\\n            \\\"supplierPartNumber\\\": \\\"33CC\\\",\\n            \\\"manufacturerPartNumber\\\": \\\"MFG-33CC\\\",\\n            \\\"itemNumber\\\": \\\"ITM-33CC\\\",\\n            \\\"productUpc\\\": \\\"012345678912\\\",\\n            \\\"deliveryReferences\\\": [\\\"DEL-REF-002\\\"],\\n            \\\"orderReferences\\\": [\\\"80982\\\"],\\n            \\\"brandName\\\": \\\"Generic Rail Freight Co\\\",\\n            \\\"minimumTemperature\\\": 0,\\n            \\\"maximumTemperature\\\": 0,\\n            \\\"temperatureUnitCode\\\": \\\"cel\\\",\\n            \\\"labelIdentifier\\\": \\\"LBL-33CC\\\",\\n            \\\"productTrackingNumber\\\": \\\"94BC8\\\",\\n            \\\"deviceType\\\": \\\"QR_CODE\\\"\\n          }\\n        ],\\n        \\\"useLocalLatLng\\\": true\\n      }\\n    ],\\n    \\\"tags\\\": [\\n      \\\"temp\\\",\\n      \\\"field2\\\",\\n      \\\"Inbound\\\"\\n    ]\\n  }\\n}\");\nRequest request = new Request.Builder()\n  .url(\"https://api.ng.fourkites.com/api/v1/tracking\")\n  .method(\"POST\", body)\n  .addHeader(\"Content-Type\", \"application/json\")\n  .addHeader(\"apikey\", \"REPLACE_KEY_VALUE\")\n  .build();\nResponse response = client.newCall(request).execute();",
        "customLabel": ""
      },
      {
        "id": "rZWijjIsBRF4JmBXGx3ZA",
        "language": "javascript",
        "code": "var settings = {\n  \"url\": \"https://api.ng.fourkites.com/api/v1/tracking\",\n  \"method\": \"POST\",\n  \"timeout\": 0,\n  \"headers\": {\n    \"Content-Type\": \"application/json\",\n    \"apikey\": \"REPLACE_KEY_VALUE\"\n  },\n  \"data\": JSON.stringify({\n    \"trackingInfo\": {\n      \"driverPhone\": \"\",\n      \"truckNumber\": \"\",\n      \"railEquipmentInitials\": \"RAIL\",\n      \"railEquipmentNumber\": \"654405\",\n      \"wagonNumber\": \"qwerty123\"\n    },\n    \"load\": {\n      \"loadNumber\": \"TestRail05_1\",\n      \"skipAppointmentTimeValidation\": true,\n      \"priority\": \"normal\",\n      \"carrier\": \"cc79\",\n      \"carrierPermalink\": \"support-carrier-production\",\n      \"carrierName\": \"Support Carrier (Production)\",\n      \"masterSequenceNumber\": \"1\",\n      \"masterReferenceNumber\": \"7328623\",\n      \"referenceNumbers\": [\n        \"TU-2945\",\n        \"80982\",\n        \"94BC8\"\n      ],\n      \"shipper\": null,\n      \"products\": [],\n      \"stops\": [\n        {\n          \"stopType\": \"pickup\",\n          \"completeAddress\": \"Chennai, TN - 600003, IN\",\n          \"city\": \"Chennai\",\n          \"state\": \"TN\",\n          \"country\": \"IN\",\n          \"customer\": {\n            \"poNumbers\": [\n              \"00210123OF-203503\"\n            ]\n          },\n          \"postalCode\": null,\n          \"latitude\": 13.0816437,\n          \"longitude\": 80.2752316,\n          \"geofencePoints\": [],\n          \"appointmentTime\": \"2024-08-20T07:35:00.000Z\",\n          \"wantTime\": null,\n          \"earliestWantTime\": null,\n          \"latestWantTime\": null,\n          \"transportationMode\": null,\n          \"useLocalLatLng\": true,\n          \"StopReferenceNumber\": \"7085568349\",\n        \"pallets\": [\n          {\n            \"number\": \"PAL-001\",\n            \"parts\": [\n              {\n                \"quantity\": \"25\",\n                \"shipperPartNumber\": \"22EE\",\n                \"weight\": \"7.998\"\n              }\n            ]\n          }\n        ],\n        \"productLineItems\": [\n          {\n            \"productId\": \"0123456\",\n            \"productName\": \"Rail Freight Item\",\n            \"productDescription\": \"Rail/intermodal freight shipment item\",\n            \"productCategory\": \"General Freight\",\n            \"quantity\": 25,\n            \"measurementUnitCode\": \"PCE\",\n            \"netWeight\": 44.8,\n            \"weightUnit\": \"KGM\",\n            \"unitCost\": 25.0,\n            \"currencyCode\": \"USD\",\n            \"extendedCost\": 625.00,\n            \"freightCost\": 20.00,\n            \"bestBeforeDate\": \"2026-04-25T00:00:00Z\",\n            \"additionalCharges\": 5.00,\n            \"tariffCost\": 2.50,\n            \"fourKitesCalculatedTariffCost\": 2.50,\n            \"totalLandedCost\": 655.00,\n            \"countryOfOrigin\": \"IN\",\n            \"harmonizedSystemCode\": \"8607911000\",\n            \"commodityTypeCode\": \"RAIL_FREIGHT\",\n            \"htsusCode\": \"8607911000\",\n            \"orderNumber\": \"TU-2945\",\n            \"deliveryNumber\": \"DN-7085568349\",\n            \"handlingUnitId\": \"PAL-001\",\n            \"barcode\": \"PAL001\",\n            \"containerType\": \"pallet\",\n            \"gtin\": \"00012345678905\",\n            \"customerPartNumber\": \"22EE\",\n            \"supplierPartNumber\": \"22EE\",\n            \"manufacturerPartNumber\": \"MFG-22EE\",\n            \"itemNumber\": \"ITM-22EE\",\n            \"productUpc\": \"012345678905\",\n            \"deliveryReferences\": [\"DEL-REF-001\"],\n            \"orderReferences\": [\"TU-2945\"],\n            \"brandName\": \"Generic Rail Freight Co\",\n            \"minimumTemperature\": 0,\n            \"maximumTemperature\": 0,\n            \"temperatureUnitCode\": \"cel\",\n            \"labelIdentifier\": \"LBL-22EE\",\n            \"productTrackingNumber\": \"7085568349\",\n            \"deviceType\": \"RFID_TAG\"\n          }\n        ]\n        },\n        {\n          \"stopType\": \"delivery\",\n          \"completeAddress\": \"Bengaluru, KA - 560002, IN\",\n          \"city\": \"Bengaluru\",\n          \"state\": \"KA\",\n          \"country\": \"IN\",\n          \"postalCode\": \"78738\",\n          \"latitude\": 12.96643,\n          \"longitude\": 77.58718,\n          \"geofencePoints\": [],\n          \"appointmentTime\": \"2024-08-29T07:35:00.000Z\",\n          \"wantTime\": null,\n          \"earliestWantTime\": null,\n          \"latestWantTime\": null,\n          \"transportationMode\": null,\n          \"addressType\": \"\",\n        \"pallets\": [\n          {\n            \"number\": \"PAL-002\",\n            \"parts\": [\n              {\n                \"quantity\": \"25\",\n                \"shipperPartNumber\": \"22EE\",\n                \"weight\": \"7.998\"\n              }\n            ]\n          }\n        ],\n        \"productLineItems\": [\n          {\n            \"productId\": \"0123456\",\n            \"productName\": \"Rail Freight Item\",\n            \"productDescription\": \"Rail/intermodal freight shipment item\",\n            \"productCategory\": \"General Freight\",\n            \"quantity\": 25,\n            \"measurementUnitCode\": \"PCE\",\n            \"netWeight\": 44.8,\n            \"weightUnit\": \"KGM\",\n            \"unitCost\": 25.0,\n            \"currencyCode\": \"USD\",\n            \"extendedCost\": 625.00,\n            \"freightCost\": 20.00,\n            \"additionalCharges\": 5.00,\n            \"tariffCost\": 2.50,\n            \"fourKitesCalculatedTariffCost\": 2.50,\n            \"totalLandedCost\": 655.00,\n            \"countryOfOrigin\": \"IN\",\n            \"harmonizedSystemCode\": \"8607911000\",\n            \"commodityTypeCode\": \"RAIL_FREIGHT\",\n            \"htsusCode\": \"8607911000\",\n            \"orderNumber\": \"80982\",\n            \"deliveryNumber\": \"DN-PAL002\",\n            \"handlingUnitId\": \"PAL-002\",\n            \"barcode\": \"PAL002\",\n            \"containerType\": \"pallet\",\n            \"gtin\": \"00012345678912\",\n            \"customerPartNumber\": \"33CC\",\n            \"supplierPartNumber\": \"33CC\",\n            \"manufacturerPartNumber\": \"MFG-33CC\",\n            \"itemNumber\": \"ITM-33CC\",\n            \"productUpc\": \"012345678912\",\n            \"deliveryReferences\": [\"DEL-REF-002\"],\n            \"orderReferences\": [\"80982\"],\n            \"brandName\": \"Generic Rail Freight Co\",\n            \"minimumTemperature\": 0,\n            \"maximumTemperature\": 0,\n            \"temperatureUnitCode\": \"cel\",\n            \"labelIdentifier\": \"LBL-33CC\",\n            \"productTrackingNumber\": \"94BC8\",\n            \"deviceType\": \"QR_CODE\"\n          }\n        ],\n          \"useLocalLatLng\": true\n        }\n      ],\n      \"tags\": [\n        \"temp\",\n        \"field2\",\n        \"Inbound\"\n      ]\n    }\n  }),\n};\n\n$.ajax(settings).done(function (response) {\n  console.log(response);\n});",
        "customLabel": ""
      },
      {
        "id": "zvQntS0ZQta6prUoKxjmU",
        "language": "swift",
        "code": "let parameters = \"{\\n  \\\"trackingInfo\\\": {\\n    \\\"driverPhone\\\": \\\"\\\",\\n    \\\"truckNumber\\\": \\\"\\\",\\n    \\\"railEquipmentInitials\\\": \\\"RAIL\\\",\\n    \\\"railEquipmentNumber\\\": \\\"654405\\\",\\n    \\\"wagonNumber\\\": \\\"qwerty123\\\"\\n  },\\n  \\\"load\\\": {\\n    \\\"loadNumber\\\": \\\"TestRail05_1\\\",\\n    \\\"skipAppointmentTimeValidation\\\": true,\\n    \\\"priority\\\": \\\"normal\\\",\\n    \\\"carrier\\\": \\\"cc79\\\",\\n    \\\"carrierPermalink\\\": \\\"support-carrier-production\\\",\\n    \\\"carrierName\\\": \\\"Support Carrier (Production)\\\",\\n    \\\"masterSequenceNumber\\\": \\\"1\\\",\\n    \\\"masterReferenceNumber\\\": \\\"7328623\\\",\\n    \\\"referenceNumbers\\\": [\\n      \\\"TU-2945\\\",\\n      \\\"80982\\\",\\n      \\\"94BC8\\\"\\n    ],\\n    \\\"shipper\\\": null,\\n    \\\"products\\\": [],\\n    \\\"stops\\\": [\\n      {\\n        \\\"stopType\\\": \\\"pickup\\\",\\n        \\\"completeAddress\\\": \\\"Chennai, TN - 600003, IN\\\",\\n        \\\"city\\\": \\\"Chennai\\\",\\n        \\\"state\\\": \\\"TN\\\",\\n        \\\"country\\\": \\\"IN\\\",\\n        \\\"customer\\\": {\\n          \\\"poNumbers\\\": [\\n            \\\"00210123OF-203503\\\"\\n          ]\\n        },\\n        \\\"postalCode\\\": null,\\n        \\\"latitude\\\": 13.0816437,\\n        \\\"longitude\\\": 80.2752316,\\n        \\\"geofencePoints\\\": [],\\n        \\\"appointmentTime\\\": \\\"2024-08-20T07:35:00.000Z\\\",\\n        \\\"wantTime\\\": null,\\n        \\\"earliestWantTime\\\": null,\\n        \\\"latestWantTime\\\": null,\\n        \\\"transportationMode\\\": null,\\n        \\\"useLocalLatLng\\\": true,\\n        \\\"StopReferenceNumber\\\": \\\"7085568349\\\",\\n        \\\"pallets\\\": [\\n          {\\n            \\\"number\\\": \\\"PAL-001\\\",\\n            \\\"parts\\\": [\\n              {\\n                \\\"quantity\\\": \\\"25\\\",\\n                \\\"shipperPartNumber\\\": \\\"22EE\\\",\\n                \\\"weight\\\": \\\"7.998\\\"\\n              }\\n            ]\\n          }\\n        ],\\n        \\\"productLineItems\\\": [\\n          {\\n            \\\"productId\\\": \\\"0123456\\\",\\n            \\\"productName\\\": \\\"Rail Freight Item\\\",\\n            \\\"productDescription\\\": \\\"Rail/intermodal freight shipment item\\\",\\n            \\\"productCategory\\\": \\\"General Freight\\\",\\n            \\\"quantity\\\": 25,\\n            \\\"measurementUnitCode\\\": \\\"PCE\\\",\\n            \\\"netWeight\\\": 44.8,\\n            \\\"weightUnit\\\": \\\"KGM\\\",\\n            \\\"unitCost\\\": 25.0,\\n            \\\"currencyCode\\\": \\\"USD\\\",\\n            \\\"extendedCost\\\": 625.00,\\n            \\\"freightCost\\\": 20.00,\\n            \\\"bestBeforeDate\\\": \\\"2026-04-25T00:00:00Z\\\",\\n            \\\"additionalCharges\\\": 5.00,\\n            \\\"tariffCost\\\": 2.50,\\n            \\\"fourKitesCalculatedTariffCost\\\": 2.50,\\n            \\\"totalLandedCost\\\": 655.00,\\n            \\\"countryOfOrigin\\\": \\\"IN\\\",\\n            \\\"harmonizedSystemCode\\\": \\\"8607911000\\\",\\n            \\\"commodityTypeCode\\\": \\\"RAIL_FREIGHT\\\",\\n            \\\"htsusCode\\\": \\\"8607911000\\\",\\n            \\\"orderNumber\\\": \\\"TU-2945\\\",\\n            \\\"deliveryNumber\\\": \\\"DN-7085568349\\\",\\n            \\\"handlingUnitId\\\": \\\"PAL-001\\\",\\n            \\\"barcode\\\": \\\"PAL001\\\",\\n            \\\"containerType\\\": \\\"pallet\\\",\\n            \\\"gtin\\\": \\\"00012345678905\\\",\\n            \\\"customerPartNumber\\\": \\\"22EE\\\",\\n            \\\"supplierPartNumber\\\": \\\"22EE\\\",\\n            \\\"manufacturerPartNumber\\\": \\\"MFG-22EE\\\",\\n            \\\"itemNumber\\\": \\\"ITM-22EE\\\",\\n            \\\"productUpc\\\": \\\"012345678905\\\",\\n            \\\"deliveryReferences\\\": [\\\"DEL-REF-001\\\"],\\n            \\\"orderReferences\\\": [\\\"TU-2945\\\"],\\n            \\\"brandName\\\": \\\"Generic Rail Freight Co\\\",\\n            \\\"minimumTemperature\\\": 0,\\n            \\\"maximumTemperature\\\": 0,\\n            \\\"temperatureUnitCode\\\": \\\"cel\\\",\\n            \\\"labelIdentifier\\\": \\\"LBL-22EE\\\",\\n            \\\"productTrackingNumber\\\": \\\"7085568349\\\",\\n            \\\"deviceType\\\": \\\"RFID_TAG\\\"\\n          }\\n        ]\\n      },\\n      {\\n        \\\"stopType\\\": \\\"delivery\\\",\\n        \\\"completeAddress\\\": \\\"Bengaluru, KA - 560002, IN\\\",\\n        \\\"city\\\": \\\"Bengaluru\\\",\\n        \\\"state\\\": \\\"KA\\\",\\n        \\\"country\\\": \\\"IN\\\",\\n        \\\"postalCode\\\": \\\"78738\\\",\\n        \\\"latitude\\\": 12.96643,\\n        \\\"longitude\\\": 77.58718,\\n        \\\"geofencePoints\\\": [],\\n        \\\"appointmentTime\\\": \\\"2024-08-29T07:35:00.000Z\\\",\\n        \\\"wantTime\\\": null,\\n        \\\"earliestWantTime\\\": null,\\n        \\\"latestWantTime\\\": null,\\n        \\\"transportationMode\\\": null,\\n        \\\"addressType\\\": \\\"\\\",\\n        \\\"pallets\\\": [\\n          {\\n            \\\"number\\\": \\\"PAL-002\\\",\\n            \\\"parts\\\": [\\n              {\\n                \\\"quantity\\\": \\\"25\\\",\\n                \\\"shipperPartNumber\\\": \\\"22EE\\\",\\n                \\\"weight\\\": \\\"7.998\\\"\\n              }\\n            ]\\n          }\\n        ],\\n        \\\"productLineItems\\\": [\\n          {\\n            \\\"productId\\\": \\\"0123456\\\",\\n            \\\"productName\\\": \\\"Rail Freight Item\\\",\\n            \\\"productDescription\\\": \\\"Rail/intermodal freight shipment item\\\",\\n            \\\"productCategory\\\": \\\"General Freight\\\",\\n            \\\"quantity\\\": 25,\\n            \\\"measurementUnitCode\\\": \\\"PCE\\\",\\n            \\\"netWeight\\\": 44.8,\\n            \\\"weightUnit\\\": \\\"KGM\\\",\\n            \\\"unitCost\\\": 25.0,\\n            \\\"currencyCode\\\": \\\"USD\\\",\\n            \\\"extendedCost\\\": 625.00,\\n            \\\"freightCost\\\": 20.00,\\n            \\\"additionalCharges\\\": 5.00,\\n            \\\"tariffCost\\\": 2.50,\\n            \\\"fourKitesCalculatedTariffCost\\\": 2.50,\\n            \\\"totalLandedCost\\\": 655.00,\\n            \\\"countryOfOrigin\\\": \\\"IN\\\",\\n            \\\"harmonizedSystemCode\\\": \\\"8607911000\\\",\\n            \\\"commodityTypeCode\\\": \\\"RAIL_FREIGHT\\\",\\n            \\\"htsusCode\\\": \\\"8607911000\\\",\\n            \\\"orderNumber\\\": \\\"80982\\\",\\n            \\\"deliveryNumber\\\": \\\"DN-PAL002\\\",\\n            \\\"handlingUnitId\\\": \\\"PAL-002\\\",\\n            \\\"barcode\\\": \\\"PAL002\\\",\\n            \\\"containerType\\\": \\\"pallet\\\",\\n            \\\"gtin\\\": \\\"00012345678912\\\",\\n            \\\"customerPartNumber\\\": \\\"33CC\\\",\\n            \\\"supplierPartNumber\\\": \\\"33CC\\\",\\n            \\\"manufacturerPartNumber\\\": \\\"MFG-33CC\\\",\\n            \\\"itemNumber\\\": \\\"ITM-33CC\\\",\\n            \\\"productUpc\\\": \\\"012345678912\\\",\\n            \\\"deliveryReferences\\\": [\\\"DEL-REF-002\\\"],\\n            \\\"orderReferences\\\": [\\\"80982\\\"],\\n            \\\"brandName\\\": \\\"Generic Rail Freight Co\\\",\\n            \\\"minimumTemperature\\\": 0,\\n            \\\"maximumTemperature\\\": 0,\\n            \\\"temperatureUnitCode\\\": \\\"cel\\\",\\n            \\\"labelIdentifier\\\": \\\"LBL-33CC\\\",\\n            \\\"productTrackingNumber\\\": \\\"94BC8\\\",\\n            \\\"deviceType\\\": \\\"QR_CODE\\\"\\n          }\\n        ],\\n        \\\"useLocalLatLng\\\": true\\n      }\\n    ],\\n    \\\"tags\\\": [\\n      \\\"temp\\\",\\n      \\\"field2\\\",\\n      \\\"Inbound\\\"\\n    ]\\n  }\\n}\"\nlet postData = parameters.data(using: .utf8)\n\nvar request = URLRequest(url: URL(string: \"https://api.ng.fourkites.com/api/v1/tracking\")!,timeoutInterval: Double.infinity)\nrequest.addValue(\"application/json\", forHTTPHeaderField: \"Content-Type\")\nrequest.addValue(\"REPLACE_KEY_VALUE\", forHTTPHeaderField: \"apikey\")\n\nrequest.httpMethod = \"POST\"\nrequest.httpBody = postData\n\nlet task = URLSession.shared.dataTask(with: request) { data, response, error in \n  guard let data = data else {\n    print(String(describing: error))\n    return\n  }\n  print(String(data: data, encoding: .utf8)!)\n}\n\ntask.resume()\n",
        "customLabel": ""
      },
      {
        "id": "u5fxL0ftRtMWoYkZKcwNu",
        "language": "csharp",
        "code": "var client = new HttpClient();\nvar request = new HttpRequestMessage(HttpMethod.Post, \"https://api.ng.fourkites.com/api/v1/tracking\");\nrequest.Headers.Add(\"apikey\", \"REPLACE_KEY_VALUE\");\nvar content = new StringContent(\"{\\n  \\\"trackingInfo\\\": {\\n    \\\"driverPhone\\\": \\\"\\\",\\n    \\\"truckNumber\\\": \\\"\\\",\\n    \\\"railEquipmentInitials\\\": \\\"RAIL\\\",\\n    \\\"railEquipmentNumber\\\": \\\"654405\\\",\\n    \\\"wagonNumber\\\": \\\"qwerty123\\\"\\n  },\\n  \\\"load\\\": {\\n    \\\"loadNumber\\\": \\\"TestRail05_1\\\",\\n    \\\"skipAppointmentTimeValidation\\\": true,\\n    \\\"priority\\\": \\\"normal\\\",\\n    \\\"carrier\\\": \\\"cc79\\\",\\n    \\\"carrierPermalink\\\": \\\"support-carrier-production\\\",\\n    \\\"carrierName\\\": \\\"Support Carrier (Production)\\\",\\n    \\\"masterSequenceNumber\\\": \\\"1\\\",\\n    \\\"masterReferenceNumber\\\": \\\"7328623\\\",\\n    \\\"referenceNumbers\\\": [\\n      \\\"TU-2945\\\",\\n      \\\"80982\\\",\\n      \\\"94BC8\\\"\\n    ],\\n    \\\"shipper\\\": null,\\n    \\\"products\\\": [],\\n    \\\"stops\\\": [\\n      {\\n        \\\"stopType\\\": \\\"pickup\\\",\\n        \\\"completeAddress\\\": \\\"Chennai, TN - 600003, IN\\\",\\n        \\\"city\\\": \\\"Chennai\\\",\\n        \\\"state\\\": \\\"TN\\\",\\n        \\\"country\\\": \\\"IN\\\",\\n        \\\"customer\\\": {\\n          \\\"poNumbers\\\": [\\n            \\\"00210123OF-203503\\\"\\n          ]\\n        },\\n        \\\"postalCode\\\": null,\\n        \\\"latitude\\\": 13.0816437,\\n        \\\"longitude\\\": 80.2752316,\\n        \\\"geofencePoints\\\": [],\\n        \\\"appointmentTime\\\": \\\"2024-08-20T07:35:00.000Z\\\",\\n        \\\"wantTime\\\": null,\\n        \\\"earliestWantTime\\\": null,\\n        \\\"latestWantTime\\\": null,\\n        \\\"transportationMode\\\": null,\\n        \\\"useLocalLatLng\\\": true,\\n        \\\"StopReferenceNumber\\\": \\\"7085568349\\\",\\n        \\\"pallets\\\": [\\n          {\\n            \\\"number\\\": \\\"PAL-001\\\",\\n            \\\"parts\\\": [\\n              {\\n                \\\"quantity\\\": \\\"25\\\",\\n                \\\"shipperPartNumber\\\": \\\"22EE\\\",\\n                \\\"weight\\\": \\\"7.998\\\"\\n              }\\n            ]\\n          }\\n        ],\\n        \\\"productLineItems\\\": [\\n          {\\n            \\\"productId\\\": \\\"0123456\\\",\\n            \\\"productName\\\": \\\"Rail Freight Item\\\",\\n            \\\"productDescription\\\": \\\"Rail/intermodal freight shipment item\\\",\\n            \\\"productCategory\\\": \\\"General Freight\\\",\\n            \\\"quantity\\\": 25,\\n            \\\"measurementUnitCode\\\": \\\"PCE\\\",\\n            \\\"netWeight\\\": 44.8,\\n            \\\"weightUnit\\\": \\\"KGM\\\",\\n            \\\"unitCost\\\": 25.0,\\n            \\\"currencyCode\\\": \\\"USD\\\",\\n            \\\"extendedCost\\\": 625.00,\\n            \\\"freightCost\\\": 20.00,\\n            \\\"bestBeforeDate\\\": \\\"2026-04-25T00:00:00Z\\\",\\n            \\\"additionalCharges\\\": 5.00,\\n            \\\"tariffCost\\\": 2.50,\\n            \\\"fourKitesCalculatedTariffCost\\\": 2.50,\\n            \\\"totalLandedCost\\\": 655.00,\\n            \\\"countryOfOrigin\\\": \\\"IN\\\",\\n            \\\"harmonizedSystemCode\\\": \\\"8607911000\\\",\\n            \\\"commodityTypeCode\\\": \\\"RAIL_FREIGHT\\\",\\n            \\\"htsusCode\\\": \\\"8607911000\\\",\\n            \\\"orderNumber\\\": \\\"TU-2945\\\",\\n            \\\"deliveryNumber\\\": \\\"DN-7085568349\\\",\\n            \\\"handlingUnitId\\\": \\\"PAL-001\\\",\\n            \\\"barcode\\\": \\\"PAL001\\\",\\n            \\\"containerType\\\": \\\"pallet\\\",\\n            \\\"gtin\\\": \\\"00012345678905\\\",\\n            \\\"customerPartNumber\\\": \\\"22EE\\\",\\n            \\\"supplierPartNumber\\\": \\\"22EE\\\",\\n            \\\"manufacturerPartNumber\\\": \\\"MFG-22EE\\\",\\n            \\\"itemNumber\\\": \\\"ITM-22EE\\\",\\n            \\\"productUpc\\\": \\\"012345678905\\\",\\n            \\\"deliveryReferences\\\": [\\\"DEL-REF-001\\\"],\\n            \\\"orderReferences\\\": [\\\"TU-2945\\\"],\\n            \\\"brandName\\\": \\\"Generic Rail Freight Co\\\",\\n            \\\"minimumTemperature\\\": 0,\\n            \\\"maximumTemperature\\\": 0,\\n            \\\"temperatureUnitCode\\\": \\\"cel\\\",\\n            \\\"labelIdentifier\\\": \\\"LBL-22EE\\\",\\n            \\\"productTrackingNumber\\\": \\\"7085568349\\\",\\n            \\\"deviceType\\\": \\\"RFID_TAG\\\"\\n          }\\n        ]\\n      },\\n      {\\n        \\\"stopType\\\": \\\"delivery\\\",\\n        \\\"completeAddress\\\": \\\"Bengaluru, KA - 560002, IN\\\",\\n        \\\"city\\\": \\\"Bengaluru\\\",\\n        \\\"state\\\": \\\"KA\\\",\\n        \\\"country\\\": \\\"IN\\\",\\n        \\\"postalCode\\\": \\\"78738\\\",\\n        \\\"latitude\\\": 12.96643,\\n        \\\"longitude\\\": 77.58718,\\n        \\\"geofencePoints\\\": [],\\n        \\\"appointmentTime\\\": \\\"2024-08-29T07:35:00.000Z\\\",\\n        \\\"wantTime\\\": null,\\n        \\\"earliestWantTime\\\": null,\\n        \\\"latestWantTime\\\": null,\\n        \\\"transportationMode\\\": null,\\n        \\\"addressType\\\": \\\"\\\",\\n        \\\"pallets\\\": [\\n          {\\n            \\\"number\\\": \\\"PAL-002\\\",\\n            \\\"parts\\\": [\\n              {\\n                \\\"quantity\\\": \\\"25\\\",\\n                \\\"shipperPartNumber\\\": \\\"22EE\\\",\\n                \\\"weight\\\": \\\"7.998\\\"\\n              }\\n            ]\\n          }\\n        ],\\n        \\\"productLineItems\\\": [\\n          {\\n            \\\"productId\\\": \\\"0123456\\\",\\n            \\\"productName\\\": \\\"Rail Freight Item\\\",\\n            \\\"productDescription\\\": \\\"Rail/intermodal freight shipment item\\\",\\n            \\\"productCategory\\\": \\\"General Freight\\\",\\n            \\\"quantity\\\": 25,\\n            \\\"measurementUnitCode\\\": \\\"PCE\\\",\\n            \\\"netWeight\\\": 44.8,\\n            \\\"weightUnit\\\": \\\"KGM\\\",\\n            \\\"unitCost\\\": 25.0,\\n            \\\"currencyCode\\\": \\\"USD\\\",\\n            \\\"extendedCost\\\": 625.00,\\n            \\\"freightCost\\\": 20.00,\\n            \\\"additionalCharges\\\": 5.00,\\n            \\\"tariffCost\\\": 2.50,\\n            \\\"fourKitesCalculatedTariffCost\\\": 2.50,\\n            \\\"totalLandedCost\\\": 655.00,\\n            \\\"countryOfOrigin\\\": \\\"IN\\\",\\n            \\\"harmonizedSystemCode\\\": \\\"8607911000\\\",\\n            \\\"commodityTypeCode\\\": \\\"RAIL_FREIGHT\\\",\\n            \\\"htsusCode\\\": \\\"8607911000\\\",\\n            \\\"orderNumber\\\": \\\"80982\\\",\\n            \\\"deliveryNumber\\\": \\\"DN-PAL002\\\",\\n            \\\"handlingUnitId\\\": \\\"PAL-002\\\",\\n            \\\"barcode\\\": \\\"PAL002\\\",\\n            \\\"containerType\\\": \\\"pallet\\\",\\n            \\\"gtin\\\": \\\"00012345678912\\\",\\n            \\\"customerPartNumber\\\": \\\"33CC\\\",\\n            \\\"supplierPartNumber\\\": \\\"33CC\\\",\\n            \\\"manufacturerPartNumber\\\": \\\"MFG-33CC\\\",\\n            \\\"itemNumber\\\": \\\"ITM-33CC\\\",\\n            \\\"productUpc\\\": \\\"012345678912\\\",\\n            \\\"deliveryReferences\\\": [\\\"DEL-REF-002\\\"],\\n            \\\"orderReferences\\\": [\\\"80982\\\"],\\n            \\\"brandName\\\": \\\"Generic Rail Freight Co\\\",\\n            \\\"minimumTemperature\\\": 0,\\n            \\\"maximumTemperature\\\": 0,\\n            \\\"temperatureUnitCode\\\": \\\"cel\\\",\\n            \\\"labelIdentifier\\\": \\\"LBL-33CC\\\",\\n            \\\"productTrackingNumber\\\": \\\"94BC8\\\",\\n            \\\"deviceType\\\": \\\"QR_CODE\\\"\\n          }\\n        ],\\n        \\\"useLocalLatLng\\\": true\\n      }\\n    ],\\n    \\\"tags\\\": [\\n      \\\"temp\\\",\\n      \\\"field2\\\",\\n      \\\"Inbound\\\"\\n    ]\\n  }\\n}\", null, \"application/json\");\nrequest.Content = content;\nvar response = await client.SendAsync(request);\nresponse.EnsureSuccessStatusCode();\nConsole.WriteLine(await response.Content.ReadAsStringAsync());\n",
        "customLabel": ""
      },
      {
        "id": "q08g6b15qD3wqqNux5Ug9",
        "language": "go",
        "code": "package main\n\nimport (\n  \"fmt\"\n  \"strings\"\n  \"net/http\"\n  \"io/ioutil\"\n)\n\nfunc main() {\n\n  url := \"https://api.ng.fourkites.com/api/v1/tracking\"\n  method := \"POST\"\n\n  payload := strings.NewReader(`{\n  \"trackingInfo\": {\n    \"driverPhone\": \"\",\n    \"truckNumber\": \"\",\n    \"railEquipmentInitials\": \"RAIL\",\n    \"railEquipmentNumber\": \"654405\",\n    \"wagonNumber\": \"qwerty123\"\n  },\n  \"load\": {\n    \"loadNumber\": \"TestRail05_1\",\n    \"skipAppointmentTimeValidation\": true,\n    \"priority\": \"normal\",\n    \"carrier\": \"cc79\",\n    \"carrierPermalink\": \"support-carrier-production\",\n    \"carrierName\": \"Support Carrier (Production)\",\n    \"masterSequenceNumber\": \"1\",\n    \"masterReferenceNumber\": \"7328623\",\n    \"referenceNumbers\": [\n      \"TU-2945\",\n      \"80982\",\n      \"94BC8\"\n    ],\n    \"shipper\": null,\n    \"products\": [],\n    \"stops\": [\n      {\n        \"stopType\": \"pickup\",\n        \"completeAddress\": \"Chennai, TN - 600003, IN\",\n        \"city\": \"Chennai\",\n        \"state\": \"TN\",\n        \"country\": \"IN\",\n        \"customer\": {\n          \"poNumbers\": [\n            \"00210123OF-203503\"\n          ]\n        },\n        \"postalCode\": null,\n        \"latitude\": 13.0816437,\n        \"longitude\": 80.2752316,\n        \"geofencePoints\": [],\n        \"appointmentTime\": \"2024-08-20T07:35:00.000Z\",\n        \"wantTime\": null,\n        \"earliestWantTime\": null,\n        \"latestWantTime\": null,\n        \"transportationMode\": null,\n        \"useLocalLatLng\": true,\n        \"StopReferenceNumber\": \"7085568349\",\n        \"pallets\": [\n          {\n            \"number\": \"PAL-001\",\n            \"parts\": [\n              {\n                \"quantity\": \"25\",\n                \"shipperPartNumber\": \"22EE\",\n                \"weight\": \"7.998\"\n              }\n            ]\n          }\n        ],\n        \"productLineItems\": [\n          {\n            \"productId\": \"0123456\",\n            \"productName\": \"Rail Freight Item\",\n            \"productDescription\": \"Rail/intermodal freight shipment item\",\n            \"productCategory\": \"General Freight\",\n            \"quantity\": 25,\n            \"measurementUnitCode\": \"PCE\",\n            \"netWeight\": 44.8,\n            \"weightUnit\": \"KGM\",\n            \"unitCost\": 25.0,\n            \"currencyCode\": \"USD\",\n            \"extendedCost\": 625.00,\n            \"freightCost\": 20.00,\n            \"bestBeforeDate\": \"2026-04-25T00:00:00Z\",\n            \"additionalCharges\": 5.00,\n            \"tariffCost\": 2.50,\n            \"fourKitesCalculatedTariffCost\": 2.50,\n            \"totalLandedCost\": 655.00,\n            \"countryOfOrigin\": \"IN\",\n            \"harmonizedSystemCode\": \"8607911000\",\n            \"commodityTypeCode\": \"RAIL_FREIGHT\",\n            \"htsusCode\": \"8607911000\",\n            \"orderNumber\": \"TU-2945\",\n            \"deliveryNumber\": \"DN-7085568349\",\n            \"handlingUnitId\": \"PAL-001\",\n            \"barcode\": \"PAL001\",\n            \"containerType\": \"pallet\",\n            \"gtin\": \"00012345678905\",\n            \"customerPartNumber\": \"22EE\",\n            \"supplierPartNumber\": \"22EE\",\n            \"manufacturerPartNumber\": \"MFG-22EE\",\n            \"itemNumber\": \"ITM-22EE\",\n            \"productUpc\": \"012345678905\",\n            \"deliveryReferences\": [\"DEL-REF-001\"],\n            \"orderReferences\": [\"TU-2945\"],\n            \"brandName\": \"Generic Rail Freight Co\",\n            \"minimumTemperature\": 0,\n            \"maximumTemperature\": 0,\n            \"temperatureUnitCode\": \"cel\",\n            \"labelIdentifier\": \"LBL-22EE\",\n            \"productTrackingNumber\": \"7085568349\",\n            \"deviceType\": \"RFID_TAG\"\n          }\n        ]\n      },\n      {\n        \"stopType\": \"delivery\",\n        \"completeAddress\": \"Bengaluru, KA - 560002, IN\",\n        \"city\": \"Bengaluru\",\n        \"state\": \"KA\",\n        \"country\": \"IN\",\n        \"postalCode\": \"78738\",\n        \"latitude\": 12.96643,\n        \"longitude\": 77.58718,\n        \"geofencePoints\": [],\n        \"appointmentTime\": \"2024-08-29T07:35:00.000Z\",\n        \"wantTime\": null,\n        \"earliestWantTime\": null,\n        \"latestWantTime\": null,\n        \"transportationMode\": null,\n        \"addressType\": \"\",\n        \"pallets\": [\n          {\n            \"number\": \"PAL-002\",\n            \"parts\": [\n              {\n                \"quantity\": \"25\",\n                \"shipperPartNumber\": \"22EE\",\n                \"weight\": \"7.998\"\n              }\n            ]\n          }\n        ],\n        \"productLineItems\": [\n          {\n            \"productId\": \"0123456\",\n            \"productName\": \"Rail Freight Item\",\n            \"productDescription\": \"Rail/intermodal freight shipment item\",\n            \"productCategory\": \"General Freight\",\n            \"quantity\": 25,\n            \"measurementUnitCode\": \"PCE\",\n            \"netWeight\": 44.8,\n            \"weightUnit\": \"KGM\",\n            \"unitCost\": 25.0,\n            \"currencyCode\": \"USD\",\n            \"extendedCost\": 625.00,\n            \"freightCost\": 20.00,\n            \"additionalCharges\": 5.00,\n            \"tariffCost\": 2.50,\n            \"fourKitesCalculatedTariffCost\": 2.50,\n            \"totalLandedCost\": 655.00,\n            \"countryOfOrigin\": \"IN\",\n            \"harmonizedSystemCode\": \"8607911000\",\n            \"commodityTypeCode\": \"RAIL_FREIGHT\",\n            \"htsusCode\": \"8607911000\",\n            \"orderNumber\": \"80982\",\n            \"deliveryNumber\": \"DN-PAL002\",\n            \"handlingUnitId\": \"PAL-002\",\n            \"barcode\": \"PAL002\",\n            \"containerType\": \"pallet\",\n            \"gtin\": \"00012345678912\",\n            \"customerPartNumber\": \"33CC\",\n            \"supplierPartNumber\": \"33CC\",\n            \"manufacturerPartNumber\": \"MFG-33CC\",\n            \"itemNumber\": \"ITM-33CC\",\n            \"productUpc\": \"012345678912\",\n            \"deliveryReferences\": [\"DEL-REF-002\"],\n            \"orderReferences\": [\"80982\"],\n            \"brandName\": \"Generic Rail Freight Co\",\n            \"minimumTemperature\": 0,\n            \"maximumTemperature\": 0,\n            \"temperatureUnitCode\": \"cel\",\n            \"labelIdentifier\": \"LBL-33CC\",\n            \"productTrackingNumber\": \"94BC8\",\n            \"deviceType\": \"QR_CODE\"\n          }\n        ],\n        \"useLocalLatLng\": true\n      }\n    ],\n    \"tags\": [\n      \"temp\",\n      \"field2\",\n      \"Inbound\"\n    ]\n  }\n}`)\n\n  client := &http.Client {\n  }\n  req, err := http.NewRequest(method, url, payload)\n\n  if err != nil {\n    fmt.Println(err)\n    return\n  }\n  req.Header.Add(\"Content-Type\", \"application/json\")\n  req.Header.Add(\"apikey\", \"REPLACE_KEY_VALUE\")\n\n  res, err := client.Do(req)\n  if err != nil {\n    fmt.Println(err)\n    return\n  }\n  defer res.Body.Close()\n\n  body, err := ioutil.ReadAll(res.Body)\n  if err != nil {\n    fmt.Println(err)\n    return\n  }\n  fmt.Println(string(body))\n}",
        "customLabel": ""
      },
      {
        "id": "q34hJ2UOkSJpt5ELPMpCI",
        "language": "ruby",
        "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"https://api.ng.fourkites.com/api/v1/tracking\")\n\nhttps = Net::HTTP.new(url.host, url.port)\nhttps.use_ssl = true\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"Content-Type\"] = \"application/json\"\nrequest[\"apikey\"] = \"REPLACE_KEY_VALUE\"\nrequest.body = JSON.dump({\n  \"trackingInfo\": {\n    \"driverPhone\": \"\",\n    \"truckNumber\": \"\",\n    \"railEquipmentInitials\": \"RAIL\",\n    \"railEquipmentNumber\": \"654405\",\n    \"wagonNumber\": \"qwerty123\"\n  },\n  \"load\": {\n    \"loadNumber\": \"TestRail05_1\",\n    \"skipAppointmentTimeValidation\": true,\n    \"priority\": \"normal\",\n    \"carrier\": \"cc79\",\n    \"carrierPermalink\": \"support-carrier-production\",\n    \"carrierName\": \"Support Carrier (Production)\",\n    \"masterSequenceNumber\": \"1\",\n    \"masterReferenceNumber\": \"7328623\",\n    \"referenceNumbers\": [\n      \"TU-2945\",\n      \"80982\",\n      \"94BC8\"\n    ],\n    \"shipper\": nil,\n    \"products\": [],\n    \"stops\": [\n      {\n        \"stopType\": \"pickup\",\n        \"completeAddress\": \"Chennai, TN - 600003, IN\",\n        \"city\": \"Chennai\",\n        \"state\": \"TN\",\n        \"country\": \"IN\",\n        \"customer\": {\n          \"poNumbers\": [\n            \"00210123OF-203503\"\n          ]\n        },\n        \"postalCode\": nil,\n        \"latitude\": 13.0816437,\n        \"longitude\": 80.2752316,\n        \"geofencePoints\": [],\n        \"appointmentTime\": \"2024-08-20T07:35:00.000Z\",\n        \"wantTime\": nil,\n        \"earliestWantTime\": nil,\n        \"latestWantTime\": nil,\n        \"transportationMode\": nil,\n        \"useLocalLatLng\": true,\n        \"StopReferenceNumber\": \"7085568349\",\n        \"pallets\": [\n          {\n            \"number\": \"PAL-001\",\n            \"parts\": [\n              {\n                \"quantity\": \"25\",\n                \"shipperPartNumber\": \"22EE\",\n                \"weight\": \"7.998\"\n              }\n            ]\n          }\n        ],\n        \"productLineItems\": [\n          {\n            \"productId\": \"0123456\",\n            \"productName\": \"Rail Freight Item\",\n            \"productDescription\": \"Rail/intermodal freight shipment item\",\n            \"productCategory\": \"General Freight\",\n            \"quantity\": 25,\n            \"measurementUnitCode\": \"PCE\",\n            \"netWeight\": 44.8,\n            \"weightUnit\": \"KGM\",\n            \"unitCost\": 25.0,\n            \"currencyCode\": \"USD\",\n            \"extendedCost\": 625.00,\n            \"freightCost\": 20.00,\n            \"bestBeforeDate\": \"2026-04-25T00:00:00Z\",\n            \"additionalCharges\": 5.00,\n            \"tariffCost\": 2.50,\n            \"fourKitesCalculatedTariffCost\": 2.50,\n            \"totalLandedCost\": 655.00,\n            \"countryOfOrigin\": \"IN\",\n            \"harmonizedSystemCode\": \"8607911000\",\n            \"commodityTypeCode\": \"RAIL_FREIGHT\",\n            \"htsusCode\": \"8607911000\",\n            \"orderNumber\": \"TU-2945\",\n            \"deliveryNumber\": \"DN-7085568349\",\n            \"handlingUnitId\": \"PAL-001\",\n            \"barcode\": \"PAL001\",\n            \"containerType\": \"pallet\",\n            \"gtin\": \"00012345678905\",\n            \"customerPartNumber\": \"22EE\",\n            \"supplierPartNumber\": \"22EE\",\n            \"manufacturerPartNumber\": \"MFG-22EE\",\n            \"itemNumber\": \"ITM-22EE\",\n            \"productUpc\": \"012345678905\",\n            \"deliveryReferences\": [\"DEL-REF-001\"],\n            \"orderReferences\": [\"TU-2945\"],\n            \"brandName\": \"Generic Rail Freight Co\",\n            \"minimumTemperature\": 0,\n            \"maximumTemperature\": 0,\n            \"temperatureUnitCode\": \"cel\",\n            \"labelIdentifier\": \"LBL-22EE\",\n            \"productTrackingNumber\": \"7085568349\",\n            \"deviceType\": \"RFID_TAG\"\n          }\n        ]\n      },\n      {\n        \"stopType\": \"delivery\",\n        \"completeAddress\": \"Bengaluru, KA - 560002, IN\",\n        \"city\": \"Bengaluru\",\n        \"state\": \"KA\",\n        \"country\": \"IN\",\n        \"postalCode\": \"78738\",\n        \"latitude\": 12.96643,\n        \"longitude\": 77.58718,\n        \"geofencePoints\": [],\n        \"appointmentTime\": \"2024-08-29T07:35:00.000Z\",\n        \"wantTime\": nil,\n        \"earliestWantTime\": nil,\n        \"latestWantTime\": nil,\n        \"transportationMode\": nil,\n        \"addressType\": \"\",\n        \"pallets\": [\n          {\n            \"number\": \"PAL-002\",\n            \"parts\": [\n              {\n                \"quantity\": \"25\",\n                \"shipperPartNumber\": \"22EE\",\n                \"weight\": \"7.998\"\n              }\n            ]\n          }\n        ],\n        \"productLineItems\": [\n          {\n            \"productId\": \"0123456\",\n            \"productName\": \"Rail Freight Item\",\n            \"productDescription\": \"Rail/intermodal freight shipment item\",\n            \"productCategory\": \"General Freight\",\n            \"quantity\": 25,\n            \"measurementUnitCode\": \"PCE\",\n            \"netWeight\": 44.8,\n            \"weightUnit\": \"KGM\",\n            \"unitCost\": 25.0,\n            \"currencyCode\": \"USD\",\n            \"extendedCost\": 625.00,\n            \"freightCost\": 20.00,\n            \"additionalCharges\": 5.00,\n            \"tariffCost\": 2.50,\n            \"fourKitesCalculatedTariffCost\": 2.50,\n            \"totalLandedCost\": 655.00,\n            \"countryOfOrigin\": \"IN\",\n            \"harmonizedSystemCode\": \"8607911000\",\n            \"commodityTypeCode\": \"RAIL_FREIGHT\",\n            \"htsusCode\": \"8607911000\",\n            \"orderNumber\": \"80982\",\n            \"deliveryNumber\": \"DN-PAL002\",\n            \"handlingUnitId\": \"PAL-002\",\n            \"barcode\": \"PAL002\",\n            \"containerType\": \"pallet\",\n            \"gtin\": \"00012345678912\",\n            \"customerPartNumber\": \"33CC\",\n            \"supplierPartNumber\": \"33CC\",\n            \"manufacturerPartNumber\": \"MFG-33CC\",\n            \"itemNumber\": \"ITM-33CC\",\n            \"productUpc\": \"012345678912\",\n            \"deliveryReferences\": [\"DEL-REF-002\"],\n            \"orderReferences\": [\"80982\"],\n            \"brandName\": \"Generic Rail Freight Co\",\n            \"minimumTemperature\": 0,\n            \"maximumTemperature\": 0,\n            \"temperatureUnitCode\": \"cel\",\n            \"labelIdentifier\": \"LBL-33CC\",\n            \"productTrackingNumber\": \"94BC8\",\n            \"deviceType\": \"QR_CODE\"\n          }\n        ],\n        \"useLocalLatLng\": true\n      }\n    ],\n    \"tags\": [\n      \"temp\",\n      \"field2\",\n      \"Inbound\"\n    ]\n  }\n})\n\nresponse = https.request(request)\nputs response.read_body\n",
        "customLabel": ""
      },
      {
        "id": "QE6Bi_j_PqL8ARv5idGmE",
        "language": "python",
        "code": "import http.client\nimport json\n\nconn = http.client.HTTPSConnection(\"api.ng.fourkites.com\")\npayload = json.dumps({\n  \"trackingInfo\": {\n    \"driverPhone\": \"\",\n    \"truckNumber\": \"\",\n    \"railEquipmentInitials\": \"RAIL\",\n    \"railEquipmentNumber\": \"654405\",\n    \"wagonNumber\": \"qwerty123\"\n  },\n  \"load\": {\n    \"loadNumber\": \"TestRail05_1\",\n    \"skipAppointmentTimeValidation\": True,\n    \"priority\": \"normal\",\n    \"carrier\": \"cc79\",\n    \"carrierPermalink\": \"support-carrier-production\",\n    \"carrierName\": \"Support Carrier (Production)\",\n    \"masterSequenceNumber\": \"1\",\n    \"masterReferenceNumber\": \"7328623\",\n    \"referenceNumbers\": [\n      \"TU-2945\",\n      \"80982\",\n      \"94BC8\"\n    ],\n    \"shipper\": None,\n    \"products\": [],\n    \"stops\": [\n      {\n        \"stopType\": \"pickup\",\n        \"completeAddress\": \"Chennai, TN - 600003, IN\",\n        \"city\": \"Chennai\",\n        \"state\": \"TN\",\n        \"country\": \"IN\",\n        \"customer\": {\n          \"poNumbers\": [\n            \"00210123OF-203503\"\n          ]\n        },\n        \"postalCode\": None,\n        \"latitude\": 13.0816437,\n        \"longitude\": 80.2752316,\n        \"geofencePoints\": [],\n        \"appointmentTime\": \"2024-08-20T07:35:00.000Z\",\n        \"wantTime\": None,\n        \"earliestWantTime\": None,\n        \"latestWantTime\": None,\n        \"transportationMode\": None,\n        \"useLocalLatLng\": True,\n        \"StopReferenceNumber\": \"7085568349\",\n        \"pallets\": [\n          {\n            \"number\": \"PAL-001\",\n            \"parts\": [\n              {\n                \"quantity\": \"25\",\n                \"shipperPartNumber\": \"22EE\",\n                \"weight\": \"7.998\"\n              }\n            ]\n          }\n        ],\n        \"productLineItems\": [\n          {\n            \"productId\": \"0123456\",\n            \"productName\": \"Rail Freight Item\",\n            \"productDescription\": \"Rail/intermodal freight shipment item\",\n            \"productCategory\": \"General Freight\",\n            \"quantity\": 25,\n            \"measurementUnitCode\": \"PCE\",\n            \"netWeight\": 44.8,\n            \"weightUnit\": \"KGM\",\n            \"unitCost\": 25.0,\n            \"currencyCode\": \"USD\",\n            \"extendedCost\": 625.00,\n            \"freightCost\": 20.00,\n            \"bestBeforeDate\": \"2026-04-25T00:00:00Z\",\n            \"additionalCharges\": 5.00,\n            \"tariffCost\": 2.50,\n            \"fourKitesCalculatedTariffCost\": 2.50,\n            \"totalLandedCost\": 655.00,\n            \"countryOfOrigin\": \"IN\",\n            \"harmonizedSystemCode\": \"8607911000\",\n            \"commodityTypeCode\": \"RAIL_FREIGHT\",\n            \"htsusCode\": \"8607911000\",\n            \"orderNumber\": \"TU-2945\",\n            \"deliveryNumber\": \"DN-7085568349\",\n            \"handlingUnitId\": \"PAL-001\",\n            \"barcode\": \"PAL001\",\n            \"containerType\": \"pallet\",\n            \"gtin\": \"00012345678905\",\n            \"customerPartNumber\": \"22EE\",\n            \"supplierPartNumber\": \"22EE\",\n            \"manufacturerPartNumber\": \"MFG-22EE\",\n            \"itemNumber\": \"ITM-22EE\",\n            \"productUpc\": \"012345678905\",\n            \"deliveryReferences\": [\"DEL-REF-001\"],\n            \"orderReferences\": [\"TU-2945\"],\n            \"brandName\": \"Generic Rail Freight Co\",\n            \"minimumTemperature\": 0,\n            \"maximumTemperature\": 0,\n            \"temperatureUnitCode\": \"cel\",\n            \"labelIdentifier\": \"LBL-22EE\",\n            \"productTrackingNumber\": \"7085568349\",\n            \"deviceType\": \"RFID_TAG\"\n          }\n        ]\n      },\n      {\n        \"stopType\": \"delivery\",\n        \"completeAddress\": \"Bengaluru, KA - 560002, IN\",\n        \"city\": \"Bengaluru\",\n        \"state\": \"KA\",\n        \"country\": \"IN\",\n        \"postalCode\": \"78738\",\n        \"latitude\": 12.96643,\n        \"longitude\": 77.58718,\n        \"geofencePoints\": [],\n        \"appointmentTime\": \"2024-08-29T07:35:00.000Z\",\n        \"wantTime\": None,\n        \"earliestWantTime\": None,\n        \"latestWantTime\": None,\n        \"transportationMode\": None,\n        \"addressType\": \"\",\n        \"pallets\": [\n          {\n            \"number\": \"PAL-002\",\n            \"parts\": [\n              {\n                \"quantity\": \"25\",\n                \"shipperPartNumber\": \"22EE\",\n                \"weight\": \"7.998\"\n              }\n            ]\n          }\n        ],\n        \"productLineItems\": [\n          {\n            \"productId\": \"0123456\",\n            \"productName\": \"Rail Freight Item\",\n            \"productDescription\": \"Rail/intermodal freight shipment item\",\n            \"productCategory\": \"General Freight\",\n            \"quantity\": 25,\n            \"measurementUnitCode\": \"PCE\",\n            \"netWeight\": 44.8,\n            \"weightUnit\": \"KGM\",\n            \"unitCost\": 25.0,\n            \"currencyCode\": \"USD\",\n            \"extendedCost\": 625.00,\n            \"freightCost\": 20.00,\n            \"additionalCharges\": 5.00,\n            \"tariffCost\": 2.50,\n            \"fourKitesCalculatedTariffCost\": 2.50,\n            \"totalLandedCost\": 655.00,\n            \"countryOfOrigin\": \"IN\",\n            \"harmonizedSystemCode\": \"8607911000\",\n            \"commodityTypeCode\": \"RAIL_FREIGHT\",\n            \"htsusCode\": \"8607911000\",\n            \"orderNumber\": \"80982\",\n            \"deliveryNumber\": \"DN-PAL002\",\n            \"handlingUnitId\": \"PAL-002\",\n            \"barcode\": \"PAL002\",\n            \"containerType\": \"pallet\",\n            \"gtin\": \"00012345678912\",\n            \"customerPartNumber\": \"33CC\",\n            \"supplierPartNumber\": \"33CC\",\n            \"manufacturerPartNumber\": \"MFG-33CC\",\n            \"itemNumber\": \"ITM-33CC\",\n            \"productUpc\": \"012345678912\",\n            \"deliveryReferences\": [\"DEL-REF-002\"],\n            \"orderReferences\": [\"80982\"],\n            \"brandName\": \"Generic Rail Freight Co\",\n            \"minimumTemperature\": 0,\n            \"maximumTemperature\": 0,\n            \"temperatureUnitCode\": \"cel\",\n            \"labelIdentifier\": \"LBL-33CC\",\n            \"productTrackingNumber\": \"94BC8\",\n            \"deviceType\": \"QR_CODE\"\n          }\n        ],\n        \"useLocalLatLng\": True\n      }\n    ],\n    \"tags\": [\n      \"temp\",\n      \"field2\",\n      \"Inbound\"\n    ]\n  }\n})\nheaders = {\n  'Content-Type': 'application/json',\n  'apikey': 'REPLACE_KEY_VALUE'\n}\nconn.request(\"POST\", \"/api/v1/tracking\", payload, headers)\nres = conn.getresponse()\ndata = res.read()\nprint(data.decode(\"utf-8\"))",
        "customLabel": ""
      }
    ],
    "selectedLanguageId": "QE6Bi_j_PqL8ARv5idGmE"
  },
  "results": {
    "languages": [
      {
        "id": "qkLkfi1sBo1o2cZPrX5P-",
        "language": "200",
        "customLabel": "",
        "code": "{\n  \"statusCode\": 200,\n  \"message\": \"Load creation request has been submitted successfully\",\n  \"loadId\": 176365311\n}"
      }
    ],
    "selectedLanguageId": "qkLkfi1sBo1o2cZPrX5P-"
  },
  "request": {
    "pathParameters": [],
    "queryParameters": [],
    "headerParameters": [],
    "bodyDataParameters": [
      {
        "name": "trackingInfo",
        "kind": "required",
        "type": "object",
        "description": "It indicates the information required for tracking the load.",
        "children": [
          {
            "name": "driverPhone",
            "kind": "optional",
            "type": "string",
            "description": "It indicates a valid mobile number. Example: +13125555555"
          },
          {
            "name": "truckNumber",
            "kind": "optional",
            "type": "string",
            "description": "It indicates the tractor or asset number dispatched by the carrier for the load."
          },
          {
            "name": "railEquipmentInitials",
            "kind": "optional",
            "type": "string",
            "description": "It indicates the 2 to 4 character rail equipment prefix."
          },
          {
            "name": "railEquipmentNumber",
            "kind": "optional",
            "type": "string",
            "description": "It indicates the load's six character rail container number."
          },
          {
            "name": "wagonNumber",
            "kind": "optional",
            "type": "string",
            "description": "For European Rail loads, the wagonNumber field should be used instead of the railEquipmentInitials and railEquipmentNumber fields as European standards of naming/identifying rail equipments are different than other regions. If your organization intends to track rail shipments in Europe, please contact your implementation manager and request that European rail tracking be enabled along with usage of this field. (CM) This applies to Europe only. If you do not intend to track rail shipments in Europe, this field may be ignored."
          }
        ]
      },
      {
        "name": "load",
        "kind": "required",
        "type": "object",
        "description": "It is the parent object for the load. Place the load attributes inside this object.",
        "children": [
          {
            "name": "loadNumber",
            "kind": "required",
            "type": "string",
            "description": "It is the unique load identifier from shipper's system. The load Number or BOL is an important piece of information used to link the load with truck information received from the Carrier's TMS."
          },
          {
            "name": "priority",
            "kind": "optional",
            "type": "string",
            "description": "It indicates whether a load is of normal or high priority. If priority is set as ‘hot’, the load will be marked as ‘Hot’. Valid values: ‘normal’, ‘high’ and ‘hot’. Defaults to normal. Setting the 'Priority' as 'hot' will mark the load as 'Hot' load."
          },
          {
            "name": "carrier",
            "kind": "optional",
            "type": "string",
            "description": "It is the SCAC or Service Provider ID of the carrier assigned to the load. The carrier should have approved sharing of their telematics data on FourKites® for the customer."
          },
          {
            "name": "carrierPermalink",
            "kind": "required",
            "type": "string",
            "description": "It is the unique identifier for the carrier in the FourKites platform."
          },
          {
            "name": "carrierName",
            "kind": "optional",
            "type": "string",
            "description": "It is the name of the carrier in the FK platform."
          },
          {
            "name": "masterSequenceNumber",
            "kind": "optional",
            "type": "string",
            "description": "It is the unique sequence number that represents the leg of the trip used for Consignment Pooling."
          },
          {
            "name": "masterReferenceNumber",
            "kind": "optional",
            "type": "string",
            "description": "It indicates a common reference number across a group of consignment loads in order to group them. For example, consignmentReferenceNumber: “XAF-BATCH-1”. (Conditional Mandatory)"
          },
          {
            "name": "referenceNumbers",
            "kind": "optional",
            "type": "array",
            "description": "It is the list of load-level reference numbers associated with a load. (CM)"
          },
          {
            "name": "shipper",
            "kind": "optional",
            "type": "string",
            "description": "It is the name of the shipper."
          },
          {
            "name": "products",
            "kind": "optional",
            "type": "string",
            "description": "It indicates the list of temperature tracked products on a load and their temperature tracking information."
          },
          {
            "name": "stops",
            "kind": "required",
            "type": "object",
            "description": "It is the list of stops for the load.",
            "children": [
              {
                "name": "stopType",
                "kind": "required",
                "type": "string",
                "description": "It defines the function of the stop. \tValid values: \"pickup\", \"delivery\", \"transfer\", \"portOfLoading\", \"transshipmentPort\", \"portOfDischarge\". There should be at least one pickup and delivery stop or one transfer (terminal) and one delivery."
              },
              {
                "name": "completeAddress",
                "kind": "optional",
                "type": "string",
                "description": "It indicates the first, second line of the stop's address -- along with city, state, postalCode and country information."
              },
              {
                "name": "city",
                "kind": "required",
                "type": "string",
                "description": "It indicates the name of the city."
              },
              {
                "name": "state",
                "kind": "required",
                "type": "string",
                "description": "it indicates the 2 character state code for US & Canada and 3 Character state code for Mexico."
              },
              {
                "name": "country",
                "kind": "optional",
                "type": "string",
                "description": "It indicates the valid country code."
              },
              {
                "name": "customer",
                "kind": "optional",
                "type": "object",
                "description": "It indicates the customer information for the stop. (CM)",
                "children": [
                  {
                    "name": "poNumbers",
                    "kind": "optional",
                    "type": "string",
                    "description": "It indicates the list of Customer PO Numbers associated with the load's stop. (CM)"
                  }
                ]
              },
              {
                "name": "postalCode",
                "kind": "optional",
                "type": "string",
                "description": "It indicates the valid postal code for the stop."
              },
              {
                "name": "latitude",
                "kind": "optional",
                "type": "string",
                "description": "It indicates the latitude of the stop's location. \tIt is formatted to decimal degrees.The only accepted format of lat/long by FourKites is the \"Decimal Degrees\" format. For example: 41.8781 (lat), -87.6298 (long)."
              },
              {
                "name": "longitude",
                "kind": "optional",
                "type": "string",
                "description": "It indicates the longitude of the stop's location. \tIt is formatted to decimal degrees.The only accepted format of lat/long by FourKites® is the \"Decimal Degrees\" format. For example: 41.8781 (lat), -87.6298 (long)."
              },
              {
                "name": "geofencePoints",
                "kind": "optional",
                "type": "string",
                "description": "It indicates the list of lat/long coordinates of the corners of the polygon geofence around the stop to be used for detecting arrival."
              },
              {
                "name": "appointmentTime",
                "kind": "required",
                "type": "string",
                "description": "It indicates the scheduled appointment time at the stop in the stop's local timezone in ISO 8601 format. ISO 8601 format. Appointment times cannot be more than 4 days in the past from the current time."
              },
              {
                "name": "wantTime",
                "kind": "optional",
                "type": "string",
                "description": "It indicates the time by which the load must be delivered to the consignee in stop's local timezone in ISO 8601 format.  (CM)"
              },
              {
                "name": "earliestWantTime",
                "kind": "optional",
                "type": "string",
                "description": "It indicates the earliest time by which the load must be delivered to the consignee in the stop's local timezone in ISO 8601 format. (CM). If the earliestWantTime is sent, then the latestWantTime must also be sent."
              },
              {
                "name": "latestWantTime",
                "kind": "optional",
                "type": "string",
                "description": "It indicates the latest time by which the load must be delivered to the consignee in the stop's local timezone in ISO 8601 format. (CM). If the latestWantTime is sent, then the earliestWantTime must also be sent."
              },
              {
                "name": "transportationMode",
                "kind": "optional",
                "type": "string",
                "description": "It defines the mode of the load. Valid values: \"TL\", \"LTL\", \"RAIL\", \"OCEAN\", \"PARCEL\""
              },
              {
                "name": "StopReferenceNumber",
                "kind": "optional",
                "type": "string",
                "description": "A unique identifier or reference number associated with a specific stop in the transportation journey. Stop Reference Number is one of the stop identifiers."
              },
              {
                "name": "pallets",
                "kind": "optional",
                "type": "object",
                "description": "It indicates the list of pallets to be delivered at the stop. Each pallet has a pallet number and list of parts.",
                "children": [
                  {
                    "name": "number",
                    "kind": "optional",
                    "type": "string",
                    "description": "It indicates the pallet number."
                  },
                  {
                    "name": "parts",
                    "kind": "optional",
                    "type": "object",
                    "description": "It indicates the list of parts in the pallet.",
                    "children": [
                      {
                        "name": "quantity",
                        "kind": "optional",
                        "type": "string",
                        "description": "It indicates the quantity of the part."
                      },
                      {
                        "name": "shipperPartNumber",
                        "kind": "optional",
                        "type": "string",
                        "description": "It indicates the shipper/manufacturer’s part number."
                      },
                      {
                        "name": "weight",
                        "kind": "optional",
                        "type": "string",
                        "description": "It indicates the weight of the part."
                      }
                    ]
                  }
                ]
              },
              {
                "name": "productLineItems",
                "kind": "optional",
                "type": "object",
                "description": "It is the list of product level details associated with a stop. Replaces the legacy pallets/parts structure going forward.",
                "children": [
                  {
                    "name": "productId",
                    "kind": "required",
                    "type": "string",
                    "description": "Unique identifier for the product. Mandatory if productLineItems object is present"
                  },
                  {
                    "name": "productName",
                    "kind": "optional",
                    "type": "string",
                    "description": "Name of the product"
                  },
                  {
                    "name": "productDescription",
                    "kind": "optional",
                    "type": "string",
                    "description": "Detailed description of the product"
                  },
                  {
                    "name": "productCategory",
                    "kind": "optional",
                    "type": "string",
                    "description": "Category classification of the product"
                  },
                  {
                    "name": "quantity",
                    "kind": "optional",
                    "type": "integer",
                    "description": "Number of units in the shipment"
                  },
                  {
                    "name": "measurementUnitCode",
                    "kind": "optional",
                    "type": "string",
                    "description": "Unit of measurement for quantity (e.g., PCE, KG, LB)"
                  },
                  {
                    "name": "netWeight",
                    "kind": "optional",
                    "type": "string",
                    "description": "Weight of the product excluding packaging"
                  },
                  {
                    "name": "weightUnit",
                    "kind": "optional",
                    "type": "string",
                    "description": "Unit of measurement for weight (e.g., KGM, LBM)"
                  },
                  {
                    "name": "unitCost",
                    "kind": "optional",
                    "type": "number",
                    "description": "Cost per unit of the product"
                  },
                  {
                    "name": "currencyCode",
                    "kind": "optional",
                    "type": "string",
                    "description": "Currency code for cost fields"
                  },
                  {
                    "name": "extendedCost",
                    "kind": "optional",
                    "type": "number",
                    "description": "Total cost for all units (unitCost x quantity)"
                  },
                  {
                    "name": "freightCost",
                    "kind": "optional",
                    "type": "number",
                    "description": "Freight cost allocated to this line item"
                  },
                  {
                    "name": "bestBeforeDate",
                    "kind": "optional",
                    "type": "string",
                    "description": "Expiration or best before date for the product"
                  },
                  {
                    "name": "additionalCharges",
                    "kind": "optional",
                    "type": "number",
                    "description": "Any additional charges specific to this line item"
                  },
                  {
                    "name": "tariffCost",
                    "kind": "optional",
                    "type": "number",
                    "description": "Tariff cost for this specific line item"
                  },
                  {
                    "name": "fourKitesCalculatedTariffCost",
                    "kind": "optional",
                    "type": "number",
                    "description": "System-calculated tariff cost"
                  },
                  {
                    "name": "totalLandedCost",
                    "kind": "optional",
                    "type": "number",
                    "description": "Total landed cost for this line item"
                  },
                  {
                    "name": "countryOfOrigin",
                    "kind": "optional",
                    "type": "string",
                    "description": "Country of origin for this product"
                  },
                  {
                    "name": "harmonizedSystemCode",
                    "kind": "optional",
                    "type": "string",
                    "description": "International trade classification code"
                  },
                  {
                    "name": "commodityTypeCode",
                    "kind": "optional",
                    "type": "string",
                    "description": "Commodity classification code"
                  },
                  {
                    "name": "htsusCode",
                    "kind": "optional",
                    "type": "string",
                    "description": "Harmonized Tariff Schedule code for US imports"
                  },
                  {
                    "name": "orderNumber",
                    "kind": "optional",
                    "type": "string",
                    "description": "Purchase order number"
                  },
                  {
                    "name": "deliveryNumber",
                    "kind": "optional",
                    "type": "string",
                    "description": "Delivery reference number"
                  },
                  {
                    "name": "handlingUnitId",
                    "kind": "optional",
                    "type": "string",
                    "description": "Identifier for the handling unit (pallet, box, etc.)"
                  },
                  {
                    "name": "barcode",
                    "kind": "optional",
                    "type": "string",
                    "description": "Product barcode"
                  },
                  {
                    "name": "containerType",
                    "kind": "optional",
                    "type": "string",
                    "description": "Type of container (pallet, box, carton, etc.)"
                  },
                  {
                    "name": "gtin",
                    "kind": "optional",
                    "type": "string",
                    "description": "Global Trade Item Number"
                  },
                  {
                    "name": "customerPartNumber",
                    "kind": "optional",
                    "type": "string",
                    "description": "Customer's part number for the product"
                  },
                  {
                    "name": "supplierPartNumber",
                    "kind": "optional",
                    "type": "string",
                    "description": "Supplier's part number for the product"
                  },
                  {
                    "name": "manufacturerPartNumber",
                    "kind": "optional",
                    "type": "string",
                    "description": "Manufacturer's part number"
                  },
                  {
                    "name": "itemNumber",
                    "kind": "optional",
                    "type": "string",
                    "description": "Internal item number"
                  },
                  {
                    "name": "productUpc",
                    "kind": "optional",
                    "type": "string",
                    "description": "Universal Product Code"
                  },
                  {
                    "name": "deliveryReferences",
                    "kind": "optional",
                    "type": "string",
                    "description": "Array of delivery reference numbers"
                  },
                  {
                    "name": "orderReferences",
                    "kind": "optional",
                    "type": "string",
                    "description": "Array of order reference numbers"
                  },
                  {
                    "name": "brandName",
                    "kind": "optional",
                    "type": "string",
                    "description": "Brand name of the product"
                  },
                  {
                    "name": "minimumTemperature",
                    "kind": "optional",
                    "type": "integer",
                    "description": "Minimum storage/transport temperature"
                  },
                  {
                    "name": "maximumTemperature",
                    "kind": "optional",
                    "type": "integer",
                    "description": "Maximum storage/transport temperature"
                  },
                  {
                    "name": "temperatureUnitCode",
                    "kind": "optional",
                    "type": "string",
                    "description": "Temperature unit (cel, fah)"
                  },
                  {
                    "name": "labelIdentifier",
                    "kind": "optional",
                    "type": "string",
                    "description": "Label identifier for tracking"
                  },
                  {
                    "name": "productTrackingNumber",
                    "kind": "optional",
                    "type": "string",
                    "description": "Unique tracking number for the product"
                  },
                  {
                    "name": "deviceType",
                    "kind": "optional",
                    "type": "string",
                    "description": "Type of tracking device (RFID_TAG, QR_CODE, etc.)"
                  }
                ]
              }
            ]
          },
          {
            "name": "tags",
            "kind": "optional",
            "type": "array",
            "description": "It is the list of tags or labels to be assigned to a load. Loads can be filtered in FourKites using tags. It is used for assigning categories for the load. A single tag can't exceed 50 characters. Even though we don’t have restrictions on the number of tags, it is advisable to keep total characters of all tags within the count of 255. (CM)"
          }
        ],
        "schema": [
          {
            "name": "loadNumber",
            "kind": "required",
            "type": "string",
            "description": "It is the unique load identifier from shipper's system. The load Number or BOL is an important piece of information used to link the load with truck information received from the Carrier's TMS."
          },
          {
            "name": "priority",
            "kind": "optional",
            "type": "string",
            "description": "It indicates whether a load is of normal or high priority. If priority is set as ‘hot’, the load will be marked as ‘Hot’. Valid values: ‘normal’, ‘high’ and ‘hot’. Defaults to normal. Setting the 'Priority' as 'hot' will mark the load as 'Hot' load."
          },
          {
            "name": "carrier",
            "kind": "optional",
            "type": "string",
            "description": "It is the SCAC or Service Provider ID of the carrier assigned to the load. The carrier should have approved sharing of their telematics data on FourKites® for the customer."
          },
          {
            "name": "carrierPermalink",
            "kind": "required",
            "type": "string",
            "description": "It is the unique identifier for the carrier in the FourKites platform."
          },
          {
            "name": "carrierName",
            "kind": "optional",
            "type": "string",
            "description": "It is the name of the carrier in the FK platform."
          },
          {
            "name": "masterSequenceNumber",
            "kind": "optional",
            "type": "string",
            "description": "It is the unique sequence number that represents the leg of the trip used for Consignment Pooling."
          },
          {
            "name": "masterReferenceNumber",
            "kind": "optional",
            "type": "string",
            "description": "It indicates a common reference number across a group of consignment loads in order to group them. For example, consignmentReferenceNumber: “XAF-BATCH-1”. (Conditional Mandatory)"
          },
          {
            "name": "referenceNumbers",
            "kind": "optional",
            "type": "array",
            "description": "It is the list of load-level reference numbers associated with a load. (CM)"
          },
          {
            "name": "shipper",
            "kind": "optional",
            "type": "string",
            "description": "It is the name of the shipper."
          },
          {
            "name": "products",
            "kind": "optional",
            "type": "string",
            "description": "It indicates the list of temperature tracked products on a load and their temperature tracking information."
          },
          {
            "name": "stops",
            "kind": "required",
            "type": "object",
            "description": "It is the list of stops for the load.",
            "children": [
              {
                "name": "stopType",
                "kind": "required",
                "type": "string",
                "description": "It defines the function of the stop. \tValid values: \"pickup\", \"delivery\", \"transfer\", \"portOfLoading\", \"transshipmentPort\", \"portOfDischarge\". There should be at least one pickup and delivery stop or one transfer (terminal) and one delivery."
              },
              {
                "name": "completeAddress",
                "kind": "optional",
                "type": "string",
                "description": "It indicates the first, second line of the stop's address -- along with city, state, postalCode and country information."
              },
              {
                "name": "city",
                "kind": "required",
                "type": "string",
                "description": "It indicates the name of the city."
              },
              {
                "name": "state",
                "kind": "required",
                "type": "string",
                "description": "it indicates the 2 character state code for US & Canada and 3 Character state code for Mexico."
              },
              {
                "name": "country",
                "kind": "optional",
                "type": "string",
                "description": "It indicates the valid country code."
              },
              {
                "name": "customer",
                "kind": "optional",
                "type": "object",
                "description": "It indicates the customer information for the stop. (CM)",
                "children": [
                  {
                    "name": "poNumbers",
                    "kind": "optional",
                    "type": "string",
                    "description": "It indicates the list of Customer PO Numbers associated with the load's stop. (CM)"
                  }
                ]
              },
              {
                "name": "postalCode",
                "kind": "optional",
                "type": "string",
                "description": "It indicates the valid postal code for the stop."
              },
              {
                "name": "latitude",
                "kind": "optional",
                "type": "string",
                "description": "It indicates the latitude of the stop's location. \tIt is formatted to decimal degrees.The only accepted format of lat/long by FourKites is the \"Decimal Degrees\" format. For example: 41.8781 (lat), -87.6298 (long)."
              },
              {
                "name": "longitude",
                "kind": "optional",
                "type": "string",
                "description": "It indicates the longitude of the stop's location. \tIt is formatted to decimal degrees.The only accepted format of lat/long by FourKites® is the \"Decimal Degrees\" format. For example: 41.8781 (lat), -87.6298 (long)."
              },
              {
                "name": "geofencePoints",
                "kind": "optional",
                "type": "string",
                "description": "It indicates the list of lat/long coordinates of the corners of the polygon geofence around the stop to be used for detecting arrival."
              },
              {
                "name": "appointmentTime",
                "kind": "required",
                "type": "string",
                "description": "It indicates the scheduled appointment time at the stop in the stop's local timezone in ISO 8601 format. ISO 8601 format. Appointment times cannot be more than 4 days in the past from the current time."
              },
              {
                "name": "wantTime",
                "kind": "optional",
                "type": "string",
                "description": "It indicates the time by which the load must be delivered to the consignee in stop's local timezone in ISO 8601 format.  (CM)"
              },
              {
                "name": "earliestWantTime",
                "kind": "optional",
                "type": "string",
                "description": "It indicates the earliest time by which the load must be delivered to the consignee in the stop's local timezone in ISO 8601 format. (CM). If the earliestWantTime is sent, then the latestWantTime must also be sent."
              },
              {
                "name": "latestWantTime",
                "kind": "optional",
                "type": "string",
                "description": "It indicates the latest time by which the load must be delivered to the consignee in the stop's local timezone in ISO 8601 format. (CM). If the latestWantTime is sent, then the earliestWantTime must also be sent."
              },
              {
                "name": "transportationMode",
                "kind": "optional",
                "type": "string",
                "description": "It defines the mode of the load. Valid values: \"TL\", \"LTL\", \"RAIL\", \"OCEAN\", \"PARCEL\""
              },
              {
                "name": "StopReferenceNumber",
                "kind": "optional",
                "type": "string",
                "description": "A unique identifier or reference number associated with a specific stop in the transportation journey. Stop Reference Number is one of the stop identifiers."
              },
              {
                "name": "pallets",
                "kind": "optional",
                "type": "object",
                "description": "It indicates the list of pallets to be delivered at the stop. Each pallet has a pallet number and list of parts.",
                "children": [
                  {
                    "name": "number",
                    "kind": "optional",
                    "type": "string",
                    "description": "It indicates the pallet number."
                  },
                  {
                    "name": "parts",
                    "kind": "optional",
                    "type": "object",
                    "description": "It indicates the list of parts in the pallet.",
                    "children": [
                      {
                        "name": "quantity",
                        "kind": "optional",
                        "type": "string",
                        "description": "It indicates the quantity of the part."
                      },
                      {
                        "name": "shipperPartNumber",
                        "kind": "optional",
                        "type": "string",
                        "description": "It indicates the shipper/manufacturer’s part number."
                      },
                      {
                        "name": "weight",
                        "kind": "optional",
                        "type": "string",
                        "description": "It indicates the weight of the part."
                      }
                    ]
                  }
                ]
              },
              {
                "name": "productLineItems",
                "kind": "optional",
                "type": "object",
                "description": "It is the list of product level details associated with a stop. Replaces the legacy pallets/parts structure going forward.",
                "children": [
                  {
                    "name": "productId",
                    "kind": "required",
                    "type": "string",
                    "description": "Unique identifier for the product. Mandatory if productLineItems object is present"
                  },
                  {
                    "name": "productName",
                    "kind": "optional",
                    "type": "string",
                    "description": "Name of the product"
                  },
                  {
                    "name": "productDescription",
                    "kind": "optional",
                    "type": "string",
                    "description": "Detailed description of the product"
                  },
                  {
                    "name": "productCategory",
                    "kind": "optional",
                    "type": "string",
                    "description": "Category classification of the product"
                  },
                  {
                    "name": "quantity",
                    "kind": "optional",
                    "type": "integer",
                    "description": "Number of units in the shipment"
                  },
                  {
                    "name": "measurementUnitCode",
                    "kind": "optional",
                    "type": "string",
                    "description": "Unit of measurement for quantity (e.g., PCE, KG, LB)"
                  },
                  {
                    "name": "netWeight",
                    "kind": "optional",
                    "type": "string",
                    "description": "Weight of the product excluding packaging"
                  },
                  {
                    "name": "weightUnit",
                    "kind": "optional",
                    "type": "string",
                    "description": "Unit of measurement for weight (e.g., KGM, LBM)"
                  },
                  {
                    "name": "unitCost",
                    "kind": "optional",
                    "type": "number",
                    "description": "Cost per unit of the product"
                  },
                  {
                    "name": "currencyCode",
                    "kind": "optional",
                    "type": "string",
                    "description": "Currency code for cost fields"
                  },
                  {
                    "name": "extendedCost",
                    "kind": "optional",
                    "type": "number",
                    "description": "Total cost for all units (unitCost x quantity)"
                  },
                  {
                    "name": "freightCost",
                    "kind": "optional",
                    "type": "number",
                    "description": "Freight cost allocated to this line item"
                  },
                  {
                    "name": "bestBeforeDate",
                    "kind": "optional",
                    "type": "string",
                    "description": "Expiration or best before date for the product"
                  },
                  {
                    "name": "additionalCharges",
                    "kind": "optional",
                    "type": "number",
                    "description": "Any additional charges specific to this line item"
                  },
                  {
                    "name": "tariffCost",
                    "kind": "optional",
                    "type": "number",
                    "description": "Tariff cost for this specific line item"
                  },
                  {
                    "name": "fourKitesCalculatedTariffCost",
                    "kind": "optional",
                    "type": "number",
                    "description": "System-calculated tariff cost"
                  },
                  {
                    "name": "totalLandedCost",
                    "kind": "optional",
                    "type": "number",
                    "description": "Total landed cost for this line item"
                  },
                  {
                    "name": "countryOfOrigin",
                    "kind": "optional",
                    "type": "string",
                    "description": "Country of origin for this product"
                  },
                  {
                    "name": "harmonizedSystemCode",
                    "kind": "optional",
                    "type": "string",
                    "description": "International trade classification code"
                  },
                  {
                    "name": "commodityTypeCode",
                    "kind": "optional",
                    "type": "string",
                    "description": "Commodity classification code"
                  },
                  {
                    "name": "htsusCode",
                    "kind": "optional",
                    "type": "string",
                    "description": "Harmonized Tariff Schedule code for US imports"
                  },
                  {
                    "name": "orderNumber",
                    "kind": "optional",
                    "type": "string",
                    "description": "Purchase order number"
                  },
                  {
                    "name": "deliveryNumber",
                    "kind": "optional",
                    "type": "string",
                    "description": "Delivery reference number"
                  },
                  {
                    "name": "handlingUnitId",
                    "kind": "optional",
                    "type": "string",
                    "description": "Identifier for the handling unit (pallet, box, etc.)"
                  },
                  {
                    "name": "barcode",
                    "kind": "optional",
                    "type": "string",
                    "description": "Product barcode"
                  },
                  {
                    "name": "containerType",
                    "kind": "optional",
                    "type": "string",
                    "description": "Type of container (pallet, box, carton, etc.)"
                  },
                  {
                    "name": "gtin",
                    "kind": "optional",
                    "type": "string",
                    "description": "Global Trade Item Number"
                  },
                  {
                    "name": "customerPartNumber",
                    "kind": "optional",
                    "type": "string",
                    "description": "Customer's part number for the product"
                  },
                  {
                    "name": "supplierPartNumber",
                    "kind": "optional",
                    "type": "string",
                    "description": "Supplier's part number for the product"
                  },
                  {
                    "name": "manufacturerPartNumber",
                    "kind": "optional",
                    "type": "string",
                    "description": "Manufacturer's part number"
                  },
                  {
                    "name": "itemNumber",
                    "kind": "optional",
                    "type": "string",
                    "description": "Internal item number"
                  },
                  {
                    "name": "productUpc",
                    "kind": "optional",
                    "type": "string",
                    "description": "Universal Product Code"
                  },
                  {
                    "name": "deliveryReferences",
                    "kind": "optional",
                    "type": "string",
                    "description": "Array of delivery reference numbers"
                  },
                  {
                    "name": "orderReferences",
                    "kind": "optional",
                    "type": "string",
                    "description": "Array of order reference numbers"
                  },
                  {
                    "name": "brandName",
                    "kind": "optional",
                    "type": "string",
                    "description": "Brand name of the product"
                  },
                  {
                    "name": "minimumTemperature",
                    "kind": "optional",
                    "type": "integer",
                    "description": "Minimum storage/transport temperature"
                  },
                  {
                    "name": "maximumTemperature",
                    "kind": "optional",
                    "type": "integer",
                    "description": "Maximum storage/transport temperature"
                  },
                  {
                    "name": "temperatureUnitCode",
                    "kind": "optional",
                    "type": "string",
                    "description": "Temperature unit (cel, fah)"
                  },
                  {
                    "name": "labelIdentifier",
                    "kind": "optional",
                    "type": "string",
                    "description": "Label identifier for tracking"
                  },
                  {
                    "name": "productTrackingNumber",
                    "kind": "optional",
                    "type": "string",
                    "description": "Unique tracking number for the product"
                  },
                  {
                    "name": "deviceType",
                    "kind": "optional",
                    "type": "string",
                    "description": "Type of tracking device (RFID_TAG, QR_CODE, etc.)"
                  }
                ]
              }
            ]
          },
          {
            "name": "tags",
            "kind": "optional",
            "type": "array",
            "description": "It is the list of tags or labels to be assigned to a load. Loads can be filtered in FourKites using tags. It is used for assigning categories for the load. A single tag can't exceed 50 characters. Even though we don’t have restrictions on the number of tags, it is advisable to keep total characters of all tags within the count of 255. (CM)"
          }
        ]
      }
    ],
    "formDataParameters": []
  },
  "currentNewParameter": {
    "label": "Body Parameter",
    "value": "bodyDataParameters"
  },
  "hasTryItOut": false,
  "autoGeneratedAnchorSlug": "azure-production",
  "legacyHash": "hj7sR98jgRd_EkqTvC6rb"
}
```
:::

:::ApiMethodV2
```json
{
  "name": "Azure - Staging",
  "method": "POST",
  "url": "https://api-staging.ng.fourkites.com/api/v1/tracking",
  "description": "",
  "tab": "examples",
  "examples": {
    "languages": [
      {
        "id": "Oz5hW9DYWl5uJH6otuM0s",
        "language": "curl",
        "code": "curl --location 'https://api-staging.ng.fourkites.com/api/v1/tracking' \\\n--header 'Content-Type: application/json' \\\n--header 'apikey: REPLACE_KEY_VALUE' \\\n--data '{\n  \"trackingInfo\": {\n    \"driverPhone\": \"\",\n    \"truckNumber\": \"\",\n    \"railEquipmentInitials\": \"RAIL\",\n    \"railEquipmentNumber\": \"654405\",\n    \"wagonNumber\": \"qwerty123\"\n  },\n  \"load\": {\n    \"loadNumber\": \"TestRail05_1\",\n    \"skipAppointmentTimeValidation\": true,\n    \"priority\": \"normal\",\n    \"carrier\": \"cc79\",\n    \"carrierPermalink\": \"support-carrier-production\",\n    \"carrierName\": \"Support Carrier (Production)\",\n    \"masterSequenceNumber\": \"1\",\n    \"masterReferenceNumber\": \"7328623\",\n    \"referenceNumbers\": [\n      \"TU-2945\",\n      \"80982\",\n      \"94BC8\"\n    ],\n    \"shipper\": null,\n    \"products\": [],\n    \"stops\": [\n      {\n        \"stopType\": \"pickup\",\n        \"completeAddress\": \"Chennai, TN - 600003, IN\",\n        \"city\": \"Chennai\",\n        \"state\": \"TN\",\n        \"country\": \"IN\",\n        \"customer\": {\n          \"poNumbers\": [\n            \"00210123OF-203503\"\n          ]\n        },\n        \"postalCode\": null,\n        \"latitude\": 13.0816437,\n        \"longitude\": 80.2752316,\n        \"geofencePoints\": [],\n        \"appointmentTime\": \"2024-08-20T07:35:00.000Z\",\n        \"wantTime\": null,\n        \"earliestWantTime\": null,\n        \"latestWantTime\": null,\n        \"transportationMode\": null,\n        \"useLocalLatLng\": true,\n        \"StopReferenceNumber\": \"7085568349\",\n        \"pallets\": [\n          {\n            \"number\": \"PAL-001\",\n            \"parts\": [\n              {\n                \"quantity\": \"25\",\n                \"shipperPartNumber\": \"22EE\",\n                \"weight\": \"7.998\"\n              }\n            ]\n          }\n        ],\n        \"productLineItems\": [\n          {\n            \"productId\": \"0123456\",\n            \"productName\": \"Rail Freight Item\",\n            \"productDescription\": \"Rail/intermodal freight shipment item\",\n            \"productCategory\": \"General Freight\",\n            \"quantity\": 25,\n            \"measurementUnitCode\": \"PCE\",\n            \"netWeight\": 44.8,\n            \"weightUnit\": \"KGM\",\n            \"unitCost\": 25.0,\n            \"currencyCode\": \"USD\",\n            \"extendedCost\": 625.00,\n            \"freightCost\": 20.00,\n            \"bestBeforeDate\": \"2026-04-25T00:00:00Z\",\n            \"additionalCharges\": 5.00,\n            \"tariffCost\": 2.50,\n            \"fourKitesCalculatedTariffCost\": 2.50,\n            \"totalLandedCost\": 655.00,\n            \"countryOfOrigin\": \"IN\",\n            \"harmonizedSystemCode\": \"8607911000\",\n            \"commodityTypeCode\": \"RAIL_FREIGHT\",\n            \"htsusCode\": \"8607911000\",\n            \"orderNumber\": \"TU-2945\",\n            \"deliveryNumber\": \"DN-7085568349\",\n            \"handlingUnitId\": \"PAL-001\",\n            \"barcode\": \"PAL001\",\n            \"containerType\": \"pallet\",\n            \"gtin\": \"00012345678905\",\n            \"customerPartNumber\": \"22EE\",\n            \"supplierPartNumber\": \"22EE\",\n            \"manufacturerPartNumber\": \"MFG-22EE\",\n            \"itemNumber\": \"ITM-22EE\",\n            \"productUpc\": \"012345678905\",\n            \"deliveryReferences\": [\"DEL-REF-001\"],\n            \"orderReferences\": [\"TU-2945\"],\n            \"brandName\": \"Generic Rail Freight Co\",\n            \"minimumTemperature\": 0,\n            \"maximumTemperature\": 0,\n            \"temperatureUnitCode\": \"cel\",\n            \"labelIdentifier\": \"LBL-22EE\",\n            \"productTrackingNumber\": \"7085568349\",\n            \"deviceType\": \"RFID_TAG\"\n          }\n        ]\n      },\n      {\n        \"stopType\": \"delivery\",\n        \"completeAddress\": \"Bengaluru, KA - 560002, IN\",\n        \"city\": \"Bengaluru\",\n        \"state\": \"KA\",\n        \"country\": \"IN\",\n        \"postalCode\": \"78738\",\n        \"latitude\": 12.96643,\n        \"longitude\": 77.58718,\n        \"geofencePoints\": [],\n        \"appointmentTime\": \"2024-08-29T07:35:00.000Z\",\n        \"wantTime\": null,\n        \"earliestWantTime\": null,\n        \"latestWantTime\": null,\n        \"transportationMode\": null,\n        \"addressType\": \"\",\n        \"pallets\": [\n          {\n            \"number\": \"PAL-002\",\n            \"parts\": [\n              {\n                \"quantity\": \"25\",\n                \"shipperPartNumber\": \"22EE\",\n                \"weight\": \"7.998\"\n              }\n            ]\n          }\n        ],\n        \"productLineItems\": [\n          {\n            \"productId\": \"0123456\",\n            \"productName\": \"Rail Freight Item\",\n            \"productDescription\": \"Rail/intermodal freight shipment item\",\n            \"productCategory\": \"General Freight\",\n            \"quantity\": 25,\n            \"measurementUnitCode\": \"PCE\",\n            \"netWeight\": 44.8,\n            \"weightUnit\": \"KGM\",\n            \"unitCost\": 25.0,\n            \"currencyCode\": \"USD\",\n            \"extendedCost\": 625.00,\n            \"freightCost\": 20.00,\n            \"additionalCharges\": 5.00,\n            \"tariffCost\": 2.50,\n            \"fourKitesCalculatedTariffCost\": 2.50,\n            \"totalLandedCost\": 655.00,\n            \"countryOfOrigin\": \"IN\",\n            \"harmonizedSystemCode\": \"8607911000\",\n            \"commodityTypeCode\": \"RAIL_FREIGHT\",\n            \"htsusCode\": \"8607911000\",\n            \"orderNumber\": \"80982\",\n            \"deliveryNumber\": \"DN-PAL002\",\n            \"handlingUnitId\": \"PAL-002\",\n            \"barcode\": \"PAL002\",\n            \"containerType\": \"pallet\",\n            \"gtin\": \"00012345678912\",\n            \"customerPartNumber\": \"33CC\",\n            \"supplierPartNumber\": \"33CC\",\n            \"manufacturerPartNumber\": \"MFG-33CC\",\n            \"itemNumber\": \"ITM-33CC\",\n            \"productUpc\": \"012345678912\",\n            \"deliveryReferences\": [\"DEL-REF-002\"],\n            \"orderReferences\": [\"80982\"],\n            \"brandName\": \"Generic Rail Freight Co\",\n            \"minimumTemperature\": 0,\n            \"maximumTemperature\": 0,\n            \"temperatureUnitCode\": \"cel\",\n            \"labelIdentifier\": \"LBL-33CC\",\n            \"productTrackingNumber\": \"94BC8\",\n            \"deviceType\": \"QR_CODE\"\n          }\n        ],\n        \"useLocalLatLng\": true\n      }\n    ],\n    \"tags\": [\n      \"temp\",\n      \"field2\",\n      \"Inbound\"\n    ]\n  }\n}'",
        "customLabel": ""
      },
      {
        "id": "BaKuc0unzRLfeYfHFtiM6",
        "language": "java",
        "code": "OkHttpClient client = new OkHttpClient().newBuilder()\n  .build();\nMediaType mediaType = MediaType.parse(\"application/json\");\nRequestBody body = RequestBody.create(mediaType, \"{\\n  \\\"trackingInfo\\\": {\\n    \\\"driverPhone\\\": \\\"\\\",\\n    \\\"truckNumber\\\": \\\"\\\",\\n    \\\"railEquipmentInitials\\\": \\\"RAIL\\\",\\n    \\\"railEquipmentNumber\\\": \\\"654405\\\",\\n    \\\"wagonNumber\\\": \\\"qwerty123\\\"\\n  },\\n  \\\"load\\\": {\\n    \\\"loadNumber\\\": \\\"TestRail05_1\\\",\\n    \\\"skipAppointmentTimeValidation\\\": true,\\n    \\\"priority\\\": \\\"normal\\\",\\n    \\\"carrier\\\": \\\"cc79\\\",\\n    \\\"carrierPermalink\\\": \\\"support-carrier-production\\\",\\n    \\\"carrierName\\\": \\\"Support Carrier (Production)\\\",\\n    \\\"masterSequenceNumber\\\": \\\"1\\\",\\n    \\\"masterReferenceNumber\\\": \\\"7328623\\\",\\n    \\\"referenceNumbers\\\": [\\n      \\\"TU-2945\\\",\\n      \\\"80982\\\",\\n      \\\"94BC8\\\"\\n    ],\\n    \\\"shipper\\\": null,\\n    \\\"products\\\": [],\\n    \\\"stops\\\": [\\n      {\\n        \\\"stopType\\\": \\\"pickup\\\",\\n        \\\"completeAddress\\\": \\\"Chennai, TN - 600003, IN\\\",\\n        \\\"city\\\": \\\"Chennai\\\",\\n        \\\"state\\\": \\\"TN\\\",\\n        \\\"country\\\": \\\"IN\\\",\\n        \\\"customer\\\": {\\n          \\\"poNumbers\\\": [\\n            \\\"00210123OF-203503\\\"\\n          ]\\n        },\\n        \\\"postalCode\\\": null,\\n        \\\"latitude\\\": 13.0816437,\\n        \\\"longitude\\\": 80.2752316,\\n        \\\"geofencePoints\\\": [],\\n        \\\"appointmentTime\\\": \\\"2024-08-20T07:35:00.000Z\\\",\\n        \\\"wantTime\\\": null,\\n        \\\"earliestWantTime\\\": null,\\n        \\\"latestWantTime\\\": null,\\n        \\\"transportationMode\\\": null,\\n        \\\"useLocalLatLng\\\": true,\\n        \\\"StopReferenceNumber\\\": \\\"7085568349\\\",\\n        \\\"pallets\\\": [\\n          {\\n            \\\"number\\\": \\\"PAL-001\\\",\\n            \\\"parts\\\": [\\n              {\\n                \\\"quantity\\\": \\\"25\\\",\\n                \\\"shipperPartNumber\\\": \\\"22EE\\\",\\n                \\\"weight\\\": \\\"7.998\\\"\\n              }\\n            ]\\n          }\\n        ],\\n        \\\"productLineItems\\\": [\\n          {\\n            \\\"productId\\\": \\\"0123456\\\",\\n            \\\"productName\\\": \\\"Rail Freight Item\\\",\\n            \\\"productDescription\\\": \\\"Rail/intermodal freight shipment item\\\",\\n            \\\"productCategory\\\": \\\"General Freight\\\",\\n            \\\"quantity\\\": 25,\\n            \\\"measurementUnitCode\\\": \\\"PCE\\\",\\n            \\\"netWeight\\\": 44.8,\\n            \\\"weightUnit\\\": \\\"KGM\\\",\\n            \\\"unitCost\\\": 25.0,\\n            \\\"currencyCode\\\": \\\"USD\\\",\\n            \\\"extendedCost\\\": 625.00,\\n            \\\"freightCost\\\": 20.00,\\n            \\\"bestBeforeDate\\\": \\\"2026-04-25T00:00:00Z\\\",\\n            \\\"additionalCharges\\\": 5.00,\\n            \\\"tariffCost\\\": 2.50,\\n            \\\"fourKitesCalculatedTariffCost\\\": 2.50,\\n            \\\"totalLandedCost\\\": 655.00,\\n            \\\"countryOfOrigin\\\": \\\"IN\\\",\\n            \\\"harmonizedSystemCode\\\": \\\"8607911000\\\",\\n            \\\"commodityTypeCode\\\": \\\"RAIL_FREIGHT\\\",\\n            \\\"htsusCode\\\": \\\"8607911000\\\",\\n            \\\"orderNumber\\\": \\\"TU-2945\\\",\\n            \\\"deliveryNumber\\\": \\\"DN-7085568349\\\",\\n            \\\"handlingUnitId\\\": \\\"PAL-001\\\",\\n            \\\"barcode\\\": \\\"PAL001\\\",\\n            \\\"containerType\\\": \\\"pallet\\\",\\n            \\\"gtin\\\": \\\"00012345678905\\\",\\n            \\\"customerPartNumber\\\": \\\"22EE\\\",\\n            \\\"supplierPartNumber\\\": \\\"22EE\\\",\\n            \\\"manufacturerPartNumber\\\": \\\"MFG-22EE\\\",\\n            \\\"itemNumber\\\": \\\"ITM-22EE\\\",\\n            \\\"productUpc\\\": \\\"012345678905\\\",\\n            \\\"deliveryReferences\\\": [\\\"DEL-REF-001\\\"],\\n            \\\"orderReferences\\\": [\\\"TU-2945\\\"],\\n            \\\"brandName\\\": \\\"Generic Rail Freight Co\\\",\\n            \\\"minimumTemperature\\\": 0,\\n            \\\"maximumTemperature\\\": 0,\\n            \\\"temperatureUnitCode\\\": \\\"cel\\\",\\n            \\\"labelIdentifier\\\": \\\"LBL-22EE\\\",\\n            \\\"productTrackingNumber\\\": \\\"7085568349\\\",\\n            \\\"deviceType\\\": \\\"RFID_TAG\\\"\\n          }\\n        ]\\n      },\\n      {\\n        \\\"stopType\\\": \\\"delivery\\\",\\n        \\\"completeAddress\\\": \\\"Bengaluru, KA - 560002, IN\\\",\\n        \\\"city\\\": \\\"Bengaluru\\\",\\n        \\\"state\\\": \\\"KA\\\",\\n        \\\"country\\\": \\\"IN\\\",\\n        \\\"postalCode\\\": \\\"78738\\\",\\n        \\\"latitude\\\": 12.96643,\\n        \\\"longitude\\\": 77.58718,\\n        \\\"geofencePoints\\\": [],\\n        \\\"appointmentTime\\\": \\\"2024-08-29T07:35:00.000Z\\\",\\n        \\\"wantTime\\\": null,\\n        \\\"earliestWantTime\\\": null,\\n        \\\"latestWantTime\\\": null,\\n        \\\"transportationMode\\\": null,\\n        \\\"addressType\\\": \\\"\\\",\\n        \\\"pallets\\\": [\\n          {\\n            \\\"number\\\": \\\"PAL-002\\\",\\n            \\\"parts\\\": [\\n              {\\n                \\\"quantity\\\": \\\"25\\\",\\n                \\\"shipperPartNumber\\\": \\\"22EE\\\",\\n                \\\"weight\\\": \\\"7.998\\\"\\n              }\\n            ]\\n          }\\n        ],\\n        \\\"productLineItems\\\": [\\n          {\\n            \\\"productId\\\": \\\"0123456\\\",\\n            \\\"productName\\\": \\\"Rail Freight Item\\\",\\n            \\\"productDescription\\\": \\\"Rail/intermodal freight shipment item\\\",\\n            \\\"productCategory\\\": \\\"General Freight\\\",\\n            \\\"quantity\\\": 25,\\n            \\\"measurementUnitCode\\\": \\\"PCE\\\",\\n            \\\"netWeight\\\": 44.8,\\n            \\\"weightUnit\\\": \\\"KGM\\\",\\n            \\\"unitCost\\\": 25.0,\\n            \\\"currencyCode\\\": \\\"USD\\\",\\n            \\\"extendedCost\\\": 625.00,\\n            \\\"freightCost\\\": 20.00,\\n            \\\"additionalCharges\\\": 5.00,\\n            \\\"tariffCost\\\": 2.50,\\n            \\\"fourKitesCalculatedTariffCost\\\": 2.50,\\n            \\\"totalLandedCost\\\": 655.00,\\n            \\\"countryOfOrigin\\\": \\\"IN\\\",\\n            \\\"harmonizedSystemCode\\\": \\\"8607911000\\\",\\n            \\\"commodityTypeCode\\\": \\\"RAIL_FREIGHT\\\",\\n            \\\"htsusCode\\\": \\\"8607911000\\\",\\n            \\\"orderNumber\\\": \\\"80982\\\",\\n            \\\"deliveryNumber\\\": \\\"DN-PAL002\\\",\\n            \\\"handlingUnitId\\\": \\\"PAL-002\\\",\\n            \\\"barcode\\\": \\\"PAL002\\\",\\n            \\\"containerType\\\": \\\"pallet\\\",\\n            \\\"gtin\\\": \\\"00012345678912\\\",\\n            \\\"customerPartNumber\\\": \\\"33CC\\\",\\n            \\\"supplierPartNumber\\\": \\\"33CC\\\",\\n            \\\"manufacturerPartNumber\\\": \\\"MFG-33CC\\\",\\n            \\\"itemNumber\\\": \\\"ITM-33CC\\\",\\n            \\\"productUpc\\\": \\\"012345678912\\\",\\n            \\\"deliveryReferences\\\": [\\\"DEL-REF-002\\\"],\\n            \\\"orderReferences\\\": [\\\"80982\\\"],\\n            \\\"brandName\\\": \\\"Generic Rail Freight Co\\\",\\n            \\\"minimumTemperature\\\": 0,\\n            \\\"maximumTemperature\\\": 0,\\n            \\\"temperatureUnitCode\\\": \\\"cel\\\",\\n            \\\"labelIdentifier\\\": \\\"LBL-33CC\\\",\\n            \\\"productTrackingNumber\\\": \\\"94BC8\\\",\\n            \\\"deviceType\\\": \\\"QR_CODE\\\"\\n          }\\n        ],\\n        \\\"useLocalLatLng\\\": true\\n      }\\n    ],\\n    \\\"tags\\\": [\\n      \\\"temp\\\",\\n      \\\"field2\\\",\\n      \\\"Inbound\\\"\\n    ]\\n  }\\n}\");\nRequest request = new Request.Builder()\n  .url(\"https://api-staging.ng.fourkites.com/api/v1/tracking\")\n  .method(\"POST\", body)\n  .addHeader(\"Content-Type\", \"application/json\")\n  .addHeader(\"apikey\", \"REPLACE_KEY_VALUE\")\n  .build();\nResponse response = client.newCall(request).execute();",
        "customLabel": ""
      },
      {
        "id": "rZWijjIsBRF4JmBXGx3ZA",
        "language": "javascript",
        "code": "var settings = {\n  \"url\": \"https://api-staging.ng.fourkites.com/api/v1/tracking\",\n  \"method\": \"POST\",\n  \"timeout\": 0,\n  \"headers\": {\n    \"Content-Type\": \"application/json\",\n    \"apikey\": \"REPLACE_KEY_VALUE\"\n  },\n  \"data\": JSON.stringify({\n    \"trackingInfo\": {\n      \"driverPhone\": \"\",\n      \"truckNumber\": \"\",\n      \"railEquipmentInitials\": \"RAIL\",\n      \"railEquipmentNumber\": \"654405\",\n      \"wagonNumber\": \"qwerty123\"\n    },\n    \"load\": {\n      \"loadNumber\": \"TestRail05_1\",\n      \"skipAppointmentTimeValidation\": true,\n      \"priority\": \"normal\",\n      \"carrier\": \"cc79\",\n      \"carrierPermalink\": \"support-carrier-production\",\n      \"carrierName\": \"Support Carrier (Production)\",\n      \"masterSequenceNumber\": \"1\",\n      \"masterReferenceNumber\": \"7328623\",\n      \"referenceNumbers\": [\n        \"TU-2945\",\n        \"80982\",\n        \"94BC8\"\n      ],\n      \"shipper\": null,\n      \"products\": [],\n      \"stops\": [\n        {\n          \"stopType\": \"pickup\",\n          \"completeAddress\": \"Chennai, TN - 600003, IN\",\n          \"city\": \"Chennai\",\n          \"state\": \"TN\",\n          \"country\": \"IN\",\n          \"customer\": {\n            \"poNumbers\": [\n              \"00210123OF-203503\"\n            ]\n          },\n          \"postalCode\": null,\n          \"latitude\": 13.0816437,\n          \"longitude\": 80.2752316,\n          \"geofencePoints\": [],\n          \"appointmentTime\": \"2024-08-20T07:35:00.000Z\",\n          \"wantTime\": null,\n          \"earliestWantTime\": null,\n          \"latestWantTime\": null,\n          \"transportationMode\": null,\n          \"useLocalLatLng\": true,\n          \"StopReferenceNumber\": \"7085568349\",\n        \"pallets\": [\n          {\n            \"number\": \"PAL-001\",\n            \"parts\": [\n              {\n                \"quantity\": \"25\",\n                \"shipperPartNumber\": \"22EE\",\n                \"weight\": \"7.998\"\n              }\n            ]\n          }\n        ],\n        \"productLineItems\": [\n          {\n            \"productId\": \"0123456\",\n            \"productName\": \"Rail Freight Item\",\n            \"productDescription\": \"Rail/intermodal freight shipment item\",\n            \"productCategory\": \"General Freight\",\n            \"quantity\": 25,\n            \"measurementUnitCode\": \"PCE\",\n            \"netWeight\": 44.8,\n            \"weightUnit\": \"KGM\",\n            \"unitCost\": 25.0,\n            \"currencyCode\": \"USD\",\n            \"extendedCost\": 625.00,\n            \"freightCost\": 20.00,\n            \"bestBeforeDate\": \"2026-04-25T00:00:00Z\",\n            \"additionalCharges\": 5.00,\n            \"tariffCost\": 2.50,\n            \"fourKitesCalculatedTariffCost\": 2.50,\n            \"totalLandedCost\": 655.00,\n            \"countryOfOrigin\": \"IN\",\n            \"harmonizedSystemCode\": \"8607911000\",\n            \"commodityTypeCode\": \"RAIL_FREIGHT\",\n            \"htsusCode\": \"8607911000\",\n            \"orderNumber\": \"TU-2945\",\n            \"deliveryNumber\": \"DN-7085568349\",\n            \"handlingUnitId\": \"PAL-001\",\n            \"barcode\": \"PAL001\",\n            \"containerType\": \"pallet\",\n            \"gtin\": \"00012345678905\",\n            \"customerPartNumber\": \"22EE\",\n            \"supplierPartNumber\": \"22EE\",\n            \"manufacturerPartNumber\": \"MFG-22EE\",\n            \"itemNumber\": \"ITM-22EE\",\n            \"productUpc\": \"012345678905\",\n            \"deliveryReferences\": [\"DEL-REF-001\"],\n            \"orderReferences\": [\"TU-2945\"],\n            \"brandName\": \"Generic Rail Freight Co\",\n            \"minimumTemperature\": 0,\n            \"maximumTemperature\": 0,\n            \"temperatureUnitCode\": \"cel\",\n            \"labelIdentifier\": \"LBL-22EE\",\n            \"productTrackingNumber\": \"7085568349\",\n            \"deviceType\": \"RFID_TAG\"\n          }\n        ]\n        },\n        {\n          \"stopType\": \"delivery\",\n          \"completeAddress\": \"Bengaluru, KA - 560002, IN\",\n          \"city\": \"Bengaluru\",\n          \"state\": \"KA\",\n          \"country\": \"IN\",\n          \"postalCode\": \"78738\",\n          \"latitude\": 12.96643,\n          \"longitude\": 77.58718,\n          \"geofencePoints\": [],\n          \"appointmentTime\": \"2024-08-29T07:35:00.000Z\",\n          \"wantTime\": null,\n          \"earliestWantTime\": null,\n          \"latestWantTime\": null,\n          \"transportationMode\": null,\n          \"addressType\": \"\",\n        \"pallets\": [\n          {\n            \"number\": \"PAL-002\",\n            \"parts\": [\n              {\n                \"quantity\": \"25\",\n                \"shipperPartNumber\": \"22EE\",\n                \"weight\": \"7.998\"\n              }\n            ]\n          }\n        ],\n        \"productLineItems\": [\n          {\n            \"productId\": \"0123456\",\n            \"productName\": \"Rail Freight Item\",\n            \"productDescription\": \"Rail/intermodal freight shipment item\",\n            \"productCategory\": \"General Freight\",\n            \"quantity\": 25,\n            \"measurementUnitCode\": \"PCE\",\n            \"netWeight\": 44.8,\n            \"weightUnit\": \"KGM\",\n            \"unitCost\": 25.0,\n            \"currencyCode\": \"USD\",\n            \"extendedCost\": 625.00,\n            \"freightCost\": 20.00,\n            \"additionalCharges\": 5.00,\n            \"tariffCost\": 2.50,\n            \"fourKitesCalculatedTariffCost\": 2.50,\n            \"totalLandedCost\": 655.00,\n            \"countryOfOrigin\": \"IN\",\n            \"harmonizedSystemCode\": \"8607911000\",\n            \"commodityTypeCode\": \"RAIL_FREIGHT\",\n            \"htsusCode\": \"8607911000\",\n            \"orderNumber\": \"80982\",\n            \"deliveryNumber\": \"DN-PAL002\",\n            \"handlingUnitId\": \"PAL-002\",\n            \"barcode\": \"PAL002\",\n            \"containerType\": \"pallet\",\n            \"gtin\": \"00012345678912\",\n            \"customerPartNumber\": \"33CC\",\n            \"supplierPartNumber\": \"33CC\",\n            \"manufacturerPartNumber\": \"MFG-33CC\",\n            \"itemNumber\": \"ITM-33CC\",\n            \"productUpc\": \"012345678912\",\n            \"deliveryReferences\": [\"DEL-REF-002\"],\n            \"orderReferences\": [\"80982\"],\n            \"brandName\": \"Generic Rail Freight Co\",\n            \"minimumTemperature\": 0,\n            \"maximumTemperature\": 0,\n            \"temperatureUnitCode\": \"cel\",\n            \"labelIdentifier\": \"LBL-33CC\",\n            \"productTrackingNumber\": \"94BC8\",\n            \"deviceType\": \"QR_CODE\"\n          }\n        ],\n          \"useLocalLatLng\": true\n        }\n      ],\n      \"tags\": [\n        \"temp\",\n        \"field2\",\n        \"Inbound\"\n      ]\n    }\n  }),\n};\n\n$.ajax(settings).done(function (response) {\n  console.log(response);\n});",
        "customLabel": ""
      },
      {
        "id": "zvQntS0ZQta6prUoKxjmU",
        "language": "swift",
        "code": "let parameters = \"{\\n  \\\"trackingInfo\\\": {\\n    \\\"driverPhone\\\": \\\"\\\",\\n    \\\"truckNumber\\\": \\\"\\\",\\n    \\\"railEquipmentInitials\\\": \\\"RAIL\\\",\\n    \\\"railEquipmentNumber\\\": \\\"654405\\\",\\n    \\\"wagonNumber\\\": \\\"qwerty123\\\"\\n  },\\n  \\\"load\\\": {\\n    \\\"loadNumber\\\": \\\"TestRail05_1\\\",\\n    \\\"skipAppointmentTimeValidation\\\": true,\\n    \\\"priority\\\": \\\"normal\\\",\\n    \\\"carrier\\\": \\\"cc79\\\",\\n    \\\"carrierPermalink\\\": \\\"support-carrier-production\\\",\\n    \\\"carrierName\\\": \\\"Support Carrier (Production)\\\",\\n    \\\"masterSequenceNumber\\\": \\\"1\\\",\\n    \\\"masterReferenceNumber\\\": \\\"7328623\\\",\\n    \\\"referenceNumbers\\\": [\\n      \\\"TU-2945\\\",\\n      \\\"80982\\\",\\n      \\\"94BC8\\\"\\n    ],\\n    \\\"shipper\\\": null,\\n    \\\"products\\\": [],\\n    \\\"stops\\\": [\\n      {\\n        \\\"stopType\\\": \\\"pickup\\\",\\n        \\\"completeAddress\\\": \\\"Chennai, TN - 600003, IN\\\",\\n        \\\"city\\\": \\\"Chennai\\\",\\n        \\\"state\\\": \\\"TN\\\",\\n        \\\"country\\\": \\\"IN\\\",\\n        \\\"customer\\\": {\\n          \\\"poNumbers\\\": [\\n            \\\"00210123OF-203503\\\"\\n          ]\\n        },\\n        \\\"postalCode\\\": null,\\n        \\\"latitude\\\": 13.0816437,\\n        \\\"longitude\\\": 80.2752316,\\n        \\\"geofencePoints\\\": [],\\n        \\\"appointmentTime\\\": \\\"2024-08-20T07:35:00.000Z\\\",\\n        \\\"wantTime\\\": null,\\n        \\\"earliestWantTime\\\": null,\\n        \\\"latestWantTime\\\": null,\\n        \\\"transportationMode\\\": null,\\n        \\\"useLocalLatLng\\\": true,\\n        \\\"StopReferenceNumber\\\": \\\"7085568349\\\",\\n        \\\"pallets\\\": [\\n          {\\n            \\\"number\\\": \\\"PAL-001\\\",\\n            \\\"parts\\\": [\\n              {\\n                \\\"quantity\\\": \\\"25\\\",\\n                \\\"shipperPartNumber\\\": \\\"22EE\\\",\\n                \\\"weight\\\": \\\"7.998\\\"\\n              }\\n            ]\\n          }\\n        ],\\n        \\\"productLineItems\\\": [\\n          {\\n            \\\"productId\\\": \\\"0123456\\\",\\n            \\\"productName\\\": \\\"Rail Freight Item\\\",\\n            \\\"productDescription\\\": \\\"Rail/intermodal freight shipment item\\\",\\n            \\\"productCategory\\\": \\\"General Freight\\\",\\n            \\\"quantity\\\": 25,\\n            \\\"measurementUnitCode\\\": \\\"PCE\\\",\\n            \\\"netWeight\\\": 44.8,\\n            \\\"weightUnit\\\": \\\"KGM\\\",\\n            \\\"unitCost\\\": 25.0,\\n            \\\"currencyCode\\\": \\\"USD\\\",\\n            \\\"extendedCost\\\": 625.00,\\n            \\\"freightCost\\\": 20.00,\\n            \\\"bestBeforeDate\\\": \\\"2026-04-25T00:00:00Z\\\",\\n            \\\"additionalCharges\\\": 5.00,\\n            \\\"tariffCost\\\": 2.50,\\n            \\\"fourKitesCalculatedTariffCost\\\": 2.50,\\n            \\\"totalLandedCost\\\": 655.00,\\n            \\\"countryOfOrigin\\\": \\\"IN\\\",\\n            \\\"harmonizedSystemCode\\\": \\\"8607911000\\\",\\n            \\\"commodityTypeCode\\\": \\\"RAIL_FREIGHT\\\",\\n            \\\"htsusCode\\\": \\\"8607911000\\\",\\n            \\\"orderNumber\\\": \\\"TU-2945\\\",\\n            \\\"deliveryNumber\\\": \\\"DN-7085568349\\\",\\n            \\\"handlingUnitId\\\": \\\"PAL-001\\\",\\n            \\\"barcode\\\": \\\"PAL001\\\",\\n            \\\"containerType\\\": \\\"pallet\\\",\\n            \\\"gtin\\\": \\\"00012345678905\\\",\\n            \\\"customerPartNumber\\\": \\\"22EE\\\",\\n            \\\"supplierPartNumber\\\": \\\"22EE\\\",\\n            \\\"manufacturerPartNumber\\\": \\\"MFG-22EE\\\",\\n            \\\"itemNumber\\\": \\\"ITM-22EE\\\",\\n            \\\"productUpc\\\": \\\"012345678905\\\",\\n            \\\"deliveryReferences\\\": [\\\"DEL-REF-001\\\"],\\n            \\\"orderReferences\\\": [\\\"TU-2945\\\"],\\n            \\\"brandName\\\": \\\"Generic Rail Freight Co\\\",\\n            \\\"minimumTemperature\\\": 0,\\n            \\\"maximumTemperature\\\": 0,\\n            \\\"temperatureUnitCode\\\": \\\"cel\\\",\\n            \\\"labelIdentifier\\\": \\\"LBL-22EE\\\",\\n            \\\"productTrackingNumber\\\": \\\"7085568349\\\",\\n            \\\"deviceType\\\": \\\"RFID_TAG\\\"\\n          }\\n        ]\\n      },\\n      {\\n        \\\"stopType\\\": \\\"delivery\\\",\\n        \\\"completeAddress\\\": \\\"Bengaluru, KA - 560002, IN\\\",\\n        \\\"city\\\": \\\"Bengaluru\\\",\\n        \\\"state\\\": \\\"KA\\\",\\n        \\\"country\\\": \\\"IN\\\",\\n        \\\"postalCode\\\": \\\"78738\\\",\\n        \\\"latitude\\\": 12.96643,\\n        \\\"longitude\\\": 77.58718,\\n        \\\"geofencePoints\\\": [],\\n        \\\"appointmentTime\\\": \\\"2024-08-29T07:35:00.000Z\\\",\\n        \\\"wantTime\\\": null,\\n        \\\"earliestWantTime\\\": null,\\n        \\\"latestWantTime\\\": null,\\n        \\\"transportationMode\\\": null,\\n        \\\"addressType\\\": \\\"\\\",\\n        \\\"pallets\\\": [\\n          {\\n            \\\"number\\\": \\\"PAL-002\\\",\\n            \\\"parts\\\": [\\n              {\\n                \\\"quantity\\\": \\\"25\\\",\\n                \\\"shipperPartNumber\\\": \\\"22EE\\\",\\n                \\\"weight\\\": \\\"7.998\\\"\\n              }\\n            ]\\n          }\\n        ],\\n        \\\"productLineItems\\\": [\\n          {\\n            \\\"productId\\\": \\\"0123456\\\",\\n            \\\"productName\\\": \\\"Rail Freight Item\\\",\\n            \\\"productDescription\\\": \\\"Rail/intermodal freight shipment item\\\",\\n            \\\"productCategory\\\": \\\"General Freight\\\",\\n            \\\"quantity\\\": 25,\\n            \\\"measurementUnitCode\\\": \\\"PCE\\\",\\n            \\\"netWeight\\\": 44.8,\\n            \\\"weightUnit\\\": \\\"KGM\\\",\\n            \\\"unitCost\\\": 25.0,\\n            \\\"currencyCode\\\": \\\"USD\\\",\\n            \\\"extendedCost\\\": 625.00,\\n            \\\"freightCost\\\": 20.00,\\n            \\\"additionalCharges\\\": 5.00,\\n            \\\"tariffCost\\\": 2.50,\\n            \\\"fourKitesCalculatedTariffCost\\\": 2.50,\\n            \\\"totalLandedCost\\\": 655.00,\\n            \\\"countryOfOrigin\\\": \\\"IN\\\",\\n            \\\"harmonizedSystemCode\\\": \\\"8607911000\\\",\\n            \\\"commodityTypeCode\\\": \\\"RAIL_FREIGHT\\\",\\n            \\\"htsusCode\\\": \\\"8607911000\\\",\\n            \\\"orderNumber\\\": \\\"80982\\\",\\n            \\\"deliveryNumber\\\": \\\"DN-PAL002\\\",\\n            \\\"handlingUnitId\\\": \\\"PAL-002\\\",\\n            \\\"barcode\\\": \\\"PAL002\\\",\\n            \\\"containerType\\\": \\\"pallet\\\",\\n            \\\"gtin\\\": \\\"00012345678912\\\",\\n            \\\"customerPartNumber\\\": \\\"33CC\\\",\\n            \\\"supplierPartNumber\\\": \\\"33CC\\\",\\n            \\\"manufacturerPartNumber\\\": \\\"MFG-33CC\\\",\\n            \\\"itemNumber\\\": \\\"ITM-33CC\\\",\\n            \\\"productUpc\\\": \\\"012345678912\\\",\\n            \\\"deliveryReferences\\\": [\\\"DEL-REF-002\\\"],\\n            \\\"orderReferences\\\": [\\\"80982\\\"],\\n            \\\"brandName\\\": \\\"Generic Rail Freight Co\\\",\\n            \\\"minimumTemperature\\\": 0,\\n            \\\"maximumTemperature\\\": 0,\\n            \\\"temperatureUnitCode\\\": \\\"cel\\\",\\n            \\\"labelIdentifier\\\": \\\"LBL-33CC\\\",\\n            \\\"productTrackingNumber\\\": \\\"94BC8\\\",\\n            \\\"deviceType\\\": \\\"QR_CODE\\\"\\n          }\\n        ],\\n        \\\"useLocalLatLng\\\": true\\n      }\\n    ],\\n    \\\"tags\\\": [\\n      \\\"temp\\\",\\n      \\\"field2\\\",\\n      \\\"Inbound\\\"\\n    ]\\n  }\\n}\"\nlet postData = parameters.data(using: .utf8)\n\nvar request = URLRequest(url: URL(string: \"https://api-staging.ng.fourkites.com/api/v1/tracking\")!,timeoutInterval: Double.infinity)\nrequest.addValue(\"application/json\", forHTTPHeaderField: \"Content-Type\")\nrequest.addValue(\"REPLACE_KEY_VALUE\", forHTTPHeaderField: \"apikey\")\n\nrequest.httpMethod = \"POST\"\nrequest.httpBody = postData\n\nlet task = URLSession.shared.dataTask(with: request) { data, response, error in \n  guard let data = data else {\n    print(String(describing: error))\n    return\n  }\n  print(String(data: data, encoding: .utf8)!)\n}\n\ntask.resume()\n",
        "customLabel": ""
      },
      {
        "id": "u5fxL0ftRtMWoYkZKcwNu",
        "language": "csharp",
        "code": "var client = new HttpClient();\nvar request = new HttpRequestMessage(HttpMethod.Post, \"https://api-staging.ng.fourkites.com/api/v1/tracking\");\nrequest.Headers.Add(\"apikey\", \"REPLACE_KEY_VALUE\");\nvar content = new StringContent(\"{\\n  \\\"trackingInfo\\\": {\\n    \\\"driverPhone\\\": \\\"\\\",\\n    \\\"truckNumber\\\": \\\"\\\",\\n    \\\"railEquipmentInitials\\\": \\\"RAIL\\\",\\n    \\\"railEquipmentNumber\\\": \\\"654405\\\",\\n    \\\"wagonNumber\\\": \\\"qwerty123\\\"\\n  },\\n  \\\"load\\\": {\\n    \\\"loadNumber\\\": \\\"TestRail05_1\\\",\\n    \\\"skipAppointmentTimeValidation\\\": true,\\n    \\\"priority\\\": \\\"normal\\\",\\n    \\\"carrier\\\": \\\"cc79\\\",\\n    \\\"carrierPermalink\\\": \\\"support-carrier-production\\\",\\n    \\\"carrierName\\\": \\\"Support Carrier (Production)\\\",\\n    \\\"masterSequenceNumber\\\": \\\"1\\\",\\n    \\\"masterReferenceNumber\\\": \\\"7328623\\\",\\n    \\\"referenceNumbers\\\": [\\n      \\\"TU-2945\\\",\\n      \\\"80982\\\",\\n      \\\"94BC8\\\"\\n    ],\\n    \\\"shipper\\\": null,\\n    \\\"products\\\": [],\\n    \\\"stops\\\": [\\n      {\\n        \\\"stopType\\\": \\\"pickup\\\",\\n        \\\"completeAddress\\\": \\\"Chennai, TN - 600003, IN\\\",\\n        \\\"city\\\": \\\"Chennai\\\",\\n        \\\"state\\\": \\\"TN\\\",\\n        \\\"country\\\": \\\"IN\\\",\\n        \\\"customer\\\": {\\n          \\\"poNumbers\\\": [\\n            \\\"00210123OF-203503\\\"\\n          ]\\n        },\\n        \\\"postalCode\\\": null,\\n        \\\"latitude\\\": 13.0816437,\\n        \\\"longitude\\\": 80.2752316,\\n        \\\"geofencePoints\\\": [],\\n        \\\"appointmentTime\\\": \\\"2024-08-20T07:35:00.000Z\\\",\\n        \\\"wantTime\\\": null,\\n        \\\"earliestWantTime\\\": null,\\n        \\\"latestWantTime\\\": null,\\n        \\\"transportationMode\\\": null,\\n        \\\"useLocalLatLng\\\": true,\\n        \\\"StopReferenceNumber\\\": \\\"7085568349\\\",\\n        \\\"pallets\\\": [\\n          {\\n            \\\"number\\\": \\\"PAL-001\\\",\\n            \\\"parts\\\": [\\n              {\\n                \\\"quantity\\\": \\\"25\\\",\\n                \\\"shipperPartNumber\\\": \\\"22EE\\\",\\n                \\\"weight\\\": \\\"7.998\\\"\\n              }\\n            ]\\n          }\\n        ],\\n        \\\"productLineItems\\\": [\\n          {\\n            \\\"productId\\\": \\\"0123456\\\",\\n            \\\"productName\\\": \\\"Rail Freight Item\\\",\\n            \\\"productDescription\\\": \\\"Rail/intermodal freight shipment item\\\",\\n            \\\"productCategory\\\": \\\"General Freight\\\",\\n            \\\"quantity\\\": 25,\\n            \\\"measurementUnitCode\\\": \\\"PCE\\\",\\n            \\\"netWeight\\\": 44.8,\\n            \\\"weightUnit\\\": \\\"KGM\\\",\\n            \\\"unitCost\\\": 25.0,\\n            \\\"currencyCode\\\": \\\"USD\\\",\\n            \\\"extendedCost\\\": 625.00,\\n            \\\"freightCost\\\": 20.00,\\n            \\\"bestBeforeDate\\\": \\\"2026-04-25T00:00:00Z\\\",\\n            \\\"additionalCharges\\\": 5.00,\\n            \\\"tariffCost\\\": 2.50,\\n            \\\"fourKitesCalculatedTariffCost\\\": 2.50,\\n            \\\"totalLandedCost\\\": 655.00,\\n            \\\"countryOfOrigin\\\": \\\"IN\\\",\\n            \\\"harmonizedSystemCode\\\": \\\"8607911000\\\",\\n            \\\"commodityTypeCode\\\": \\\"RAIL_FREIGHT\\\",\\n            \\\"htsusCode\\\": \\\"8607911000\\\",\\n            \\\"orderNumber\\\": \\\"TU-2945\\\",\\n            \\\"deliveryNumber\\\": \\\"DN-7085568349\\\",\\n            \\\"handlingUnitId\\\": \\\"PAL-001\\\",\\n            \\\"barcode\\\": \\\"PAL001\\\",\\n            \\\"containerType\\\": \\\"pallet\\\",\\n            \\\"gtin\\\": \\\"00012345678905\\\",\\n            \\\"customerPartNumber\\\": \\\"22EE\\\",\\n            \\\"supplierPartNumber\\\": \\\"22EE\\\",\\n            \\\"manufacturerPartNumber\\\": \\\"MFG-22EE\\\",\\n            \\\"itemNumber\\\": \\\"ITM-22EE\\\",\\n            \\\"productUpc\\\": \\\"012345678905\\\",\\n            \\\"deliveryReferences\\\": [\\\"DEL-REF-001\\\"],\\n            \\\"orderReferences\\\": [\\\"TU-2945\\\"],\\n            \\\"brandName\\\": \\\"Generic Rail Freight Co\\\",\\n            \\\"minimumTemperature\\\": 0,\\n            \\\"maximumTemperature\\\": 0,\\n            \\\"temperatureUnitCode\\\": \\\"cel\\\",\\n            \\\"labelIdentifier\\\": \\\"LBL-22EE\\\",\\n            \\\"productTrackingNumber\\\": \\\"7085568349\\\",\\n            \\\"deviceType\\\": \\\"RFID_TAG\\\"\\n          }\\n        ]\\n      },\\n      {\\n        \\\"stopType\\\": \\\"delivery\\\",\\n        \\\"completeAddress\\\": \\\"Bengaluru, KA - 560002, IN\\\",\\n        \\\"city\\\": \\\"Bengaluru\\\",\\n        \\\"state\\\": \\\"KA\\\",\\n        \\\"country\\\": \\\"IN\\\",\\n        \\\"postalCode\\\": \\\"78738\\\",\\n        \\\"latitude\\\": 12.96643,\\n        \\\"longitude\\\": 77.58718,\\n        \\\"geofencePoints\\\": [],\\n        \\\"appointmentTime\\\": \\\"2024-08-29T07:35:00.000Z\\\",\\n        \\\"wantTime\\\": null,\\n        \\\"earliestWantTime\\\": null,\\n        \\\"latestWantTime\\\": null,\\n        \\\"transportationMode\\\": null,\\n        \\\"addressType\\\": \\\"\\\",\\n        \\\"pallets\\\": [\\n          {\\n            \\\"number\\\": \\\"PAL-002\\\",\\n            \\\"parts\\\": [\\n              {\\n                \\\"quantity\\\": \\\"25\\\",\\n                \\\"shipperPartNumber\\\": \\\"22EE\\\",\\n                \\\"weight\\\": \\\"7.998\\\"\\n              }\\n            ]\\n          }\\n        ],\\n        \\\"productLineItems\\\": [\\n          {\\n            \\\"productId\\\": \\\"0123456\\\",\\n            \\\"productName\\\": \\\"Rail Freight Item\\\",\\n            \\\"productDescription\\\": \\\"Rail/intermodal freight shipment item\\\",\\n            \\\"productCategory\\\": \\\"General Freight\\\",\\n            \\\"quantity\\\": 25,\\n            \\\"measurementUnitCode\\\": \\\"PCE\\\",\\n            \\\"netWeight\\\": 44.8,\\n            \\\"weightUnit\\\": \\\"KGM\\\",\\n            \\\"unitCost\\\": 25.0,\\n            \\\"currencyCode\\\": \\\"USD\\\",\\n            \\\"extendedCost\\\": 625.00,\\n            \\\"freightCost\\\": 20.00,\\n            \\\"additionalCharges\\\": 5.00,\\n            \\\"tariffCost\\\": 2.50,\\n            \\\"fourKitesCalculatedTariffCost\\\": 2.50,\\n            \\\"totalLandedCost\\\": 655.00,\\n            \\\"countryOfOrigin\\\": \\\"IN\\\",\\n            \\\"harmonizedSystemCode\\\": \\\"8607911000\\\",\\n            \\\"commodityTypeCode\\\": \\\"RAIL_FREIGHT\\\",\\n            \\\"htsusCode\\\": \\\"8607911000\\\",\\n            \\\"orderNumber\\\": \\\"80982\\\",\\n            \\\"deliveryNumber\\\": \\\"DN-PAL002\\\",\\n            \\\"handlingUnitId\\\": \\\"PAL-002\\\",\\n            \\\"barcode\\\": \\\"PAL002\\\",\\n            \\\"containerType\\\": \\\"pallet\\\",\\n            \\\"gtin\\\": \\\"00012345678912\\\",\\n            \\\"customerPartNumber\\\": \\\"33CC\\\",\\n            \\\"supplierPartNumber\\\": \\\"33CC\\\",\\n            \\\"manufacturerPartNumber\\\": \\\"MFG-33CC\\\",\\n            \\\"itemNumber\\\": \\\"ITM-33CC\\\",\\n            \\\"productUpc\\\": \\\"012345678912\\\",\\n            \\\"deliveryReferences\\\": [\\\"DEL-REF-002\\\"],\\n            \\\"orderReferences\\\": [\\\"80982\\\"],\\n            \\\"brandName\\\": \\\"Generic Rail Freight Co\\\",\\n            \\\"minimumTemperature\\\": 0,\\n            \\\"maximumTemperature\\\": 0,\\n            \\\"temperatureUnitCode\\\": \\\"cel\\\",\\n            \\\"labelIdentifier\\\": \\\"LBL-33CC\\\",\\n            \\\"productTrackingNumber\\\": \\\"94BC8\\\",\\n            \\\"deviceType\\\": \\\"QR_CODE\\\"\\n          }\\n        ],\\n        \\\"useLocalLatLng\\\": true\\n      }\\n    ],\\n    \\\"tags\\\": [\\n      \\\"temp\\\",\\n      \\\"field2\\\",\\n      \\\"Inbound\\\"\\n    ]\\n  }\\n}\", null, \"application/json\");\nrequest.Content = content;\nvar response = await client.SendAsync(request);\nresponse.EnsureSuccessStatusCode();\nConsole.WriteLine(await response.Content.ReadAsStringAsync());\n",
        "customLabel": ""
      },
      {
        "id": "q08g6b15qD3wqqNux5Ug9",
        "language": "go",
        "code": "package main\n\nimport (\n  \"fmt\"\n  \"strings\"\n  \"net/http\"\n  \"io/ioutil\"\n)\n\nfunc main() {\n\n  url := \"https://api-staging.ng.fourkites.com/api/v1/tracking\"\n  method := \"POST\"\n\n  payload := strings.NewReader(`{\n  \"trackingInfo\": {\n    \"driverPhone\": \"\",\n    \"truckNumber\": \"\",\n    \"railEquipmentInitials\": \"RAIL\",\n    \"railEquipmentNumber\": \"654405\",\n    \"wagonNumber\": \"qwerty123\"\n  },\n  \"load\": {\n    \"loadNumber\": \"TestRail05_1\",\n    \"skipAppointmentTimeValidation\": true,\n    \"priority\": \"normal\",\n    \"carrier\": \"cc79\",\n    \"carrierPermalink\": \"support-carrier-production\",\n    \"carrierName\": \"Support Carrier (Production)\",\n    \"masterSequenceNumber\": \"1\",\n    \"masterReferenceNumber\": \"7328623\",\n    \"referenceNumbers\": [\n      \"TU-2945\",\n      \"80982\",\n      \"94BC8\"\n    ],\n    \"shipper\": null,\n    \"products\": [],\n    \"stops\": [\n      {\n        \"stopType\": \"pickup\",\n        \"completeAddress\": \"Chennai, TN - 600003, IN\",\n        \"city\": \"Chennai\",\n        \"state\": \"TN\",\n        \"country\": \"IN\",\n        \"customer\": {\n          \"poNumbers\": [\n            \"00210123OF-203503\"\n          ]\n        },\n        \"postalCode\": null,\n        \"latitude\": 13.0816437,\n        \"longitude\": 80.2752316,\n        \"geofencePoints\": [],\n        \"appointmentTime\": \"2024-08-20T07:35:00.000Z\",\n        \"wantTime\": null,\n        \"earliestWantTime\": null,\n        \"latestWantTime\": null,\n        \"transportationMode\": null,\n        \"useLocalLatLng\": true,\n        \"StopReferenceNumber\": \"7085568349\",\n        \"pallets\": [\n          {\n            \"number\": \"PAL-001\",\n            \"parts\": [\n              {\n                \"quantity\": \"25\",\n                \"shipperPartNumber\": \"22EE\",\n                \"weight\": \"7.998\"\n              }\n            ]\n          }\n        ],\n        \"productLineItems\": [\n          {\n            \"productId\": \"0123456\",\n            \"productName\": \"Rail Freight Item\",\n            \"productDescription\": \"Rail/intermodal freight shipment item\",\n            \"productCategory\": \"General Freight\",\n            \"quantity\": 25,\n            \"measurementUnitCode\": \"PCE\",\n            \"netWeight\": 44.8,\n            \"weightUnit\": \"KGM\",\n            \"unitCost\": 25.0,\n            \"currencyCode\": \"USD\",\n            \"extendedCost\": 625.00,\n            \"freightCost\": 20.00,\n            \"bestBeforeDate\": \"2026-04-25T00:00:00Z\",\n            \"additionalCharges\": 5.00,\n            \"tariffCost\": 2.50,\n            \"fourKitesCalculatedTariffCost\": 2.50,\n            \"totalLandedCost\": 655.00,\n            \"countryOfOrigin\": \"IN\",\n            \"harmonizedSystemCode\": \"8607911000\",\n            \"commodityTypeCode\": \"RAIL_FREIGHT\",\n            \"htsusCode\": \"8607911000\",\n            \"orderNumber\": \"TU-2945\",\n            \"deliveryNumber\": \"DN-7085568349\",\n            \"handlingUnitId\": \"PAL-001\",\n            \"barcode\": \"PAL001\",\n            \"containerType\": \"pallet\",\n            \"gtin\": \"00012345678905\",\n            \"customerPartNumber\": \"22EE\",\n            \"supplierPartNumber\": \"22EE\",\n            \"manufacturerPartNumber\": \"MFG-22EE\",\n            \"itemNumber\": \"ITM-22EE\",\n            \"productUpc\": \"012345678905\",\n            \"deliveryReferences\": [\"DEL-REF-001\"],\n            \"orderReferences\": [\"TU-2945\"],\n            \"brandName\": \"Generic Rail Freight Co\",\n            \"minimumTemperature\": 0,\n            \"maximumTemperature\": 0,\n            \"temperatureUnitCode\": \"cel\",\n            \"labelIdentifier\": \"LBL-22EE\",\n            \"productTrackingNumber\": \"7085568349\",\n            \"deviceType\": \"RFID_TAG\"\n          }\n        ]\n      },\n      {\n        \"stopType\": \"delivery\",\n        \"completeAddress\": \"Bengaluru, KA - 560002, IN\",\n        \"city\": \"Bengaluru\",\n        \"state\": \"KA\",\n        \"country\": \"IN\",\n        \"postalCode\": \"78738\",\n        \"latitude\": 12.96643,\n        \"longitude\": 77.58718,\n        \"geofencePoints\": [],\n        \"appointmentTime\": \"2024-08-29T07:35:00.000Z\",\n        \"wantTime\": null,\n        \"earliestWantTime\": null,\n        \"latestWantTime\": null,\n        \"transportationMode\": null,\n        \"addressType\": \"\",\n        \"pallets\": [\n          {\n            \"number\": \"PAL-002\",\n            \"parts\": [\n              {\n                \"quantity\": \"25\",\n                \"shipperPartNumber\": \"22EE\",\n                \"weight\": \"7.998\"\n              }\n            ]\n          }\n        ],\n        \"productLineItems\": [\n          {\n            \"productId\": \"0123456\",\n            \"productName\": \"Rail Freight Item\",\n            \"productDescription\": \"Rail/intermodal freight shipment item\",\n            \"productCategory\": \"General Freight\",\n            \"quantity\": 25,\n            \"measurementUnitCode\": \"PCE\",\n            \"netWeight\": 44.8,\n            \"weightUnit\": \"KGM\",\n            \"unitCost\": 25.0,\n            \"currencyCode\": \"USD\",\n            \"extendedCost\": 625.00,\n            \"freightCost\": 20.00,\n            \"additionalCharges\": 5.00,\n            \"tariffCost\": 2.50,\n            \"fourKitesCalculatedTariffCost\": 2.50,\n            \"totalLandedCost\": 655.00,\n            \"countryOfOrigin\": \"IN\",\n            \"harmonizedSystemCode\": \"8607911000\",\n            \"commodityTypeCode\": \"RAIL_FREIGHT\",\n            \"htsusCode\": \"8607911000\",\n            \"orderNumber\": \"80982\",\n            \"deliveryNumber\": \"DN-PAL002\",\n            \"handlingUnitId\": \"PAL-002\",\n            \"barcode\": \"PAL002\",\n            \"containerType\": \"pallet\",\n            \"gtin\": \"00012345678912\",\n            \"customerPartNumber\": \"33CC\",\n            \"supplierPartNumber\": \"33CC\",\n            \"manufacturerPartNumber\": \"MFG-33CC\",\n            \"itemNumber\": \"ITM-33CC\",\n            \"productUpc\": \"012345678912\",\n            \"deliveryReferences\": [\"DEL-REF-002\"],\n            \"orderReferences\": [\"80982\"],\n            \"brandName\": \"Generic Rail Freight Co\",\n            \"minimumTemperature\": 0,\n            \"maximumTemperature\": 0,\n            \"temperatureUnitCode\": \"cel\",\n            \"labelIdentifier\": \"LBL-33CC\",\n            \"productTrackingNumber\": \"94BC8\",\n            \"deviceType\": \"QR_CODE\"\n          }\n        ],\n        \"useLocalLatLng\": true\n      }\n    ],\n    \"tags\": [\n      \"temp\",\n      \"field2\",\n      \"Inbound\"\n    ]\n  }\n}`)\n\n  client := &http.Client {\n  }\n  req, err := http.NewRequest(method, url, payload)\n\n  if err != nil {\n    fmt.Println(err)\n    return\n  }\n  req.Header.Add(\"Content-Type\", \"application/json\")\n  req.Header.Add(\"apikey\", \"REPLACE_KEY_VALUE\")\n\n  res, err := client.Do(req)\n  if err != nil {\n    fmt.Println(err)\n    return\n  }\n  defer res.Body.Close()\n\n  body, err := ioutil.ReadAll(res.Body)\n  if err != nil {\n    fmt.Println(err)\n    return\n  }\n  fmt.Println(string(body))\n}",
        "customLabel": ""
      },
      {
        "id": "q34hJ2UOkSJpt5ELPMpCI",
        "language": "ruby",
        "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"https://api-staging.ng.fourkites.com/api/v1/tracking\")\n\nhttps = Net::HTTP.new(url.host, url.port)\nhttps.use_ssl = true\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"Content-Type\"] = \"application/json\"\nrequest[\"apikey\"] = \"REPLACE_KEY_VALUE\"\nrequest.body = JSON.dump({\n  \"trackingInfo\": {\n    \"driverPhone\": \"\",\n    \"truckNumber\": \"\",\n    \"railEquipmentInitials\": \"RAIL\",\n    \"railEquipmentNumber\": \"654405\",\n    \"wagonNumber\": \"qwerty123\"\n  },\n  \"load\": {\n    \"loadNumber\": \"TestRail05_1\",\n    \"skipAppointmentTimeValidation\": true,\n    \"priority\": \"normal\",\n    \"carrier\": \"cc79\",\n    \"carrierPermalink\": \"support-carrier-production\",\n    \"carrierName\": \"Support Carrier (Production)\",\n    \"masterSequenceNumber\": \"1\",\n    \"masterReferenceNumber\": \"7328623\",\n    \"referenceNumbers\": [\n      \"TU-2945\",\n      \"80982\",\n      \"94BC8\"\n    ],\n    \"shipper\": nil,\n    \"products\": [],\n    \"stops\": [\n      {\n        \"stopType\": \"pickup\",\n        \"completeAddress\": \"Chennai, TN - 600003, IN\",\n        \"city\": \"Chennai\",\n        \"state\": \"TN\",\n        \"country\": \"IN\",\n        \"customer\": {\n          \"poNumbers\": [\n            \"00210123OF-203503\"\n          ]\n        },\n        \"postalCode\": nil,\n        \"latitude\": 13.0816437,\n        \"longitude\": 80.2752316,\n        \"geofencePoints\": [],\n        \"appointmentTime\": \"2024-08-20T07:35:00.000Z\",\n        \"wantTime\": nil,\n        \"earliestWantTime\": nil,\n        \"latestWantTime\": nil,\n        \"transportationMode\": nil,\n        \"useLocalLatLng\": true,\n        \"StopReferenceNumber\": \"7085568349\",\n        \"pallets\": [\n          {\n            \"number\": \"PAL-001\",\n            \"parts\": [\n              {\n                \"quantity\": \"25\",\n                \"shipperPartNumber\": \"22EE\",\n                \"weight\": \"7.998\"\n              }\n            ]\n          }\n        ],\n        \"productLineItems\": [\n          {\n            \"productId\": \"0123456\",\n            \"productName\": \"Rail Freight Item\",\n            \"productDescription\": \"Rail/intermodal freight shipment item\",\n            \"productCategory\": \"General Freight\",\n            \"quantity\": 25,\n            \"measurementUnitCode\": \"PCE\",\n            \"netWeight\": 44.8,\n            \"weightUnit\": \"KGM\",\n            \"unitCost\": 25.0,\n            \"currencyCode\": \"USD\",\n            \"extendedCost\": 625.00,\n            \"freightCost\": 20.00,\n            \"bestBeforeDate\": \"2026-04-25T00:00:00Z\",\n            \"additionalCharges\": 5.00,\n            \"tariffCost\": 2.50,\n            \"fourKitesCalculatedTariffCost\": 2.50,\n            \"totalLandedCost\": 655.00,\n            \"countryOfOrigin\": \"IN\",\n            \"harmonizedSystemCode\": \"8607911000\",\n            \"commodityTypeCode\": \"RAIL_FREIGHT\",\n            \"htsusCode\": \"8607911000\",\n            \"orderNumber\": \"TU-2945\",\n            \"deliveryNumber\": \"DN-7085568349\",\n            \"handlingUnitId\": \"PAL-001\",\n            \"barcode\": \"PAL001\",\n            \"containerType\": \"pallet\",\n            \"gtin\": \"00012345678905\",\n            \"customerPartNumber\": \"22EE\",\n            \"supplierPartNumber\": \"22EE\",\n            \"manufacturerPartNumber\": \"MFG-22EE\",\n            \"itemNumber\": \"ITM-22EE\",\n            \"productUpc\": \"012345678905\",\n            \"deliveryReferences\": [\"DEL-REF-001\"],\n            \"orderReferences\": [\"TU-2945\"],\n            \"brandName\": \"Generic Rail Freight Co\",\n            \"minimumTemperature\": 0,\n            \"maximumTemperature\": 0,\n            \"temperatureUnitCode\": \"cel\",\n            \"labelIdentifier\": \"LBL-22EE\",\n            \"productTrackingNumber\": \"7085568349\",\n            \"deviceType\": \"RFID_TAG\"\n          }\n        ]\n      },\n      {\n        \"stopType\": \"delivery\",\n        \"completeAddress\": \"Bengaluru, KA - 560002, IN\",\n        \"city\": \"Bengaluru\",\n        \"state\": \"KA\",\n        \"country\": \"IN\",\n        \"postalCode\": \"78738\",\n        \"latitude\": 12.96643,\n        \"longitude\": 77.58718,\n        \"geofencePoints\": [],\n        \"appointmentTime\": \"2024-08-29T07:35:00.000Z\",\n        \"wantTime\": nil,\n        \"earliestWantTime\": nil,\n        \"latestWantTime\": nil,\n        \"transportationMode\": nil,\n        \"addressType\": \"\",\n        \"pallets\": [\n          {\n            \"number\": \"PAL-002\",\n            \"parts\": [\n              {\n                \"quantity\": \"25\",\n                \"shipperPartNumber\": \"22EE\",\n                \"weight\": \"7.998\"\n              }\n            ]\n          }\n        ],\n        \"productLineItems\": [\n          {\n            \"productId\": \"0123456\",\n            \"productName\": \"Rail Freight Item\",\n            \"productDescription\": \"Rail/intermodal freight shipment item\",\n            \"productCategory\": \"General Freight\",\n            \"quantity\": 25,\n            \"measurementUnitCode\": \"PCE\",\n            \"netWeight\": 44.8,\n            \"weightUnit\": \"KGM\",\n            \"unitCost\": 25.0,\n            \"currencyCode\": \"USD\",\n            \"extendedCost\": 625.00,\n            \"freightCost\": 20.00,\n            \"additionalCharges\": 5.00,\n            \"tariffCost\": 2.50,\n            \"fourKitesCalculatedTariffCost\": 2.50,\n            \"totalLandedCost\": 655.00,\n            \"countryOfOrigin\": \"IN\",\n            \"harmonizedSystemCode\": \"8607911000\",\n            \"commodityTypeCode\": \"RAIL_FREIGHT\",\n            \"htsusCode\": \"8607911000\",\n            \"orderNumber\": \"80982\",\n            \"deliveryNumber\": \"DN-PAL002\",\n            \"handlingUnitId\": \"PAL-002\",\n            \"barcode\": \"PAL002\",\n            \"containerType\": \"pallet\",\n            \"gtin\": \"00012345678912\",\n            \"customerPartNumber\": \"33CC\",\n            \"supplierPartNumber\": \"33CC\",\n            \"manufacturerPartNumber\": \"MFG-33CC\",\n            \"itemNumber\": \"ITM-33CC\",\n            \"productUpc\": \"012345678912\",\n            \"deliveryReferences\": [\"DEL-REF-002\"],\n            \"orderReferences\": [\"80982\"],\n            \"brandName\": \"Generic Rail Freight Co\",\n            \"minimumTemperature\": 0,\n            \"maximumTemperature\": 0,\n            \"temperatureUnitCode\": \"cel\",\n            \"labelIdentifier\": \"LBL-33CC\",\n            \"productTrackingNumber\": \"94BC8\",\n            \"deviceType\": \"QR_CODE\"\n          }\n        ],\n        \"useLocalLatLng\": true\n      }\n    ],\n    \"tags\": [\n      \"temp\",\n      \"field2\",\n      \"Inbound\"\n    ]\n  }\n})\n\nresponse = https.request(request)\nputs response.read_body\n",
        "customLabel": ""
      },
      {
        "id": "QE6Bi_j_PqL8ARv5idGmE",
        "language": "python",
        "code": "import http.client\nimport json\n\nconn = http.client.HTTPSConnection(\"api-staging.ng.fourkites.com\")\npayload = json.dumps({\n  \"trackingInfo\": {\n    \"driverPhone\": \"\",\n    \"truckNumber\": \"\",\n    \"railEquipmentInitials\": \"RAIL\",\n    \"railEquipmentNumber\": \"654405\",\n    \"wagonNumber\": \"qwerty123\"\n  },\n  \"load\": {\n    \"loadNumber\": \"TestRail05_1\",\n    \"skipAppointmentTimeValidation\": True,\n    \"priority\": \"normal\",\n    \"carrier\": \"cc79\",\n    \"carrierPermalink\": \"support-carrier-production\",\n    \"carrierName\": \"Support Carrier (Production)\",\n    \"masterSequenceNumber\": \"1\",\n    \"masterReferenceNumber\": \"7328623\",\n    \"referenceNumbers\": [\n      \"TU-2945\",\n      \"80982\",\n      \"94BC8\"\n    ],\n    \"shipper\": None,\n    \"products\": [],\n    \"stops\": [\n      {\n        \"stopType\": \"pickup\",\n        \"completeAddress\": \"Chennai, TN - 600003, IN\",\n        \"city\": \"Chennai\",\n        \"state\": \"TN\",\n        \"country\": \"IN\",\n        \"customer\": {\n          \"poNumbers\": [\n            \"00210123OF-203503\"\n          ]\n        },\n        \"postalCode\": None,\n        \"latitude\": 13.0816437,\n        \"longitude\": 80.2752316,\n        \"geofencePoints\": [],\n        \"appointmentTime\": \"2024-08-20T07:35:00.000Z\",\n        \"wantTime\": None,\n        \"earliestWantTime\": None,\n        \"latestWantTime\": None,\n        \"transportationMode\": None,\n        \"useLocalLatLng\": True,\n        \"StopReferenceNumber\": \"7085568349\",\n        \"pallets\": [\n          {\n            \"number\": \"PAL-001\",\n            \"parts\": [\n              {\n                \"quantity\": \"25\",\n                \"shipperPartNumber\": \"22EE\",\n                \"weight\": \"7.998\"\n              }\n            ]\n          }\n        ],\n        \"productLineItems\": [\n          {\n            \"productId\": \"0123456\",\n            \"productName\": \"Rail Freight Item\",\n            \"productDescription\": \"Rail/intermodal freight shipment item\",\n            \"productCategory\": \"General Freight\",\n            \"quantity\": 25,\n            \"measurementUnitCode\": \"PCE\",\n            \"netWeight\": 44.8,\n            \"weightUnit\": \"KGM\",\n            \"unitCost\": 25.0,\n            \"currencyCode\": \"USD\",\n            \"extendedCost\": 625.00,\n            \"freightCost\": 20.00,\n            \"bestBeforeDate\": \"2026-04-25T00:00:00Z\",\n            \"additionalCharges\": 5.00,\n            \"tariffCost\": 2.50,\n            \"fourKitesCalculatedTariffCost\": 2.50,\n            \"totalLandedCost\": 655.00,\n            \"countryOfOrigin\": \"IN\",\n            \"harmonizedSystemCode\": \"8607911000\",\n            \"commodityTypeCode\": \"RAIL_FREIGHT\",\n            \"htsusCode\": \"8607911000\",\n            \"orderNumber\": \"TU-2945\",\n            \"deliveryNumber\": \"DN-7085568349\",\n            \"handlingUnitId\": \"PAL-001\",\n            \"barcode\": \"PAL001\",\n            \"containerType\": \"pallet\",\n            \"gtin\": \"00012345678905\",\n            \"customerPartNumber\": \"22EE\",\n            \"supplierPartNumber\": \"22EE\",\n            \"manufacturerPartNumber\": \"MFG-22EE\",\n            \"itemNumber\": \"ITM-22EE\",\n            \"productUpc\": \"012345678905\",\n            \"deliveryReferences\": [\"DEL-REF-001\"],\n            \"orderReferences\": [\"TU-2945\"],\n            \"brandName\": \"Generic Rail Freight Co\",\n            \"minimumTemperature\": 0,\n            \"maximumTemperature\": 0,\n            \"temperatureUnitCode\": \"cel\",\n            \"labelIdentifier\": \"LBL-22EE\",\n            \"productTrackingNumber\": \"7085568349\",\n            \"deviceType\": \"RFID_TAG\"\n          }\n        ]\n      },\n      {\n        \"stopType\": \"delivery\",\n        \"completeAddress\": \"Bengaluru, KA - 560002, IN\",\n        \"city\": \"Bengaluru\",\n        \"state\": \"KA\",\n        \"country\": \"IN\",\n        \"postalCode\": \"78738\",\n        \"latitude\": 12.96643,\n        \"longitude\": 77.58718,\n        \"geofencePoints\": [],\n        \"appointmentTime\": \"2024-08-29T07:35:00.000Z\",\n        \"wantTime\": None,\n        \"earliestWantTime\": None,\n        \"latestWantTime\": None,\n        \"transportationMode\": None,\n        \"addressType\": \"\",\n        \"pallets\": [\n          {\n            \"number\": \"PAL-002\",\n            \"parts\": [\n              {\n                \"quantity\": \"25\",\n                \"shipperPartNumber\": \"22EE\",\n                \"weight\": \"7.998\"\n              }\n            ]\n          }\n        ],\n        \"productLineItems\": [\n          {\n            \"productId\": \"0123456\",\n            \"productName\": \"Rail Freight Item\",\n            \"productDescription\": \"Rail/intermodal freight shipment item\",\n            \"productCategory\": \"General Freight\",\n            \"quantity\": 25,\n            \"measurementUnitCode\": \"PCE\",\n            \"netWeight\": 44.8,\n            \"weightUnit\": \"KGM\",\n            \"unitCost\": 25.0,\n            \"currencyCode\": \"USD\",\n            \"extendedCost\": 625.00,\n            \"freightCost\": 20.00,\n            \"additionalCharges\": 5.00,\n            \"tariffCost\": 2.50,\n            \"fourKitesCalculatedTariffCost\": 2.50,\n            \"totalLandedCost\": 655.00,\n            \"countryOfOrigin\": \"IN\",\n            \"harmonizedSystemCode\": \"8607911000\",\n            \"commodityTypeCode\": \"RAIL_FREIGHT\",\n            \"htsusCode\": \"8607911000\",\n            \"orderNumber\": \"80982\",\n            \"deliveryNumber\": \"DN-PAL002\",\n            \"handlingUnitId\": \"PAL-002\",\n            \"barcode\": \"PAL002\",\n            \"containerType\": \"pallet\",\n            \"gtin\": \"00012345678912\",\n            \"customerPartNumber\": \"33CC\",\n            \"supplierPartNumber\": \"33CC\",\n            \"manufacturerPartNumber\": \"MFG-33CC\",\n            \"itemNumber\": \"ITM-33CC\",\n            \"productUpc\": \"012345678912\",\n            \"deliveryReferences\": [\"DEL-REF-002\"],\n            \"orderReferences\": [\"80982\"],\n            \"brandName\": \"Generic Rail Freight Co\",\n            \"minimumTemperature\": 0,\n            \"maximumTemperature\": 0,\n            \"temperatureUnitCode\": \"cel\",\n            \"labelIdentifier\": \"LBL-33CC\",\n            \"productTrackingNumber\": \"94BC8\",\n            \"deviceType\": \"QR_CODE\"\n          }\n        ],\n        \"useLocalLatLng\": True\n      }\n    ],\n    \"tags\": [\n      \"temp\",\n      \"field2\",\n      \"Inbound\"\n    ]\n  }\n})\nheaders = {\n  'Content-Type': 'application/json',\n  'apikey': 'REPLACE_KEY_VALUE'\n}\nconn.request(\"POST\", \"/api/v1/tracking\", payload, headers)\nres = conn.getresponse()\ndata = res.read()\nprint(data.decode(\"utf-8\"))",
        "customLabel": ""
      }
    ],
    "selectedLanguageId": "QE6Bi_j_PqL8ARv5idGmE"
  },
  "results": {
    "languages": [
      {
        "id": "qkLkfi1sBo1o2cZPrX5P-",
        "language": "200",
        "customLabel": "",
        "code": "{\n  \"statusCode\": 200,\n  \"message\": \"Load creation request has been submitted successfully\",\n  \"loadId\": 176365311\n}"
      }
    ],
    "selectedLanguageId": "qkLkfi1sBo1o2cZPrX5P-"
  },
  "request": {
    "pathParameters": [],
    "queryParameters": [],
    "headerParameters": [],
    "bodyDataParameters": [
      {
        "name": "trackingInfo",
        "kind": "required",
        "type": "object",
        "description": "It indicates the information required for tracking the load.",
        "children": [
          {
            "name": "driverPhone",
            "kind": "optional",
            "type": "string",
            "description": "It indicates a valid mobile number. Example: +13125555555"
          },
          {
            "name": "truckNumber",
            "kind": "optional",
            "type": "string",
            "description": "It indicates the tractor or asset number dispatched by the carrier for the load."
          },
          {
            "name": "railEquipmentInitials",
            "kind": "optional",
            "type": "string",
            "description": "It indicates the 2 to 4 character rail equipment prefix."
          },
          {
            "name": "railEquipmentNumber",
            "kind": "optional",
            "type": "string",
            "description": "It indicates the load's six character rail container number."
          },
          {
            "name": "wagonNumber",
            "kind": "optional",
            "type": "string",
            "description": "For European Rail loads, the wagonNumber field should be used instead of the railEquipmentInitials and railEquipmentNumber fields as European standards of naming/identifying rail equipments are different than other regions. If your organization intends to track rail shipments in Europe, please contact your implementation manager and request that European rail tracking be enabled along with usage of this field. (CM) This applies to Europe only. If you do not intend to track rail shipments in Europe, this field may be ignored."
          }
        ]
      },
      {
        "name": "load",
        "kind": "required",
        "type": "object",
        "description": "It is the parent object for the load. Place the load attributes inside this object.",
        "children": [
          {
            "name": "loadNumber",
            "kind": "required",
            "type": "string",
            "description": "It is the unique load identifier from shipper's system. The load Number or BOL is an important piece of information used to link the load with truck information received from the Carrier's TMS."
          },
          {
            "name": "priority",
            "kind": "optional",
            "type": "string",
            "description": "It indicates whether a load is of normal or high priority. If priority is set as ‘hot’, the load will be marked as ‘Hot’. Valid values: ‘normal’, ‘high’ and ‘hot’. Defaults to normal. Setting the 'Priority' as 'hot' will mark the load as 'Hot' load."
          },
          {
            "name": "carrier",
            "kind": "optional",
            "type": "string",
            "description": "It is the SCAC or Service Provider ID of the carrier assigned to the load. The carrier should have approved sharing of their telematics data on FourKites® for the customer."
          },
          {
            "name": "carrierPermalink",
            "kind": "required",
            "type": "string",
            "description": "It is the unique identifier for the carrier in the FourKites platform."
          },
          {
            "name": "carrierName",
            "kind": "optional",
            "type": "string",
            "description": "It is the name of the carrier in the FK platform."
          },
          {
            "name": "masterSequenceNumber",
            "kind": "optional",
            "type": "string",
            "description": "It is the unique sequence number that represents the leg of the trip used for Consignment Pooling."
          },
          {
            "name": "masterReferenceNumber",
            "kind": "optional",
            "type": "string",
            "description": "It indicates a common reference number across a group of consignment loads in order to group them. For example, consignmentReferenceNumber: “XAF-BATCH-1”. (Conditional Mandatory)"
          },
          {
            "name": "referenceNumbers",
            "kind": "optional",
            "type": "array",
            "description": "It is the list of load-level reference numbers associated with a load. (CM)"
          },
          {
            "name": "shipper",
            "kind": "optional",
            "type": "string",
            "description": "It is the name of the shipper."
          },
          {
            "name": "products",
            "kind": "optional",
            "type": "string",
            "description": "It indicates the list of temperature tracked products on a load and their temperature tracking information."
          },
          {
            "name": "stops",
            "kind": "required",
            "type": "object",
            "description": "It is the list of stops for the load.",
            "children": [
              {
                "name": "stopType",
                "kind": "required",
                "type": "string",
                "description": "It defines the function of the stop. \tValid values: \"pickup\", \"delivery\", \"transfer\", \"portOfLoading\", \"transshipmentPort\", \"portOfDischarge\". There should be at least one pickup and delivery stop or one transfer (terminal) and one delivery."
              },
              {
                "name": "completeAddress",
                "kind": "optional",
                "type": "string",
                "description": "It indicates the first, second line of the stop's address -- along with city, state, postalCode and country information."
              },
              {
                "name": "city",
                "kind": "required",
                "type": "string",
                "description": "It indicates the name of the city."
              },
              {
                "name": "state",
                "kind": "required",
                "type": "string",
                "description": "it indicates the 2 character state code for US & Canada and 3 Character state code for Mexico."
              },
              {
                "name": "country",
                "kind": "optional",
                "type": "string",
                "description": "It indicates the valid country code."
              },
              {
                "name": "customer",
                "kind": "optional",
                "type": "object",
                "description": "It indicates the customer information for the stop. (CM)",
                "children": [
                  {
                    "name": "poNumbers",
                    "kind": "optional",
                    "type": "string",
                    "description": "It indicates the list of Customer PO Numbers associated with the load's stop. (CM)"
                  }
                ]
              },
              {
                "name": "postalCode",
                "kind": "optional",
                "type": "string",
                "description": "It indicates the valid postal code for the stop."
              },
              {
                "name": "latitude",
                "kind": "optional",
                "type": "string",
                "description": "It indicates the latitude of the stop's location. \tIt is formatted to decimal degrees.The only accepted format of lat/long by FourKites is the \"Decimal Degrees\" format. For example: 41.8781 (lat), -87.6298 (long)."
              },
              {
                "name": "longitude",
                "kind": "optional",
                "type": "string",
                "description": "It indicates the longitude of the stop's location. \tIt is formatted to decimal degrees.The only accepted format of lat/long by FourKites® is the \"Decimal Degrees\" format. For example: 41.8781 (lat), -87.6298 (long)."
              },
              {
                "name": "geofencePoints",
                "kind": "optional",
                "type": "string",
                "description": "It indicates the list of lat/long coordinates of the corners of the polygon geofence around the stop to be used for detecting arrival."
              },
              {
                "name": "appointmentTime",
                "kind": "required",
                "type": "string",
                "description": "It indicates the scheduled appointment time at the stop in the stop's local timezone in ISO 8601 format. ISO 8601 format. Appointment times cannot be more than 4 days in the past from the current time."
              },
              {
                "name": "wantTime",
                "kind": "optional",
                "type": "string",
                "description": "It indicates the time by which the load must be delivered to the consignee in stop's local timezone in ISO 8601 format.  (CM)"
              },
              {
                "name": "earliestWantTime",
                "kind": "optional",
                "type": "string",
                "description": "It indicates the earliest time by which the load must be delivered to the consignee in the stop's local timezone in ISO 8601 format. (CM). If the earliestWantTime is sent, then the latestWantTime must also be sent."
              },
              {
                "name": "latestWantTime",
                "kind": "optional",
                "type": "string",
                "description": "It indicates the latest time by which the load must be delivered to the consignee in the stop's local timezone in ISO 8601 format. (CM). If the latestWantTime is sent, then the earliestWantTime must also be sent."
              },
              {
                "name": "transportationMode",
                "kind": "optional",
                "type": "string",
                "description": "It defines the mode of the load. Valid values: \"TL\", \"LTL\", \"RAIL\", \"OCEAN\", \"PARCEL\""
              },
              {
                "name": "StopReferenceNumber",
                "kind": "optional",
                "type": "string",
                "description": "A unique identifier or reference number associated with a specific stop in the transportation journey. Stop Reference Number is one of the stop identifiers."
              },
              {
                "name": "pallets",
                "kind": "optional",
                "type": "object",
                "description": "It indicates the list of pallets to be delivered at the stop. Each pallet has a pallet number and list of parts.",
                "children": [
                  {
                    "name": "number",
                    "kind": "optional",
                    "type": "string",
                    "description": "It indicates the pallet number."
                  },
                  {
                    "name": "parts",
                    "kind": "optional",
                    "type": "object",
                    "description": "It indicates the list of parts in the pallet.",
                    "children": [
                      {
                        "name": "quantity",
                        "kind": "optional",
                        "type": "string",
                        "description": "It indicates the quantity of the part."
                      },
                      {
                        "name": "shipperPartNumber",
                        "kind": "optional",
                        "type": "string",
                        "description": "It indicates the shipper/manufacturer’s part number."
                      },
                      {
                        "name": "weight",
                        "kind": "optional",
                        "type": "string",
                        "description": "It indicates the weight of the part."
                      }
                    ]
                  }
                ]
              },
              {
                "name": "productLineItems",
                "kind": "optional",
                "type": "object",
                "description": "It is the list of product level details associated with a stop. Replaces the legacy pallets/parts structure going forward.",
                "children": [
                  {
                    "name": "productId",
                    "kind": "required",
                    "type": "string",
                    "description": "Unique identifier for the product. Mandatory if productLineItems object is present"
                  },
                  {
                    "name": "productName",
                    "kind": "optional",
                    "type": "string",
                    "description": "Name of the product"
                  },
                  {
                    "name": "productDescription",
                    "kind": "optional",
                    "type": "string",
                    "description": "Detailed description of the product"
                  },
                  {
                    "name": "productCategory",
                    "kind": "optional",
                    "type": "string",
                    "description": "Category classification of the product"
                  },
                  {
                    "name": "quantity",
                    "kind": "optional",
                    "type": "integer",
                    "description": "Number of units in the shipment"
                  },
                  {
                    "name": "measurementUnitCode",
                    "kind": "optional",
                    "type": "string",
                    "description": "Unit of measurement for quantity (e.g., PCE, KG, LB)"
                  },
                  {
                    "name": "netWeight",
                    "kind": "optional",
                    "type": "string",
                    "description": "Weight of the product excluding packaging"
                  },
                  {
                    "name": "weightUnit",
                    "kind": "optional",
                    "type": "string",
                    "description": "Unit of measurement for weight (e.g., KGM, LBM)"
                  },
                  {
                    "name": "unitCost",
                    "kind": "optional",
                    "type": "number",
                    "description": "Cost per unit of the product"
                  },
                  {
                    "name": "currencyCode",
                    "kind": "optional",
                    "type": "string",
                    "description": "Currency code for cost fields"
                  },
                  {
                    "name": "extendedCost",
                    "kind": "optional",
                    "type": "number",
                    "description": "Total cost for all units (unitCost x quantity)"
                  },
                  {
                    "name": "freightCost",
                    "kind": "optional",
                    "type": "number",
                    "description": "Freight cost allocated to this line item"
                  },
                  {
                    "name": "bestBeforeDate",
                    "kind": "optional",
                    "type": "string",
                    "description": "Expiration or best before date for the product"
                  },
                  {
                    "name": "additionalCharges",
                    "kind": "optional",
                    "type": "number",
                    "description": "Any additional charges specific to this line item"
                  },
                  {
                    "name": "tariffCost",
                    "kind": "optional",
                    "type": "number",
                    "description": "Tariff cost for this specific line item"
                  },
                  {
                    "name": "fourKitesCalculatedTariffCost",
                    "kind": "optional",
                    "type": "number",
                    "description": "System-calculated tariff cost"
                  },
                  {
                    "name": "totalLandedCost",
                    "kind": "optional",
                    "type": "number",
                    "description": "Total landed cost for this line item"
                  },
                  {
                    "name": "countryOfOrigin",
                    "kind": "optional",
                    "type": "string",
                    "description": "Country of origin for this product"
                  },
                  {
                    "name": "harmonizedSystemCode",
                    "kind": "optional",
                    "type": "string",
                    "description": "International trade classification code"
                  },
                  {
                    "name": "commodityTypeCode",
                    "kind": "optional",
                    "type": "string",
                    "description": "Commodity classification code"
                  },
                  {
                    "name": "htsusCode",
                    "kind": "optional",
                    "type": "string",
                    "description": "Harmonized Tariff Schedule code for US imports"
                  },
                  {
                    "name": "orderNumber",
                    "kind": "optional",
                    "type": "string",
                    "description": "Purchase order number"
                  },
                  {
                    "name": "deliveryNumber",
                    "kind": "optional",
                    "type": "string",
                    "description": "Delivery reference number"
                  },
                  {
                    "name": "handlingUnitId",
                    "kind": "optional",
                    "type": "string",
                    "description": "Identifier for the handling unit (pallet, box, etc.)"
                  },
                  {
                    "name": "barcode",
                    "kind": "optional",
                    "type": "string",
                    "description": "Product barcode"
                  },
                  {
                    "name": "containerType",
                    "kind": "optional",
                    "type": "string",
                    "description": "Type of container (pallet, box, carton, etc.)"
                  },
                  {
                    "name": "gtin",
                    "kind": "optional",
                    "type": "string",
                    "description": "Global Trade Item Number"
                  },
                  {
                    "name": "customerPartNumber",
                    "kind": "optional",
                    "type": "string",
                    "description": "Customer's part number for the product"
                  },
                  {
                    "name": "supplierPartNumber",
                    "kind": "optional",
                    "type": "string",
                    "description": "Supplier's part number for the product"
                  },
                  {
                    "name": "manufacturerPartNumber",
                    "kind": "optional",
                    "type": "string",
                    "description": "Manufacturer's part number"
                  },
                  {
                    "name": "itemNumber",
                    "kind": "optional",
                    "type": "string",
                    "description": "Internal item number"
                  },
                  {
                    "name": "productUpc",
                    "kind": "optional",
                    "type": "string",
                    "description": "Universal Product Code"
                  },
                  {
                    "name": "deliveryReferences",
                    "kind": "optional",
                    "type": "string",
                    "description": "Array of delivery reference numbers"
                  },
                  {
                    "name": "orderReferences",
                    "kind": "optional",
                    "type": "string",
                    "description": "Array of order reference numbers"
                  },
                  {
                    "name": "brandName",
                    "kind": "optional",
                    "type": "string",
                    "description": "Brand name of the product"
                  },
                  {
                    "name": "minimumTemperature",
                    "kind": "optional",
                    "type": "integer",
                    "description": "Minimum storage/transport temperature"
                  },
                  {
                    "name": "maximumTemperature",
                    "kind": "optional",
                    "type": "integer",
                    "description": "Maximum storage/transport temperature"
                  },
                  {
                    "name": "temperatureUnitCode",
                    "kind": "optional",
                    "type": "string",
                    "description": "Temperature unit (cel, fah)"
                  },
                  {
                    "name": "labelIdentifier",
                    "kind": "optional",
                    "type": "string",
                    "description": "Label identifier for tracking"
                  },
                  {
                    "name": "productTrackingNumber",
                    "kind": "optional",
                    "type": "string",
                    "description": "Unique tracking number for the product"
                  },
                  {
                    "name": "deviceType",
                    "kind": "optional",
                    "type": "string",
                    "description": "Type of tracking device (RFID_TAG, QR_CODE, etc.)"
                  }
                ]
              }
            ]
          },
          {
            "name": "tags",
            "kind": "optional",
            "type": "array",
            "description": "It is the list of tags or labels to be assigned to a load. Loads can be filtered in FourKites using tags. It is used for assigning categories for the load. A single tag can't exceed 50 characters. Even though we don’t have restrictions on the number of tags, it is advisable to keep total characters of all tags within the count of 255. (CM)"
          }
        ],
        "schema": [
          {
            "name": "loadNumber",
            "kind": "required",
            "type": "string",
            "description": "It is the unique load identifier from shipper's system. The load Number or BOL is an important piece of information used to link the load with truck information received from the Carrier's TMS."
          },
          {
            "name": "priority",
            "kind": "optional",
            "type": "string",
            "description": "It indicates whether a load is of normal or high priority. If priority is set as ‘hot’, the load will be marked as ‘Hot’. Valid values: ‘normal’, ‘high’ and ‘hot’. Defaults to normal. Setting the 'Priority' as 'hot' will mark the load as 'Hot' load."
          },
          {
            "name": "carrier",
            "kind": "optional",
            "type": "string",
            "description": "It is the SCAC or Service Provider ID of the carrier assigned to the load. The carrier should have approved sharing of their telematics data on FourKites® for the customer."
          },
          {
            "name": "carrierPermalink",
            "kind": "required",
            "type": "string",
            "description": "It is the unique identifier for the carrier in the FourKites platform."
          },
          {
            "name": "carrierName",
            "kind": "optional",
            "type": "string",
            "description": "It is the name of the carrier in the FK platform."
          },
          {
            "name": "masterSequenceNumber",
            "kind": "optional",
            "type": "string",
            "description": "It is the unique sequence number that represents the leg of the trip used for Consignment Pooling."
          },
          {
            "name": "masterReferenceNumber",
            "kind": "optional",
            "type": "string",
            "description": "It indicates a common reference number across a group of consignment loads in order to group them. For example, consignmentReferenceNumber: “XAF-BATCH-1”. (Conditional Mandatory)"
          },
          {
            "name": "referenceNumbers",
            "kind": "optional",
            "type": "array",
            "description": "It is the list of load-level reference numbers associated with a load. (CM)"
          },
          {
            "name": "shipper",
            "kind": "optional",
            "type": "string",
            "description": "It is the name of the shipper."
          },
          {
            "name": "products",
            "kind": "optional",
            "type": "string",
            "description": "It indicates the list of temperature tracked products on a load and their temperature tracking information."
          },
          {
            "name": "stops",
            "kind": "required",
            "type": "object",
            "description": "It is the list of stops for the load.",
            "children": [
              {
                "name": "stopType",
                "kind": "required",
                "type": "string",
                "description": "It defines the function of the stop. \tValid values: \"pickup\", \"delivery\", \"transfer\", \"portOfLoading\", \"transshipmentPort\", \"portOfDischarge\". There should be at least one pickup and delivery stop or one transfer (terminal) and one delivery."
              },
              {
                "name": "completeAddress",
                "kind": "optional",
                "type": "string",
                "description": "It indicates the first, second line of the stop's address -- along with city, state, postalCode and country information."
              },
              {
                "name": "city",
                "kind": "required",
                "type": "string",
                "description": "It indicates the name of the city."
              },
              {
                "name": "state",
                "kind": "required",
                "type": "string",
                "description": "it indicates the 2 character state code for US & Canada and 3 Character state code for Mexico."
              },
              {
                "name": "country",
                "kind": "optional",
                "type": "string",
                "description": "It indicates the valid country code."
              },
              {
                "name": "customer",
                "kind": "optional",
                "type": "object",
                "description": "It indicates the customer information for the stop. (CM)",
                "children": [
                  {
                    "name": "poNumbers",
                    "kind": "optional",
                    "type": "string",
                    "description": "It indicates the list of Customer PO Numbers associated with the load's stop. (CM)"
                  }
                ]
              },
              {
                "name": "postalCode",
                "kind": "optional",
                "type": "string",
                "description": "It indicates the valid postal code for the stop."
              },
              {
                "name": "latitude",
                "kind": "optional",
                "type": "string",
                "description": "It indicates the latitude of the stop's location. \tIt is formatted to decimal degrees.The only accepted format of lat/long by FourKites is the \"Decimal Degrees\" format. For example: 41.8781 (lat), -87.6298 (long)."
              },
              {
                "name": "longitude",
                "kind": "optional",
                "type": "string",
                "description": "It indicates the longitude of the stop's location. \tIt is formatted to decimal degrees.The only accepted format of lat/long by FourKites® is the \"Decimal Degrees\" format. For example: 41.8781 (lat), -87.6298 (long)."
              },
              {
                "name": "geofencePoints",
                "kind": "optional",
                "type": "string",
                "description": "It indicates the list of lat/long coordinates of the corners of the polygon geofence around the stop to be used for detecting arrival."
              },
              {
                "name": "appointmentTime",
                "kind": "required",
                "type": "string",
                "description": "It indicates the scheduled appointment time at the stop in the stop's local timezone in ISO 8601 format. ISO 8601 format. Appointment times cannot be more than 4 days in the past from the current time."
              },
              {
                "name": "wantTime",
                "kind": "optional",
                "type": "string",
                "description": "It indicates the time by which the load must be delivered to the consignee in stop's local timezone in ISO 8601 format.  (CM)"
              },
              {
                "name": "earliestWantTime",
                "kind": "optional",
                "type": "string",
                "description": "It indicates the earliest time by which the load must be delivered to the consignee in the stop's local timezone in ISO 8601 format. (CM). If the earliestWantTime is sent, then the latestWantTime must also be sent."
              },
              {
                "name": "latestWantTime",
                "kind": "optional",
                "type": "string",
                "description": "It indicates the latest time by which the load must be delivered to the consignee in the stop's local timezone in ISO 8601 format. (CM). If the latestWantTime is sent, then the earliestWantTime must also be sent."
              },
              {
                "name": "transportationMode",
                "kind": "optional",
                "type": "string",
                "description": "It defines the mode of the load. Valid values: \"TL\", \"LTL\", \"RAIL\", \"OCEAN\", \"PARCEL\""
              },
              {
                "name": "StopReferenceNumber",
                "kind": "optional",
                "type": "string",
                "description": "A unique identifier or reference number associated with a specific stop in the transportation journey. Stop Reference Number is one of the stop identifiers."
              },
              {
                "name": "pallets",
                "kind": "optional",
                "type": "object",
                "description": "It indicates the list of pallets to be delivered at the stop. Each pallet has a pallet number and list of parts.",
                "children": [
                  {
                    "name": "number",
                    "kind": "optional",
                    "type": "string",
                    "description": "It indicates the pallet number."
                  },
                  {
                    "name": "parts",
                    "kind": "optional",
                    "type": "object",
                    "description": "It indicates the list of parts in the pallet.",
                    "children": [
                      {
                        "name": "quantity",
                        "kind": "optional",
                        "type": "string",
                        "description": "It indicates the quantity of the part."
                      },
                      {
                        "name": "shipperPartNumber",
                        "kind": "optional",
                        "type": "string",
                        "description": "It indicates the shipper/manufacturer’s part number."
                      },
                      {
                        "name": "weight",
                        "kind": "optional",
                        "type": "string",
                        "description": "It indicates the weight of the part."
                      }
                    ]
                  }
                ]
              },
              {
                "name": "productLineItems",
                "kind": "optional",
                "type": "object",
                "description": "It is the list of product level details associated with a stop. Replaces the legacy pallets/parts structure going forward.",
                "children": [
                  {
                    "name": "productId",
                    "kind": "required",
                    "type": "string",
                    "description": "Unique identifier for the product. Mandatory if productLineItems object is present"
                  },
                  {
                    "name": "productName",
                    "kind": "optional",
                    "type": "string",
                    "description": "Name of the product"
                  },
                  {
                    "name": "productDescription",
                    "kind": "optional",
                    "type": "string",
                    "description": "Detailed description of the product"
                  },
                  {
                    "name": "productCategory",
                    "kind": "optional",
                    "type": "string",
                    "description": "Category classification of the product"
                  },
                  {
                    "name": "quantity",
                    "kind": "optional",
                    "type": "integer",
                    "description": "Number of units in the shipment"
                  },
                  {
                    "name": "measurementUnitCode",
                    "kind": "optional",
                    "type": "string",
                    "description": "Unit of measurement for quantity (e.g., PCE, KG, LB)"
                  },
                  {
                    "name": "netWeight",
                    "kind": "optional",
                    "type": "string",
                    "description": "Weight of the product excluding packaging"
                  },
                  {
                    "name": "weightUnit",
                    "kind": "optional",
                    "type": "string",
                    "description": "Unit of measurement for weight (e.g., KGM, LBM)"
                  },
                  {
                    "name": "unitCost",
                    "kind": "optional",
                    "type": "number",
                    "description": "Cost per unit of the product"
                  },
                  {
                    "name": "currencyCode",
                    "kind": "optional",
                    "type": "string",
                    "description": "Currency code for cost fields"
                  },
                  {
                    "name": "extendedCost",
                    "kind": "optional",
                    "type": "number",
                    "description": "Total cost for all units (unitCost x quantity)"
                  },
                  {
                    "name": "freightCost",
                    "kind": "optional",
                    "type": "number",
                    "description": "Freight cost allocated to this line item"
                  },
                  {
                    "name": "bestBeforeDate",
                    "kind": "optional",
                    "type": "string",
                    "description": "Expiration or best before date for the product"
                  },
                  {
                    "name": "additionalCharges",
                    "kind": "optional",
                    "type": "number",
                    "description": "Any additional charges specific to this line item"
                  },
                  {
                    "name": "tariffCost",
                    "kind": "optional",
                    "type": "number",
                    "description": "Tariff cost for this specific line item"
                  },
                  {
                    "name": "fourKitesCalculatedTariffCost",
                    "kind": "optional",
                    "type": "number",
                    "description": "System-calculated tariff cost"
                  },
                  {
                    "name": "totalLandedCost",
                    "kind": "optional",
                    "type": "number",
                    "description": "Total landed cost for this line item"
                  },
                  {
                    "name": "countryOfOrigin",
                    "kind": "optional",
                    "type": "string",
                    "description": "Country of origin for this product"
                  },
                  {
                    "name": "harmonizedSystemCode",
                    "kind": "optional",
                    "type": "string",
                    "description": "International trade classification code"
                  },
                  {
                    "name": "commodityTypeCode",
                    "kind": "optional",
                    "type": "string",
                    "description": "Commodity classification code"
                  },
                  {
                    "name": "htsusCode",
                    "kind": "optional",
                    "type": "string",
                    "description": "Harmonized Tariff Schedule code for US imports"
                  },
                  {
                    "name": "orderNumber",
                    "kind": "optional",
                    "type": "string",
                    "description": "Purchase order number"
                  },
                  {
                    "name": "deliveryNumber",
                    "kind": "optional",
                    "type": "string",
                    "description": "Delivery reference number"
                  },
                  {
                    "name": "handlingUnitId",
                    "kind": "optional",
                    "type": "string",
                    "description": "Identifier for the handling unit (pallet, box, etc.)"
                  },
                  {
                    "name": "barcode",
                    "kind": "optional",
                    "type": "string",
                    "description": "Product barcode"
                  },
                  {
                    "name": "containerType",
                    "kind": "optional",
                    "type": "string",
                    "description": "Type of container (pallet, box, carton, etc.)"
                  },
                  {
                    "name": "gtin",
                    "kind": "optional",
                    "type": "string",
                    "description": "Global Trade Item Number"
                  },
                  {
                    "name": "customerPartNumber",
                    "kind": "optional",
                    "type": "string",
                    "description": "Customer's part number for the product"
                  },
                  {
                    "name": "supplierPartNumber",
                    "kind": "optional",
                    "type": "string",
                    "description": "Supplier's part number for the product"
                  },
                  {
                    "name": "manufacturerPartNumber",
                    "kind": "optional",
                    "type": "string",
                    "description": "Manufacturer's part number"
                  },
                  {
                    "name": "itemNumber",
                    "kind": "optional",
                    "type": "string",
                    "description": "Internal item number"
                  },
                  {
                    "name": "productUpc",
                    "kind": "optional",
                    "type": "string",
                    "description": "Universal Product Code"
                  },
                  {
                    "name": "deliveryReferences",
                    "kind": "optional",
                    "type": "string",
                    "description": "Array of delivery reference numbers"
                  },
                  {
                    "name": "orderReferences",
                    "kind": "optional",
                    "type": "string",
                    "description": "Array of order reference numbers"
                  },
                  {
                    "name": "brandName",
                    "kind": "optional",
                    "type": "string",
                    "description": "Brand name of the product"
                  },
                  {
                    "name": "minimumTemperature",
                    "kind": "optional",
                    "type": "integer",
                    "description": "Minimum storage/transport temperature"
                  },
                  {
                    "name": "maximumTemperature",
                    "kind": "optional",
                    "type": "integer",
                    "description": "Maximum storage/transport temperature"
                  },
                  {
                    "name": "temperatureUnitCode",
                    "kind": "optional",
                    "type": "string",
                    "description": "Temperature unit (cel, fah)"
                  },
                  {
                    "name": "labelIdentifier",
                    "kind": "optional",
                    "type": "string",
                    "description": "Label identifier for tracking"
                  },
                  {
                    "name": "productTrackingNumber",
                    "kind": "optional",
                    "type": "string",
                    "description": "Unique tracking number for the product"
                  },
                  {
                    "name": "deviceType",
                    "kind": "optional",
                    "type": "string",
                    "description": "Type of tracking device (RFID_TAG, QR_CODE, etc.)"
                  }
                ]
              }
            ]
          },
          {
            "name": "tags",
            "kind": "optional",
            "type": "array",
            "description": "It is the list of tags or labels to be assigned to a load. Loads can be filtered in FourKites using tags. It is used for assigning categories for the load. A single tag can't exceed 50 characters. Even though we don’t have restrictions on the number of tags, it is advisable to keep total characters of all tags within the count of 255. (CM)"
          }
        ]
      }
    ],
    "formDataParameters": []
  },
  "currentNewParameter": {
    "label": "Body Parameter",
    "value": "bodyDataParameters"
  },
  "hasTryItOut": false,
  "autoGeneratedAnchorSlug": "azure-staging",
  "legacyHash": "1XSV5oGfEFEm735GRcBxx"
}
```
:::
