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

integer

None.

CreatedDate

string

None.

Name

string

None.

Description

string

None.

OntologyCount

integer

None.

Type

ObjectTypeViewModel

None.

DownloadUrl

string

None.

License

BaseViewModel

None.

Files

IGenericPaginatedListViewModelOfBaseViewModel

None.

LinkedObjects

IGenericPaginatedListViewModelOfBaseViewModel

None.

LinkedObjectRelations

IGenericPaginatedListViewModelOfBaseViewModel

None.

OntologyItems

IGenericPaginatedListViewModelOfBaseViewModel

None.

OntologyItemRelations

IGenericPaginatedListViewModelOfBaseViewModel

None.

ObjectPreviews

Collection of BaseViewModel

None.

ObjectGroupRights

Collection of BaseViewModel

None.

ObjectUserRights

Collection of BaseViewModel

None.

SelfUrl

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