POST api/truckevent/notify?key={key}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
key

string

None.

Body Parameters

TruckEventNotifyModel
NameDescriptionTypeAdditional information
EventType

string

None.

DocketNo

integer

None.

Status

string

None.

DriverCode

string

None.

RaisedAtUtc

date

None.

Source

string

None.

Request Formats

application/json, text/json

Sample:
{
  "EventType": "sample string 1",
  "DocketNo": 2,
  "Status": "sample string 3",
  "DriverCode": "sample string 4",
  "RaisedAtUtc": "2026-08-25T16:58:23.4815026+10:00",
  "Source": "sample string 5"
}

text/xml

Sample:
<TruckEventNotifyModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Peercore.Transport.API.Controllers.api">
  <DocketNo>2</DocketNo>
  <DriverCode>sample string 4</DriverCode>
  <EventType>sample string 1</EventType>
  <RaisedAtUtc>2026-08-25T16:58:23.4815026+10:00</RaisedAtUtc>
  <Source>sample string 5</Source>
  <Status>sample string 3</Status>
</TruckEventNotifyModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

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.