POST api/Token/SaveTokenExit

Request Information

URI Parameters

None.

Body Parameters

TokenFlat
NameDescriptionTypeAdditional information
UID

integer

None.

TokenNo

string

None.

VehicleNumber

string

None.

VehicleTypeId

integer

None.

StatusId

integer

None.

ParkedOn

date

None.

CreatedOn

date

None.

CreatedBy

integer

None.

UpdatedOn

date

None.

UserId

integer

None.

UpdatedBy

integer

None.

PaidOn

date

None.

Amount

decimal number

None.

AmountPaid

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "UID": 1,
  "TokenNo": "sample string 2",
  "VehicleNumber": "sample string 3",
  "VehicleTypeId": 4,
  "StatusId": 5,
  "ParkedOn": "2025-09-22T04:33:30.7804215+00:00",
  "CreatedOn": "2025-09-22T04:33:30.7804215+00:00",
  "CreatedBy": 8,
  "UpdatedOn": "2025-09-22T04:33:30.7804215+00:00",
  "UserId": 10,
  "UpdatedBy": 11,
  "PaidOn": "2025-09-22T04:33:30.7804215+00:00",
  "Amount": 12.0,
  "AmountPaid": 13.0
}

application/xml, text/xml

Sample:
<TokenFlat xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EasyParking.Entities.FlatModels">
  <Amount>12</Amount>
  <AmountPaid>13</AmountPaid>
  <CreatedBy>8</CreatedBy>
  <CreatedOn>2025-09-22T04:33:30.7804215+00:00</CreatedOn>
  <PaidOn>2025-09-22T04:33:30.7804215+00:00</PaidOn>
  <ParkedOn>2025-09-22T04:33:30.7804215+00:00</ParkedOn>
  <StatusId>5</StatusId>
  <TokenNo>sample string 2</TokenNo>
  <UID>1</UID>
  <UpdatedBy>11</UpdatedBy>
  <UpdatedOn>2025-09-22T04:33:30.7804215+00:00</UpdatedOn>
  <UserId>10</UserId>
  <VehicleNumber>sample string 3</VehicleNumber>
  <VehicleTypeId>4</VehicleTypeId>
</TokenFlat>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>