POST api/Vehkm

Request Information

URI Parameters

None.

Body Parameters

vehkm
NameDescriptionTypeAdditional information
VEHICLENOn

string

None.

datesn

string

None.

datestimen

date

None.

previouscountern

integer

None.

newcountern

integer

None.

KMpictiuren

string

None.

KMConsumedn

integer

None.

Notesn

string

None.

Request Formats

application/json, text/json

Sample:
{
  "VEHICLENOn": "sample string 1",
  "datesn": "sample string 2",
  "datestimen": "2026-08-01T15:01:06.8085815-07:00",
  "previouscountern": 4,
  "newcountern": 5,
  "KMpictiuren": "sample string 6",
  "KMConsumedn": 7,
  "Notesn": "sample string 8"
}

application/xml, text/xml

Sample:
<vehkm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WEBAPIDEMO">
  <KMConsumedn>7</KMConsumedn>
  <KMpictiuren>sample string 6</KMpictiuren>
  <Notesn>sample string 8</Notesn>
  <VEHICLENOn>sample string 1</VEHICLENOn>
  <datesn>sample string 2</datesn>
  <datestimen>2026-08-01T15:01:06.8085815-07:00</datestimen>
  <newcountern>5</newcountern>
  <previouscountern>4</previouscountern>
</vehkm>

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

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.