POST api/Master/TotalTrips

Request Information

URI Parameters

None.

Body Parameters

AssignedTrips
NameDescriptionTypeAdditional information
username

string

None.

TotalTrips

integer

None.

CompletedTrips

integer

None.

PendingTrips

integer

None.

NotAssignedTrips

integer

None.

Date

date

None.

Key

string

None.

role

string

None.

Request Formats

application/json, text/json

Sample:
{
  "username": "sample string 1",
  "TotalTrips": 2,
  "CompletedTrips": 3,
  "PendingTrips": 4,
  "NotAssignedTrips": 5,
  "Date": "2026-01-01T18:56:30.0974212+05:30",
  "Key": "sample string 7",
  "role": "sample string 8"
}

application/xml, text/xml

Sample:
<AssignedTrips xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusApi.Models">
  <CompletedTrips>3</CompletedTrips>
  <Date>2026-01-01T18:56:30.0974212+05:30</Date>
  <Key>sample string 7</Key>
  <NotAssignedTrips>5</NotAssignedTrips>
  <PendingTrips>4</PendingTrips>
  <TotalTrips>2</TotalTrips>
  <role>sample string 8</role>
  <username>sample string 1</username>
</AssignedTrips>

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.