POST api/v1/OffstreetSessions/StopSession

Request Information

URI Parameters

None.

Body Parameters

StopOffstreetSessionRequest
NameDescriptionTypeAdditional information
OffstreetSessionId

integer

None.

ParkingId

integer

None.

CarId

integer

None.

OrderIn

string

None.

OrderOut

string

None.

StopDate

date

None.

PaymentChannelId

integer

None.

DeviceId

integer

None.

GraceTime

integer

None.

ForceStop

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "OffstreetSessionId": 1,
  "ParkingId": 1,
  "CarId": 1,
  "OrderIn": "sample string 2",
  "OrderOut": "sample string 3",
  "StopDate": "2025-12-06T07:14:42.3444216+03:00",
  "PaymentChannelId": 4,
  "DeviceId": 1,
  "GraceTime": 1,
  "ForceStop": true
}

application/xml, text/xml

Sample:
<StopOffstreetSessionRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Sessions.Contracts">
  <CarId>1</CarId>
  <DeviceId>1</DeviceId>
  <ForceStop>true</ForceStop>
  <GraceTime>1</GraceTime>
  <OffstreetSessionId>1</OffstreetSessionId>
  <OrderIn>sample string 2</OrderIn>
  <OrderOut>sample string 3</OrderOut>
  <ParkingId>1</ParkingId>
  <PaymentChannelId>4</PaymentChannelId>
  <StopDate>2025-12-06T07:14:42.3444216+03:00</StopDate>
</StopOffstreetSessionRequest>

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.