GET api/Tournament/{actions}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
actions

string

None.

Body Parameters

None.

Response Information

Resource Description

Collection of CourseVM
NameDescriptionTypeAdditional information
CourseId

integer

None.

CourseName

string

None.

PlayerCount

integer

None.

TeamCount

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "CourseId": 1,
    "CourseName": "sample string 2",
    "PlayerCount": 3,
    "TeamCount": 4
  },
  {
    "CourseId": 1,
    "CourseName": "sample string 2",
    "PlayerCount": 3,
    "TeamCount": 4
  }
]

application/xml, text/xml

Sample:
<ArrayOfCourseVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TournamentRegistrationAPI.Models">
  <CourseVM>
    <CourseId>1</CourseId>
    <CourseName>sample string 2</CourseName>
    <PlayerCount>3</PlayerCount>
    <TeamCount>4</TeamCount>
  </CourseVM>
  <CourseVM>
    <CourseId>1</CourseId>
    <CourseName>sample string 2</CourseName>
    <PlayerCount>3</PlayerCount>
    <TeamCount>4</TeamCount>
  </CourseVM>
</ArrayOfCourseVM>