POST api/Links

Adds an entity link for a person or tournament

Request Information

URI Parameters

None.

Body Parameters

The entity link that shall be added.

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.

Request Formats

application/json, text/json

Sample:
{
  "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.

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.