POST api/Starwars/UpdateTalentTreeTalent

Request Information

URI Parameters

None.

Body Parameters

TalentTreeTalent
NameDescriptionTypeAdditional information
TalentTreeTalentID

integer

None.

TalentTreeID

integer

None.

TalentInfoID

integer

None.

Row

integer

None.

Column

integer

None.

ConnectedTop

boolean

None.

ConnectedRight

boolean

None.

ConnectedBottom

boolean

None.

ConnectedLeft

boolean

None.

Cost

integer

None.

IsPurchased

boolean

None.

Width

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "talentTreeTalentID": 1,
  "talentTreeID": 2,
  "talentInfoID": 1,
  "row": 3,
  "column": 4,
  "connectedTop": true,
  "connectedRight": true,
  "connectedBottom": true,
  "connectedLeft": true,
  "cost": 9,
  "isPurchased": true,
  "width": 11
}

text/html

Sample:
{"talentTreeTalentID":1,"talentTreeID":2,"talentInfoID":1,"row":3,"column":4,"connectedTop":true,"connectedRight":true,"connectedBottom":true,"connectedLeft":true,"cost":9,"isPurchased":true,"width":11}

application/xml, text/xml

Sample:
<TalentTreeTalent xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RPGAnthology.WebAPI.Models">
  <Column>4</Column>
  <ConnectedBottom>true</ConnectedBottom>
  <ConnectedLeft>true</ConnectedLeft>
  <ConnectedRight>true</ConnectedRight>
  <ConnectedTop>true</ConnectedTop>
  <Cost>9</Cost>
  <IsPurchased>true</IsPurchased>
  <Row>3</Row>
  <TalentInfoID>1</TalentInfoID>
  <TalentTreeID>2</TalentTreeID>
  <TalentTreeTalentID>1</TalentTreeTalentID>
  <Width>11</Width>
</TalentTreeTalent>

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

Response Information

Resource Description

TalentDto
NameDescriptionTypeAdditional information
TalentTreeTalentID

integer

None.

TalentInfoID

integer

None.

Name

string

None.

Description

string

None.

IsActive

boolean

None.

IsRanked

boolean

None.

IsForce

boolean

None.

IsConflict

boolean

None.

Row

integer

None.

Column

integer

None.

ConnectedTop

boolean

None.

ConnectedRight

boolean

None.

ConnectedBottom

boolean

None.

ConnectedLeft

boolean

None.

Cost

integer

None.

IsPurchased

boolean

None.

Width

integer

None.

Characteristic

CharacteristicDto

None.

Response Formats

application/json, text/json

Sample:
{
  "talentTreeTalentID": 1,
  "talentInfoID": 2,
  "name": "sample string 3",
  "description": "sample string 4",
  "isActive": true,
  "isRanked": true,
  "isForce": true,
  "isConflict": true,
  "row": 9,
  "column": 10,
  "connectedTop": true,
  "connectedRight": true,
  "connectedBottom": true,
  "connectedLeft": true,
  "cost": 15,
  "isPurchased": true,
  "width": 17,
  "characteristic": {
    "characteristicID": 1,
    "characterID": 2,
    "description": "sample string 3",
    "value": 4,
    "source": "sample string 5",
    "modifierType": "sample string 6"
  }
}

text/html

Sample:
{"talentTreeTalentID":1,"talentInfoID":2,"name":"sample string 3","description":"sample string 4","isActive":true,"isRanked":true,"isForce":true,"isConflict":true,"row":9,"column":10,"connectedTop":true,"connectedRight":true,"connectedBottom":true,"connectedLeft":true,"cost":15,"isPurchased":true,"width":17,"characteristic":{"characteristicID":1,"characterID":2,"description":"sample string 3","value":4,"source":"sample string 5","modifierType":"sample string 6"}}

application/xml, text/xml

Sample:
<TalentDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RPGAnthology.WebAPI.Models.Starwars">
  <Characteristic xmlns:d2p1="http://schemas.datacontract.org/2004/07/RPGAnthology.WebAPI.Models.Global">
    <d2p1:CharacterID>2</d2p1:CharacterID>
    <d2p1:CharacteristicID>1</d2p1:CharacteristicID>
    <d2p1:Description>sample string 3</d2p1:Description>
    <d2p1:ModifierType>sample string 6</d2p1:ModifierType>
    <d2p1:Source>sample string 5</d2p1:Source>
    <d2p1:Value>4</d2p1:Value>
  </Characteristic>
  <Column>10</Column>
  <ConnectedBottom>true</ConnectedBottom>
  <ConnectedLeft>true</ConnectedLeft>
  <ConnectedRight>true</ConnectedRight>
  <ConnectedTop>true</ConnectedTop>
  <Cost>15</Cost>
  <Description>sample string 4</Description>
  <IsActive>true</IsActive>
  <IsConflict>true</IsConflict>
  <IsForce>true</IsForce>
  <IsPurchased>true</IsPurchased>
  <IsRanked>true</IsRanked>
  <Name>sample string 3</Name>
  <Row>9</Row>
  <TalentInfoID>2</TalentInfoID>
  <TalentTreeTalentID>1</TalentTreeTalentID>
  <Width>17</Width>
</TalentDto>