GET api/Texts?textType={textType}&tournamentId={tournamentId}

Gets texts of a specified type.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
textType

The text type. Please see for valid values. Any championship id is also a valid input

integer

Required

tournamentId

The tournament id in the case that this is a championship that we wish to retrieve texts for.

integer

None.

Body Parameters

None.

Response Information

Resource Description

A list of records

Collection of Text
NameDescriptionTypeAdditional information
TextId

Gets or sets the internal id for the text.

integer

None.

Type

Gets or sets the page id for the text. This can either be a tournamentId or ...

TextType

None.

TimeStamp

Gets or sets the time stamp of the item.

date

Data type: DateTime

Username

Gets or sets the username of the person that entered the text.

string

None.

Header

Gets or sets the header of the text item.

string

Required

Body

Gets or sets the body of the text.

HtmlString

None.

Links

Gets the relation links.

Collection of EntityLink

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "TextId": 1,
    "Type": {
      "Id": 1,
      "Name": "sample string 2"
    },
    "TimeStamp": "2020-07-07T18:15:07.7090632+00:00",
    "Username": "sample string 2",
    "Header": "sample string 3",
    "Body": null,
    "Links": []
  },
  {
    "TextId": 1,
    "Type": {
      "Id": 1,
      "Name": "sample string 2"
    },
    "TimeStamp": "2020-07-07T18:15:07.7090632+00:00",
    "Username": "sample string 2",
    "Header": "sample string 3",
    "Body": null,
    "Links": []
  }
]

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.