curl -i -X POST \
https://na12.api.project44.com/api/v4/tl/shipments \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"apiConfiguration": {
"enableIntelligentMatching": true,
"fallBackToDefaultAccountGroup": true,
"webhookEndpointConfigName": "string"
},
"attributes": [
{
"name": "string",
"predefined": true,
"value": "string",
"values": [
"string"
]
}
],
"capacityProviderAccountGroup": {
"accounts": [
{
"code": "string"
}
],
"code": "string"
},
"carrierIdentifier": {
"type": "SCAC",
"value": "string"
},
"contents": [
{
"maxTemperatureThreshold": 0.1,
"minTemperatureThreshold": 0.1,
"temperatureSetPoint": 0.1
}
],
"equipmentIdentifierChanges": [
{
"timestamp": "string",
"type": "MOBILE_PHONE_NUMBER",
"value": "string"
}
],
"equipmentIdentifiers": [
{
"shouldDelete": true,
"type": "MOBILE_PHONE_NUMBER",
"value": "string"
}
],
"id": 0,
"idleDuration": 0,
"masterShipmentId": "2e04ec4a-749a-4ef4-a452-b7dc8cca16aa",
"pointsOfInterest": [
{
"geoCoordinates": {
"latitude": 0.1,
"longitude": 0.1
},
"location": {
"address": {
"addressLines": [
"string"
],
"city": "string",
"country": "US",
"postalCode": "string",
"state": "string"
},
"contact": {
"companyName": "string",
"contactName": "string",
"email": "string",
"faxNumber": "string",
"faxNumberCountryCode": "string",
"phoneNumber": "string",
"phoneNumber2": "string",
"phoneNumber2CountryCode": "string",
"phoneNumberCountryCode": "string"
}
},
"locationIdentifiers": [
{
"type": "EXTERNAL",
"value": "string"
}
],
"pointOfInterestDescription": "string",
"pointOfInterestId": "string",
"pointOfInterestName": "string",
"pointOfInterestType": "GENERAL",
"shouldDelete": true
}
],
"sensors": [
{
"identifier": {
"type": "TEMPERATURE",
"value": "string"
},
"max": 0.1,
"min": 0.1,
"target": 0.1
}
],
"scope": [
"RISK_MANAGEMENT"
],
"shipmentDetails": {
"lineItems": [
{
"commodityCode": "string",
"contact": {
"companyName": "string",
"contactName": "string",
"email": "string",
"faxNumber": "string",
"faxNumberCountryCode": "string",
"phoneNumber": "string",
"phoneNumber2": "string",
"phoneNumber2CountryCode": "string",
"phoneNumberCountryCode": "string"
},
"deliveryStopNumber": 0,
"description": "string",
"freightClass": "50",
"handlingUnitPackageType": "PLT",
"handlingUnitQuantity": 0,
"involvedParties": [
{
"addressInfo": {
"addressLines": [
null
],
"addressLabel": "string",
"city": "string",
"country": "US",
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"postalCode": "string",
"state": "string"
},
"contactInfo": {
"companyName": "string",
"email": "user@example.com",
"familyName": "string",
"givenName": "string",
"mobilePhoneNumber": "string",
"phoneNumber": "string"
},
"identifyingCodes": {
"codeListProvider": "WAVE",
"codeListName": "DID",
"partyCode": "string"
},
"locationIdentifiers": [
{}
],
"partyType": "SHIPPER",
"vatNumber": "string"
}
],
"itemIdentifiers": [
{
"type": "PURCHASE_ORDER",
"value": "string"
}
],
"itemPackageType": "BAG",
"itemQuantity": 0,
"monetaryValue": {
"amount": 0,
"currency": "USD"
},
"pickupStopNumber": 0,
"subLineItems": [
{
"commodityCode": "string",
"contact": {
"companyName": "string",
"contactName": "string",
"email": "string",
"faxNumber": "string",
"faxNumberCountryCode": "string",
"phoneNumber": "string",
"phoneNumber2": "string",
"phoneNumber2CountryCode": "string",
"phoneNumberCountryCode": "string"
},
"description": "string",
"freightClass": "50",
"involvedParties": [
{
"locationIdentifiers": []
}
],
"itemIdentifiers": [
{}
],
"itemPackageType": "BAG",
"itemQuantity": 0,
"monetaryValue": {
"amount": 0,
"currency": "USD"
},
"totalWeight": {
"weight": 0,
"weightUnit": "LB"
}
}
],
"totalWeight": {
"weight": 0,
"weightUnit": "LB"
}
}
]
},
"shipmentIdentifiers": [
{
"type": "BILL_OF_LADING",
"value": "string"
}
],
"shipmentLegId": "6798b072-0783-4009-baaf-2b9780277fbd",
"shipmentStops": [
{
"additionalAppointmentWindows": [
{
"appointmentStatus": "PENDING",
"appointmentWindow": {
"endDateTime": "2019-08-24T14:15:22Z",
"localTimeZoneIdentifier": "string",
"startDateTime": "2019-08-24T14:15:22Z"
},
"identifiers": [
{
"type": "DOCK",
"value": "string"
}
],
"type": "STRATEGIC"
}
],
"appointmentWindow": {
"endDateTime": "2019-08-24T14:15:22Z",
"localTimeZoneIdentifier": "string",
"startDateTime": "2019-08-24T14:15:22Z"
},
"externalArrivalEstimate": {
"dateTime": "string",
"source": "SHIPPER"
},
"geoCoordinates": {
"latitude": 0.1,
"longitude": 0.1
},
"involvedParties": [
{
"addressInfo": {
"addressLines": [
"string"
],
"addressLabel": "string",
"city": "string",
"country": "US",
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"postalCode": "string",
"state": "string"
},
"contactInfo": {
"companyName": "string",
"email": "user@example.com",
"familyName": "string",
"givenName": "string",
"mobilePhoneNumber": "string",
"phoneNumber": "string"
},
"identifyingCodes": {
"codeListProvider": "WAVE",
"codeListName": "DID",
"partyCode": "string"
},
"locationIdentifiers": [
{
"type": "UNKNOWN",
"value": "string"
}
],
"partyType": "SHIPPER",
"vatNumber": "string"
}
],
"location": {
"address": {
"addressLines": [
"string"
],
"city": "string",
"country": "US",
"postalCode": "string",
"state": "string"
},
"contact": {
"companyName": "string",
"contactName": "string",
"email": "string",
"faxNumber": "string",
"faxNumberCountryCode": "string",
"phoneNumber": "string",
"phoneNumber2": "string",
"phoneNumber2CountryCode": "string",
"phoneNumberCountryCode": "string"
}
},
"locationIdentifiers": [
{
"type": "EXTERNAL",
"value": "string"
}
],
"stopDescription": "string",
"stopName": "string",
"stopNumber": 0,
"stopType": "PICKUP",
"uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f"
}
],
"shippingDetails": {
"hazmatDetails": {
"hazardClasses": [
"string"
]
},
"multipleDrivers": true,
"truckDetails": {
"truckDimensions": {
"height": 0,
"length": 0,
"unitOfMeasure": "IN",
"width": 0
},
"truckType": "AUTO_CARRIER",
"weight": 0,
"weightUnitOfMeasure": "LB"
}
},
"trackingDetails": [
{
"equipmentIdentifier": {
"shouldDelete": true,
"type": "MOBILE_PHONE_NUMBER",
"value": "string"
},
"equipmentIdentifierSource": "CUSTOMER",
"trackingType": "MOBILE_PHONE"
}
]
}'