POST api/organizations/current/users/current/entitycategories

Creates a new EntityCategory.



Request Information

URI Parameters

None.



Body Parameters

A model representing the EntityCategory to create.

CreateEntityCategoryViewModel
NameDescriptionTypeAdditional information
EntityDefinitionId

integer

None.

IsList

boolean

None.

Name

string

None.

Order

integer

None.

IsReadOnly

boolean

None.

EntityCategoryContextId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "EntityDefinitionId": 1,
  "IsList": true,
  "Name": "sample string 3",
  "Order": 4,
  "IsReadOnly": true,
  "EntityCategoryContextId": 1
}

application/xml, text/xml

Sample:
<CreateEntityCategoryViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VobeSoft.Models.DataModels">
  <EntityCategoryContextId>1</EntityCategoryContextId>
  <EntityDefinitionId>1</EntityDefinitionId>
  <IsList>true</IsList>
  <IsReadOnly>true</IsReadOnly>
  <Name>sample string 3</Name>
  <Order>4</Order>
</CreateEntityCategoryViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.



Response Information

Resource Description

A ReadEntityCategoryViewModel representing the created EntityCategory.

ReadEntityCategoryViewModel

NameDescriptionTypeAdditional information
EntityAttributes

Collection of ReadEntityAttributeViewModel

None.

Id

integer

None.

IsAppendable

boolean

None.

IsList

boolean

None.

IsReadOnly

boolean

None.

Name

string

None.

Order

integer

None.