POST api/Driver/AddCabMeterReadings

Request Information

URI Parameters

None.

Body Parameters

CabReadingDTO
NameDescriptionTypeAdditional information
Id

integer

None.

RouteId

integer

None.

DriverId

integer

None.

MeterReading

string

None.

MeterReadingImage

string

None.

Status

string

None.

IsActive

boolean

None.

CreatedDate

date

None.

MeterReadingImageBase64

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "RouteId": 1,
  "DriverId": 1,
  "MeterReading": "sample string 2",
  "MeterReadingImage": "sample string 3",
  "Status": "sample string 4",
  "IsActive": true,
  "CreatedDate": "2025-12-09T16:10:09.2183435+05:30",
  "MeterReadingImageBase64": "sample string 5"
}

application/xml, text/xml

Sample:
<CabReadingDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VardaanCab.Domain.DTOAPI">
  <CreatedDate>2025-12-09T16:10:09.2183435+05:30</CreatedDate>
  <DriverId>1</DriverId>
  <Id>1</Id>
  <IsActive>true</IsActive>
  <MeterReading>sample string 2</MeterReading>
  <MeterReadingImage>sample string 3</MeterReadingImage>
  <MeterReadingImageBase64>sample string 5</MeterReadingImageBase64>
  <RouteId>1</RouteId>
  <Status>sample string 4</Status>
</CabReadingDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.