POST api/TollEntry?apiKey={apiKey}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
apiKey

string

Required

Body Parameters

Collection of TollDownload
NameDescriptionTypeAdditional information
TollDownloadID

globally unique identifier

None.

TollRecordedOn

date

None.

TransactionPostDate

date

None.

TagNo

string

None.

PlateNo

string

None.

TollGateLocation

string

None.

TollGateDirection

string

None.

Amount

decimal number

None.

TripTime

date

None.

TransactionID

string

None.

TranscationType

TransactionType

None.

CreatedOn

date

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "TollDownloadID": "7a5e96a7-0dfa-4883-83aa-7ce3e46bc975",
    "TollRecordedOn": "2024-06-14T07:06:55.7784717+04:00",
    "TransactionPostDate": "2024-06-14T07:06:55.7784717+04:00",
    "TagNo": "sample string 3",
    "PlateNo": "sample string 4",
    "TollGateLocation": "sample string 5",
    "TollGateDirection": "sample string 6",
    "Amount": 7.0,
    "TripTime": "2024-06-14T07:06:55.7784717+04:00",
    "TransactionID": "sample string 9",
    "TranscationType": 0,
    "CreatedOn": "2024-06-14T07:06:55.7784717+04:00"
  },
  {
    "TollDownloadID": "7a5e96a7-0dfa-4883-83aa-7ce3e46bc975",
    "TollRecordedOn": "2024-06-14T07:06:55.7784717+04:00",
    "TransactionPostDate": "2024-06-14T07:06:55.7784717+04:00",
    "TagNo": "sample string 3",
    "PlateNo": "sample string 4",
    "TollGateLocation": "sample string 5",
    "TollGateDirection": "sample string 6",
    "Amount": 7.0,
    "TripTime": "2024-06-14T07:06:55.7784717+04:00",
    "TransactionID": "sample string 9",
    "TranscationType": 0,
    "CreatedOn": "2024-06-14T07:06:55.7784717+04:00"
  }
]

application/xml, text/xml

Sample:
<ArrayOfTollDownload xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fleetlet.Entity.Vehicles">
  <TollDownload>
    <Amount>7</Amount>
    <CreatedOn>2024-06-14T07:06:55.7784717+04:00</CreatedOn>
    <PlateNo>sample string 4</PlateNo>
    <TagNo>sample string 3</TagNo>
    <TollDownloadID>7a5e96a7-0dfa-4883-83aa-7ce3e46bc975</TollDownloadID>
    <TollGateDirection>sample string 6</TollGateDirection>
    <TollGateLocation>sample string 5</TollGateLocation>
    <TollRecordedOn>2024-06-14T07:06:55.7784717+04:00</TollRecordedOn>
    <TransactionID>sample string 9</TransactionID>
    <TransactionPostDate>2024-06-14T07:06:55.7784717+04:00</TransactionPostDate>
    <TranscationType>None</TranscationType>
    <TripTime>2024-06-14T07:06:55.7784717+04:00</TripTime>
  </TollDownload>
  <TollDownload>
    <Amount>7</Amount>
    <CreatedOn>2024-06-14T07:06:55.7784717+04:00</CreatedOn>
    <PlateNo>sample string 4</PlateNo>
    <TagNo>sample string 3</TagNo>
    <TollDownloadID>7a5e96a7-0dfa-4883-83aa-7ce3e46bc975</TollDownloadID>
    <TollGateDirection>sample string 6</TollGateDirection>
    <TollGateLocation>sample string 5</TollGateLocation>
    <TollRecordedOn>2024-06-14T07:06:55.7784717+04:00</TollRecordedOn>
    <TransactionID>sample string 9</TransactionID>
    <TransactionPostDate>2024-06-14T07:06:55.7784717+04:00</TransactionPostDate>
    <TranscationType>None</TranscationType>
    <TripTime>2024-06-14T07:06:55.7784717+04:00</TripTime>
  </TollDownload>
</ArrayOfTollDownload>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ApiResultWithDataOfBoolean
NameDescriptionTypeAdditional information
Data

boolean

None.

Status

ErrorCode

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": true,
  "Status": 1,
  "Message": "sample string 2"
}

application/xml, text/xml

Sample:
<ApiResultWithDataOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fleetlet.Service.Models">
  <Message>sample string 2</Message>
  <Status>Success</Status>
  <Data>true</Data>
</ApiResultWithDataOfboolean>