This API endpoint will return the information for the trucking company.

Supported Formats

json

Errors

Code Description
400 Bad Request.
404 Not Found.
500 Internal Server Error.

Examples

curl "https://app.octopi.co/api/v1/trucking_companies/5.json" -H "Accept: application/json" -H "Content-Type: application/json" -H "Authorization: Token token=YOUR TOKEN HERE"
{
   "trucking_company" : {
      "phone" : null,
      "name" : "FC OCTOPI",
      "id" : 337395,
      "general_ledger_id" : null,
      "vat_number" : null,
      "address" : null,
      "contact_person" : null,
      "code" : null,
      "email" : null
   }
}

Params

Param name Description
id
required

Validations:

  • Must be a Integer