POST api/Levels

Request Information

URI Parameters

None.

Body Parameters

LevelsModels
NameDescriptionTypeAdditional information
LE_Id

integer

None.

LocationSpeedSearch

LocationSpeedSearchModels

None.

LE_Level_Id

string

None.

LE_LO_FK_Id

integer

None.

LE_Short_Description

string

None.

LE_Long_Description

string

None.

LE_UserId_FK

integer

None.

LE_TS

date

None.

LE_Inactive

character

None.

LE_TS_LastEdited

date

None.

LE_TS_Edited_Uid_FK

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "LE_Id": 1,
  "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
    }
  },
  "LE_Level_Id": "sample string 2",
  "LE_LO_FK_Id": 3,
  "LE_Short_Description": "sample string 4",
  "LE_Long_Description": "sample string 5",
  "LE_UserId_FK": 6,
  "LE_TS": "2025-12-11T09:40:37.0203492+05:30",
  "LE_Inactive": "A",
  "LE_TS_LastEdited": "2025-12-11T09:40:37.0203492+05:30",
  "LE_TS_Edited_Uid_FK": 10
}

application/xml, text/xml

Sample:
<LevelsModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/iParkWebAPI.Models">
  <LE_Id>1</LE_Id>
  <LE_Inactive>65</LE_Inactive>
  <LE_LO_FK_Id>3</LE_LO_FK_Id>
  <LE_Level_Id>sample string 2</LE_Level_Id>
  <LE_Long_Description>sample string 5</LE_Long_Description>
  <LE_Short_Description>sample string 4</LE_Short_Description>
  <LE_TS>2025-12-11T09:40:37.0203492+05:30</LE_TS>
  <LE_TS_Edited_Uid_FK>10</LE_TS_Edited_Uid_FK>
  <LE_TS_LastEdited>2025-12-11T09:40:37.0203492+05:30</LE_TS_LastEdited>
  <LE_UserId_FK>6</LE_UserId_FK>
  <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>
</LevelsModels>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.