PUT object-ontologies/{id}

Updates the relation between the object and the ontology item.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The identifier of the relation.

string

Required

Body Parameters

The model containing the information to update 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"
}