POST api/v1/SaveParking
Request Information
URI Parameters
None.
Body Parameters
ParkingSaveInput| Name | Description | Type | Additional information |
|---|---|---|---|
| Mode | string |
None. |
|
| VehicleTypeID | integer |
None. |
|
| InvoiceID | integer |
None. |
|
| LocID | integer |
None. |
|
| VehicleNo | string |
None. |
|
| UserID | integer |
None. |
|
| HHTID | string |
None. |
|
| Outdate | date |
None. |
|
| InvoiceNo | string |
None. |
|
| ParkingCharge | decimal number |
None. |
|
| CouponAmount | decimal number |
None. |
|
| RechgAmount | decimal number |
None. |
|
| Hours | integer |
None. |
|
| OInvoiceNo | string |
None. |
|
| RechgID | integer |
None. |
|
| Result | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Mode": "sample string 1",
"VehicleTypeID": 2,
"InvoiceID": 3,
"LocID": 4,
"VehicleNo": "sample string 5",
"UserID": 6,
"HHTID": "sample string 7",
"Outdate": "2025-12-10T12:36:25.7298874+05:30",
"InvoiceNo": "sample string 9",
"ParkingCharge": 10.0,
"CouponAmount": 11.0,
"RechgAmount": 12.0,
"Hours": 13,
"OInvoiceNo": "sample string 14",
"RechgID": 15,
"Result": 16
}
application/xml, text/xml
Sample:
<ParkingSaveInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models"> <CouponAmount>11</CouponAmount> <HHTID>sample string 7</HHTID> <Hours>13</Hours> <InvoiceID>3</InvoiceID> <InvoiceNo>sample string 9</InvoiceNo> <LocID>4</LocID> <Mode>sample string 1</Mode> <OInvoiceNo>sample string 14</OInvoiceNo> <Outdate>2025-12-10T12:36:25.7298874+05:30</Outdate> <ParkingCharge>10</ParkingCharge> <RechgAmount>12</RechgAmount> <RechgID>15</RechgID> <Result>16</Result> <UserID>6</UserID> <VehicleNo>sample string 5</VehicleNo> <VehicleTypeID>2</VehicleTypeID> </ParkingSaveInput>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ParkingSaveModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | integer |
None. |
|
| Invno | string |
None. |
|
| InvoiceID | integer |
None. |
|
| InInvNo | string |
None. |
|
| VehicleType | string |
None. |
|
| LocName | string |
None. |
|
| LocAddress | string |
None. |
|
| Line1 | string |
None. |
|
| Line2 | string |
None. |
|
| Line3 | string |
None. |
|
| Line4 | string |
None. |
|
| Line5 | string |
None. |
|
| Errmsg | string |
None. |
|
| parkingTime | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": 1,
"Invno": "sample string 2",
"InvoiceID": 3,
"InInvNo": "sample string 4",
"VehicleType": "sample string 5",
"LocName": "sample string 6",
"LocAddress": "sample string 7",
"Line1": "sample string 8",
"Line2": "sample string 9",
"Line3": "sample string 10",
"Line4": "sample string 11",
"Line5": "sample string 12",
"Errmsg": "sample string 13",
"parkingTime": "sample string 14"
}
application/xml, text/xml
Sample:
<ParkingSaveModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models"> <Errmsg>sample string 13</Errmsg> <InInvNo>sample string 4</InInvNo> <Invno>sample string 2</Invno> <InvoiceID>3</InvoiceID> <Line1>sample string 8</Line1> <Line2>sample string 9</Line2> <Line3>sample string 10</Line3> <Line4>sample string 11</Line4> <Line5>sample string 12</Line5> <LocAddress>sample string 7</LocAddress> <LocName>sample string 6</LocName> <Status>1</Status> <VehicleType>sample string 5</VehicleType> <parkingTime>sample string 14</parkingTime> </ParkingSaveModel>