POST api/CustomerRecharge

Request Information

URI Parameters

None.

Body Parameters

CustomerRechargeModels
NameDescriptionTypeAdditional information
RCH_Id

integer

None.

SmartCardSpeedSearch

SmartCardSpeedSearchModels

Required

RCH_Amount

decimal number

Required

RCH_UTR

string

None.

RCH_Date

date

None.

RCH_UserId_FK

integer

None.

RCH_TS

date

None.

RCH_Inactive

character

None.

RCH_TS_LastEdited

date

None.

RCH_TS_Edited_Uid_FK

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "RCH_Id": 1,
  "SmartCardSpeedSearch": {
    "SC_Id": 1,
    "SC_Smart_Card_No": "sample string 2",
    "SC_R_Id_FK": 3
  },
  "RCH_Amount": 2.0,
  "RCH_UTR": "sample string 3",
  "RCH_Date": "2025-12-11T09:37:47.2300117+05:30",
  "RCH_UserId_FK": 5,
  "RCH_TS": "2025-12-11T09:37:47.2300117+05:30",
  "RCH_Inactive": "A",
  "RCH_TS_LastEdited": "2025-12-11T09:37:47.2300117+05:30",
  "RCH_TS_Edited_Uid_FK": 9
}

application/xml, text/xml

Sample:
<CustomerRechargeModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/iParkWebAPI.Models">
  <RCH_Amount>2</RCH_Amount>
  <RCH_Date>2025-12-11T09:37:47.2300117+05:30</RCH_Date>
  <RCH_Id>1</RCH_Id>
  <RCH_Inactive>65</RCH_Inactive>
  <RCH_TS>2025-12-11T09:37:47.2300117+05:30</RCH_TS>
  <RCH_TS_Edited_Uid_FK>9</RCH_TS_Edited_Uid_FK>
  <RCH_TS_LastEdited>2025-12-11T09:37:47.2300117+05:30</RCH_TS_LastEdited>
  <RCH_UTR>sample string 3</RCH_UTR>
  <RCH_UserId_FK>5</RCH_UserId_FK>
  <SmartCardSpeedSearch xmlns:d2p1="http://schemas.datacontract.org/2004/07/iParkWebAPI.Models.SpeedSearch">
    <d2p1:SC_Id>1</d2p1:SC_Id>
    <d2p1:SC_R_Id_FK>3</d2p1:SC_R_Id_FK>
    <d2p1:SC_Smart_Card_No>sample string 2</d2p1:SC_Smart_Card_No>
  </SmartCardSpeedSearch>
</CustomerRechargeModels>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.