PUT api/BaseAction/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

m_UserAction
NameDescriptionTypeAdditional information
ActKey

string

Required

String length: inclusive between 0 and 45

ActName

string

Required

String length: inclusive between 0 and 50

ActUrl

string

Required

String length: inclusive between 0 and 200

ActDetail

string

String length: inclusive between 0 and 200

ActDefaultAccess

string

String length: inclusive between 0 and 4

Request Formats

application/json, text/json

Sample:
{
  "ActKey": "sample string 1",
  "ActName": "sample string 2",
  "ActUrl": "sample string 3",
  "ActDetail": "sample string 4",
  "ActDefaultAccess": "sample string 5"
}

application/xml, text/xml

Sample:
<m_UserAction xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MRP.WebAPI.Models.Permission">
  <ActDefaultAccess>sample string 5</ActDefaultAccess>
  <ActDetail>sample string 4</ActDetail>
  <ActKey>sample string 1</ActKey>
  <ActName>sample string 2</ActName>
  <ActUrl>sample string 3</ActUrl>
</m_UserAction>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.