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

Request Information

URI Parameters

NameDescriptionTypeAdditional information
textType

integer

Required

tournamentId

integer

None.

Body Parameters

None.

Response Information

Resource Description

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": "2017-03-16T21:29:03.2242951+00:00",
    "Username": "sample string 2",
    "Header": "sample string 3",
    "Body": null,
    "Links": []
  },
  {
    "TextId": 1,
    "Type": {
      "Id": 1,
      "Name": "sample string 2"
    },
    "TimeStamp": "2017-03-16T21:29:03.2242951+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.