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

string

None.

Description

string

None.

Object1

BaseViewModel

Settable

Object2

BaseViewModel

Settable

SelfUrl

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

string

None.

Description

string

None.

Object1

BaseViewModel

Settable

Object2

BaseViewModel

Settable

SelfUrl

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"
}