POST api/Vehicle/GetVehicleStopPoints

Request Information

URI Parameters

None.

Body Parameters

StopReport
NameDescriptionTypeAdditional information
Txt_VehicleStopFilterTime

integer

None.

UserId

integer

None.

CompanyName

string

None.

Txt_DateRange

string

None.

FromDate

date

None.

ToDate

date

None.

Txt_VehicleSelection

string

None.

Txt_GroupSelection

string

None.

VehicleReportRequest

ReportRequest

None.

VehicleReportType

ReportType

None.

DeriverID

string

None.

ReportURL

string

None.

UnitID

string

None.

GroupID

string

None.

Txt_ColumnVisibility

string

None.

RestFilter

integer

None.

ReportGenStartedAt

date

None.

VehicleReportRequest

ReportRequest

None.

VehicleReportType

ReportType

None.

Request Formats

application/json, text/json

Sample:
{
  "VehicleReportRequest": 0,
  "VehicleReportType": 0,
  "Txt_VehicleStopFilterTime": 1,
  "UserId": 2,
  "CompanyName": "sample string 3",
  "Txt_DateRange": "sample string 4",
  "FromDate": "2025-09-10T13:41:02.2472745+05:00",
  "ToDate": "2025-09-10T13:41:02.2472745+05:00",
  "Txt_VehicleSelection": "sample string 7",
  "Txt_GroupSelection": "sample string 8",
  "DeriverID": "sample string 9",
  "ReportURL": "sample string 10",
  "UnitID": "sample string 11",
  "GroupID": "sample string 12",
  "Txt_ColumnVisibility": "sample string 13",
  "RestFilter": 14,
  "ReportGenStartedAt": "2025-09-10T13:41:02.2472745+05:00"
}

application/xml, text/xml

Sample:
<StopReport xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TWViewModel">
  <CompanyName>sample string 3</CompanyName>
  <DeriverID>sample string 9</DeriverID>
  <FromDate>2025-09-10T13:41:02.2472745+05:00</FromDate>
  <GroupID>sample string 12</GroupID>
  <ReportGenStartedAt>2025-09-10T13:41:02.2472745+05:00</ReportGenStartedAt>
  <ReportURL>sample string 10</ReportURL>
  <RestFilter>14</RestFilter>
  <ToDate>2025-09-10T13:41:02.2472745+05:00</ToDate>
  <Txt_ColumnVisibility>sample string 13</Txt_ColumnVisibility>
  <Txt_DateRange>sample string 4</Txt_DateRange>
  <Txt_GroupSelection>sample string 8</Txt_GroupSelection>
  <Txt_VehicleSelection>sample string 7</Txt_VehicleSelection>
  <UnitID>sample string 11</UnitID>
  <UserId>2</UserId>
  <VehicleReportRequest>Not_Selected</VehicleReportRequest>
  <VehicleReportType>Not_Selected</VehicleReportType>
  <Txt_VehicleStopFilterTime>1</Txt_VehicleStopFilterTime>
  <VehicleReportRequest>Not_Selected</VehicleReportRequest>
  <VehicleReportType>Not_Selected</VehicleReportType>
</StopReport>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'StopReport'.

Response Information

Resource Description

TWJsonResult
NameDescriptionTypeAdditional information
ErrorMsg

string

None.

IsValid

boolean

None.

Result

Object

None.

TotalRows

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "ErrorMsg": "sample string 1",
  "IsValid": true,
  "Result": {},
  "TotalRows": 4
}

application/xml, text/xml

Sample:
<TWJsonResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TWJsonResults">
  <ErrorMsg>sample string 1</ErrorMsg>
  <IsValid>true</IsValid>
  <Result />
  <TotalRows>4</TotalRows>
</TWJsonResult>