POST object-links

Creates a link between the provided objects.

Request Information

URI Parameters

None.

Body Parameters

The model containing the information to create the link.

ObjectLinkViewModel
NameDescriptionTypeAdditional information
Id

The identifier of the link.

string

None.

Description

The description of the link.

string

None.

Object1

The first object.

BaseViewModel

None.

Object2

The second object.

BaseViewModel

None.

SelfUrl

The URL to the resource.

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": "sample string 1",
  "description": "sample string 2",
  "object1": {
    "selfUrl": "sample string 1"
  },
  "object2": {
    "selfUrl": "sample string 1"
  },
  "selfUrl": "sample string 3"
}

Response Information

Resource Description

ObjectLinkViewModel
NameDescriptionTypeAdditional information
Id

The identifier of the link.

string

None.

Description

The description of the link.

string

None.

Object1

The first object.

BaseViewModel

None.

Object2

The second object.

BaseViewModel

None.

SelfUrl

The URL to the resource.

string

None.

Response Formats

application/json, text/json

Sample:
{
  "id": "sample string 1",
  "description": "sample string 2",
  "object1": {
    "selfUrl": "sample string 1"
  },
  "object2": {
    "selfUrl": "sample string 1"
  },
  "selfUrl": "sample string 3"
}