POST api/Character/AddCharacterCharacteristic
Request Information
URI Parameters
None.
Body Parameters
CharacterCharacteristic| Name | Description | Type | Additional information |
|---|---|---|---|
| CharacterCharacteristicID | integer |
None. |
|
| CharacterID | integer |
None. |
|
| CharacteristicID | integer |
None. |
|
| Value | integer |
None. |
|
| ModifierType | string |
None. |
|
| Source | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"characterCharacteristicID": 1,
"characterID": 2,
"characteristicID": 3,
"value": 1,
"modifierType": "sample string 4",
"source": "sample string 5"
}
text/html
Sample:
{"characterCharacteristicID":1,"characterID":2,"characteristicID":3,"value":1,"modifierType":"sample string 4","source":"sample string 5"}
application/xml, text/xml
Sample:
<CharacterCharacteristic xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RPGAnthology.WebAPI.Models"> <CharacterCharacteristicID>1</CharacterCharacteristicID> <CharacterID>2</CharacterID> <CharacteristicID>3</CharacteristicID> <ModifierType>sample string 4</ModifierType> <Source>sample string 5</Source> <Value>1</Value> </CharacterCharacteristic>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
CharacterCharacteristic| Name | Description | Type | Additional information |
|---|---|---|---|
| CharacterCharacteristicID | integer |
None. |
|
| CharacterID | integer |
None. |
|
| CharacteristicID | integer |
None. |
|
| Value | integer |
None. |
|
| ModifierType | string |
None. |
|
| Source | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"characterCharacteristicID": 1,
"characterID": 2,
"characteristicID": 3,
"value": 1,
"modifierType": "sample string 4",
"source": "sample string 5"
}
text/html
Sample:
{"characterCharacteristicID":1,"characterID":2,"characteristicID":3,"value":1,"modifierType":"sample string 4","source":"sample string 5"}
application/xml, text/xml
Sample:
<CharacterCharacteristic xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RPGAnthology.WebAPI.Models"> <CharacterCharacteristicID>1</CharacterCharacteristicID> <CharacterID>2</CharacterID> <CharacteristicID>3</CharacteristicID> <ModifierType>sample string 4</ModifierType> <Source>sample string 5</Source> <Value>1</Value> </CharacterCharacteristic>