POST api/Character/UpdateCharacterCharacteristic

Request Information

URI Parameters

None.

Body Parameters

CharacteristicDto
NameDescriptionTypeAdditional information
CharacteristicID

integer

None.

CharacterID

integer

None.

Description

string

None.

Value

integer

None.

Source

string

None.

ModifierType

string

None.

Request Formats

application/json, text/json

Sample:
{
  "characteristicID": 1,
  "characterID": 2,
  "description": "sample string 3",
  "value": 4,
  "source": "sample string 5",
  "modifierType": "sample string 6"
}

text/html

Sample:
{"characteristicID":1,"characterID":2,"description":"sample string 3","value":4,"source":"sample string 5","modifierType":"sample string 6"}

application/xml, text/xml

Sample:
<CharacteristicDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RPGAnthology.WebAPI.Models.Global">
  <CharacterID>2</CharacterID>
  <CharacteristicID>1</CharacteristicID>
  <Description>sample string 3</Description>
  <ModifierType>sample string 6</ModifierType>
  <Source>sample string 5</Source>
  <Value>4</Value>
</CharacteristicDto>

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

Response Information

Resource Description

CharacteristicDto
NameDescriptionTypeAdditional information
CharacteristicID

integer

None.

CharacterID

integer

None.

Description

string

None.

Value

integer

None.

Source

string

None.

ModifierType

string

None.

Response Formats

application/json, text/json

Sample:
{
  "characteristicID": 1,
  "characterID": 2,
  "description": "sample string 3",
  "value": 4,
  "source": "sample string 5",
  "modifierType": "sample string 6"
}

text/html

Sample:
{"characteristicID":1,"characterID":2,"description":"sample string 3","value":4,"source":"sample string 5","modifierType":"sample string 6"}

application/xml, text/xml

Sample:
<CharacteristicDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RPGAnthology.WebAPI.Models.Global">
  <CharacterID>2</CharacterID>
  <CharacteristicID>1</CharacteristicID>
  <Description>sample string 3</Description>
  <ModifierType>sample string 6</ModifierType>
  <Source>sample string 5</Source>
  <Value>4</Value>
</CharacteristicDto>