GET api/organizations/current/archivedentityinstances?pageSize={pageSize}&pageIndex={pageIndex}

Gets a specific subset of ArchivedEntityInstances related to the currently logged in Organization.



Request Information

URI Parameters

NameDescriptionTypeAdditional information
pageSize

The amount of ArchivedEntityInstances to get.

integer

Required

pageIndex

The index describing at which point in the total set to start retrieving.

integer

Required



Body Parameters

None.



Response Information

Resource Description

Collection of ReadArchivedEntityInstanceViewModel

NameDescriptionTypeAdditional information
Date

decimal number

None.

EntityAttributeValues

Collection of ReadArchivedEntityEntityAttributeViewModel

None.

EntityDefinitionName

string

None.

Id

integer

None.

UserName

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Date": 1.1,
    "EntityAttributeValues": [
      {
        "EntityAttributeId": 1,
        "Id": 2,
        "Value": "sample string 3"
      },
      {
        "EntityAttributeId": 1,
        "Id": 2,
        "Value": "sample string 3"
      }
    ],
    "EntityDefinitionName": "sample string 2",
    "Id": 3,
    "UserName": "sample string 4"
  },
  {
    "Date": 1.1,
    "EntityAttributeValues": [
      {
        "EntityAttributeId": 1,
        "Id": 2,
        "Value": "sample string 3"
      },
      {
        "EntityAttributeId": 1,
        "Id": 2,
        "Value": "sample string 3"
      }
    ],
    "EntityDefinitionName": "sample string 2",
    "Id": 3,
    "UserName": "sample string 4"
  }
]

application/xml, text/xml

Sample:
<ArrayOfReadArchivedEntityInstanceViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VobeSoft.Models.ViewModels">
  <ReadArchivedEntityInstanceViewModel>
    <Date>1.1</Date>
    <EntityAttributeValues>
      <ReadArchivedEntityEntityAttributeViewModel>
        <EntityAttributeId>1</EntityAttributeId>
        <Id>2</Id>
        <Value>sample string 3</Value>
      </ReadArchivedEntityEntityAttributeViewModel>
      <ReadArchivedEntityEntityAttributeViewModel>
        <EntityAttributeId>1</EntityAttributeId>
        <Id>2</Id>
        <Value>sample string 3</Value>
      </ReadArchivedEntityEntityAttributeViewModel>
    </EntityAttributeValues>
    <EntityDefinitionName>sample string 2</EntityDefinitionName>
    <Id>3</Id>
    <UserName>sample string 4</UserName>
  </ReadArchivedEntityInstanceViewModel>
  <ReadArchivedEntityInstanceViewModel>
    <Date>1.1</Date>
    <EntityAttributeValues>
      <ReadArchivedEntityEntityAttributeViewModel>
        <EntityAttributeId>1</EntityAttributeId>
        <Id>2</Id>
        <Value>sample string 3</Value>
      </ReadArchivedEntityEntityAttributeViewModel>
      <ReadArchivedEntityEntityAttributeViewModel>
        <EntityAttributeId>1</EntityAttributeId>
        <Id>2</Id>
        <Value>sample string 3</Value>
      </ReadArchivedEntityEntityAttributeViewModel>
    </EntityAttributeValues>
    <EntityDefinitionName>sample string 2</EntityDefinitionName>
    <Id>3</Id>
    <UserName>sample string 4</UserName>
  </ReadArchivedEntityInstanceViewModel>
</ArrayOfReadArchivedEntityInstanceViewModel>