POST api/Pass/EntryStaffPass

Request Information

URI Parameters

None.

Body Parameters

EntryStaffPassModels
NameDescriptionTypeAdditional information
User_Id_FK

integer

None.

R_Id

integer

None.

R_Name

string

None.

R_EmailId

string

None.

R_Mobile

integer

None.

R_Membership_No

string

None.

R_UserId_FK

integer

None.

R_TS

date

None.

R_Inactive

character

None.

R_TS_LastEdited

date

None.

R_TS_Edited_Uid_FK

integer

None.

passModel

PassModels

None.

Request Formats

application/json, text/json

Sample:
{
  "User_Id_FK": 1,
  "R_Id": 2,
  "R_Name": "sample string 3",
  "R_EmailId": "sample string 4",
  "R_Mobile": 5,
  "R_Membership_No": "sample string 6",
  "R_UserId_FK": 7,
  "R_TS": "2025-12-11T09:36:00.5369662+05:30",
  "R_Inactive": "A",
  "R_TS_LastEdited": "2025-12-11T09:36:00.5369662+05:30",
  "R_TS_Edited_Uid_FK": 11,
  "passModel": {
    "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:36:00.5389648+05:30",
    "Pass_For_Date": "2025-12-11T09:36:00.5389648+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:
<EntryStaffPassModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/iParkWebAPI.Models">
  <R_EmailId>sample string 4</R_EmailId>
  <R_Id>2</R_Id>
  <R_Inactive>65</R_Inactive>
  <R_Membership_No>sample string 6</R_Membership_No>
  <R_Mobile>5</R_Mobile>
  <R_Name>sample string 3</R_Name>
  <R_TS>2025-12-11T09:36:00.5369662+05:30</R_TS>
  <R_TS_Edited_Uid_FK>11</R_TS_Edited_Uid_FK>
  <R_TS_LastEdited>2025-12-11T09:36:00.5369662+05:30</R_TS_LastEdited>
  <R_UserId_FK>7</R_UserId_FK>
  <User_Id_FK>1</User_Id_FK>
  <passModel>
    <Category>sample string 17</Category>
    <Duration>sample string 14</Duration>
    <Location>sample string 15</Location>
    <LocationsInSlotsSpeedSearch xmlns:d3p1="http://schemas.datacontract.org/2004/07/iParkWebAPI.Models.SpeedSearch">
      <d3p1:LO_Id>1</d3p1:LO_Id>
      <d3p1:LO_Location_Id>sample string 2</d3p1:LO_Location_Id>
      <d3p1:LO_TotalSlots>3</d3p1:LO_TotalSlots>
      <d3p1:LevelsInSlotsSpeedSearch>
        <d3p1:LE_Id>1</d3p1:LE_Id>
        <d3p1:LE_Level_Id>sample string 2</d3p1:LE_Level_Id>
        <d3p1:LaneInSlotsSpeedSearch>
          <d3p1:LA_Id>1</d3p1:LA_Id>
          <d3p1:LA_Lane_Id>sample string 2</d3p1:LA_Lane_Id>
        </d3p1:LaneInSlotsSpeedSearch>
      </d3p1: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:36:00.5389648+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:36:00.5389648+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:d3p1="http://schemas.datacontract.org/2004/07/iParkWebAPI.Models.SpeedSearch">
      <d3p1:LevelsInSlotsSpeedSearch>
        <d3p1:LE_Id>1</d3p1:LE_Id>
        <d3p1:LE_Level_Id>sample string 2</d3p1:LE_Level_Id>
        <d3p1:LaneInSlotsSpeedSearch>
          <d3p1:LA_Id>1</d3p1:LA_Id>
          <d3p1:LA_Lane_Id>sample string 2</d3p1:LA_Lane_Id>
        </d3p1:LaneInSlotsSpeedSearch>
      </d3p1:LevelsInSlotsSpeedSearch>
      <d3p1:SL_Id>1</d3p1:SL_Id>
      <d3p1:SL_Slot_No>sample string 2</d3p1:SL_Slot_No>
    </SlotsSpeedSearch>
    <VehicleType>sample string 16</VehicleType>
    <VehicleTypeSpeedSearch xmlns:d3p1="http://schemas.datacontract.org/2004/07/iParkWebAPI.Models.SpeedSearch">
      <d3p1:VT_Id>1</d3p1:VT_Id>
      <d3p1:VT_Type_Id>sample string 3</d3p1:VT_Type_Id>
      <d3p1:VT_VehicleType>sample string 2</d3p1:VT_VehicleType>
    </VehicleTypeSpeedSearch>
    <categorySpeedSearch xmlns:d3p1="http://schemas.datacontract.org/2004/07/iParkWebAPI.Models.SpeedSearch">
      <d3p1:CA_Billing>sample string 4</d3p1:CA_Billing>
      <d3p1:CA_Category>sample string 3</d3p1:CA_Category>
      <d3p1:CA_Code>sample string 2</d3p1:CA_Code>
      <d3p1:CA_ID>1</d3p1:CA_ID>
    </categorySpeedSearch>
  </passModel>
</EntryStaffPassModels>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'EntryStaffPassModels'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.