PUT api/CustomerAccount/Update/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

CustomerAccountUpdateModels
NameDescriptionTypeAdditional information
R_Name

string

Required

Max length: 50

R_Mobile

integer

Required

R_Address

string

Required

Max length: 140

R_Pincode

integer

Required

R_TS_Edited_Uid_FK

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "R_Name": "sample string 1",
  "R_Mobile": 2,
  "R_Address": "sample string 3",
  "R_Pincode": 4,
  "R_TS_Edited_Uid_FK": 5
}

application/xml, text/xml

Sample:
<CustomerAccountUpdateModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models">
  <R_Address>sample string 3</R_Address>
  <R_Mobile>2</R_Mobile>
  <R_Name>sample string 1</R_Name>
  <R_Pincode>4</R_Pincode>
  <R_TS_Edited_Uid_FK>5</R_TS_Edited_Uid_FK>
</CustomerAccountUpdateModels>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.