GET api/Starwars/GetTalents

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of TalentInfo
NameDescriptionTypeAdditional information
TalentInfoID

integer

None.

Description

string

None.

IsActive

boolean

None.

IsRanked

boolean

None.

IsForce

boolean

None.

IsConflict

boolean

None.

Name

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "talentInfoID": 1,
    "description": "sample string 2",
    "isActive": true,
    "isRanked": true,
    "isForce": true,
    "isConflict": true,
    "name": "sample string 7"
  },
  {
    "talentInfoID": 1,
    "description": "sample string 2",
    "isActive": true,
    "isRanked": true,
    "isForce": true,
    "isConflict": true,
    "name": "sample string 7"
  }
]

text/html

Sample:
[{"talentInfoID":1,"description":"sample string 2","isActive":true,"isRanked":true,"isForce":true,"isConflict":true,"name":"sample string 7"},{"talentInfoID":1,"description":"sample string 2","isActive":true,"isRanked":true,"isForce":true,"isConflict":true,"name":"sample string 7"}]

application/xml, text/xml

Sample:
<ArrayOfTalentInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RPGAnthology.WebAPI.Models">
  <TalentInfo>
    <Description>sample string 2</Description>
    <IsActive>true</IsActive>
    <IsConflict>true</IsConflict>
    <IsForce>true</IsForce>
    <IsRanked>true</IsRanked>
    <Name>sample string 7</Name>
    <TalentInfoID>1</TalentInfoID>
  </TalentInfo>
  <TalentInfo>
    <Description>sample string 2</Description>
    <IsActive>true</IsActive>
    <IsConflict>true</IsConflict>
    <IsForce>true</IsForce>
    <IsRanked>true</IsRanked>
    <Name>sample string 7</Name>
    <TalentInfoID>1</TalentInfoID>
  </TalentInfo>
</ArrayOfTalentInfo>