PUT api/Masters/UpdateStationsById/{Station_Id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Station_Id

integer

Required

Body Parameters

StationsModel
NameDescriptionTypeAdditional information
Station_Id

integer

None.

Station_Recordofficename

string

None.

Station_Email

string

None.

Station_PhoneNo

integer

None.

Station_LandLineNo

integer

None.

Station_Address

string

None.

Station_Pincode

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Station_Id": 1,
  "Station_Recordofficename": "sample string 2",
  "Station_Email": "sample string 3",
  "Station_PhoneNo": 1,
  "Station_LandLineNo": 1,
  "Station_Address": "sample string 4",
  "Station_Pincode": 1
}

application/xml, text/xml

Sample:
<StationsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KHBWebApi.Models">
  <Station_Address>sample string 4</Station_Address>
  <Station_Email>sample string 3</Station_Email>
  <Station_Id>1</Station_Id>
  <Station_LandLineNo>1</Station_LandLineNo>
  <Station_PhoneNo>1</Station_PhoneNo>
  <Station_Pincode>1</Station_Pincode>
  <Station_Recordofficename>sample string 2</Station_Recordofficename>
</StationsModel>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.