POST api/EasyPark

Request Information

URI Parameters

None.

Body Parameters

ParkingFeeRequest
NameDescriptionTypeAdditional information
ParkingId

integer

None.

LicenseNumber

string

None.

StartDate

string

None.

EndDate

string

None.

Price

decimal number

None.

PriceVatAmount

decimal number

None.

PriceExclusiveVatAmount

decimal number

None.

Currency

string

None.

ParkingAreaId

integer

None.

ParkingAreaName

string

None.

ParkingOperatorId

integer

None.

ParkingOperatorName

string

None.

TransactionFee

decimal number

None.

TransactionFeeVatAmount

decimal number

None.

TransactionFeeExclusiveVatAmount

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "ParkingId": 1,
  "LicenseNumber": "sample string 2",
  "StartDate": "sample string 3",
  "EndDate": "sample string 4",
  "Price": 5.0,
  "PriceVatAmount": 6.0,
  "PriceExclusiveVatAmount": 7.0,
  "Currency": "sample string 8",
  "ParkingAreaId": 9,
  "ParkingAreaName": "sample string 10",
  "ParkingOperatorId": 11,
  "ParkingOperatorName": "sample string 12",
  "TransactionFee": 13.0,
  "TransactionFeeVatAmount": 14.0,
  "TransactionFeeExclusiveVatAmount": 15.0
}

application/xml, text/xml

Sample:
<ParkingFeeRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EasyParkAPI.Models">
  <Currency>sample string 8</Currency>
  <EndDate>sample string 4</EndDate>
  <LicenseNumber>sample string 2</LicenseNumber>
  <ParkingAreaId>9</ParkingAreaId>
  <ParkingAreaName>sample string 10</ParkingAreaName>
  <ParkingId>1</ParkingId>
  <ParkingOperatorId>11</ParkingOperatorId>
  <ParkingOperatorName>sample string 12</ParkingOperatorName>
  <Price>5</Price>
  <PriceExclusiveVatAmount>7</PriceExclusiveVatAmount>
  <PriceVatAmount>6</PriceVatAmount>
  <StartDate>sample string 3</StartDate>
  <TransactionFee>13</TransactionFee>
  <TransactionFeeExclusiveVatAmount>15</TransactionFeeExclusiveVatAmount>
  <TransactionFeeVatAmount>14</TransactionFeeVatAmount>
</ParkingFeeRequest>

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

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.