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

Gets the relation between an object and an 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

None.

Response Information

Resource Description

ObjectOntologyItemViewModel
NameDescriptionTypeAdditional information
Id

The identifier of the relation.

string

None.

Position

The position of the relation (between 0 and OntologiesCount-1 defined by the object).

integer

None.

Type

The ontology type.

integer

None.

Object

The object.

BaseViewModel

None.

OntologyItem

The ontology item.

BaseViewModel

None.

SelfUrl

The URL to the resource.

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