POST api/modules/dossierportal/users/current/entityinstance/entityobjectlistinstances

Adds an EntityObjectListInstance to the EntityInstance related to the current User (through the DossierPortal module).



Request Information

URI Parameters

None.



Body Parameters

An object describing the EntityObjectListInstance to create.

CreateEntityObjectListInstanceViewModel
NameDescriptionTypeAdditional information
EntityObjectListID

integer

None.

EntityInstanceID

integer

None.

EntityObjectListAttributeValues

Collection of EntityObjectListAttributeValue

None.

ObjectRelationInfo

ObjectRelationInformation

None.

Request Formats

application/json, text/json

Sample:
{
  "EntityObjectListID": 1,
  "EntityInstanceID": 2,
  "EntityObjectListAttributeValues": [
    {
      "AttributeID": 1,
      "Value": "sample string 2",
      "RecurringDateSpecification": {
        "DayOfRecurrance_Id": 1,
        "NthDayOfRecurrance_Id": 1,
        "RecurringUnit_Id": 1,
        "UnitInterval": 2
      }
    },
    {
      "AttributeID": 1,
      "Value": "sample string 2",
      "RecurringDateSpecification": {
        "DayOfRecurrance_Id": 1,
        "NthDayOfRecurrance_Id": 1,
        "RecurringUnit_Id": 1,
        "UnitInterval": 2
      }
    }
  ],
  "ObjectRelationInfo": {
    "RelatedEntityInstanceID": 1,
    "RelatedObjectAtrributeID": 2
  }
}

application/xml, text/xml

Sample:
<CreateEntityObjectListInstanceViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VobeSoft.Models.ViewModels">
  <EntityInstanceID>2</EntityInstanceID>
  <EntityObjectListAttributeValues>
    <EntityObjectListAttributeValue>
      <AttributeID>1</AttributeID>
      <RecurringDateSpecification>
        <DayOfRecurrance_Id>1</DayOfRecurrance_Id>
        <NthDayOfRecurrance_Id>1</NthDayOfRecurrance_Id>
        <RecurringUnit_Id>1</RecurringUnit_Id>
        <UnitInterval>2</UnitInterval>
      </RecurringDateSpecification>
      <Value>sample string 2</Value>
    </EntityObjectListAttributeValue>
    <EntityObjectListAttributeValue>
      <AttributeID>1</AttributeID>
      <RecurringDateSpecification>
        <DayOfRecurrance_Id>1</DayOfRecurrance_Id>
        <NthDayOfRecurrance_Id>1</NthDayOfRecurrance_Id>
        <RecurringUnit_Id>1</RecurringUnit_Id>
        <UnitInterval>2</UnitInterval>
      </RecurringDateSpecification>
      <Value>sample string 2</Value>
    </EntityObjectListAttributeValue>
  </EntityObjectListAttributeValues>
  <EntityObjectListID>1</EntityObjectListID>
  <ObjectRelationInfo>
    <RelatedEntityInstanceID>1</RelatedEntityInstanceID>
    <RelatedObjectAtrributeID>2</RelatedObjectAtrributeID>
  </ObjectRelationInfo>
</CreateEntityObjectListInstanceViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.



Response Information

Resource Description

A task.

None.