POST api/Starwars/PurchaseCharacterTalent

Request Information

URI Parameters

None.

Body Parameters

SelectedTalent
NameDescriptionTypeAdditional information
CharacterTalentTreeID

integer

None.

Row

integer

None.

Column

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "characterTalentTreeID": 1,
  "row": 2,
  "column": 3
}

text/html

Sample:
{"characterTalentTreeID":1,"row":2,"column":3}

application/xml, text/xml

Sample:
<SelectedTalent xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RPGAnthology.WebAPI.Models">
  <CharacterTalentTreeID>1</CharacterTalentTreeID>
  <Column>3</Column>
  <Row>2</Row>
</SelectedTalent>

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

Response Information

Resource Description

boolean

Response Formats

application/json, text/json, text/html

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>