POST api/organizations/current/users/current/entitydefinitions

Create a new EntityDefinition.



Request Information

URI Parameters

None.



Body Parameters

A model representing EntityDefinition to create.

PostEntityDefinitionViewModel
NameDescriptionTypeAdditional information
ModuleIds

Collection of integer

None.

Name

string

None.

Request Formats

application/json, text/json

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

application/xml, text/xml

Sample:
<PostEntityDefinitionViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VobeSoft.Models.ViewModels">
  <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 1</Name>
</PostEntityDefinitionViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.



Response Information

Resource Description

A ReadEntityDefinitionViewModel representing the created EntityDefinition.

ReadEntityDefinitionViewModel

NameDescriptionTypeAdditional information
EntityCategories

Collection of ReadEntityCategoryViewModel

None.

RelatedModuleIds

Collection of integer

None.

Id

integer

None.

Name

string

None.