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

integer

None.

Type

TextType

None.

TimeStamp

date

Data type: DateTime

Username

string

None.

Header

string

Required

Body

HtmlString

None.

Links

Collection of EntityLink

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "TextId": 1,
    "Type": {
      "Id": 1,
      "Name": "sample string 2"
    },
    "TimeStamp": "2019-09-20T17:17:31.2762661+00:00",
    "Username": "sample string 2",
    "Header": "sample string 3",
    "Body": null,
    "Links": []
  },
  {
    "TextId": 1,
    "Type": {
      "Id": 1,
      "Name": "sample string 2"
    },
    "TimeStamp": "2019-09-20T17:17:31.2762661+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.