GET V2/odata/EntityChange

Gets EntityChange entities

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of QicsUnity.Api.Areas.V2.Models.EntityChange
NameDescriptionTypeAdditional information
EntityChangeId

Gets or sets the PK

integer

None.

AdditionalDescription

Gets or sets the addition description added to the operation (eg. rejection reason when the time entry is rejected)

string

None.

Date

Gets or sets the date

date

None.

EntityId

Gets or sets the entity id

integer

None.

EntityOperation

Gets or sets the operation

QicsUnity.Api.Areas.V2.Models.EntityOperation

None.

BusinessOperation

Gets or sets the business operation

QicsUnity.Api.Areas.V2.Models.BusinessOperation

None.

EntityType

Gets or sets the entity type (user, general …)

QicsUnity.Api.Areas.V2.Models.EntityType

None.

UserName

Gets or sets the user name

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "EntityChangeId": 1,
    "AdditionalDescription": "sample 2",
    "Date": "2019-07-16T01:23:11.179984+00:00",
    "EntityId": 4,
    "EntityOperation": 0,
    "BusinessOperation": 0,
    "EntityType": 0,
    "UserName": "sample 5"
  },
  {
    "EntityChangeId": 1,
    "AdditionalDescription": "sample 2",
    "Date": "2019-07-16T01:23:11.179984+00:00",
    "EntityId": 4,
    "EntityOperation": 0,
    "BusinessOperation": 0,
    "EntityType": 0,
    "UserName": "sample 5"
  }
]

application/xml, text/xml

Sample:
<ArrayOfEntityChange xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QicsUnity.Api.Areas.V2.Models">
  <EntityChange>
    <AdditionalDescription>sample 2</AdditionalDescription>
    <BusinessOperation>Approve</BusinessOperation>
    <Date xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
      <d3p1:DateTime>2019-07-16T01:23:11.179984Z</d3p1:DateTime>
      <d3p1:OffsetMinutes>0</d3p1:OffsetMinutes>
    </Date>
    <EntityChangeId>1</EntityChangeId>
    <EntityId>4</EntityId>
    <EntityOperation>Insert</EntityOperation>
    <EntityType>General</EntityType>
    <UserName>sample 5</UserName>
  </EntityChange>
  <EntityChange>
    <AdditionalDescription>sample 2</AdditionalDescription>
    <BusinessOperation>Approve</BusinessOperation>
    <Date xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
      <d3p1:DateTime>2019-07-16T01:23:11.179984Z</d3p1:DateTime>
      <d3p1:OffsetMinutes>0</d3p1:OffsetMinutes>
    </Date>
    <EntityChangeId>1</EntityChangeId>
    <EntityId>4</EntityId>
    <EntityOperation>Insert</EntityOperation>
    <EntityType>General</EntityType>
    <UserName>sample 5</UserName>
  </EntityChange>
</ArrayOfEntityChange>