🚚
truQ Services
  • Getting Started
  • Environment
  • Status Codes
  • Booking Management
    • Trip Booking
      • Getting a Quote
      • Booking an open trip
      • Booking a standard trip
      • Booking a merchant trip
    • Payment and Order Confirmation
      • Standard trip order confirmation
      • Business trip order confirmation
  • Parameter Guide
    • Trip Types
    • Vehicle Categories
    • Source and Destination
Powered by GitBook
On this page

Status Codes

REST status codes to indicate successful or failed requests on our API. truQ Services uses the standard REST status codes to indicate when requests return with a success or failed response on our API. Standard REST codes like 2xx indicate success; 4xx means parameter errors and other integration errors based on the information provided (e.g. wrong API keys, wrong headers, or wrong payload content); 5xx indicates an error with our servers (and these do not happen quite often). We actively test and certify for 5xx errors, and make sure you do not have any issues with connecting to our API.

Status Codes

Definition

200

Ok

201

Created

400

Bad Request

401

Unauthorised

403

Forbidden

404

Not Found

500

Internal Server Error

Last updated 1 year ago