PUT api/organizations/current/users/current/entitydefinitions/{entityDefinitionId}

Updates a specific EntityDefinition.



Request Information

URI Parameters

NameDescriptionTypeAdditional information
entityDefinitionId

The id of the EntityDefinition to update.

integer

Required



Body Parameters

A model representing the changes to be made on the EntityDefinition.

UpdateEntityDefinitionViewModel
NameDescriptionTypeAdditional information
EntityDefinitionId

integer

None.

ModuleIds

Collection of integer

None.

Name

string

None.

Request Formats

application/json, text/json

Sample:
{
  "EntityDefinitionId": 1,
  "ModuleIds": [
    1,
    2
  ],
  "Name": "sample string 2"
}

application/xml, text/xml

Sample:
<UpdateEntityDefinitionViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VobeSoft.Models.ViewModels">
  <EntityDefinitionId>1</EntityDefinitionId>
  <ModuleIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </ModuleIds>
  <Name>sample string 2</Name>
</UpdateEntityDefinitionViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.



Response Information

Resource Description

A ReadEntityDefinitionViewModel representing the updated EntityDefinition.

ReadEntityDefinitionViewModel

NameDescriptionTypeAdditional information
EntityCategories

Collection of ReadEntityCategoryViewModel

None.

RelatedModuleIds

Collection of integer

None.

Id

integer

None.

Name

string

None.