Skip to main content
GET
/
tickets
/
truck
/
{id}
Get Truck Ticket
curl --request GET \
  --url https://v1.api.flux-os.com/tickets/truck/{id} \
  --header 'x-api-key: <api-key>' \
  --header 'x-user-id: <api-key>'
{
  "data": {
    "external_id": "<string>",
    "reference": "<string>",
    "id": "<string>",
    "status": {
      "name": "<string>",
      "id": "<string>"
    },
    "organization": {
      "name": "<string>",
      "id": "<string>"
    },
    "bill_of_lading": null,
    "load_ticket": null,
    "carrier_organization": {
      "name": "<string>",
      "id": "<string>"
    },
    "carrier_entity": {
      "legal_name": "<string>",
      "id": "<string>"
    },
    "driver": {
      "first_name": "<string>",
      "last_name": "<string>",
      "id": "<string>"
    },
    "source_commercial_facility": {
      "name": "<string>",
      "id": "<string>"
    },
    "source_commercial_entity": {
      "legal_name": "<string>",
      "id": "<string>"
    },
    "source_facility_operator": {
      "legal_name": "<string>",
      "id": "<string>"
    },
    "source_commercial_organization": "<unknown>",
    "source_facility": {
      "name": "<string>",
      "id": "<string>",
      "regulator_id": null
    },
    "source_land_description": {
      "description": "<string>",
      "id": "<string>"
    },
    "source_well": {
      "regulator_id": "<string>",
      "id": "<string>",
      "name": null
    },
    "destination_commercial_facility": {
      "name": "<string>",
      "id": "<string>"
    },
    "destination_commercial_entity": {
      "legal_name": "<string>",
      "id": "<string>"
    },
    "destination_commercial_organization": "<unknown>",
    "destination_facility_operator": {
      "legal_name": "<string>",
      "id": "<string>"
    },
    "destination_land_description": {
      "description": "<string>",
      "id": "<string>"
    },
    "destination_facility": {
      "name": "<string>",
      "type": "<unknown>",
      "sub_type": "<unknown>",
      "start_date": "2023-12-25",
      "operator": "<unknown>",
      "operator_start_date": "2023-12-25",
      "id": "<string>",
      "latitude": null,
      "longitude": null,
      "lsd": null,
      "section": null,
      "township": null,
      "range": null,
      "meridian": null,
      "operational_status": "ABANDONED",
      "licensee": "<unknown>",
      "license_status": "ABANDONED",
      "license_type": "WELL",
      "license_number": null,
      "license_issued": null,
      "jurisdiction": "ALBERTA",
      "regulator_id": null,
      "regulator_system": "PETRINEX"
    },
    "production_date": null,
    "start": null,
    "end": null,
    "updated_at": "2023-11-07T05:31:56Z",
    "created_at": "2023-11-07T05:31:56Z",
    "meter": {
      "external_id": "<string>",
      "id": "<string>"
    },
    "meter_start": null,
    "meter_end": null,
    "meter_measurement_unit": {
      "name": "<string>",
      "abbreviation": "<string>",
      "id": "<string>"
    },
    "meter_factor": null,
    "volume": null,
    "volume_measurement_unit": {
      "name": "<string>",
      "abbreviation": "<string>",
      "id": "<string>"
    },
    "load_volume": null,
    "load_volume_measurement_unit": {
      "name": "<string>",
      "abbreviation": "<string>",
      "id": "<string>"
    },
    "net_volume": null,
    "net_volume_measurement_unit": {
      "name": "<string>",
      "abbreviation": "<string>",
      "id": "<string>"
    },
    "density": null,
    "density_measurement_unit": {
      "name": "<string>",
      "abbreviation": "<string>",
      "id": "<string>"
    },
    "bsw": null,
    "bsw_measurement_unit": {
      "name": "<string>",
      "abbreviation": "<string>",
      "id": "<string>"
    },
    "solids": null,
    "solids_measurement_unit": {
      "name": "<string>",
      "abbreviation": "<string>",
      "id": "<string>"
    },
    "water": null,
    "water_measurement_unit": {
      "name": "<string>",
      "abbreviation": "<string>",
      "id": "<string>"
    },
    "temperature": null,
    "temperature_measurement_unit": {
      "name": "<string>",
      "abbreviation": "<string>",
      "id": "<string>"
    },
    "codes": [
      {
        "name": "<string>",
        "id": "<string>"
      }
    ],
    "errors": [
      {
        "field_name": "<string>",
        "error_message": "<string>",
        "error_type": "<string>",
        "id": "<string>",
        "created_at": "2023-11-07T05:31:56Z",
        "resolved_at": null,
        "resolved_by": 123
      }
    ],
    "product_category": {
      "name": "<string>",
      "id": "<string>"
    }
  }
}

Authorizations

x-api-key
string
header
required
x-user-id
string
header
required

Path Parameters

id
integer
required

The truck ticket ID.

Response

A single truck ticket.

data
object