POST api/TrafficFine/Insert?apiKey={apiKey}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
apiKey

string

Required

Body Parameters

Collection of TrafficFineDownload
NameDescriptionTypeAdditional information
TrafficFineDownloadID

globally unique identifier

None.

FineNo

string

None.

PlateNo

string

None.

FineRecordedOn

date

None.

Source

string

None.

Reason

string

None.

Location

string

None.

Fees

decimal number

None.

BlackPoint

string

None.

Attachment

Collection of byte

None.

CreatedOn

date

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "TrafficFineDownloadID": "c0d3604b-29b1-4ab4-9ec6-56bee5ec74be",
    "FineNo": "sample string 2",
    "PlateNo": "sample string 3",
    "FineRecordedOn": "2024-06-14T07:53:38.8598706+04:00",
    "Source": "sample string 5",
    "Reason": "sample string 6",
    "Location": "sample string 7",
    "Fees": 8.0,
    "BlackPoint": "sample string 9",
    "Attachment": "QEA=",
    "CreatedOn": "2024-06-14T07:53:38.8598706+04:00"
  },
  {
    "TrafficFineDownloadID": "c0d3604b-29b1-4ab4-9ec6-56bee5ec74be",
    "FineNo": "sample string 2",
    "PlateNo": "sample string 3",
    "FineRecordedOn": "2024-06-14T07:53:38.8598706+04:00",
    "Source": "sample string 5",
    "Reason": "sample string 6",
    "Location": "sample string 7",
    "Fees": 8.0,
    "BlackPoint": "sample string 9",
    "Attachment": "QEA=",
    "CreatedOn": "2024-06-14T07:53:38.8598706+04:00"
  }
]

application/xml, text/xml

Sample:
<ArrayOfTrafficFineDownload xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fleetlet.Entity.Vehicles">
  <TrafficFineDownload>
    <Attachment>QEA=</Attachment>
    <BlackPoint>sample string 9</BlackPoint>
    <CreatedOn>2024-06-14T07:53:38.8598706+04:00</CreatedOn>
    <Fees>8</Fees>
    <FineNo>sample string 2</FineNo>
    <FineRecordedOn>2024-06-14T07:53:38.8598706+04:00</FineRecordedOn>
    <Location>sample string 7</Location>
    <PlateNo>sample string 3</PlateNo>
    <Reason>sample string 6</Reason>
    <Source>sample string 5</Source>
    <TrafficFineDownloadID>c0d3604b-29b1-4ab4-9ec6-56bee5ec74be</TrafficFineDownloadID>
  </TrafficFineDownload>
  <TrafficFineDownload>
    <Attachment>QEA=</Attachment>
    <BlackPoint>sample string 9</BlackPoint>
    <CreatedOn>2024-06-14T07:53:38.8598706+04:00</CreatedOn>
    <Fees>8</Fees>
    <FineNo>sample string 2</FineNo>
    <FineRecordedOn>2024-06-14T07:53:38.8598706+04:00</FineRecordedOn>
    <Location>sample string 7</Location>
    <PlateNo>sample string 3</PlateNo>
    <Reason>sample string 6</Reason>
    <Source>sample string 5</Source>
    <TrafficFineDownloadID>c0d3604b-29b1-4ab4-9ec6-56bee5ec74be</TrafficFineDownloadID>
  </TrafficFineDownload>
</ArrayOfTrafficFineDownload>

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>