POST api/v1/OffstreetSessions/StopInternalSession

Request Information

URI Parameters

None.

Body Parameters

StopOffstreetInternalSessionRequest
NameDescriptionTypeAdditional information
OffstreetSessionId

integer

None.

OffstreetInternalSessionId

integer

None.

ParkingId

integer

None.

StopDate

date

None.

DeviceId

integer

None.

OrderIn

string

None.

OrderOut

string

None.

CarId

integer

None.

PaymentChannelId

integer

None.

MustBePaid

boolean

None.

Request Formats

application/json, text/json

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

application/xml, text/xml

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

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.