PUT api/Taluk/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

TalukModels
NameDescriptionTypeAdditional information
TA_Id

integer

None.

TA_TalukId

string

None.

StateSpeedSearch

StateSpeedSearchModels

Required

DistrictSpeedSearch

DistrictSpeedSearchModels

None.

TA_Taluk

string

Required

Max length: -1

TA_UserId_FK

integer

None.

TA_TS

date

None.

TA_Inactive

character

None.

TA_TS_LastEdited

date

None.

TA_TS_Edited_Uid_FK

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "TA_Id": 1,
  "TA_TalukId": "sample string 2",
  "StateSpeedSearch": {
    "ST_Id": 1,
    "ST_StateID": "sample string 2",
    "ST_StateName": "sample string 3"
  },
  "DistrictSpeedSearch": {
    "DI_Id": 1,
    "DI_DistrictId": "sample string 2",
    "DI_District": "sample string 3"
  },
  "TA_Taluk": "sample string 3",
  "TA_UserId_FK": 4,
  "TA_TS": "2019-10-23T03:02:59.1419171+05:30",
  "TA_Inactive": "A",
  "TA_TS_LastEdited": "2019-10-23T03:02:59.1419171+05:30",
  "TA_TS_Edited_Uid_FK": 8
}

application/xml, text/xml

Sample:
<TalukModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models">
  <DistrictSpeedSearch xmlns:d2p1="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models.SpeedSearch">
    <d2p1:DI_District>sample string 3</d2p1:DI_District>
    <d2p1:DI_DistrictId>sample string 2</d2p1:DI_DistrictId>
    <d2p1:DI_Id>1</d2p1:DI_Id>
  </DistrictSpeedSearch>
  <StateSpeedSearch xmlns:d2p1="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models.SpeedSearch">
    <d2p1:ST_Id>1</d2p1:ST_Id>
    <d2p1:ST_StateID>sample string 2</d2p1:ST_StateID>
    <d2p1:ST_StateName>sample string 3</d2p1:ST_StateName>
  </StateSpeedSearch>
  <TA_Id>1</TA_Id>
  <TA_Inactive>65</TA_Inactive>
  <TA_TS>2019-10-23T03:02:59.1419171+05:30</TA_TS>
  <TA_TS_Edited_Uid_FK>8</TA_TS_Edited_Uid_FK>
  <TA_TS_LastEdited>2019-10-23T03:02:59.1419171+05:30</TA_TS_LastEdited>
  <TA_Taluk>sample string 3</TA_Taluk>
  <TA_TalukId>sample string 2</TA_TalukId>
  <TA_UserId_FK>4</TA_UserId_FK>
</TalukModels>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.