POST api/v1/OffstreetSessions/StartSession

Request Information

URI Parameters

None.

Body Parameters

StartOffstreetSessionRequest
NameDescriptionTypeAdditional information
ParkingId

integer

None.

CityId

integer

None.

CountryId

integer

None.

PaymentChannelId

integer

None.

UserId

string

None.

CarId

integer

None.

PhoneId

integer

None.

CarPermitId

integer

None.

Order

string

None.

DeviceId

integer

None.

StartDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "ParkingId": 1,
  "CityId": 2,
  "CountryId": 3,
  "PaymentChannelId": 4,
  "UserId": "sample string 5",
  "CarId": 1,
  "PhoneId": 1,
  "CarPermitId": 1,
  "Order": "sample string 6",
  "DeviceId": 1,
  "StartDate": "2025-12-06T07:16:42.7138815+03:00"
}

application/xml, text/xml

Sample:
<StartOffstreetSessionRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Sessions.Contracts">
  <CarId>1</CarId>
  <CarPermitId>1</CarPermitId>
  <CityId>2</CityId>
  <CountryId>3</CountryId>
  <DeviceId>1</DeviceId>
  <Order>sample string 6</Order>
  <ParkingId>1</ParkingId>
  <PaymentChannelId>4</PaymentChannelId>
  <PhoneId>1</PhoneId>
  <StartDate>2025-12-06T07:16:42.7138815+03:00</StartDate>
  <UserId>sample string 5</UserId>
</StartOffstreetSessionRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.