{"openapi":"3.0.3","info":{"title":"Webhooks","description":"Receive real-time HTTP notifications of changes to specific objects in the Freight Exchange using webhooks.","version":"2.0"},"servers":[{"url":"https://app.staging.transportexchangegroup.com/api/v2","description":"Staging server"},{"url":"https://app.transportexchangegroup.com/api/v2","description":"Production server"}],"paths":{"/addStop":{"post":{"tags":["Load event webhooks"],"summary":"Add stop event","description":"This webhook notifies the user when a new stop is added to a load, sending a JSON of the updated load to their callback URL.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"callbackUrl":{"type":"string","format":"uri","example":"https://myserver.com/send/callback/here"}},"required":["callbackUrl"]}}}},"responses":{"201":{"description":"Webhook created"}},"callbacks":{"myEvent":{"These JSON bodies will be sent to your STOP webhook URL.":{"post":{"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventDto","example":{"type":"ADD","payload":{"eventTime":"2022-06-29T10:08:31.772Z","stopId":2025722,"loadId":3714234,"stopOrder":1,"stopType":"DELIVERY","address":{"countryId":2,"town":"Retford","postcode":"","fullAddress":"Retford, Nottinghamshire, England, GB","coordinates":{"lng":-0.94528,"lat":53.32519}},"timeFrom":"2022-06-29T10:00:00Z","timeTo":"2022-06-29T10:00:00Z","timeRange":"ASAP","timeZoneName":"Europe/London","contact":{"company":"Ryminster Healthcare (Shrewsbury)","contactName":"John","notes":"Only calls","phone":"13123123123","email":"john@mailinator.com"},"ownerNotes":"12 pallets","building":"12 floor, flat 456 "}}}}}},"responses":{"200":{"description":"OK"}}}}}}}},"/updateStop":{"post":{"tags":["Load event webhooks"],"summary":"Update stop event","description":"This webhook notifies the user when a stop in a load is updated, sending a JSON of the load with the updated stop to their callback URL.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"callbackUrl":{"type":"string","format":"uri","example":"https://myserver.com/send/callback/here"}},"required":["callbackUrl"]}}}},"responses":{"201":{"description":"Webhook created"}},"callbacks":{"myEvent":{"These JSON bodies will be sent to your update stop webhook URL.":{"post":{"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventDto","example":{"type":"UPDATE","payload":{"eventTime":"2022-06-29T10:08:31.772Z","stopId":2025722,"loadId":3714234,"stopOrder":1,"stopType":"DELIVERY","address":{"countryId":2,"town":"Retford","postcode":"","fullAddress":"Retford, Nottinghamshire, England, GB","coordinates":{"lng":-0.94528,"lat":53.32519}},"timeFrom":"2022-06-29T10:00:00Z","timeTo":"2022-06-29T10:00:00Z","timeRange":"ASAP","timeZoneName":"Europe/London","contact":{"company":"Ryminster Healthcare (Shrewsbury)","contactName":"John","notes":"Only calls","phone":"13123123123","email":"john@mailinator.com"},"ownerNotes":"12 pallets","building":"12 floor, flat 456","pod":{"deliveredOn":"2022-06-29T10:22:21Z","receivedBy":"RXVB","deliveryStatus":"COMPLETED","leftAt":"RECEIVING_DEPARTMENT","noOfItems":25,"weight":2000,"weightUnit":"KG","notes":"","released":false}}}}}}},"responses":{"200":{"description":"OK"}}}}}}}},"/update":{"post":{"tags":["Load event webhooks"],"summary":"Load edits","description":"This webhook notifies the user when a load is updated, sending a JSON of the load to their callback URL.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"callbackUrl":{"type":"string","format":"uri","example":"https://myserver.com/send/callback/here"}},"required":["callbackUrl"]}}}},"responses":{"201":{"description":"Webhook created"}},"callbacks":{"myEvent":{"These JSON bodies will be sent to your load edits webhook URL.":{"post":{"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventDto","example":{"type":"UPDATE","payload":{"eventTime":"2022-07-14T08:51:30.740Z","loadId":3716532,"ownerCompanyId":170802070,"yourReference":"64456","customerReference":"4564","currency":3,"customerName":"wrewer","customerAgreedRate":456,"addressFrom":"Cambridge, UK","townFrom":"Cambridge","postcodeFrom":"CB3 9","locationFrom":{"lng":0.12181699999996454,"lat":52.205337},"countryFrom":2,"pickupTimeZone":"Europe/London","pickupTimeRange":"BETWEEN","readyOn":"2022-07-14T08:50:00Z","collectBy":"2022-07-14T09:50:00Z","townTo":"London","locationTo":{"lng":-0.12775829999998223,"lat":51.5073509},"countryTo":2,"deliverTimeRange":"ASAP","deliverFrom":"2022-07-14T10:35:00Z","deliverOn":"2022-07-14T11:35:00Z","deliverTimeZone":"Europe/London","directlyBooked":false,"jobDescriptionId":8,"freightTypeId":20,"waitAndReturn":false,"twoMan":false,"minVehicleSize":23,"bodyTypeId":5,"volumeWidth":120,"volumeHeight":120,"volumeLength":120,"volumeLengthUnit":"CM","notes":"test","grossWeight":400,"noOfItems":67,"packagingTypeId":2,"status":"POSTED"}}}}}},"responses":{"201":{"description":"Webhook created"}}}}}}}},"/add":{"post":{"tags":["Load event webhooks"],"summary":"Add load","description":"This webhook notifies the user when a load is added, sending a JSON of the load to their callback URL.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"callbackUrl":{"type":"string","format":"uri","example":"https://myserver.com/send/callback/here"}},"required":["callbackUrl"]}}}},"responses":{"201":{"description":"Webhook created"}},"callbacks":{"myEvent":{"These JSON bodies will be sent to your add load webhook URL.":{"post":{"requestBody":{"required":true,"content":{"application/json":{"schema":{"example":{"type":"ADD","payload":{"eventTime":"2022-07-14T08:51:30.740Z","loadId":3716532,"ownerCompanyId":170802070,"yourReference":"64456","customerReference":"4564","currency":3,"customerName":"wrewer","customerAgreedRate":456,"addressFrom":"Cambridge, UK","townFrom":"Cambridge","postcodeFrom":"CB3 9","locationFrom":{"lng":0.12181699999996454,"lat":52.205337},"countryFrom":2,"pickupTimeZone":"Europe/London","pickupTimeRange":"BETWEEN","readyOn":"2022-07-14T08:50:00Z","collectBy":"2022-07-14T09:50:00Z","townTo":"London","locationTo":{"lng":-0.12775829999998223,"lat":51.5073509},"countryTo":2,"deliverTimeRange":"ASAP","deliverFrom":"2022-07-14T10:35:00Z","deliverOn":"2022-07-14T11:35:00Z","deliverTimeZone":"Europe/London","directlyBooked":false,"jobDescriptionId":8,"freightTypeId":20,"waitAndReturn":false,"twoMan":false,"minVehicleSize":23,"bodyTypeId":5,"volumeWidth":120,"volumeHeight":120,"volumeLength":120,"volumeLengthUnit":"CM","notes":"test","grossWeight":400,"noOfItems":67,"packagingTypeId":2,"status":"POSTED"}}}}}},"responses":{"201":{"description":"Webhook created"}}}}}}}},"/quotePosted":{"post":{"tags":["Quote event webhooks"],"summary":"Quote posted","description":"This webhook notifies the user when a new quote has been submitted.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"callbackUrl":{"type":"string","format":"uri","example":"https://myserver.com/send/callback/here"}},"required":["callbackUrl"]}}}},"responses":{"201":{"description":"Webhook created"}},"callbacks":{"myEvent":{"These JSON bodies will be sent to your quote posted webhook URL.":{"post":{"requestBody":{"required":true,"content":{"application/json":{"schema":{"example":{"eventTime":"2022-10-07T12:04:30Z","loadId":4724920,"quoteId":206962,"price":100,"currency":"GBP","vehicleType":"18T","quoteOwner":{"id":170802802,"companyName":"My Company","phone":"3432343243242"},"createdOn":"2022-10-07T12:04:30Z","status":"POSTED","notes":"5 tons","accessorials":[{"typeApiKey":"FERRY_CHARGE","price":10}],"totalPrice":110}}}}},"responses":{"201":{"description":"Webhook created"}}}}}}}},"/quoteCancelled":{"post":{"tags":["Quote event webhooks"],"summary":"Quote cancelled","description":"This webhook notifies the user when a quote has been cancelled.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"callbackUrl":{"type":"string","format":"uri","example":"https://myserver.com/send/callback/here"}},"required":["callbackUrl"]}}}},"responses":{"201":{"description":"Webhook created"}},"callbacks":{"myEvent":{"These JSON bodies will be sent to your quote cancelled webhook URL.":{"post":{"requestBody":{"required":true,"content":{"application/json":{"schema":{"example":{"eventTime":"2022-07-14T08:53:18Z","loadId":3716278,"quoteId":206907,"price":23,"currency":"GBP","vehicleType":"Bike","quoteOwner":{"id":170802346,"companyName":"DueDil Limited","phone":"44 8081570192"},"createdOn":"2022-07-14T08:53:18Z","status":"CANCELLED","accessorials":[],"totalPrice":23}}}}},"responses":{"201":{"description":"Webhook created"}}}}}}}},"/quoteDismissed":{"post":{"tags":["Quote event webhooks"],"summary":"Quote dismissed","description":"This webhook notifies the user when a quote has been dismissed.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"callbackUrl":{"type":"string","format":"uri","example":"https://myserver.com/send/callback/here"}},"required":["callbackUrl"]}}}},"responses":{"201":{"description":"Webhook created"}},"callbacks":{"myEvent":{"These JSON bodies will be sent to your quote dismissed webhook URL.":{"post":{"requestBody":{"required":true,"content":{"application/json":{"schema":{"example":{"eventTime":"2022-07-14T08:53:18Z","loadId":3716278,"quoteId":206907,"price":23,"currency":"GBP","vehicleType":"Bike","quoteOwner":{"id":170802346,"companyName":"DueDil Limited","phone":"44 8081570192"},"createdOn":"2022-07-14T08:53:18Z","status":"DISMISSED","accessorials":[],"totalPrice":23}}}}},"responses":{"201":{"description":"Webhook created"}}}}}}}},"/vehicleLocation":{"post":{"tags":["Vehicle event webhooks"],"summary":"Vehicle location","description":"This webhook notifies the user of driver location when a job has started.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"callbackUrl":{"type":"string","format":"uri","example":"https://myserver.com/send/callback/here"}},"required":["callbackUrl"]}}}},"responses":{"201":{"description":"Webhook created"}},"callbacks":{"myEvent":{"These JSON bodies will be sent to your STOP webhook URL.":{"post":{"requestBody":{"required":true,"content":{"application/json":{"schema":{"example":{"eventTime":"2022-07-14T08:55:47Z","vehicleId":192684,"time":"2022-07-14T08:55:47Z","address":{"country":"GB","town":"Birmingham","fullAddress":"Birmingham, GB","coordinates":{"lng":-1.90681,"lat":52.47881}}}}}}},"responses":{"201":{"description":"Webhook created"}}}}}}}},"/stopPODDocument":{"post":{"tags":["Document event webhooks"],"summary":"Stop POD document","description":"This webhook is called when a proof of delivery (POD) document is added.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"callbackUrl":{"type":"string","format":"uri","example":"https://myserver.com/send/callback/here"}},"required":["callbackUrl"]}}}},"responses":{"201":{"description":"Webhook created"}},"callbacks":{"myEvent":{"These JSON bodies will be sent to your stop POD document URL.":{"post":{"requestBody":{"required":true,"content":{"application/json":{"schema":{"example":{"eventTime":"2022-06-29T10:15:18.323Z","loadId":3714232,"stopId":2025720,"documentId":2010997,"documentType":"POD","fileName":"3714232_1_attachment_1.pdf"}}}}},"responses":{"201":{"description":"OK"}}}}}}}},"/stopSignatureDocument":{"post":{"tags":["Document event webhooks"],"summary":"Stop signature document","description":"This webhook is called when a stop signature document is added.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"callbackUrl":{"type":"string","format":"uri","example":"https://myserver.com/send/callback/here"}},"required":["callbackUrl"]}}}},"responses":{"201":{"description":"Webhook created"}},"callbacks":{"myEvent":{"These JSON bodies will be sent to your stop signature document URL.":{"post":{"requestBody":{"required":true,"content":{"application/json":{"schema":{"example":{"eventTime":"2022-06-29T10:15:19.046Z","loadId":3714232,"stopId":2025720,"documentId":2010998,"documentType":"SIGNATURE","fileName":"3714232_1_signature.png"}}}}},"responses":{"201":{"description":"Webhook created"}}}}}}}},"/ETAStatus":{"post":{"tags":["Vehicle event webhooks"],"summary":"ETA status","description":"This webhook notifies the user of a driver's estimated time of arrival.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"callbackUrl":{"type":"string","format":"uri","example":"https://myserver.com/send/callback/here"}},"required":["callbackUrl"]}}}},"responses":{"201":{"description":"Webhook created"}},"callbacks":{"myEvent":{"These JSON bodies will be sent to your ETA status URL.":{"post":{"requestBody":{"required":true,"content":{"application/json":{"schema":{"example":{"eventTime":"2022-07-11T08:51:43Z","vehicleId":192684,"time":"2022-07-11T08:51:43Z","address":{"country":"GB","town":"Birmingham","fullAddress":"Birmingham, GB","coordinates":{"lng":-1.90681,"lat":52.47881}}}}}}},"responses":{"201":{"description":"Webhook created"}}}}}}}},"/bookingStatusUpdate":{"post":{"tags":["Load event webhooks"],"summary":"Booking status update","description":"This webhook notifies the user of load booking statuses, allowing them to track the load's progress from shipper to client.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"callbackUrl":{"type":"string","format":"uri","example":"https://myserver.com/send/callback/here"}},"required":["callbackUrl"]}}}},"responses":{"201":{"description":"Webhook created"}},"callbacks":{"bookingStatusUpdate":{"EN_ROUTE_TO_PICKUP - Driver is on their way to pick up the Load":{"post":{"requestBody":{"required":true,"content":{"application/json":{"schema":{"example":{"eventTime":"2022-06-30T14:35:00.240Z","loadId":3714714,"bookingStatus":"EN_ROUTE_TO_PICKUP","statusTime":"2022-06-30T14:34:00Z","notes":"test"}}}}},"responses":{"200":{"description":"OK"}}}},"ARRIVED_TO_PICKUP - Driver has arrived at the Load pick up location":{"post":{"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"stop2":{"type":"string","example":{"eventTime":"2022-06-30T14:35:39.455Z","loadId":3714714,"bookingStatus":"ARRIVED_TO_PICKUP","statusTime":"2022-06-30T14:35:00Z","notes":"test"}}}}}}},"responses":{"200":{"description":"OK"}}}},"LOADED - Driver has finished loading and ready to leave the pick up location":{"post":{"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"stop2":{"type":"string","example":{"eventTime":"2022-06-30T14:36:51.678Z","loadId":3714714,"bookingStatus":"LOADED","statusTime":"2022-06-30T14:36:00Z","notes":"test","loadedInfo":{"noOfItems":20,"weight":1000,"weightUnit":"KG","ourRef":"test321","customerRef":"test123","eta":"2022-06-30T17:36:00Z","notes":"test"}}}}}}}},"responses":{"200":{"description":"OK"}}}},"ARRIVED_TO_DELIVERY - Driver has arrived at the delivery location ":{"post":{"requestBody":{"required":true,"content":{"application/json":{"schema":{"example":{"eventTime":"2022-06-30T14:37:05.276Z","loadId":3714714,"bookingStatus":"ARRIVED_TO_DELIVERY","statusTime":"2022-06-30T14:37:00Z","notes":"test"}}}}},"responses":{"200":{"description":"OK"}}}},"DELIVERED - Driver has completed the job":{"post":{"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"stop2":{"type":"string","example":{"eventTime":"2022-06-30T14:38:30.652Z","loadId":3714702,"bookingStatus":"DELIVERED","statusTime":"2022-06-30T14:38:30.430Z","pod":{"deliveredOn":"2022-06-30T14:40:00Z","receivedBy":"John","deliveryStatus":"COMPLETED","leftAt":"RECEIVING_DEPARTMENT","noOfItems":20,"weight":1000,"weightUnit":"KG","notes":"test","released":true,"status":"APPROVED"}}}}}}}},"responses":{"200":{"description":"OK"}}}}}}}},"/webhookUrls":{"get":{"tags":["Manage webhook URLs"],"summary":"Get webhook URLs","description":"This method returns a list of webhook URLs.","operationId":"getWebhookUrls","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/WebhookUrlDto"}},"example":[{"eventType":"LOAD","url":"https://webhook.mycompany.co.uk/quotes"}]}}},"401":{"description":"Not authorized"},"403":{"description":"Forbidden"},"404":{"description":"Not found"}}},"post":{"tags":["Manage webhook URLs"],"summary":"Post a webhook URL","description":"Post a webhook URL.","operationId":"postWebhookUrls","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookUrlDto"},"example":{"eventType":"LOAD","url":"https://webhook.mycompany.co.uk/quotes"}}}},"responses":{"200":{"description":"OK"}}},"delete":{"tags":["Manage webhook URLs"],"summary":"Delete existing webhook URL","description":"This method allows you to delete a webhook URL in the database.","operationId":"deleteWebhookUrls","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookUrlDto"},"example":{"eventType":"LOAD_BOOKING_STATUS","url":"https://webhook.mycompany.co.uk/load"}}}},"responses":{"200":{"description":"OK"}}}}},"components":{"requestBodies":{"uploadDocumentUsingPOST":{"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"body":{"description":"body","type":"string","format":"binary"},"docInfoDto":{"description":"docInfoDto","$ref":"#/components/schemas/DocInfoDto"}}}}}}},"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-API-KEY","description":"TEG recommends using this form of authentication for the API"}},"schemas":{"AccessorialDto":{"type":"object","properties":{"apiKey":{"type":"string","enum":["DETENTION","DRIVER_ASSIST","DRIVER_LOAD","ESCORT","FUEL_SURCHARGE","HAZMAT_CHARGE","LAYOVER_FEE","LUMPER","MISCELLANEOUS_CHARGE","ON_TIME","PERMITS","RE_CONSIGNMENT","RE_WORK","SCALE_TIX","STORAGE","STOP_OFF","TARPING","TEAM_SERVICE","TRUCK_ORDERED","CONGESTION_CHARGE","FERRY_CHARGE","TOLLS","ULEZ"]},"price":{"type":"number","format":"double"}}},"Address":{"type":"object","properties":{"area":{"type":"string"},"building":{"type":"string","maxLength":255},"coordinates":{"$ref":"#/components/schemas/LngLatDto"},"country":{"type":"string","description":"Must be a two-letter code from the ISO 3166-1 alpha-2 standard, for example `US` or `GB`."},"fullAddress":{"type":"string"},"locality":{"type":"string","maxLength":255},"postcode":{"type":"string","maxLength":10},"route":{"type":"string","maxLength":255},"shortDisplayAddress":{"type":"string"},"streetNumber":{"type":"string","maxLength":255},"town":{"type":"string","maxLength":255}},"required":["coordinates","country"]},"AttachmentInfoDto":{"type":"object","properties":{"attachmentExtId":{"type":"string"},"attachmentType":{"type":"string"},"contentType":{"type":"string"},"id":{"type":"integer","format":"int64"},"name":{"type":"string"},"size":{"type":"integer","format":"int64"}}},"BookingStatusDto":{"type":"object","properties":{"arrivalTime":{"type":"string"},"attachmentsInfo":{"type":"array","items":{"$ref":"#/components/schemas/AttachmentInfoDto"}},"bookingStatus":{"type":"string","enum":["ACCEPTED","DECLINED","EN_ROUTE_TO_PICKUP","ARRIVED_TO_PICKUP","LOADED","ARRIVED_TO_DELIVERY","DELIVERED"]},"loadedInfo":{"$ref":"#/components/schemas/LoadedInfoDto"},"location":{"$ref":"#/components/schemas/LocationDto"},"pod":{"$ref":"#/components/schemas/PODDto"},"statusTime":{"type":"string","example":"2020-10-08T15:11:21.000Z"}},"required":["bookingStatus"]},"ChargesDto":{"type":"object","properties":{"cancellation":{"type":"string"},"loadingTime":{"type":"string"},"other":{"type":"string"},"waitingTime":{"type":"string"}}},"CompanyBriefDto":{"type":"object","properties":{"companyId":{"type":"integer","format":"int64","readOnly":true,"description":"Company ID"},"cxCompanyId":{"type":"string","description":"Company ID with country code"},"name":{"type":"string","description":"Company name"}}},"CompanyLoadsDto":{"type":"object","properties":{"paging":{"type":"array","items":{"$ref":"#/components/schemas/PagingDto"}},"LoadDto":{"type":"object","properties":{"loadId":{"type":"integer","format":"int64"},"createdOn":{"type":"string","format":"date-time"},"status":{"type":"string","enum":["AVAILABLE","UNAVAILABLE","UNKNOWN","MAYBE_AVAILABLE"]}}}}},"CompanyConnectedDriverDto":{"type":"object","properties":{"companyId":{"type":"integer","format":"int64","readOnly":true},"firstName":{"type":"string"},"lastName":{"type":"string"},"vehicles":{"type":"array","items":{"$ref":"#/components/schemas/CompanyConnectedDriverVehicleDto"}}}},"CompanyConnectedDriverFinalDto":{"type":"object","properties":{"companyId":{"type":"integer","format":"int64","readOnly":true},"firstName":{"type":"string"},"lastName":{"type":"string"},"vehicles":{"type":"array","items":{"$ref":"#/components/schemas/CompanyConnectedDriverVehicleFinalDto"}}}},"CompanyConnectedDriverVehicleDto":{"type":"object","properties":{"companyId":{"type":"integer","format":"int64","readOnly":true},"vehReference":{"type":"string"},"vehicleId":{"type":"integer","format":"int64"}}},"CompanyConnectedDriverVehicleFinalDto":{"type":"object","properties":{"vehReference":{"type":"string"},"vehicleId":{"type":"integer","format":"int64"}}},"CompanyDto":{"type":"object","properties":{"about":{"type":"string"},"address1":{"type":"string"},"address2":{"type":"string"},"billingAddress1":{"type":"string"},"billingAddress2":{"type":"string"},"billingContactName":{"type":"string"},"billingCountry":{"type":"string"},"billingEmail":{"type":"string"},"billingPostcode":{"type":"string"},"billingState":{"type":"string"},"billingTown":{"type":"string"},"businessName":{"type":"string"},"changeRequestFields":{"type":"array","items":{"$ref":"#/components/schemas/ProfileChangeRequestFieldDto"}},"companyId":{"type":"integer","format":"int64","readOnly":true},"companyReg":{"type":"string"},"companyTypeId":{"type":"integer","format":"int64"},"companyVehiclesList":{"type":"array","items":{"$ref":"#/components/schemas/VehicleDto"}},"country":{"type":"string"},"countryCode2":{"type":"string"},"displayCompanyId":{"type":"string","readOnly":true},"email":{"type":"string"},"email2":{"type":"string"},"fax":{"type":"string"},"intrastateNo":{"type":"string"},"mainContact":{"type":"string"},"mainContactDepartment":{"type":"string"},"mainContactId":{"type":"integer","format":"int64","readOnly":true},"motorCarrierNo":{"type":"string"},"name":{"type":"string"},"notificationEmail":{"type":"string"},"notificationPhone":{"type":"string"},"operatorsLicense":{"type":"string"},"paymentTerms":{"type":"string"},"phone":{"type":"string"},"phone2":{"type":"string"},"postcode":{"type":"string"},"state":{"type":"string"},"taxId":{"type":"string","readOnly":true},"timeZone":{"type":"string"},"town":{"type":"string"},"tradingName":{"type":"string"},"usdotNumber":{"type":"string"},"vatNumber":{"type":"string"}}},"CompanyEmployeeDriverDto":{"type":"object","properties":{"firstName":{"type":"string","example":"Company"},"lastName":{"type":"string","example":"Driver"},"userId":{"type":"integer","format":"int64","readOnly":true,"example":1074589}}},"CompanyEmployeeDriverFinalDto":{"type":"object","properties":{"firstName":{"type":"string"},"lastName":{"type":"string"},"userId":{"type":"integer","format":"int64","readOnly":true}}},"CompanySubContractorsDto":{"type":"object","properties":{"companyDrivers":{"type":"array","items":{"$ref":"#/components/schemas/CompanyEmployeeDriverDto"},"example":[{"firstName":"John","lastName":"Smith","userId":1074589}]},"connectedDrivers":{"type":"array","items":{"$ref":"#/components/schemas/CompanyConnectedDriverDto"},"example":[{"companyId":170868376,"firstName":"Jane","lastName":"Smith","vehicles":[{"vehicleId":192892,"vehReference":"sub_veh (i)"},{"vehicleId":193160,"vehReference":"sub_alt_veh (i)"}]},{"companyId":170868402,"firstName":"John","lastName":"Smith","vehicles":[{"vehicleId":192920,"vehReference":"VREF"}]}]}}},"CompanySubContractorsFinalDto":{"type":"object","properties":{"companyDrivers":{"type":"array","items":{"$ref":"#/components/schemas/CompanyEmployeeDriverFinalDto"}},"connectedDrivers":{"type":"array","items":{"$ref":"#/components/schemas/CompanyConnectedDriverFinalDto"}}}},"ContactDetailsDto":{"type":"object","properties":{"addressLine1":{"type":"string"},"addressLine2":{"type":"string"},"addressLine3":{"type":"string"},"companyName":{"type":"string"},"contactName":{"type":"string"},"email":{"type":"string"},"notes":{"type":"string"},"phone":{"type":"string"},"postcode":{"type":"string"}}},"ContactDto":{"type":"object","properties":{"companyName":{"type":"string"},"contactName":{"type":"string"},"email":{"type":"string"},"notes":{"type":"string"},"phone":{"type":"string"}}},"ContactsDto":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/ContactDto"}},"paging":{"$ref":"#/components/schemas/PagingDto"}}},"CurrencyDto":{"type":"object","properties":{"code":{"type":"string"},"symbol":{"type":"string"}}},"CurrentLocationDto":{"type":"object","properties":{"availabilityStatus":{"$ref":"#/components/schemas/ExtAvailabilityStatusDto"},"country":{"type":"string"},"latitude":{"type":"number","format":"double"},"longitude":{"type":"number","format":"double"},"postCode":{"type":"string"},"timestamp":{"type":"integer","format":"int64"},"town":{"type":"string"}},"required":["latitude","longitude","timestamp"]},"DocInfoDto":{"type":"object","properties":{"attachmentType":{"type":"string","enum":["POD","SIGNATURE","LOAD_DOCUMENT"]},"companyId":{"type":"integer","format":"int64","readOnly":true},"date":{"type":"string"},"documentType":{"type":"string"},"fileNameExtension":{"type":"string"},"id":{"type":"integer","format":"int64"},"name":{"type":"string"},"size":{"type":"integer","format":"int64"},"userId":{"type":"integer","format":"int64"}}},"EntityCreatedResult":{"type":"object","properties":{"id":{"type":"integer","format":"int64"}}},"EntityDto":{"type":"object","properties":{"id":{"type":"integer","format":"int64"}}},"EventDto":{"type":"object","properties":{"load":{"$ref":"#/components/schemas/LoadStopDto"},"eventType":{"type":"string","enum":["ADD","UPDATE","DELETE"]}}},"ExtAvailabilityStatusDto":{"type":"object","properties":{"message":{"type":"string"},"status":{"type":"string","enum":["AVAILABLE","UNAVAILABLE","UNKNOWN","MAYBE_AVAILABLE"]}},"required":["status"]},"ExtLocationDto":{"type":"object","properties":{"availabilityStatus":{"$ref":"#/components/schemas/ExtAvailabilityStatusDto"},"country":{"type":"string"},"latitude":{"type":"number","format":"double"},"longitude":{"type":"number","format":"double"},"postCode":{"type":"string"},"source":{"type":"string"},"timestamp":{"type":"integer","format":"int64"},"town":{"type":"string"},"vehicleId":{"type":"string"}},"required":["latitude","longitude","timestamp","source"]},"ExtVehicleDto":{"type":"object","properties":{"extReference":{"type":"string"},"extVehicleId":{"type":"string","readOnly":true},"source":{"type":"string"}},"required":["extVehicleId","extReference","source"]},"GroupDto":{"type":"object","properties":{"autoGenerated":{"type":"boolean"},"groupId":{"type":"integer","format":"int64","readOnly":true},"name":{"type":"string"}}},"InputStream":{"type":"object"},"InvoiceDto":{"type":"object","properties":{"createdOn":{"type":"string"},"invoiceDate":{"type":"string"},"paymentDue":{"type":"string"},"simpleInvoicesId":{"type":"integer","format":"int64","readOnly":true}}},"LngLatDto":{"type":"object","properties":{"lat":{"type":"number","format":"double","minimum":-180,"maximum":180},"lng":{"type":"number","format":"double","minimum":-180,"maximum":180}},"required":["lng","lat"]},"LoadChangesDto":{"type":"object","properties":{"authorName":{"type":"string"},"changesTime":{"type":"string"},"value":{"type":"string"}}},"LoadDto":{"type":"object","properties":{"acceptanceRequired":{"type":"boolean"},"attachmentInfo":{"type":"array","items":{"$ref":"#/components/schemas/AttachmentInfoDto"}},"bodyType":{"type":"string","enum":["NA","BOX","CURTAIN","DBLDECK","DROPSIDE","HIGHROOF","LOWLOADER","PANEL","REFRIGERATED","SIDELOADER","TANKER","TEMPCONTR","TILT","TIPPER","TRAILER","VEHTRANSP","CONTAINER","CURTAINSIDE","DOUBLEDROP","FLATBED","POWER","RACKTARP","REEFER","STEPDECK","TRACTORTRAILER","OTHER","STRAIGHT","SPRINTERNA","RGN","CURTAISIDE","CONESTOGA","CARGO","DRYVAN","FRIDGESINGLE","FRIDGEMULTI","FRIDGESPLIT","MEGATRAILER"]},"bookerId":{"type":"integer","format":"int64","readOnly":true},"bookingFooter":{"type":"string"},"bookingStatuses":{"type":"array","items":{"$ref":"#/components/schemas/BookingStatusDto"}},"callbackRequired":{"type":"boolean"},"collectBy":{"type":"string","format":"date-time","example":"2022-01-25T00:00:00Z"},"commodity":{"type":"string"},"createdOn":{"type":"string"},"currency":{"type":"string","enum":["GBP","EUR","PLN","USD"]},"customerAgreedRate":{"type":"number","format":"double","minimum":0,"maximum":999999.99},"customerContactId":{"type":"integer","format":"int64"},"customerReference":{"type":"string","maxLength":30},"deliverBy":{"type":"string","format":"date-time","example":"2022-01-25T00:00:00Z"},"deliverFrom":{"type":"string","format":"date-time","example":"2022-01-25T00:00:00Z"},"deliverTimeRange":{"type":"string","enum":["BETWEEN","AT","BEFORE","ASAP"]},"deliveryTime":{"type":"string","enum":["BETWEEN","AT","BEFORE","ASAP"],"readOnly":true},"distance":{"type":"number","format":"double","readOnly":true},"docInfo":{"type":"array","items":{"$ref":"#/components/schemas/DocInfoDto"}},"draft":{"type":"boolean"},"duration":{"type":"integer","format":"int64","readOnly":true},"enrouteEmail1":{"type":"string"},"enrouteEmail2":{"type":"string"},"enrouteEmail3":{"type":"string"},"eta":{"$ref":"#/components/schemas/LoadEtaDto"},"freightType":{"type":"string","enum":["NA","AMBIENT","ADR","AIR_FREIGHT_LEVEL_A_B","AIR_FREIGHT_LEVEL_D","REFRIGERATED","CONTAINER","FOODSTUFFS","FORS_BRONZE","FORS_SILVER","FORS_GOLD","FRAGILE","DGSA_QUALIFIED","HANGING_GARMENTS","INSTALLATION_AND_SWAPOUT","LIVESTOCK","LOOSE","REMOVALS","SECURE","FROZEN","WASTE","WEEE","GENERAL_CARGO","HAZMAT","CHILLED","AIR_FREIGHT","SAMPLES","CATTLE","SHEEP","PIGS","GOATS","BULK_FEED","BALED_FEED"]},"frequencyForEnrouteEmail":{"type":"integer","format":"int32"},"from":{"$ref":"#/components/schemas/Address"},"fromDisplayAddress":{"type":"string"},"fromShortDisplayAddress":{"type":"string"},"fromTimeZone":{"readOnly":true,"allOf":[{"$ref":"#/components/schemas/TimeZoneDto"}]},"fromTimeZoneId":{"type":"string"},"grossWeight":{"$ref":"#/components/schemas/WeightDto"},"groupId":{"type":"integer","format":"int64"},"hiab":{"type":"boolean"},"invoiced":{"type":"boolean"},"jobDescription":{"type":"string"},"jobDisplayDescription":{"type":"string"},"jobDisplayTypeShort":{"type":"string"},"jobType":{"type":"string","enum":["HOTSHOT","BACKLOAD"]},"liftgate":{"type":"boolean"},"loadFieldsChanges":{"$ref":"#/components/schemas/LoadChangesDto"},"loadId":{"type":"integer","format":"int64","readOnly":true},"minVehicleSize":{"type":"string","description":"Enum specifying the smallest vehicle needed to transport a load.","enum":["Bike","Car","S/Van","M/Van","SWB","Transit","LWB","XLWB","Luton","7.5T","12T","18T","26T","13.6M","Skel 1x20","Skel 2x20","Skel 1x40","Skel 1x44","4ax Trac","6ax Trac","CARGO VLA","CARGO","CAR_PUP","CARGO VSM","SPRINTER","FLATBED","STAKEBED","S_STRAIGHT","L_STRAIGHT","TRACTOR48","TRACTOR53","SUPERB","LOW_BOY","TANK","OTHER","CARGO_V","SPRINTER_C","STR_TRUCK","TRACTOR","BIKE","CAR","CARGO SM","Sprinter","CARGO LA","PUP OP","PUP CL","SUV","FLAT","STAKE","BOX10","BOX12","BOX14","BOX16","BOX18","BOX20","BOX22","BOX24","BOX26","BOX28","BOX30","BOX40","BOX48","BOX53"]},"minVehicleSizeApiKey":{"type":"string"},"moffetMounty":{"type":"boolean"},"notes":{"type":"string","maxLength":1000},"notificationRadius":{"type":"integer","format":"int32"},"numberOfItems":{"type":"integer","format":"int32"},"order":{"$ref":"#/components/schemas/OrderDto"},"ownerCxId":{"type":"string","readOnly":true},"ownerDisplayName":{"type":"string","readOnly":true},"ownerId":{"type":"integer","format":"int64","readOnly":true},"packaging":{"type":"string"},"paymentDisplayTerms":{"type":"string","readOnly":true},"phoneNumber":{"type":"string","maxLength":30},"pickupTime":{"type":"string"},"pickupTimeRange":{"type":"string","enum":["BETWEEN","AT","BEFORE"]},"podHardCopiesRequired":{"type":"boolean"},"postedAt":{"type":"string","format":"date-time","example":"2022-01-25T00:00:00Z","readOnly":true},"quotesEnabled":{"type":"boolean"},"readyAt":{"type":"string","format":"date-time","example":"2022-01-25T00:00:00Z"},"reference":{"type":"string","readOnly":true},"sendEnrouteAccordingGeofence":{"type":"boolean"},"sendEnrouteToMyEmailAddress":{"type":"boolean"},"showCustomerReferenceToSubcontractor":{"type":"boolean"},"showYourReferenceToSubcontractor":{"type":"boolean"},"status":{"type":"string","enum":["POSTED","BOOKED","COMPLETED","CANCELLED"],"readOnly":true},"stops":{"type":"array","items":{"$ref":"#/components/schemas/LoadStopDto"}},"tailLift":{"type":"boolean"},"to":{"$ref":"#/components/schemas/Address"},"toDisplayAddress":{"type":"string","readOnly":true},"toShortDisplayAddress":{"type":"string"},"toTimeZone":{"readOnly":true,"allOf":[{"$ref":"#/components/schemas/TimeZoneDto"}]},"toTimeZoneId":{"type":"string"},"trackedDriverPreferred":{"type":"boolean"},"trailer":{"type":"boolean"},"twoMan":{"type":"boolean"},"ulezCrossed":{"type":"boolean"},"vehicleDisplayName":{"type":"string"},"via":{"$ref":"#/components/schemas/Address"},"viaCollectBy":{"type":"string"},"viaDisplayAddress":{"type":"string"},"viaReadyAt":{"type":"string"},"viaShortDisplayAddress":{"type":"string"},"viaTime":{"type":"string"},"viaTimeRange":{"type":"string"},"viaTimeZone":{"$ref":"#/components/schemas/TimeZoneDto"},"viaTimeZoneId":{"type":"string"},"volume":{"$ref":"#/components/schemas/VolumeDto"},"waitAndReturn":{"type":"boolean"},"yourReference":{"type":"string","maxLength":30}},"required":["readyAt","collectBy","from","address","deliverFrom","deliverBy","to","jobDescription","minVehicleSize","freightType"]},"LoadEtaDto":{"type":"object","properties":{"carrierEta":{"type":"string"},"distanceInMiles":{"type":"number","format":"double"},"eta":{"type":"string"},"etaToPickup":{"type":"string"},"executorCompanyId":{"type":"integer","format":"int32"},"loadId":{"type":"integer","format":"int32"},"originalEta":{"type":"string"},"ownerCompanyId":{"type":"integer","format":"int32"},"trackedAt":{"type":"string"}}},"LoadFormValuesDto":{"type":"object","properties":{"freightTypes":{"type":"array","items":{"$ref":"#/components/schemas/LocalisedValueDto"}},"jobDescriptions":{"type":"array","items":{"$ref":"#/components/schemas/LocalisedValueDto"}},"packagings":{"type":"array","items":{"$ref":"#/components/schemas/LocalisedValueDto"}},"paymentTerms":{"type":"array","items":{"$ref":"#/components/schemas/LocalisedValueDto"}},"vehicleBodyTypes":{"type":"array","items":{"$ref":"#/components/schemas/LocalisedValueDto"}},"vehicleTypes":{"type":"array","items":{"$ref":"#/components/schemas/LocalisedValueDto"}}}},"LoadStopDto":{"type":"object","properties":{"address":{"$ref":"#/components/schemas/Address"},"attachmentInfo":{"type":"array","items":{"$ref":"#/components/schemas/AttachmentInfoDto"}},"contact":{"$ref":"#/components/schemas/ContactDto"},"displayAddress":{"type":"string"},"id":{"type":"integer","format":"int64"},"locality":{"type":"string","readOnly":true},"notes":{"type":"string"},"ownerNotes":{"type":"string"},"pod":{"$ref":"#/components/schemas/PODDto"},"premise":{"type":"string"},"shortDisplayAddress":{"type":"string"},"signatureAttachment":{"$ref":"#/components/schemas/AttachmentInfoDto"},"status":{"type":"string"},"statusTime":{"type":"string"},"stopDisplayTime":{"type":"string"},"stopOrder":{"type":"integer","format":"int64","minLength":1,"maxLength":10},"stopStatuses":{"type":"array","items":{"$ref":"#/components/schemas/LoadStopStatusDto"}},"timeFrom":{"type":"string","format":"date-time","example":"2022-01-25T00:00:00Z"},"timeRange":{"type":"string"},"timeTo":{"type":"string","format":"date-time","example":"2022-01-25T00:00:00Z"},"timeZoneName":{"type":"string"},"type":{"type":"string"}},"required":["timeFrom","timeTo"]},"LoadStopStatusDto":{"type":"object","properties":{"attachmentsInfo":{"type":"array","items":{"$ref":"#/components/schemas/AttachmentInfoDto"}},"id":{"type":"integer","format":"int64"},"loadedInfo":{"$ref":"#/components/schemas/LoadedInfoDto"},"notes":{"type":"string"},"pod":{"$ref":"#/components/schemas/PODDto"},"status":{"type":"string"},"statusTime":{"type":"string"}}},"LoadedInfoDto":{"type":"object","properties":{"customerRef":{"type":"string","example":"CREF"},"eta":{"type":"string","example":"2020-10-10T15:10:00.000Z"},"noOfItems":{"type":"integer","format":"int32","example":3333},"notes":{"type":"string","example":"asdfasdfasdf"},"ourRef":{"type":"string","example":"YREF"},"packagingInfo":{"type":"array","items":{"$ref":"#/components/schemas/PackagingInfoDto"}},"ref":{"type":"string"},"weight":{"type":"number","format":"double"},"weightUnit":{"type":"string","enum":["kg","t","lbs"]},"yourRef":{"type":"string","example":"YREF"}}},"LocalisedValueDto":{"type":"object","properties":{"apiKey":{"type":"string"},"name":{"type":"string"}}},"LocationDto":{"type":"object","properties":{"accuracy":{"type":"number","format":"double"},"address":{"$ref":"#/components/schemas/Address"},"latitude":{"type":"number","format":"double"},"locationSource":{"type":"string","enum":["GPS","NETWORK","UNKNOWN","WEB_CLIENT","NAVMAN","TOMTOM","FLEETMATICS","TELEMATICS","QUARTIX","CAUSEWAY","MASTERNAUT","AD_HOC_WEB","MICROLISE","FLEETBOARD","AMS","APEX","GPS_BUDDY","EUROPETRACK","ABAX","T3","RITASSIST","PUBLIC_API","CTRACK","MANDATA","KINESIS","TELL","RAM"]},"longitude":{"type":"number","format":"double"},"messageId":{"type":"integer","format":"int64"},"messageText":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"integer","format":"int64"},"vehicleId":{"type":"integer","format":"int64"}}},"LocationsDto":{"type":"object","properties":{"locations":{"type":"array","items":{"$ref":"#/components/schemas/LocationDto"}}}},"LatLngDto":{"type":"object","properties":{"lat":{"type":"number","format":"double"},"lng":{"type":"number","format":"double"}}},"OrderDetailsDto":{"type":"object","properties":{"agreedRate":{"type":"number","format":"double"},"enrouteEmailToSubcontractor":{"type":"boolean"},"notes":{"type":"string"},"paymentTerm":{"type":"string","enum":["COD","7FI","14FI","30FI","30EOM","45FI","45EOM","60FI","90FI","90EOM","NET7","NET15","NET30"]},"subcontractor":{"type":"integer","format":"int64"}}},"OrderDto":{"type":"object","properties":{"accessorials":{"type":"array","items":{"$ref":"#/components/schemas/AccessorialDto"}},"agreedRate":{"type":"number","format":"double"},"billingAddress1":{"type":"string"},"billingAddress2":{"type":"string"},"billingCountry":{"type":"string"},"billingEmail":{"type":"string"},"billingName":{"type":"string"},"billingPhone":{"type":"string"},"billingPostcode":{"type":"string"},"billingState":{"type":"string"},"billingTown":{"type":"string"},"collection":{"$ref":"#/components/schemas/ContactDetailsDto"},"customerInvoice":{"$ref":"#/components/schemas/InvoiceDto"},"delivery":{"$ref":"#/components/schemas/ContactDetailsDto"},"driverPhoneNumber":{"type":"string"},"executorTrailerId":{"type":"integer","format":"int64"},"executorUserId":{"type":"integer","format":"int64"},"executorVehicleId":{"type":"integer","format":"int64"},"invoice":{"$ref":"#/components/schemas/InvoiceDto"},"paymentTerm":{"type":"string","enum":["COD","7FI","14FI","30FI","30EOM","45FI","45EOM","60FI","90FI","90EOM","NET7","NET15","NET30"]},"pod":{"$ref":"#/components/schemas/PODDto"},"subcontractorDisplayCompanyId":{"type":"string"},"subcontractorEmail":{"type":"string"},"subcontractorId":{"type":"integer","format":"int64"},"subcontractorName":{"type":"string"},"subcontractorPhone":{"type":"string"},"totalPrice":{"type":"number","format":"double"},"via":{"$ref":"#/components/schemas/ContactDetailsDto"}},"required":["subContractorId","executorUserId","executorVehicleId","driverPhoneNumber","agreedRate","paymentTerm"]},"PODDto":{"type":"object","properties":{"deliveredOn":{"type":"string","example":"2020-10-08T15:15:00.000Z"},"deliveryStatus":{"type":"string","enum":["COMPLETED","BUSINESS_CLOSED","INCORRECT_ADDRESS","CANCELLED","REFUSED","NO_UNLOADING","DAMAGED_GOODS","INCORRECT_GOODS","OTHER"],"example":"COMPLETED"},"deliveryTimeZone":{"type":"string"},"leftAt":{"type":"string","example":"RECEIVING_DEPARTMENT","enum":["RECEIVING_DEPARTMENT","RECEPTION","FRONT_DOOR","BACK_DOOR","SIDE_DOOR","SECURITY","NEIGHBOUR","NOT_DELIVERED","OTHER"]},"noOfItems":{"type":"integer","format":"int32","example":3333},"notes":{"type":"string","example":"asdfasdf"},"packagingInfo":{"type":"array","items":{"$ref":"#/components/schemas/PackagingInfoDto"}},"receivedBy":{"type":"string","example":"RECEIVER"},"released":{"type":"boolean","example":false},"weight":{"type":"number","format":"double","example":333333},"weightUnit":{"type":"string","enum":["kg","t","lbs"],"example":"kg"}}},"PackagingInfoDto":{"type":"object","properties":{"numberOfItems":{"type":"integer","format":"int32"},"packaging":{"type":"string","enum":["BAGS","BALES","BLANKETS","CONTAINERS","CRATES","PACKAGES","PALLETS_US","PALLETS_UK","PALLETS_EU","STILLAGES","ULD","BARRELS","PIECES","RACKS","PIECES","TOTES","TUBS","SKIDS"]}}},"PagingDto":{"type":"object","properties":{"total":{"type":"integer","format":"int32"}}},"PlannedGeofenceVisitBriefDto":{"type":"object","properties":{"vehicleIntRef":{"type":"string"},"bookingRef":{"type":"string"},"shedCode":{"type":"string"},"plannedDispatchDate":{"type":"string"},"estimatedArrivalDate":{"type":"string"}}},"ProfileChangeRequestFieldDto":{"type":"object","properties":{"newValue":{"type":"string"},"oldValue":{"type":"string"},"profileModeratedFieldName":{"type":"string"}}},"QuoteInfo":{"type":"object","properties":{"accessorials":{"type":"array","items":{"$ref":"#/components/schemas/AccessorialDto"}},"charges":{"$ref":"#/components/schemas/ChargesDto"},"createdOn":{"type":"string","example":"yyyy-MM-dd'T'HH:mm:ss'Z'"},"currency":{"$ref":"#/components/schemas/CurrencyDto"},"currencyCode":{"type":"string"},"distanceToPickup":{"type":"number","format":"double"},"id":{"type":"integer","format":"int64"},"loadId":{"type":"integer","format":"int64"},"loadOwnerCompanyId":{"type":"integer","format":"int64"},"notes":{"type":"string"},"pickUpWithin":{"type":"integer","format":"int32"},"price":{"type":"number","format":"double"},"quoteAuthor":{"$ref":"#/components/schemas/UserDto"},"quoteOwner":{"$ref":"#/components/schemas/UserDto"},"quoteStatus":{"$ref":"#/components/schemas/QuoteStatusDto"},"status":{"type":"string","enum":["ACCEPTED","POSTED","DISMISSED","CANCELLED"]},"totalPrice":{"type":"number","format":"double"},"vehicle":{"$ref":"#/components/schemas/VehicleDto"}}},"QuoteStatusDto":{"type":"object","properties":{"status":{"type":"string","enum":["ACCEPTED","POSTED","DISMISSED","CANCELLED"]}},"required":["status"]},"ReassingLoadToOwnDriverDto":{"type":"object","properties":{"userId":{"type":"integer","format":"int64"},"vehicleId":{"type":"integer","format":"int64"}}},"ResponseEntity":{"type":"object","properties":{"body":{"type":"object"},"statusCode":{"type":"string","enum":[100,101,102,103,200,201,202,203,204,205,206,207,208,226,300,301,302,303,304,305,307,308,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,426,428,429,431,500,501,502,503,504,505,506,507,508,509,510,511]}}},"SearchContact":{"type":"object","properties":{"companyId":{"type":"integer","format":"int64"},"companyName":{"type":"string"},"contactType":{"type":"string","enum":["COMPANY"]},"cxId":{"type":"string"},"id":{"type":"integer","format":"int64"},"name":{"type":"string"}}},"StopDocInfoDto":{"type":"object","properties":{"documentType":{"type":"string"},"name":{"type":"string"},"attachmentType":{"type":"string"},"id":{"type":"integer","format":"int64"},"date":{"type":"string"},"userId":{"type":"integer","format":"int64"},"fileNameExtension":{"type":"string"}}},"SubcontractorInfoDto":{"type":"object","properties":{"driverPhoneNumber":{"type":"string"},"subcontractorId":{"type":"integer","format":"int64"}}},"TimeZoneDto":{"type":"object","properties":{"name":{"type":"string"},"shortName":{"type":"string"},"timeZone":{"type":"string","enum":["US_Aleutian","US_Hawaii","US_Alaska","US_Pacific","US_Arizona","US_Mountain","US_Central","US_Eastern","Canada_Atlantic","Canada_Central","Canada_Eastern","Canada_Mountain","Canada_Newfoundland","Canada_Pacific","Canada_Yukon","Canada_Saskatchewan","America_Dawson_Creek","America_Atikokan","America_Blanc_Sablon","WET","EET","CET","GMT","Asia_Almaty","Asia_Baku","Asia_Oral","Europe_Moscow","Europe_London"]}}},"UserDto":{"type":"object","properties":{"companyId":{"type":"integer","format":"int64"},"companyName":{"type":"string"},"countryCode":{"type":"string"},"countryName":{"type":"string"},"cxId":{"type":"string"},"department":{"type":"string"},"departmentId":{"type":"integer","format":"int64"},"email":{"type":"string"},"firstName":{"type":"string"},"hasProfilePicture":{"type":"boolean"},"ifexTags":{"type":"array","items":{"type":"string"}},"isAdmin":{"type":"boolean"},"isCx":{"type":"boolean"},"isIfex":{"type":"boolean"},"jobTitle":{"type":"string"},"lastName":{"type":"string"},"password":{"type":"string"},"phone1":{"type":"string"},"phone2":{"type":"string"},"role":{"type":"string"},"timeZone":{"type":"string"},"userId":{"type":"integer","format":"int64"},"username":{"type":"string"}}},"UserEntityDto":{"type":"object","properties":{"firstName":{"type":"string"},"id":{"type":"integer","format":"int64"},"lastName":{"type":"string"},"phone":{"type":"string"}}},"VehicleDto":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"vehicleType":{"$ref":"#/components/schemas/VehicleTypeDto"}}},"VehicleTypeDto":{"type":"object","properties":{"vehicleTypeApiKey":{"type":"string"},"vehicleTypeSize":{"type":"integer","format":"int32"}}},"VehiclesDto":{"type":"object","properties":{"vehicles":{"type":"array","items":{"$ref":"#/components/schemas/VehicleDto"}}}},"VersionDto":{"type":"object","properties":{"protocolVersion":{"type":"string"},"version":{"type":"string"}}},"VolumeDto":{"type":"object","properties":{"height":{"type":"number","format":"double"},"length":{"type":"number","format":"double"},"unit":{"$ref":"#/components/schemas/LocalisedValueDto"},"units":{"type":"string"},"width":{"type":"number","format":"double"}}},"WebhookUrlDto":{"type":"object","properties":{"eventType":{"type":"string","enum":["LOAD_BOOKING_STATUS","STOPS","LOAD_QUOTE","LOAD_AND_POD_DOCUMENTS","LOAD_ETA_STATUS","VEHICLE_TRACKING","LOAD"]},"url":{"type":"string"}},"required":["eventType","url"]},"WeightDto":{"type":"object","properties":{"unit":{"$ref":"#/components/schemas/LocalisedValueDto"},"units":{"type":"string"},"value":{"type":"number","format":"double"}}}}},"tags":[{"name":"Webhooks","description":"Webhooks allow you to receive real-time HTTP notifications of changes to specific objects in the Freight Exchange. This prevents you from having to query the API for changes to objects that may or may not have happened and helps you avoid reaching limits. The available webhook events are listed below. All webhook events are optional, so select those that are most relevant for the experience you are trying to create."},{"name":"Load event webhooks","description":"Webhooks for load related events"},{"name":"Quote event webhooks","description":"Webhooks for quote related events"},{"name":"Vehicle event webhooks","description":"Webhooks for vehicle related events"},{"name":"Document event webhooks","description":"Webhooks for documentation related events"},{"name":"Manage webhook URLs","description":"Methods for managing Webhook URLs"}],"x-readme":{"explorer-enabled":true,"proxy-enabled":true}}