GET api/ChangeHistory/GetHistory?subjectId={subjectId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
subjectId | string |
Required |
Body Parameters
None.
Response Information
Resource Description
ChangeHistoryTrackerName | Description | Type | Additional information |
---|---|---|---|
Id | string |
None. |
|
SubjectId | string |
None. |
|
Changes | Collection of ChangeHistory |
None. |
|
MaxHistory | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "maxHistory": 1, "id": "sample string 1", "subjectId": "sample string 2", "changes": [ { "changedBy": "sample string 1", "changedById": "sample string 2", "date": "2025-04-01T18:43:37.3486719+00:00", "change": "sample string 4", "newValue": "sample string 5", "oldValue": "sample string 6", "details": [ { "fieldName": "sample string 1", "action": 0 }, { "fieldName": "sample string 1", "action": 0 } ] }, { "changedBy": "sample string 1", "changedById": "sample string 2", "date": "2025-04-01T18:43:37.3486719+00:00", "change": "sample string 4", "newValue": "sample string 5", "oldValue": "sample string 6", "details": [ { "fieldName": "sample string 1", "action": 0 }, { "fieldName": "sample string 1", "action": 0 } ] } ] }
application/xml, text/xml
Sample:
<ChangeHistoryTracker xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/InstallerDb.Models"> <Changes> <ChangeHistory> <Change>sample string 4</Change> <ChangedBy>sample string 1</ChangedBy> <ChangedById>sample string 2</ChangedById> <Date>2025-04-01T18:43:37.3486719+00:00</Date> <Details> <ChangeHistoryDetails> <Action>None</Action> <FieldName>sample string 1</FieldName> </ChangeHistoryDetails> <ChangeHistoryDetails> <Action>None</Action> <FieldName>sample string 1</FieldName> </ChangeHistoryDetails> </Details> <NewValue>sample string 5</NewValue> <OldValue>sample string 6</OldValue> </ChangeHistory> <ChangeHistory> <Change>sample string 4</Change> <ChangedBy>sample string 1</ChangedBy> <ChangedById>sample string 2</ChangedById> <Date>2025-04-01T18:43:37.3486719+00:00</Date> <Details> <ChangeHistoryDetails> <Action>None</Action> <FieldName>sample string 1</FieldName> </ChangeHistoryDetails> <ChangeHistoryDetails> <Action>None</Action> <FieldName>sample string 1</FieldName> </ChangeHistoryDetails> </Details> <NewValue>sample string 5</NewValue> <OldValue>sample string 6</OldValue> </ChangeHistory> </Changes> <Id>sample string 1</Id> <MaxHistory>1</MaxHistory> <SubjectId>sample string 2</SubjectId> </ChangeHistoryTracker>