POST V3/odata/ChangeTrackingChange/GetChanges
Gets ChangeTrackingChange objects by EntityTypeId as value of enum EntityTypeWithChangeTracking from specified version
Request Information
URI Parameters
None.
Body Parameters
Supported parameters are:
- EntityTypeId (Int) - Value of enum QicsUnity.Api.Areas.V3.Models.EntityTypeWithChangeTracking for which changes should be loaded.
- FromVersion (Long) - Represents version which changes are returned from.
Example: {"EntityTypeId":50,"FromVersion":"123456"}
Request Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.
Response Information
Resource Description
Collection of QicsUnity.Api.Areas.V3.Models.ChangeTrackingChangeName | Description | Type | Additional information |
---|---|---|---|
EntityId |
Gets or sets Entity id |
integer |
64-bit signed integer Nullable |
ChangeTrackingVersion |
Gets or sets SYS_CHANGE_VERSION for given entity. Version value that is associated with the latest change to the row. |
integer |
64-bit signed integer Nullable |
ChangeTrackingOperation |
Gets or sets SYS_CHANGE_OPERATION for given entity specifying the type of change such as I = Insert, U = Update, D = Delete |
string |
Response Formats
application/json, text/json
Sample:
[ { "EntityId": "1", "ChangeTrackingVersion": "1", "ChangeTrackingOperation": "sample 1" }, { "EntityId": "1", "ChangeTrackingVersion": "1", "ChangeTrackingOperation": "sample 1" } ]
application/xml, text/xml
Sample:
<ArrayOfChangeTrackingChange xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QicsUnity.Api.Areas.V3.Models"> <ChangeTrackingChange> <ChangeTrackingOperation>sample 1</ChangeTrackingOperation> <ChangeTrackingVersion>1</ChangeTrackingVersion> <EntityId>1</EntityId> </ChangeTrackingChange> <ChangeTrackingChange> <ChangeTrackingOperation>sample 1</ChangeTrackingOperation> <ChangeTrackingVersion>1</ChangeTrackingVersion> <EntityId>1</EntityId> </ChangeTrackingChange> </ArrayOfChangeTrackingChange>