POST api/Driver/EstimateDrop

Request Information

URI Parameters

None.

Body Parameters

DropModel
NameDescriptionTypeAdditional information
BookingID

integer

None.

DropDateTime

date

None.

PackageType

integer

None.

CategoryId

integer

None.

ClosingKM

integer

None.

PaymentMode

integer

None.

Facility

byte

None.

NoOfDays

integer

None.

NoOfHours

integer

None.

ACKM

integer

None.

HillKM

integer

None.

HaltDays

integer

None.

TollCharge

decimal number

None.

PermitCharge

decimal number

None.

ParkingCharge

decimal number

None.

OtherCharge

decimal number

None.

PlacesVisited

string

None.

TripAdvance

decimal number

None.

isTripComplete

boolean

None.

CustomerSign

Collection of byte

None.

Request Formats

application/json, text/json

Sample:
{
  "BookingID": 1,
  "DropDateTime": "2026-02-21T23:35:52.9573903+05:30",
  "PackageType": 3,
  "CategoryId": 4,
  "ClosingKM": 5,
  "PaymentMode": 6,
  "Facility": 64,
  "NoOfDays": 8,
  "NoOfHours": 9,
  "ACKM": 10,
  "HillKM": 11,
  "HaltDays": 12,
  "TollCharge": 13.0,
  "PermitCharge": 14.0,
  "ParkingCharge": 15.0,
  "OtherCharge": 16.0,
  "PlacesVisited": "sample string 17",
  "TripAdvance": 18.0,
  "isTripComplete": true,
  "CustomerSign": "QEA="
}

text/html

Sample:
{"BookingID":1,"DropDateTime":"2026-02-21T23:35:52.9573903+05:30","PackageType":3,"CategoryId":4,"ClosingKM":5,"PaymentMode":6,"Facility":64,"NoOfDays":8,"NoOfHours":9,"ACKM":10,"HillKM":11,"HaltDays":12,"TollCharge":13.0,"PermitCharge":14.0,"ParkingCharge":15.0,"OtherCharge":16.0,"PlacesVisited":"sample string 17","TripAdvance":18.0,"isTripComplete":true,"CustomerSign":"QEA="}

application/xml, text/xml

Sample:
<DropModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WITTravels.Models">
  <ACKM>10</ACKM>
  <BookingID>1</BookingID>
  <CategoryId>4</CategoryId>
  <ClosingKM>5</ClosingKM>
  <CustomerSign>QEA=</CustomerSign>
  <DropDateTime>2026-02-21T23:35:52.9573903+05:30</DropDateTime>
  <Facility>64</Facility>
  <HaltDays>12</HaltDays>
  <HillKM>11</HillKM>
  <NoOfDays>8</NoOfDays>
  <NoOfHours>9</NoOfHours>
  <OtherCharge>16</OtherCharge>
  <PackageType>3</PackageType>
  <ParkingCharge>15</ParkingCharge>
  <PaymentMode>6</PaymentMode>
  <PermitCharge>14</PermitCharge>
  <PlacesVisited>sample string 17</PlacesVisited>
  <TollCharge>13</TollCharge>
  <TripAdvance>18</TripAdvance>
  <isTripComplete>true</isTripComplete>
</DropModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

DropCost
NameDescriptionTypeAdditional information
Advance

decimal number

None.

RentDetail

string

None.

Rent

decimal number

None.

KmDetail

string

None.

KMCharge

decimal number

None.

ExtraAcKMCharge

decimal number

None.

ExtraHours

integer

None.

ExtraHourCharge

decimal number

None.

HillCharge

decimal number

None.

HaltCharge

decimal number

None.

Toll

decimal number

None.

Permit

decimal number

None.

Parking

decimal number

None.

Others

decimal number

None.

DriverBata

decimal number

None.

TotalCost

decimal number

None.

Message

string

None.

Status

boolean

None.

TotalKM

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Advance": 1.0,
  "RentDetail": "sample string 2",
  "Rent": 3.0,
  "KmDetail": "sample string 4",
  "KMCharge": 5.0,
  "ExtraAcKMCharge": 6.0,
  "ExtraHours": 7,
  "ExtraHourCharge": 8.0,
  "HillCharge": 9.0,
  "HaltCharge": 10.0,
  "Toll": 11.0,
  "Permit": 12.0,
  "Parking": 13.0,
  "Others": 14.0,
  "DriverBata": 15.0,
  "TotalCost": 16.0,
  "Message": "sample string 17",
  "Status": true,
  "TotalKM": 19
}

text/html

Sample:
{"Advance":1.0,"RentDetail":"sample string 2","Rent":3.0,"KmDetail":"sample string 4","KMCharge":5.0,"ExtraAcKMCharge":6.0,"ExtraHours":7,"ExtraHourCharge":8.0,"HillCharge":9.0,"HaltCharge":10.0,"Toll":11.0,"Permit":12.0,"Parking":13.0,"Others":14.0,"DriverBata":15.0,"TotalCost":16.0,"Message":"sample string 17","Status":true,"TotalKM":19}

application/xml, text/xml

Sample:
<DropCost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WITTravels.Models">
  <Advance>1</Advance>
  <DriverBata>15</DriverBata>
  <ExtraAcKMCharge>6</ExtraAcKMCharge>
  <ExtraHourCharge>8</ExtraHourCharge>
  <ExtraHours>7</ExtraHours>
  <HaltCharge>10</HaltCharge>
  <HillCharge>9</HillCharge>
  <KMCharge>5</KMCharge>
  <KmDetail>sample string 4</KmDetail>
  <Message>sample string 17</Message>
  <Others>14</Others>
  <Parking>13</Parking>
  <Permit>12</Permit>
  <Rent>3</Rent>
  <RentDetail>sample string 2</RentDetail>
  <Status>true</Status>
  <Toll>11</Toll>
  <TotalCost>16</TotalCost>
  <TotalKM>19</TotalKM>
</DropCost>