246527
207408
802233731
1938
2585

Import and Export API Overview

Go Back to Documentation

Transactions

Export Transactions - Get the list of FluidSecure transactions

Use URL – 'https://www.fluidsecure.net/api/External/ExportTransactions'

Example Request

curl --location 'https://www.fluidsecure.net/api/External/ExportTransactions' \
--header 'Authorization: bearer your-token-value' \ //Replace "your-token-value" with the token value that you have generated
--header 'Content-Type: application/x-www-form-urlencoded' \
--data '{
"TransactionFromDate": "2025-01-01 13:25", //Add your start date in the format "YYYY-MM-DD hh:mm"
"TransactionToDate": "2025-01-31 19:59", //Add your end date in the format "YYYY-MM-DD hh:mm"
"CompanyName": "Company, Inc." //Enter your company name, exactly as it appears in the FluidSecure Cloud platform
}'

Incorrect parameter or value:
If a parameter or value is incorrect, the API will respond with a code 200(OK) and a failure message in JSON.

Import Transactions - Upload transactions to FluidSecure

Use URL – 'https://www.fluidsecure.net/api/External/ImportTransactions'

Example Request

curl --location 'https://www.fluidsecure.net/api/External/ImportTransactions' \
--header 'Authorization: bearer your-token-value' \ //Replace "your-token-value" with the token value that you have generated
--header 'Content-Type: application/json' \
--data '{
"TransactionsModelsObj": [{
//Add the details of your transaction
//Optional fields can be sent as empty or blank values
"FuelQuantity": "12.2", //*Required
"TransactionDateTime": "2025-12-12 10:00", //*Required: Enter the transaction date & time in the format "YYYY-MM-DD hh:mm"
"VehicleNumber": "5423", //*Required
"CompanyName": "Company, Inc.", //*Required: Enter your company name, exactly as it appears in the FluidSecure Cloud platform
"FluidSecureLink": "Diesel", //Optional: Enter a fuel type for this transaction
"Odometer": "78510", //Optional: Add an odometer reading to this transaction
"PersonPIN": "2901", //Optional
"Hours": "1", //Optional
"EnteredDepartmentNumber": "1" //Optional
},
//Multiple transactions can be added at once:
{
"FuelQuantity": "12.63",
"TransactionDateTime": "2025-12-12 11:00",
"VehicleNumber": "0321",
"CompanyName": "Company, Inc.",
"FluidSecureLink": "Unleaded",
"Odometer": "24510",
"PersonPIN": "2901",
"Hours": "1",
"EnteredDepartmentNumber": "1"
}
]
}'

Vehicles

Export Vehicles - GET list of vehicles from FluidSecure

Use URL – 'https://www.fluidsecure.net/api/External/ExportVehicles'

Example Request

curl --location 'https://www.fluidsecure.net/api/External/ExportVehicles' \
--header 'Authorization: bearer your-token-value' \ //Replace "your-token-value" with the token value that you have generated
--header 'Content-Type: application/x-www-form-urlencoded' \
--data '{
"CompanyName": "Company, Inc." //Add your company name, exactly as it appears in the FluidSecure Cloud platform
}'

Incorrect parameter or value:
If a parameter or value is incorrect, the API will respond with a code 200(OK) and a failure message in JSON.

Import Vehicles - Set/Upload vehicles to FluidSecure

Use URL – 'https://www.fluidsecure.net/api/External/ImportVehicles'

Example Request

curl --location 'https://www.fluidsecure.net/api/External/ImportVehicles' \
--header 'Authorization: bearer your-token-value' \ //Replace "your-token-value" with the token value that you have generated
--header 'Content-Type: application/json' \
--data '{
"VehiclePassingModelObj": [{
//Add vehicle details
//Optional fields can be sent as empty or blank values
"CompanyName": "Company, Inc.", //*Required: Enter your company name, exactly as it appears in the FluidSecure Cloud platform
"VehicleNumber": "999_2901", //*Required
"DepartmentNumber": "5", //*Required
"AuthorizedProducts": "Unleaded", //*Required: Enter a fuel type for this transaction
"RequireOdometerEntry": "Y", //Optional: Value must be "Y" or "N"
"Hours": "Y", //Optional: Value must be "Y" or "N"
"CheckOdometerReasonable": "N", //Optional: Value must be "Y" or "N"
"VehicleName": "999_2901", //Optional
"Description": "2345", //Optional
"AccountId": "45566546546", //Optional
"Make": "make", //Optional
"Model": "model", //Optional
"VIN": "1232", //Optional
"Year": "2019", //Optional
"LicensePlateNumber": "4321", //Optional
"LicenseState": "19", //Optional
"Type": "2", //Optional
"OdoLimit": "50", //Optional
"Barcode": "", //Optional
"FOBCardNumber": "1234" //Optional
}]
}'

Delete Vehicles

Use URL – 'https://www.fluidsecure.net/api/External/DeleteVehicles'

Example Request

curl --location 'https://www.fluidsecure.net/api/External/DeleteVehicles' \
--header 'Authorization: bearer your-token-value' \ //Replace "your-token-value" with the token value that you have generated
--header 'Content-Type: application/x-www-form-urlencoded' \
--data '{
"DeleteVehiclePassingModelObj": [{
//Add details of vehicle(s) to be deleted
"CompanyName": "Company, Inc.", //*Required: Enter your company name, exactly as it appears in the FluidSecure Cloud platform
"VehicleNumbers": "1;2;3" //*Required: Multiple vehicles can be deleted at once by adding each of their vehicle numbers and separating with a semicolon
}]
}'

Personnel

Export Personnel - GET the list of personnel from FluidSecure

Use URL – 'https://www.fluidsecure.net/api/External/ExportPersonnel'

Example Request

curl --location 'https://www.fluidsecure.net/api/External/ExportPersonnel' \
--header 'Authorization: bearer your-token-value' \ //Replace "your-token-value" with the token value that you have generated
--header 'Content-Type: application/x-www-form-urlencoded' \
--data '{
"CompanyName": "Company, Inc." //Enter your company name, exactly as it appears in the FluidSecure Cloud platform
}'

Incorrect parameter or value:
If a parameter or value is incorrect, the API will respond with a code 200(OK) and a failure message in JSON.

Import Personnel - Set/Upload personnel to FluidSecure

Use URL – 'https://www.fluidsecure.net/api/External/ImportPersonnel'

Example Request

curl --location 'https://www.fluidsecure.net/api/External/ImportPersonnel' \
--header 'Authorization: bearer your-token-value' \ //Replace "your-token-value" with the token value that you have generated
--header 'Content-Type: application/json' \
--data '{
"PersonnelPassingModelObj": [{
//Add personnel details
//Optional fields can be sent as empty or blank values
"CompanyName": "Company, Inc.", //*Required: Enter your company name, exactly as it appears in the FluidSecure Cloud platform
"Email": "test123@gmail.com", //*Required
"PhoneNumber":"123-456-1212", //*Required
"Department": "5", //*Required
"PinNumber": "8529639637411", //*Required
"IsUserForHub": "N", //Optional: “IsUserForHub” is used to identify if imported person is hub or non-hub user. Value must be "Y" or "N"
"Active": "Y", //Optional: Value must be "Y" or "N"
"PersonName": "NewTestPersonnel", //Optional
"FuelLimitPerTxn": "10", //Optional
"FuelLimitPerDay": "20", //Optional
"ExportCode": "1235411412", //Optional
"AuthorizedVehicles": "all", //Optional
"FOBNumber": "123555" //Optional
}]
}'

Delete Personnel

Use URL – 'https://www.fluidsecure.net/api/External/DeletePersonnel'

Example Request

curl --location 'https://www.fluidsecure.net/api/External/DeletePersonnel' \
--header 'Authorization: bearer your-token-value' \ //Replace "your-token-value" with the token value that you have generated
--header 'Content-Type: application/x-www-form-urlencoded' \
--data '{
"DeletePersonnelPassingModelObj": [{
//Add details of personnel to be deleted
"CompanyName": "Company, Inc.", //*Required: Enter your company name, exactly as it appears in the FluidSecure Cloud platform
"PinNumbers": "1;2;3" //*Required: Multiple personnel can be deleted at once by adding each of their pin numbers and separating with a semicolon
}]
}'

Tanks

Add Tanks to FluidSecure

Use URL – 'https://www.fluidsecure.net/api/External/AddTanks'

Example Request

curl --location 'https://www.fluidsecure.net/api/External/AddTanks' \
--header 'Authorization: bearer your-token-value' \ //Replace "your-token-value" with the token value that you have generated
--header 'Content-Type: application/json' \
--data '{
"TankPassingObj": [{
"CompanyName": "Company, Inc.", //*Required: Enter your company name, exactly as it appears in the FluidSecure Cloud platform
"TankNumber": "1", //*Required
"TankName": "Tank 1", //*Required
"ProductName": "Diesel", //*Required
"TankAddress": "123 Industrial Area", //Optional
"DepartmentNumber": "5", //Optional
"ExportCode": "EXP003" //Optional
},
//Multiple tanks can be added at once:
{
"CompanyName": "Company, Inc.",
"TankNumber": "2",
"TankName": "Tank 2",
"ProductName": "Diesel",
"TankAddress": "123 Industrial Area",
"DepartmentNumber": "5",
"ExportCode": "EXP003"
}
]
}'

Update Tank Information

Use URL – 'https://www.fluidsecure.net/api/External/UpdateTanks'

Example Request

curl --location 'https://www.fluidsecure.net/api/External/UpdateTanks' \
--header 'Authorization: bearer your-token-value' \ //Replace "your-token-value" with the token value that you have generated
--header 'Content-Type: application/json' \
--data '{
"TankPassingObj": [{
"CompanyName": "Company, Inc.", //*Required: Enter your company name, exactly as it appears in the FluidSecure Cloud platform
"TankNumber": "1", //*Required: Enter the number of the tank that will be updated
"TankName": "Tank 1", //Optional
"TankAddress": "123 Industrial Area", //Optional
"ProductName": "Diesel", //Optional
"DepartmentNumber": "5", //Optional
"ExportCode": "EXP003" //Optional
},
//Multiple tanks can be updated at once:
{
"CompanyName": "Company, Inc.", //*Required: Enter your company name, exactly as it appears in the FluidSecure Cloud platform
"TankNumber": "2", //*Required: Enter the number of the tank that will be updated
"TankName": "Tank 2", //Optional
"TankAddress": "123 Industrial Area", //Optional
"ProductName": "Diesel", //Optional
"DepartmentNumber": "5", //Optional
"ExportCode": "EXP003" //Optional
}
]
}'

Delete Tanks

Use URL – 'https://www.fluidsecure.net/api/External/DeleteTanks'

Example Request

curl --location 'https://www.fluidsecure.net/api/External/DeleteTanks' \
--header 'Authorization: bearer your-token-value' \ //Replace "your-token-value" with the token value that you have generated
--header 'Content-Type: application/json' \
--data '{
"TankPassingObj": [{
"CompanyName": "Company, Inc.", //*Required: Enter your company name, exactly as it appears in the FluidSecure Cloud platform
"TankNumber": "1;2;3" //*Required: Multiple tanks can be deleted at once by adding each of their tank numbers and separating with a semicolon
}]
}'