PUT object-ontologies/{id}
Updates the relation between the object and the ontology item.
Request Information
URI Parameters
| Name | Description | Type | Additional 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| Name | Description | Type | Additional 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| Name | Description | Type | Additional 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"
}