POST api/users/current/minimizedentities

Adds a new User_MinimizedEntity for the current User.



Request Information

URI Parameters

None.



Body Parameters

A model describing the User_MinimizedEntity to add.

PostUserMinimizedEntityViewModel
NameDescriptionTypeAdditional information
EntityInstanceId

integer

None.

EntityObjectListInstanceId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "EntityInstanceId": 1,
  "EntityObjectListInstanceId": 1
}

application/xml, text/xml

Sample:
<PostUserMinimizedEntityViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VobeSoft.Models.ViewModels">
  <EntityInstanceId>1</EntityInstanceId>
  <EntityObjectListInstanceId>1</EntityObjectListInstanceId>
</PostUserMinimizedEntityViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.



Response Information

Resource Description

A ReadUserMinimizedEntityViewModel representing the added User_MinimizedEntity.

ReadUserMinimizedEntityViewModel

NameDescriptionTypeAdditional information
EntityInstanceId

integer

None.

EntityObjectListInstanceId

integer

None.

IsEntityInstance

boolean

None.

Text

string

None.

Response Formats

application/json, text/json

Sample:
{
  "EntityInstanceId": 1,
  "EntityObjectListInstanceId": 1,
  "IsEntityInstance": true,
  "Text": "sample string 2"
}

application/xml, text/xml

Sample:
<ReadUserMinimizedEntityViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VobeSite_.Controllers">
  <EntityInstanceId>1</EntityInstanceId>
  <EntityObjectListInstanceId>1</EntityObjectListInstanceId>
  <IsEntityInstance>true</IsEntityInstance>
  <Text>sample string 2</Text>
</ReadUserMinimizedEntityViewModel>