PUT api/EnactmentsDetails/UpdateEnactments/{Enactment_id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Enactment_id

integer

Required

Body Parameters

EnactmentsModel
NameDescriptionTypeAdditional information
Enactment_id

integer

None.

Enactment_code

string

None.

Enactment_name

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Enactment_id": 1,
  "Enactment_code": "sample string 2",
  "Enactment_name": "sample string 3"
}

application/xml, text/xml

Sample:
<EnactmentsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KHBWebApi.Models">
  <Enactment_code>sample string 2</Enactment_code>
  <Enactment_id>1</Enactment_id>
  <Enactment_name>sample string 3</Enactment_name>
</EnactmentsModel>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.