PUT api/ProfileHistory/{ticketNo}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
ticketNo

string

Required

Body Parameters

UTRandGenerateSlotsModels
NameDescriptionTypeAdditional information
P_Id

integer

None.

SL_Id

integer

None.

P_UTR_No

string

None.

P_Ticket_Number

string

None.

P_Customer_Id_FK

integer

None.

P_Vehicle_No

string

None.

P_Reservation_DateTime

date

None.

P_Resv_From_DateTime

date

None.

SlotsDetails

SlotsSpeedSearchModels

None.

VehicleTypeSpeedSearch

VehicleTypeSpeedSearchModels

None.

Request Formats

application/json, text/json

Sample:
{
  "P_Id": 1,
  "SL_Id": 2,
  "P_UTR_No": "sample string 3",
  "P_Ticket_Number": "sample string 4",
  "P_Customer_Id_FK": 5,
  "P_Vehicle_No": "sample string 6",
  "P_Reservation_DateTime": "2025-12-11T09:44:14.4127833+05:30",
  "P_Resv_From_DateTime": "2025-12-11T09:44:14.4127833+05:30",
  "SlotsDetails": {
    "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"
      }
    }
  },
  "VehicleTypeSpeedSearch": {
    "VT_Id": 1,
    "VT_VehicleType": "sample string 2",
    "VT_Type_Id": "sample string 3"
  }
}

application/xml, text/xml

Sample:
<UTRandGenerateSlotsModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/iParkWebAPI.Models">
  <P_Customer_Id_FK>5</P_Customer_Id_FK>
  <P_Id>1</P_Id>
  <P_Reservation_DateTime>2025-12-11T09:44:14.4127833+05:30</P_Reservation_DateTime>
  <P_Resv_From_DateTime>2025-12-11T09:44:14.4127833+05:30</P_Resv_From_DateTime>
  <P_Ticket_Number>sample string 4</P_Ticket_Number>
  <P_UTR_No>sample string 3</P_UTR_No>
  <P_Vehicle_No>sample string 6</P_Vehicle_No>
  <SL_Id>2</SL_Id>
  <SlotsDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/iParkWebAPI.Models.SpeedSearch">
    <d2p1:LevelsInSlotsSpeedSearch>
      <d2p1:LE_Id>1</d2p1:LE_Id>
      <d2p1:LE_Level_Id>sample string 2</d2p1:LE_Level_Id>
      <d2p1:LaneInSlotsSpeedSearch>
        <d2p1:LA_Id>1</d2p1:LA_Id>
        <d2p1:LA_Lane_Id>sample string 2</d2p1:LA_Lane_Id>
      </d2p1:LaneInSlotsSpeedSearch>
    </d2p1:LevelsInSlotsSpeedSearch>
    <d2p1:SL_Id>1</d2p1:SL_Id>
    <d2p1:SL_Slot_No>sample string 2</d2p1:SL_Slot_No>
  </SlotsDetails>
  <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>
</UTRandGenerateSlotsModels>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.