POST api/admin/key/edit

Request Information

URI Parameters

None.

Body Parameters

KeyAdminEditEntity
NameDescriptionTypeAdditional information
KeyId

integer

None.

KeyAreaId

integer

None.

KeyData

string

None.

KeyDataAdmin

string

None.

KeyIcon

string

None.

KeyOrderBy

integer

None.

DefaultValueDataTypeId

integer

None.

Discontinue

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "KeyId": 1,
  "KeyAreaId": 2,
  "KeyData": "sample string 3",
  "KeyDataAdmin": "sample string 4",
  "KeyIcon": "sample string 5",
  "KeyOrderBy": 6,
  "DefaultValueDataTypeId": 7,
  "Discontinue": true
}

application/xml, text/xml

Sample:
<KeyAdminEditEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ThemeParkEntities.Key">
  <DefaultValueDataTypeId>7</DefaultValueDataTypeId>
  <Discontinue>true</Discontinue>
  <KeyAreaId>2</KeyAreaId>
  <KeyData>sample string 3</KeyData>
  <KeyDataAdmin>sample string 4</KeyDataAdmin>
  <KeyIcon>sample string 5</KeyIcon>
  <KeyId>1</KeyId>
  <KeyOrderBy>6</KeyOrderBy>
</KeyAdminEditEntity>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.