PUT api/modules/dossierportal/users/current/entityinstance/entityobjectlistinstances/{entityObjectListInstanceId}

Updates a specific EntityObjectListInstance belonging to the EntityInstance related to the current User (through the DossierPortal module).



Request Information

URI Parameters

NameDescriptionTypeAdditional information
entityObjectListInstanceId

The id of the EntityObjectListInstance.

integer

Required



Body Parameters

A model describing the changes to the EntityObjectListInstance.

UpdateEntityObjectListInstanceViewModel
NameDescriptionTypeAdditional information
EntityInstanceID

integer

None.

EntityObjectListID

integer

None.

EntityObjectListInstanceID

integer

None.

EntityObjectListChanges

Collection of EntityObjectListChange

None.

Request Formats

application/json, text/json

Sample:
{
  "EntityInstanceID": 1,
  "EntityObjectListID": 2,
  "EntityObjectListInstanceID": 3,
  "EntityObjectListChanges": [
    {
      "ChangeValue": "sample string 1",
      "AttributeID": 2,
      "RecurringDateSpecification": {
        "DayOfRecurrance_Id": 1,
        "NthDayOfRecurrance_Id": 1,
        "RecurringUnit_Id": 1,
        "UnitInterval": 2
      }
    },
    {
      "ChangeValue": "sample string 1",
      "AttributeID": 2,
      "RecurringDateSpecification": {
        "DayOfRecurrance_Id": 1,
        "NthDayOfRecurrance_Id": 1,
        "RecurringUnit_Id": 1,
        "UnitInterval": 2
      }
    }
  ]
}

application/xml, text/xml

Sample:
<UpdateEntityObjectListInstanceViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VobeSoft.Models.ViewModels">
  <EntityInstanceID>1</EntityInstanceID>
  <EntityObjectListChanges>
    <EntityObjectListChange>
      <AttributeID>2</AttributeID>
      <ChangeValue>sample string 1</ChangeValue>
      <RecurringDateSpecification>
        <DayOfRecurrance_Id>1</DayOfRecurrance_Id>
        <NthDayOfRecurrance_Id>1</NthDayOfRecurrance_Id>
        <RecurringUnit_Id>1</RecurringUnit_Id>
        <UnitInterval>2</UnitInterval>
      </RecurringDateSpecification>
    </EntityObjectListChange>
    <EntityObjectListChange>
      <AttributeID>2</AttributeID>
      <ChangeValue>sample string 1</ChangeValue>
      <RecurringDateSpecification>
        <DayOfRecurrance_Id>1</DayOfRecurrance_Id>
        <NthDayOfRecurrance_Id>1</NthDayOfRecurrance_Id>
        <RecurringUnit_Id>1</RecurringUnit_Id>
        <UnitInterval>2</UnitInterval>
      </RecurringDateSpecification>
    </EntityObjectListChange>
  </EntityObjectListChanges>
  <EntityObjectListID>2</EntityObjectListID>
  <EntityObjectListInstanceID>3</EntityObjectListInstanceID>
</UpdateEntityObjectListInstanceViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.



Response Information

Resource Description

The updated EntityObjectListInstance.

EntityObjectListInstance

NameDescriptionTypeAdditional information
ID

integer

None.

EntityCategoryID

integer

None.

EntityInstanceID

integer

None.

EntityObjectListValues

Collection of EntityObjectListInstance_EntityAttribute

None.

Response Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "EntityCategoryID": 2,
  "EntityInstanceID": 3,
  "EntityObjectListValues": null
}

application/xml, text/xml

Sample:
<EntityObjectListInstance xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VobeSite_.Domain">
  <EntityCategoryID>2</EntityCategoryID>
  <EntityInstanceID>3</EntityInstanceID>
  <EntityObjectListValues i:nil="true" />
  <ID>1</ID>
</EntityObjectListInstance>