POST api/Lanes

Request Information

URI Parameters

None.

Body Parameters

LanesModels
NameDescriptionTypeAdditional information
LA_Id

integer

None.

LocationsInLanesSpeedSearch

LocationSpeedSearchModels

None.

LevelsSpeedSearch

LevelsSpeedSearchModels

None.

VehicleTypeSpeedSearch

VehicleTypeSpeedSearchModels

None.

CategoryModel

CategoryModels

None.

LA_Lane_Id

string

None.

LA_LE_FK_Id

integer

None.

LA_Short_Description

string

None.

LA_Long_Discription

string

None.

LA_UserId_FK

integer

None.

LA_TS

date

None.

LA_Inactive

character

None.

LA_TS_LastEdited

date

None.

LA_TS_Edited_Uid_FK

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "LA_Id": 1,
  "LocationsInLanesSpeedSearch": {
    "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
    }
  },
  "LevelsSpeedSearch": {
    "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"
  },
  "CategoryModel": {
    "CA_ID": 1,
    "CA_Code": "sample string 2",
    "CA_Category": "sample string 3",
    "CA_Billing": "sample string 4",
    "CA_Reserve": "sample string 5",
    "CA_Duration": "sample string 6"
  },
  "LA_Lane_Id": "sample string 2",
  "LA_LE_FK_Id": 3,
  "LA_Short_Description": "sample string 4",
  "LA_Long_Discription": "sample string 5",
  "LA_UserId_FK": 6,
  "LA_TS": "2025-12-11T09:40:14.0030962+05:30",
  "LA_Inactive": "A",
  "LA_TS_LastEdited": "2025-12-11T09:40:14.0030962+05:30",
  "LA_TS_Edited_Uid_FK": 10
}

application/xml, text/xml

Sample:
<LanesModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/iParkWebAPI.Models">
  <CategoryModel>
    <CA_Billing>sample string 4</CA_Billing>
    <CA_Category>sample string 3</CA_Category>
    <CA_Code>sample string 2</CA_Code>
    <CA_Duration>sample string 6</CA_Duration>
    <CA_ID>1</CA_ID>
    <CA_Reserve>sample string 5</CA_Reserve>
  </CategoryModel>
  <LA_Id>1</LA_Id>
  <LA_Inactive>65</LA_Inactive>
  <LA_LE_FK_Id>3</LA_LE_FK_Id>
  <LA_Lane_Id>sample string 2</LA_Lane_Id>
  <LA_Long_Discription>sample string 5</LA_Long_Discription>
  <LA_Short_Description>sample string 4</LA_Short_Description>
  <LA_TS>2025-12-11T09:40:14.0030962+05:30</LA_TS>
  <LA_TS_Edited_Uid_FK>10</LA_TS_Edited_Uid_FK>
  <LA_TS_LastEdited>2025-12-11T09:40:14.0030962+05:30</LA_TS_LastEdited>
  <LA_UserId_FK>6</LA_UserId_FK>
  <LevelsSpeedSearch xmlns:d2p1="http://schemas.datacontract.org/2004/07/iParkWebAPI.Models.SpeedSearch">
    <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>
  </LevelsSpeedSearch>
  <LocationsInLanesSpeedSearch 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>
  </LocationsInLanesSpeedSearch>
  <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>
</LanesModels>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.