POST api/Tripassig

Request Information

URI Parameters

None.

Body Parameters

tripassgin
NameDescriptionTypeAdditional information
eventid

globally unique identifier

None.

Type

string

None.

Trucks

string

None.

category

string

None.

Driver

string

None.

startdate

date

None.

noteAssitant

string

None.

status

integer

None.

fromlocation

string

None.

tolocation

string

None.

fromlocationX

decimal number

None.

fromlocationY

decimal number

None.

tolocationX

decimal number

None.

tolocationY

decimal number

None.

notedriver

string

None.

KMM

integer

None.

mode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "eventid": "a3efaf2b-9d77-450e-820c-2e7a5ca318b4",
  "Type": "sample string 2",
  "Trucks": "sample string 3",
  "category": "sample string 4",
  "Driver": "sample string 5",
  "startdate": "2026-08-03T15:17:29.4661052-07:00",
  "noteAssitant": "sample string 7",
  "status": 8,
  "fromlocation": "sample string 9",
  "tolocation": "sample string 10",
  "fromlocationX": 11.0,
  "fromlocationY": 12.0,
  "tolocationX": 13.0,
  "tolocationY": 14.0,
  "notedriver": "sample string 15",
  "KMM": 16,
  "mode": "sample string 17"
}

application/xml, text/xml

Sample:
<tripassgin xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WEBAPIDEMO">
  <Driver>sample string 5</Driver>
  <KMM>16</KMM>
  <Trucks>sample string 3</Trucks>
  <Type>sample string 2</Type>
  <category>sample string 4</category>
  <eventid>a3efaf2b-9d77-450e-820c-2e7a5ca318b4</eventid>
  <fromlocation>sample string 9</fromlocation>
  <fromlocationX>11</fromlocationX>
  <fromlocationY>12</fromlocationY>
  <mode>sample string 17</mode>
  <noteAssitant>sample string 7</noteAssitant>
  <notedriver>sample string 15</notedriver>
  <startdate>2026-08-03T15:17:29.4661052-07:00</startdate>
  <status>8</status>
  <tolocation>sample string 10</tolocation>
  <tolocationX>13</tolocationX>
  <tolocationY>14</tolocationY>
</tripassgin>

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 'tripassgin'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.