POST api/ReservationSettings

Request Information

URI Parameters

None.

Body Parameters

ReservationSettingsModels
NameDescriptionTypeAdditional information
RS_Id

integer

None.

RS_From_Date

date

None.

RS_To_Date

date

None.

LocationSpeedSearch

LocationSpeedSearchModels

None.

VehicleTypeSpeedSearch

VehicleTypeSpeedSearchModels

None.

RS_Max_Adv_hrs_Booking

string

None.

RS_Adv_Amount_Payble

decimal number

None.

RS_UserId_FK

integer

None.

RS_TS

date

None.

RS_Inactive

character

None.

RS_TS_LastEdited

date

None.

RS_TS_Edited_Uid_FK

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "RS_Id": 1,
  "RS_From_Date": "2025-12-11T09:37:48.9933416+05:30",
  "RS_To_Date": "2025-12-11T09:37:48.994341+05:30",
  "LocationSpeedSearch": {
    "LO_Id": 1,
    "LO_Location_Id": "sample string 2",
    "LO_TotalSlots": 3,
    "LevelsInLanesSpeedSearch": {
      "LE_Id": 1,
      "LE_Level_Id": "sample string 2",
      "LE_LO_FK_Id": 3
    }
  },
  "VehicleTypeSpeedSearch": {
    "VT_Id": 1,
    "VT_VehicleType": "sample string 2",
    "VT_Type_Id": "sample string 3"
  },
  "RS_Max_Adv_hrs_Booking": "sample string 4",
  "RS_Adv_Amount_Payble": 5.0,
  "RS_UserId_FK": 6,
  "RS_TS": "2025-12-11T09:37:48.994341+05:30",
  "RS_Inactive": "A",
  "RS_TS_LastEdited": "2025-12-11T09:37:48.9953399+05:30",
  "RS_TS_Edited_Uid_FK": 10
}

application/xml, text/xml

Sample:
<ReservationSettingsModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/iParkWebAPI.Models">
  <LocationSpeedSearch 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:LevelsInLanesSpeedSearch>
      <d2p1:LE_Id>1</d2p1:LE_Id>
      <d2p1:LE_LO_FK_Id>3</d2p1:LE_LO_FK_Id>
      <d2p1:LE_Level_Id>sample string 2</d2p1:LE_Level_Id>
    </d2p1:LevelsInLanesSpeedSearch>
  </LocationSpeedSearch>
  <RS_Adv_Amount_Payble>5</RS_Adv_Amount_Payble>
  <RS_From_Date>2025-12-11T09:37:48.9933416+05:30</RS_From_Date>
  <RS_Id>1</RS_Id>
  <RS_Inactive>65</RS_Inactive>
  <RS_Max_Adv_hrs_Booking>sample string 4</RS_Max_Adv_hrs_Booking>
  <RS_TS>2025-12-11T09:37:48.994341+05:30</RS_TS>
  <RS_TS_Edited_Uid_FK>10</RS_TS_Edited_Uid_FK>
  <RS_TS_LastEdited>2025-12-11T09:37:48.9953399+05:30</RS_TS_LastEdited>
  <RS_To_Date>2025-12-11T09:37:48.994341+05:30</RS_To_Date>
  <RS_UserId_FK>6</RS_UserId_FK>
  <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>
</ReservationSettingsModels>

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 'ReservationSettingsModels'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.