GET api/Links/{id}?origin={origin}

Gets a list of links for a specified entity

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The id of the entity

integer

Required

origin

The origin of the entity

LinkOrigins

Default value is Tournament

Body Parameters

None.

Response Information

Resource Description

A list of records

Collection of Link
NameDescriptionTypeAdditional information
Data

Gets or sets the data (link data).

string

None.

EntityId

Gets or sets the entity unique identifier. This may be a person, tournament or any other object that may handle links.

integer

None.

LinkId

Gets or sets the id of the link record.

integer

None.

Origin

Gets or sets the origin of the link.

LinkOrigins

None.

Text

Gets or sets the text that will displayed to the end user.

string

None.

Type

Gets or sets the type of the link

LinkTypes

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Data": "sample string 1",
    "EntityId": 2,
    "LinkId": 1,
    "Origin": 1,
    "Text": "sample string 3",
    "Type": 1
  },
  {
    "Data": "sample string 1",
    "EntityId": 2,
    "LinkId": 1,
    "Origin": 1,
    "Text": "sample string 3",
    "Type": 1
  }
]

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.