Skip to content

Identifying resources and planning groups

Resources are matched per type, so state which kind of resource you are sending:

  • type = 'DRIVER' — matched on name
  • type = 'VEHICLE' — matched on license_plate, or on name when no plate is given
  • type = 'CONTAINER' — matched on container_number, or on name when no number is given

Sending the Qargo id always takes precedence and skips matching entirely; a resource sent without an id must state its type.

A trip can also be assigned to a planning_group and a resource_group, each identified by id, name or code. code takes precedence over name.

Matching is case-insensitive and ignores surrounding whitespace. A value that matches nothing, or that matches more than one record, fails the import and reports which reference could not be resolved — so the names and codes you send must exist in Qargo and be unique.