Skip to content

FuelU2 Customer API (1.0.0)

API for handling customer data, relationships, and order interactions within the FuelU2 network.

Download OpenAPI description
Overview
FuelU2 API Support

support@fuelu2.com

License

MIT

Languages
Servers
Mock server

https://developers.fuelu2.com/_mock/apis/customer/

Production server

https://api.fuelu2.com/

Operations
Operations
Operations
Operations

Request

Creates a new vehicle record with registration details and capacity information.

Security
bearerAuth
Query
AuxiliaryCapacityinteger(int32)

Auxiliary capacity of the vehicle

Capacityinteger(int32)

Main capacity of the vehicle

DriverIdstring(uuid)

ID of the assigned driver

Makestring

Vehicle make/manufacturer

Modelstring

Vehicle model

ProductIdstring(uuid)

Associated product ID

RegistrationExpiryDatestring(date-time)

Registration expiry date

RegistrationFile.ContentTypestring

Content type of the registration file

RegistrationFile.Datastring(byte)

Base64 encoded registration file data

RegistrationFile.FileNamestring

Name of the registration file

RegistrationNumberstring

Vehicle registration number

SubContractIdstring(uuid)

Associated subcontract ID

Yearinteger(int32)

Vehicle year

curl -i -X POST \
  'https://developers.fuelu2.com/_mock/apis/customer/Vehicles?AuxiliaryCapacity=0&Capacity=0&DriverId=497f6eca-6276-4993-bfeb-53cbbbba6f08&Make=string&Model=string&ProductId=497f6eca-6276-4993-bfeb-53cbbbba6f08&RegistrationExpiryDate=2019-08-24T14%3A15%3A22Z&RegistrationFile.ContentType=string&RegistrationFile.Data=string&RegistrationFile.FileName=string&RegistrationNumber=string&SubContractId=497f6eca-6276-4993-bfeb-53cbbbba6f08&Year=0' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

Vehicle created successfully

Bodyapplication/json
messagestring
Example: "Vehicle created successfully"
Response
application/json
{ "message": "Vehicle created successfully" }

Request

Deletes an existing vehicle by specifying its unique ID and creation timestamp.

Security
bearerAuth
Bodyapplication/json-patch+jsonrequired
idstring(uuid)required
Example: "3fa85f64-5717-4562-b3fc-2c963f66afa6"
curl -i -X DELETE \
  https://developers.fuelu2.com/_mock/apis/customer/Vehicles \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json-patch+json' \
  -d '{
    "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
  }'

Responses

Vehicle deleted successfully

Bodyapplication/json
idstring(uuid)
Example: "3fa85f64-5717-4562-b3fc-2c963f66afa6"
Response
application/json
{ "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6" }

Request

Retrieves a paginated list of vehicles with optional filters for customer, product, subcontract, and search text.

Security
bearerAuth
Query
Pageinteger(int32)

Page number for pagination

PageSizeinteger(int32)

Number of items per page

PermanentDriverOnlyboolean

Filter by vehicles with permanent drivers only

ProductIdstring(uuid)

Filter by product ID

SubContractIdsArray of strings

Filter by one or more subcontract IDs

Textstring

Free-text search on vehicle details

RegistrationFile.FileNamestring

Filter by registration file name

RegistrationFile.Idstring(uuid)

Filter by registration file ID

RegistrationFile.CreatedOnstring(date-time)

Filter by registration file creation date

RegistrationNumberstring

Filter by registration number

Yearinteger(int32)

Filter by vehicle year

Idstring(uuid)

Filter by vehicle ID

CreatedOnstring(date-time)

Filter by creation date

curl -i -X GET \
  'https://developers.fuelu2.com/_mock/apis/customer/Vehicles/paged?Page=0&PageSize=0&PermanentDriverOnly=true&ProductId=497f6eca-6276-4993-bfeb-53cbbbba6f08&SubContractIds=string&Text=string&RegistrationFile.FileName=string&RegistrationFile.Id=497f6eca-6276-4993-bfeb-53cbbbba6f08&RegistrationFile.CreatedOn=2019-08-24T14%3A15%3A22Z&RegistrationNumber=string&Year=0&Id=497f6eca-6276-4993-bfeb-53cbbbba6f08&CreatedOn=2019-08-24T14%3A15%3A22Z' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

Success

Bodyapplication/json
itemsArray of objects
pageinteger
pageCountinteger
totalinteger

Total number of matching records

Response
application/json
{ "items": [ {} ], "page": 0, "pageCount": 0, "total": 0 }
Operations