POST api/Parking/Start

Start a parking using the specified payment card

Request Information

URI Parameters

None.

Body Parameters

ParkingStart
NameDescriptionTypeAdditional information
DeviceId

The device's ID

string

Required

Language

The UI language as specified by ISO 639-1

string

Required

ConditionVersion

The version identifier for the conditions accepted by the user

string

Required

PaymentCardId

The payment card's primary ID

integer

Required

RegNo

The car's registration number

string

Required

Department

The department's primary ID

string

Required

EndDateUtc

The end date and time in UTC

date

Required

CalculatedPrice

The calculated total price incl. VAT

decimal number

Required

Request Formats

application/json, text/json

Sample:
{
  "DeviceId": "sample string 1",
  "Language": "da",
  "ConditionVersion": "2017-11-24 14:27:43",
  "PaymentCardId": 120435,
  "RegNo": "XX12345",
  "Department": "142",
  "EndDateUtc": "2025-08-29T03:45:12.2459864Z",
  "CalculatedPrice": 45.75
}

Response Information

Resource Description

Full information about the parking

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.