POST api/Pass
Request Information
URI Parameters
None.
Body Parameters
PassModels| Name | Description | Type | Additional information |
|---|---|---|---|
| categorySpeedSearch | categorySpeedSearchModels |
None. |
|
| LocationsInSlotsSpeedSearch | LocationSpeedSearchForSlotsModels |
None. |
|
| VehicleTypeSpeedSearch | VehicleTypeSpeedSearchModels |
None. |
|
| Pass_Id | integer |
None. |
|
| Pass_Customer_Id_FK | integer |
None. |
|
| Pass_ST_Id_FK | integer |
None. |
|
| Pass_VT_Id_FK | integer |
None. |
|
| Pass_CA_Id_FK | integer |
None. |
|
| Pass_Vehicle_No | string |
None. |
|
| Pass_Daily_Monthly | string |
None. |
|
| Pass_Purchased_Date | date |
None. |
|
| Pass_For_Date | date |
None. |
|
| Pass_Month | integer |
None. |
|
| Pass_Year | integer |
None. |
|
| Pass_Amount | decimal number |
None. |
|
| Pass_UTR | string |
None. |
|
| Pass_No | string |
None. |
|
| Duration | string |
None. |
|
| Location | string |
None. |
|
| VehicleType | string |
None. |
|
| Category | string |
None. |
|
| SlotsSpeedSearch | SlotsSpeedSearchModels |
None. |
|
| Pass_PaymentMode | string |
None. |
|
| Pass_Card_No | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"categorySpeedSearch": {
"CA_ID": 1,
"CA_Code": "sample string 2",
"CA_Category": "sample string 3",
"CA_Billing": "sample string 4"
},
"LocationsInSlotsSpeedSearch": {
"LO_Id": 1,
"LO_Location_Id": "sample string 2",
"LevelsInSlotsSpeedSearch": {
"LE_Id": 1,
"LE_Level_Id": "sample string 2",
"LaneInSlotsSpeedSearch": {
"LA_Id": 1,
"LA_Lane_Id": "sample string 2"
}
},
"LO_TotalSlots": 3
},
"VehicleTypeSpeedSearch": {
"VT_Id": 1,
"VT_VehicleType": "sample string 2",
"VT_Type_Id": "sample string 3"
},
"Pass_Id": 1,
"Pass_Customer_Id_FK": 2,
"Pass_ST_Id_FK": 3,
"Pass_VT_Id_FK": 4,
"Pass_CA_Id_FK": 5,
"Pass_Vehicle_No": "sample string 6",
"Pass_Daily_Monthly": "sample string 7",
"Pass_Purchased_Date": "2025-12-11T09:40:36.3825372+05:30",
"Pass_For_Date": "2025-12-11T09:40:36.3835371+05:30",
"Pass_Month": 9,
"Pass_Year": 10,
"Pass_Amount": 11.0,
"Pass_UTR": "sample string 12",
"Pass_No": "sample string 13",
"Duration": "sample string 14",
"Location": "sample string 15",
"VehicleType": "sample string 16",
"Category": "sample string 17",
"SlotsSpeedSearch": {
"SL_Id": 1,
"SL_Slot_No": "sample string 2",
"LevelsInSlotsSpeedSearch": {
"LE_Id": 1,
"LE_Level_Id": "sample string 2",
"LaneInSlotsSpeedSearch": {
"LA_Id": 1,
"LA_Lane_Id": "sample string 2"
}
}
},
"Pass_PaymentMode": "sample string 18",
"Pass_Card_No": "sample string 19"
}
application/xml, text/xml
Sample:
<PassModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/iParkWebAPI.Models">
<Category>sample string 17</Category>
<Duration>sample string 14</Duration>
<Location>sample string 15</Location>
<LocationsInSlotsSpeedSearch xmlns:d2p1="http://schemas.datacontract.org/2004/07/iParkWebAPI.Models.SpeedSearch">
<d2p1:LO_Id>1</d2p1:LO_Id>
<d2p1:LO_Location_Id>sample string 2</d2p1:LO_Location_Id>
<d2p1:LO_TotalSlots>3</d2p1:LO_TotalSlots>
<d2p1:LevelsInSlotsSpeedSearch>
<d2p1:LE_Id>1</d2p1:LE_Id>
<d2p1:LE_Level_Id>sample string 2</d2p1:LE_Level_Id>
<d2p1:LaneInSlotsSpeedSearch>
<d2p1:LA_Id>1</d2p1:LA_Id>
<d2p1:LA_Lane_Id>sample string 2</d2p1:LA_Lane_Id>
</d2p1:LaneInSlotsSpeedSearch>
</d2p1:LevelsInSlotsSpeedSearch>
</LocationsInSlotsSpeedSearch>
<Pass_Amount>11</Pass_Amount>
<Pass_CA_Id_FK>5</Pass_CA_Id_FK>
<Pass_Card_No>sample string 19</Pass_Card_No>
<Pass_Customer_Id_FK>2</Pass_Customer_Id_FK>
<Pass_Daily_Monthly>sample string 7</Pass_Daily_Monthly>
<Pass_For_Date>2025-12-11T09:40:36.3835371+05:30</Pass_For_Date>
<Pass_Id>1</Pass_Id>
<Pass_Month>9</Pass_Month>
<Pass_No>sample string 13</Pass_No>
<Pass_PaymentMode>sample string 18</Pass_PaymentMode>
<Pass_Purchased_Date>2025-12-11T09:40:36.3825372+05:30</Pass_Purchased_Date>
<Pass_ST_Id_FK>3</Pass_ST_Id_FK>
<Pass_UTR>sample string 12</Pass_UTR>
<Pass_VT_Id_FK>4</Pass_VT_Id_FK>
<Pass_Vehicle_No>sample string 6</Pass_Vehicle_No>
<Pass_Year>10</Pass_Year>
<SlotsSpeedSearch xmlns:d2p1="http://schemas.datacontract.org/2004/07/iParkWebAPI.Models.SpeedSearch">
<d2p1:LevelsInSlotsSpeedSearch>
<d2p1:LE_Id>1</d2p1:LE_Id>
<d2p1:LE_Level_Id>sample string 2</d2p1:LE_Level_Id>
<d2p1:LaneInSlotsSpeedSearch>
<d2p1:LA_Id>1</d2p1:LA_Id>
<d2p1:LA_Lane_Id>sample string 2</d2p1:LA_Lane_Id>
</d2p1:LaneInSlotsSpeedSearch>
</d2p1:LevelsInSlotsSpeedSearch>
<d2p1:SL_Id>1</d2p1:SL_Id>
<d2p1:SL_Slot_No>sample string 2</d2p1:SL_Slot_No>
</SlotsSpeedSearch>
<VehicleType>sample string 16</VehicleType>
<VehicleTypeSpeedSearch xmlns:d2p1="http://schemas.datacontract.org/2004/07/iParkWebAPI.Models.SpeedSearch">
<d2p1:VT_Id>1</d2p1:VT_Id>
<d2p1:VT_Type_Id>sample string 3</d2p1:VT_Type_Id>
<d2p1:VT_VehicleType>sample string 2</d2p1:VT_VehicleType>
</VehicleTypeSpeedSearch>
<categorySpeedSearch xmlns:d2p1="http://schemas.datacontract.org/2004/07/iParkWebAPI.Models.SpeedSearch">
<d2p1:CA_Billing>sample string 4</d2p1:CA_Billing>
<d2p1:CA_Category>sample string 3</d2p1:CA_Category>
<d2p1:CA_Code>sample string 2</d2p1:CA_Code>
<d2p1:CA_ID>1</d2p1:CA_ID>
</categorySpeedSearch>
</PassModels>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.