POST object-ontologies

Creates a relation between the object and the ontology item.

Request Information

URI Parameters

None.

Body Parameters

The model containing the information to create the relation between an object and an ontology item.

ObjectOntologyItemViewModel
NameDescriptionTypeAdditional information
Id

string

None.

Position

integer

Settable

Type

integer

None.

Object

BaseViewModel

Settable

OntologyItem

BaseViewModel

Settable

SelfUrl

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": "sample string 1",
  "position": 2,
  "type": 3,
  "object": {
    "selfUrl": "sample string 1"
  },
  "ontologyItem": {
    "selfUrl": "sample string 1"
  },
  "selfUrl": "sample string 4"
}

Response Information

Resource Description

ObjectOntologyItemViewModel
NameDescriptionTypeAdditional information
Id

string

None.

Position

integer

Settable

Type

integer

None.

Object

BaseViewModel

Settable

OntologyItem

BaseViewModel

Settable

SelfUrl

string

None.

Response Formats

application/json, text/json

Sample:
{
  "id": "sample string 1",
  "position": 2,
  "type": 3,
  "object": {
    "selfUrl": "sample string 1"
  },
  "ontologyItem": {
    "selfUrl": "sample string 1"
  },
  "selfUrl": "sample string 4"
}