getFuelLevies API Documentation (v2.0 - Authenticated)

Overview

This document provides comprehensive information about the getFuelLevies API endpoint from the Ceres Laravel 8 REST API. This endpoint allows third-party developers to retrieve fuel levy information from the transportation management system using OAuth 2.0 authentication.

API Endpoint Information

Base URL

{BASE_URL}/api/tms/getFuelLevies

HTTP Method

GET

Authentication

This API endpoint requires OAuth 2.0 authentication using Laravel Passport. You must include a valid Bearer token with the fuel-levy.read scope in the Authorization header.

Authorization: Bearer {your_access_token}

Required Scope: fuel-levy.read

Request Details

Headers

Header Value Required
Authorization Bearer {access_token} Yes
Accept application/json Recommended
Content-Type application/json Recommended

Request Parameters

This endpoint does not require any request parameters. It returns all fuel levy records.

Sample Request

GET /api/tms/getFuelLevies HTTP/1.1
Host: {your-domain}
Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9...
Accept: application/json
Content-Type: application/json