PUT objects/{id}?include={include}

Updates the object with the specified identifier. The request body must contain an ObjectViewModel or a derivation of it.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The identifier of the object.

integer

Required

include

Defines the properties to be included (separated by comma).

string

None.

Body Parameters

None.

Response Information

Resource Description

ObjectViewModel
NameDescriptionTypeAdditional information
Id

The identifier of the object.

integer

None.

CreatedDate

The date of creation.

string

None.

Name

The name of the object.

string

None.

Description

The description of the object.

string

None.

OntologyCount

The ontology count of the object.

integer

None.

Type

The type of the object.

ObjectTypeViewModel

None.

DownloadUrl

The URL to download the object.

string

None.

License

The license of the object.

BaseViewModel

None.

Files

The files of the object.

IGenericPaginatedListResponseViewModelOfBaseViewModel

None.

LinkedObjects

The objects linked with the object.

IGenericPaginatedListResponseViewModelOfBaseViewModel

None.

LinkedObjectRelations

The relations of objects linked with the object.

IGenericPaginatedListResponseViewModelOfBaseViewModel

None.

OntologyItems

The ontology items associated with the object.

IGenericPaginatedListResponseViewModelOfBaseViewModel

None.

OntologyItemRelations

The relations of ontology items associated with the object.

IGenericPaginatedListResponseViewModelOfBaseViewModel

None.

ObjectPreviews

The preview images of the object.

Collection of BaseViewModel

None.

ObjectGroupRights

The group rights associated with the object.

Collection of BaseViewModel

None.

ObjectUserRights

The user rights associated with the object.

Collection of BaseViewModel

None.

SelfUrl

The URL to the resource.

string

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "createdDate": "sample string 2",
  "name": "sample string 3",
  "description": "sample string 4",
  "ontologyCount": 5,
  "type": {
    "name": "sample string 1",
    "displayName": "sample string 2",
    "displayNameShort": "sample string 3",
    "selfUrl": "sample string 4"
  },
  "downloadUrl": "sample string 6",
  "license": {
    "selfUrl": "sample string 1"
  },
  "files": null,
  "linkedObjects": null,
  "linkedObjectRelations": null,
  "ontologyItems": null,
  "ontologyItemRelations": null,
  "objectPreviews": [
    {
      "selfUrl": "sample string 1"
    },
    {
      "selfUrl": "sample string 1"
    }
  ],
  "objectGroupRights": [
    {
      "selfUrl": "sample string 1"
    },
    {
      "selfUrl": "sample string 1"
    }
  ],
  "objectUserRights": [
    {
      "selfUrl": "sample string 1"
    },
    {
      "selfUrl": "sample string 1"
    }
  ],
  "selfUrl": "sample string 7"
}