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": "1314d042-5235-4f40-a51e-37883c590d7e",
    "FineNo": "sample string 2",
    "PlateNo": "sample string 3",
    "FineRecordedOn": "2023-12-08T21:02:36.4842085+04:00",
    "Source": "sample string 5",
    "Reason": "sample string 6",
    "Location": "sample string 7",
    "Fees": 8.0,
    "BlackPoint": "sample string 9",
    "Attachment": "QEA=",
    "CreatedOn": "2023-12-08T21:02:36.4842085+04:00"
  },
  {
    "TrafficFineDownloadID": "1314d042-5235-4f40-a51e-37883c590d7e",
    "FineNo": "sample string 2",
    "PlateNo": "sample string 3",
    "FineRecordedOn": "2023-12-08T21:02:36.4842085+04:00",
    "Source": "sample string 5",
    "Reason": "sample string 6",
    "Location": "sample string 7",
    "Fees": 8.0,
    "BlackPoint": "sample string 9",
    "Attachment": "QEA=",
    "CreatedOn": "2023-12-08T21:02:36.4842085+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>2023-12-08T21:02:36.4842085+04:00</CreatedOn>
    <Fees>8</Fees>
    <FineNo>sample string 2</FineNo>
    <FineRecordedOn>2023-12-08T21:02:36.4842085+04:00</FineRecordedOn>
    <Location>sample string 7</Location>
    <PlateNo>sample string 3</PlateNo>
    <Reason>sample string 6</Reason>
    <Source>sample string 5</Source>
    <TrafficFineDownloadID>1314d042-5235-4f40-a51e-37883c590d7e</TrafficFineDownloadID>
  </TrafficFineDownload>
  <TrafficFineDownload>
    <Attachment>QEA=</Attachment>
    <BlackPoint>sample string 9</BlackPoint>
    <CreatedOn>2023-12-08T21:02:36.4842085+04:00</CreatedOn>
    <Fees>8</Fees>
    <FineNo>sample string 2</FineNo>
    <FineRecordedOn>2023-12-08T21:02:36.4842085+04:00</FineRecordedOn>
    <Location>sample string 7</Location>
    <PlateNo>sample string 3</PlateNo>
    <Reason>sample string 6</Reason>
    <Source>sample string 5</Source>
    <TrafficFineDownloadID>1314d042-5235-4f40-a51e-37883c590d7e</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>