POST api/v1/OffstreetSessions/RestartSession

Request Information

URI Parameters

None.

Body Parameters

RestartOffstreetSessionRequest
NameDescriptionTypeAdditional information
OffstreetSessionId

integer

None.

ParkingId

integer

None.

CarId

integer

None.

OrderIn

string

None.

OrderOut

string

None.

PaymentChannelId

integer

None.

DeviceId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "OffstreetSessionId": 1,
  "ParkingId": 1,
  "CarId": 1,
  "OrderIn": "sample string 2",
  "OrderOut": "sample string 3",
  "PaymentChannelId": 4,
  "DeviceId": 1
}

application/xml, text/xml

Sample:
<RestartOffstreetSessionRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Sessions.Contracts">
  <CarId>1</CarId>
  <DeviceId>1</DeviceId>
  <OffstreetSessionId>1</OffstreetSessionId>
  <OrderIn>sample string 2</OrderIn>
  <OrderOut>sample string 3</OrderOut>
  <ParkingId>1</ParkingId>
  <PaymentChannelId>4</PaymentChannelId>
</RestartOffstreetSessionRequest>

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.