POST api/Parking/Start
Start a parking using the specified payment card
Request Information
URI Parameters
None.
Body Parameters
ParkingStart| Name | Description | Type | Additional 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": "2026-01-13T02:55:02.1004935Z",
"CalculatedPrice": 45.75
}
Response Information
Resource Description
Full information about the parking
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.