PUT object-ontologies/{type}/{id}

Updates the relation between the object and the ontology item.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
type

The ontology type.

integer

Required

id

The identifier of the object ontology 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

None.

Type

integer

None.

Object

BaseViewModel

None.

OntologyItem

BaseViewModel

None.

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

None.

Type

integer

None.

Object

BaseViewModel

None.

OntologyItem

BaseViewModel

None.

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