Skip to content
Download OpenAPI description
Overview
License
All Rights Reserved
Languages
Servers
Mock server
https://developer.m2x.app/_mock/apis/publicapi/openapi/
https://developer.m2x.app/apis/v0/
NZ Production server (uses live data)
https://m2x.app/apis/v0/
US Production server (uses live data)
https://us.m2x.app/apis/v0/
AUS Production server (uses live data)
https://au.m2x.app/apis/v0/
Sandbox server
https://staging.m2x.app/apis/v0/
Operations

Billing Groups

Invoiceable unit used by the system

Operations
Operations

Carrier Bookings

Corporate bookings received by carriers

Operations

Carrier Large Contracts

Carrier large contracts

Operations
Operations

Corporate Planning

Corporate Planning supplies and demands

Operations

Customer Bookings

Customer bookings on carriers

Operations

Customers

Customers used for invoices

Operations
Operations
Operations

Fulfilment Requests

Fulfilment request on carriers

OperationsWebhooks

General Consignments

General consignments

Operations

ISO containers

ISO containers information

Operations

Request

Security
M2X_auth_application
curl -i -X GET \
  https://developer.m2x.app/_mock/apis/publicapi/openapi/isoContainers \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

Successful operation

Bodyapplication/jsonArray [
namestringrequired

Human identifier for the trailer

Example: "ISO1"
typestringrequired
Enum"Dry""Reefer""Tank"
Discriminator
disabledbooleanrequired
Example: false
descriptionstring or null
Example: "Green Container"
externalIdstring or null
Example: "Human searchable external id"
lengthnumber
Enum6.05812.19213.716
propertiesobject or null(CustomProperties)
metadataobject or null(Metadata)
trackingProviderstring or null

(optional) select which telematics to use (requires relevant telematics device id to be set)

Default "NONE"
Enum"EROAD""MOTIVE""MTDATA""SAMSARA""ORBCOMM""MIX_TELEMATICS""NONE"
eroadVehicleIdstring or null

(optional) telematics device id

Default null
motiveVehicleIdstring or null

(optional) telematics device id

Default null
mtDataVehicleIdstring or null

(optional) telematics device id

Default null
samsaraVehicleIdstring or null

(optional) telematics device id

Default null
orbcommVehicleIdstring or null

(optional) telematics device id

Default null
mixTelematicsVehicleIdstring or null

(optional) telematics device id

Default null
readonlyFieldsobject

Specifies which field should not be touched by the user

physicalConfigurationobject(BulkPhysicalConfiguration)
tareWeightKgnumberDeprecated
Default 0
maxPayloadWeightKgnumberDeprecated
Default 0
heightMetresnumberDeprecated
Default 0
]
Response
application/json
[ { "name": "ISO1", "type": "Dry", "disabled": false, "description": "Green Container", "externalId": "Human searchable external id", "tareWeightKg": 0, "maxPayloadWeightKg": 0, "heightMetres": 0, "length": 6.058, "properties": null, "metadata": null, "trackingProvider": "EROAD", "eroadVehicleId": null, "motiveVehicleId": null, "mtDataVehicleId": null, "samsaraVehicleId": null, "orbcommVehicleId": null, "mixTelematicsVehicleId": null, "readonlyFields": { … }, "physicalConfiguration": { … }, "id": "C001" } ]

Request

Security
M2X_auth_application
Path
isoContainerIdstringrequired

The ISO containers Id

curl -i -X GET \
  'https://developer.m2x.app/_mock/apis/publicapi/openapi/isoContainers/{isoContainerId}' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

Successful operation

Bodyapplication/json
namestringrequired

Human identifier for the trailer

Example: "ISO1"
typestringrequired
Enum"Dry""Reefer""Tank"
Discriminator
disabledbooleanrequired
Example: false
descriptionstring or null
Example: "Green Container"
externalIdstring or null
Example: "Human searchable external id"
lengthnumber
Enum6.05812.19213.716
propertiesobject or null(CustomProperties)
metadataobject or null(Metadata)
trackingProviderstring or null

(optional) select which telematics to use (requires relevant telematics device id to be set)

Default "NONE"
Enum"EROAD""MOTIVE""MTDATA""SAMSARA""ORBCOMM""MIX_TELEMATICS""NONE"
eroadVehicleIdstring or null

(optional) telematics device id

Default null
motiveVehicleIdstring or null

(optional) telematics device id

Default null
mtDataVehicleIdstring or null

(optional) telematics device id

Default null
samsaraVehicleIdstring or null

(optional) telematics device id

Default null
orbcommVehicleIdstring or null

(optional) telematics device id

Default null
mixTelematicsVehicleIdstring or null

(optional) telematics device id

Default null
readonlyFieldsobject

Specifies which field should not be touched by the user

physicalConfigurationobject(BulkPhysicalConfiguration)
tareWeightKgnumberDeprecated
Default 0
maxPayloadWeightKgnumberDeprecated
Default 0
heightMetresnumberDeprecated
Default 0
Response
application/json
{ "name": "ISO1", "type": "Dry", "disabled": false, "description": "Green Container", "externalId": "Human searchable external id", "tareWeightKg": 0, "maxPayloadWeightKg": 0, "heightMetres": 0, "length": 6.058, "properties": null, "metadata": null, "trackingProvider": "EROAD", "eroadVehicleId": null, "motiveVehicleId": null, "mtDataVehicleId": null, "samsaraVehicleId": null, "orbcommVehicleId": null, "mixTelematicsVehicleId": null, "readonlyFields": { "name": false, "groups": false, "type": false, "length": false, "tareWeightKg": false, "maxPayloadWeightKg": false, "heightMetres": false, "description": false, "externalId": false, "telematics": false, "compartments": false }, "physicalConfiguration": { "heightMetres": 2.1, "tareWeightKg": 1000, "maxPayloadWeightKg": 30000, "axleLoadingConfig": null, "frontAxle": null, "distanceFromFrontAxle": 7800, "frontAxleMaxLoadKg": 6000, "frontTareKg": 4000, "rearAxleMaxLoadKg": 18000, "rearConnection": "Shared Axle", "rearTareKg": 6000, "wheelbase": 8000, "compartments": [ … ] } }

Update/create ISO containers by ID

Request

Security
M2X_auth_application
Path
isoContainerIdstringrequired

The ISO containers Id

Bodyapplication/jsonrequired

Update for the ISO containers

namestringrequired

Human identifier for the trailer

Example: "ISO1"
typestringrequired
Enum"Dry""Reefer""Tank"
Discriminator
disabledbooleanrequired
Example: false
descriptionstring or null
Example: "Green Container"
externalIdstring or null
Example: "Human searchable external id"
lengthnumber
Enum6.05812.19213.716
propertiesobject or null(CustomProperties)
metadataobject or null(Metadata)
trackingProviderstring or null

(optional) select which telematics to use (requires relevant telematics device id to be set)

Default "NONE"
Enum"EROAD""MOTIVE""MTDATA""SAMSARA""ORBCOMM""MIX_TELEMATICS""NONE"
eroadVehicleIdstring or null

(optional) telematics device id

Default null
motiveVehicleIdstring or null

(optional) telematics device id

Default null
mtDataVehicleIdstring or null

(optional) telematics device id

Default null
samsaraVehicleIdstring or null

(optional) telematics device id

Default null
orbcommVehicleIdstring or null

(optional) telematics device id

Default null
mixTelematicsVehicleIdstring or null

(optional) telematics device id

Default null
readonlyFieldsobject

Specifies which field should not be touched by the user

physicalConfigurationobject(BulkPhysicalConfiguration)
tareWeightKgnumberDeprecated
Default 0
maxPayloadWeightKgnumberDeprecated
Default 0
heightMetresnumberDeprecated
Default 0
curl -i -X PUT \
  'https://developer.m2x.app/_mock/apis/publicapi/openapi/isoContainers/{isoContainerId}' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "ISO1",
    "type": "Dry",
    "disabled": false,
    "description": "Green Container",
    "externalId": "Human searchable external id",
    "tareWeightKg": 0,
    "maxPayloadWeightKg": 0,
    "heightMetres": 0,
    "length": 6.058,
    "properties": null,
    "metadata": null,
    "trackingProvider": "EROAD",
    "eroadVehicleId": null,
    "motiveVehicleId": null,
    "mtDataVehicleId": null,
    "samsaraVehicleId": null,
    "orbcommVehicleId": null,
    "mixTelematicsVehicleId": null,
    "readonlyFields": {
      "name": false,
      "groups": false,
      "type": false,
      "length": false,
      "tareWeightKg": false,
      "maxPayloadWeightKg": false,
      "heightMetres": false,
      "description": false,
      "externalId": false,
      "telematics": false,
      "compartments": false
    },
    "physicalConfiguration": {
      "heightMetres": 2.1,
      "tareWeightKg": 1000,
      "maxPayloadWeightKg": 30000,
      "axleLoadingConfig": null,
      "frontAxle": null,
      "distanceFromFrontAxle": 7800,
      "frontAxleMaxLoadKg": 6000,
      "frontTareKg": 4000,
      "rearAxleMaxLoadKg": 18000,
      "rearConnection": "Shared Axle",
      "rearTareKg": 6000,
      "wheelbase": 8000,
      "compartments": [
        {
          "compartmentId": "asd123",
          "name": 1,
          "volumeM3": 4,
          "offset": 1000
        }
      ]
    }
  }'

Responses

Successful operation

Bodyapplication/json
namestringrequired

Human identifier for the trailer

Example: "ISO1"
typestringrequired
Enum"Dry""Reefer""Tank"
Discriminator
disabledbooleanrequired
Example: false
descriptionstring or null
Example: "Green Container"
externalIdstring or null
Example: "Human searchable external id"
lengthnumber
Enum6.05812.19213.716
propertiesobject or null(CustomProperties)
metadataobject or null(Metadata)
trackingProviderstring or null

(optional) select which telematics to use (requires relevant telematics device id to be set)

Default "NONE"
Enum"EROAD""MOTIVE""MTDATA""SAMSARA""ORBCOMM""MIX_TELEMATICS""NONE"
eroadVehicleIdstring or null

(optional) telematics device id

Default null
motiveVehicleIdstring or null

(optional) telematics device id

Default null
mtDataVehicleIdstring or null

(optional) telematics device id

Default null
samsaraVehicleIdstring or null

(optional) telematics device id

Default null
orbcommVehicleIdstring or null

(optional) telematics device id

Default null
mixTelematicsVehicleIdstring or null

(optional) telematics device id

Default null
readonlyFieldsobject

Specifies which field should not be touched by the user

physicalConfigurationobject(BulkPhysicalConfiguration)
tareWeightKgnumberDeprecated
Default 0
maxPayloadWeightKgnumberDeprecated
Default 0
heightMetresnumberDeprecated
Default 0
Response
application/json
{ "name": "ISO1", "type": "Dry", "disabled": false, "description": "Green Container", "externalId": "Human searchable external id", "tareWeightKg": 0, "maxPayloadWeightKg": 0, "heightMetres": 0, "length": 6.058, "properties": null, "metadata": null, "trackingProvider": "EROAD", "eroadVehicleId": null, "motiveVehicleId": null, "mtDataVehicleId": null, "samsaraVehicleId": null, "orbcommVehicleId": null, "mixTelematicsVehicleId": null, "readonlyFields": { "name": false, "groups": false, "type": false, "length": false, "tareWeightKg": false, "maxPayloadWeightKg": false, "heightMetres": false, "description": false, "externalId": false, "telematics": false, "compartments": false }, "physicalConfiguration": { "heightMetres": 2.1, "tareWeightKg": 1000, "maxPayloadWeightKg": 30000, "axleLoadingConfig": null, "frontAxle": null, "distanceFromFrontAxle": 7800, "frontAxleMaxLoadKg": 6000, "frontTareKg": 4000, "rearAxleMaxLoadKg": 18000, "rearConnection": "Shared Axle", "rearTareKg": 6000, "wheelbase": 8000, "compartments": [ … ] } }
OperationsWebhooks
Operations
OperationsWebhooks

Offers

Corporate monetary offers to carriers

OperationsWebhooks

Products

Products used by the system

Operations
Operations

Subcontractors

Subcontractors information

Operations

Tractor Unit

Tractor units information

Operations
Operations
Operations
Operations

Vehicle Execution Statements

Unit of execution for trucks

OperationsWebhooks
Webhooks