POST api/organizations/ggn/fine



Request Information

URI Parameters

None.



Body Parameters

FineViewModel
NameDescriptionTypeAdditional information
ProjectId

string

None.

CaseNumber

string

None.

EnforcerId

string

None.

DatetimeOfOffence

string

None.

ParkingTimeAmount

integer

None.

AdditionalFee

integer

None.

LicensePlate

string

None.

LicensePlateCountry

string

None.

CarBrand

string

None.

CarColour

string

None.

StreetOfOffence

string

None.

CityOfOffence

string

None.

OffenceCode

string

None.

OffenseTime

date

None.

OffenceDescription

string

None.

Request Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Error getting value from 'OffenseTime' on 'VobeSoft.API.P1.Models.FineViewModel'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Error getting value from 'OffenseTime' on 'VobeSoft.API.P1.Models.FineViewModel'.

application/xml, text/xml

Sample:
<FineViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VobeSoft.API.P1.Models">
  <AdditionalFee>6</AdditionalFee>
  <CarBrand>sample string 9</CarBrand>
  <CarColour>sample string 10</CarColour>
  <CaseNumber>sample string 2</CaseNumber>
  <CityOfOffence>sample string 12</CityOfOffence>
  <DatetimeOfOffence>sample string 4</DatetimeOfOffence>
  <EnforcerId>sample string 3</EnforcerId>
  <LicensePlate>sample string 7</LicensePlate>
  <LicensePlateCountry>sample string 8</LicensePlateCountry>
  <OffenceCode>sample string 13</OffenceCode>
  <OffenceDescription>sample string 14</OffenceDescription>
  <ParkingTimeAmount>5</ParkingTimeAmount>
  <ProjectId>sample string 1</ProjectId>
  <StreetOfOffence>sample string 11</StreetOfOffence>
</FineViewModel>

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



Response Information

Resource Description

IHttpActionResult

None.