POST api/v1/OffstreetSessions/PaySession

Request Information

URI Parameters

None.

Body Parameters

PayOffstreetSessionRequest
NameDescriptionTypeAdditional information
OffstreetSessionId

integer

None.

ParkingId

integer

None.

CarId

integer

None.

Order

string

None.

PayDate

date

None.

TransactionId

string

None.

Amount

decimal number

None.

Currency

string

None.

Request Formats

application/json, text/json

Sample:
{
  "OffstreetSessionId": 1,
  "ParkingId": 1,
  "CarId": 1,
  "Order": "sample string 2",
  "PayDate": "2025-12-06T07:14:34.6175688+03:00",
  "TransactionId": "sample string 3",
  "Amount": 4.0,
  "Currency": "sample string 5"
}

application/xml, text/xml

Sample:
<PayOffstreetSessionRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Sessions.Contracts">
  <Amount>4</Amount>
  <CarId>1</CarId>
  <Currency>sample string 5</Currency>
  <OffstreetSessionId>1</OffstreetSessionId>
  <Order>sample string 2</Order>
  <ParkingId>1</ParkingId>
  <PayDate>2025-12-06T07:14:34.6175688+03:00</PayDate>
  <TransactionId>sample string 3</TransactionId>
</PayOffstreetSessionRequest>

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.