POST api/Pricing

Request Information

URI Parameters

None.

Body Parameters

PricingModels
NameDescriptionTypeAdditional information
PR_Id

integer

None.

PR_Price_Id

string

None.

VehicleTypeSpeedSearch

VehicleTypeSpeedSearchModels

None.

PricingDetailsList

Collection of PricingDetailsModels

None.

LocationSpeedSearch

LocationSpeedSearchModels

None.

PR_LO_Id_FK

integer

None.

PR_From_Date

date

None.

PR_To_Date

date

None.

PR_UserId_FK

integer

None.

PR_TS

date

None.

PR_Inactive

character

None.

PR_TS_LastEdited

date

None.

PR_TS_Edited_Uid_FK

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "PR_Id": 1,
  "PR_Price_Id": "sample string 2",
  "VehicleTypeSpeedSearch": {
    "VT_Id": 1,
    "VT_VehicleType": "sample string 2",
    "VT_Type_Id": "sample string 3"
  },
  "PricingDetailsList": [
    {
      "PRD_Id": 1,
      "PRD_PR_FK_Id": 2,
      "PRD_From_Hours": 3.0,
      "PRD_To_Hours": 4.0,
      "PRD_Amount": 5.0,
      "PRD_UserId_FK": 6,
      "PRD_TS": "2025-12-11T09:44:14.6877675+05:30",
      "PRD_Inactive": "A",
      "PRD_TS_LastEdited": "2025-12-11T09:44:14.6877675+05:30",
      "PRD_TS_Edited_Uid_FK": 10
    },
    {
      "PRD_Id": 1,
      "PRD_PR_FK_Id": 2,
      "PRD_From_Hours": 3.0,
      "PRD_To_Hours": 4.0,
      "PRD_Amount": 5.0,
      "PRD_UserId_FK": 6,
      "PRD_TS": "2025-12-11T09:44:14.6877675+05:30",
      "PRD_Inactive": "A",
      "PRD_TS_LastEdited": "2025-12-11T09:44:14.6877675+05:30",
      "PRD_TS_Edited_Uid_FK": 10
    }
  ],
  "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
    }
  },
  "PR_LO_Id_FK": 3,
  "PR_From_Date": "2025-12-11T09:44:14.6877675+05:30",
  "PR_To_Date": "2025-12-11T09:44:14.6877675+05:30",
  "PR_UserId_FK": 6,
  "PR_TS": "2025-12-11T09:44:14.6877675+05:30",
  "PR_Inactive": "A",
  "PR_TS_LastEdited": "2025-12-11T09:44:14.6877675+05:30",
  "PR_TS_Edited_Uid_FK": 10
}

application/xml, text/xml

Sample:
<PricingModels 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>
  <PR_From_Date>2025-12-11T09:44:14.6877675+05:30</PR_From_Date>
  <PR_Id>1</PR_Id>
  <PR_Inactive>65</PR_Inactive>
  <PR_LO_Id_FK>3</PR_LO_Id_FK>
  <PR_Price_Id>sample string 2</PR_Price_Id>
  <PR_TS>2025-12-11T09:44:14.6877675+05:30</PR_TS>
  <PR_TS_Edited_Uid_FK>10</PR_TS_Edited_Uid_FK>
  <PR_TS_LastEdited>2025-12-11T09:44:14.6877675+05:30</PR_TS_LastEdited>
  <PR_To_Date>2025-12-11T09:44:14.6877675+05:30</PR_To_Date>
  <PR_UserId_FK>6</PR_UserId_FK>
  <PricingDetailsList>
    <PricingDetailsModels>
      <PRD_Amount>5</PRD_Amount>
      <PRD_From_Hours>3</PRD_From_Hours>
      <PRD_Id>1</PRD_Id>
      <PRD_Inactive>65</PRD_Inactive>
      <PRD_PR_FK_Id>2</PRD_PR_FK_Id>
      <PRD_TS>2025-12-11T09:44:14.6877675+05:30</PRD_TS>
      <PRD_TS_Edited_Uid_FK>10</PRD_TS_Edited_Uid_FK>
      <PRD_TS_LastEdited>2025-12-11T09:44:14.6877675+05:30</PRD_TS_LastEdited>
      <PRD_To_Hours>4</PRD_To_Hours>
      <PRD_UserId_FK>6</PRD_UserId_FK>
    </PricingDetailsModels>
    <PricingDetailsModels>
      <PRD_Amount>5</PRD_Amount>
      <PRD_From_Hours>3</PRD_From_Hours>
      <PRD_Id>1</PRD_Id>
      <PRD_Inactive>65</PRD_Inactive>
      <PRD_PR_FK_Id>2</PRD_PR_FK_Id>
      <PRD_TS>2025-12-11T09:44:14.6877675+05:30</PRD_TS>
      <PRD_TS_Edited_Uid_FK>10</PRD_TS_Edited_Uid_FK>
      <PRD_TS_LastEdited>2025-12-11T09:44:14.6877675+05:30</PRD_TS_LastEdited>
      <PRD_To_Hours>4</PRD_To_Hours>
      <PRD_UserId_FK>6</PRD_UserId_FK>
    </PricingDetailsModels>
  </PricingDetailsList>
  <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>
</PricingModels>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.