GET api/feedback/{referenceNo}/history

Return feedback history against provided reference no.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
referenceNo

Feedback reference no to fetch feedback histroy details against

integer

Required

Body Parameters

None.

Response Information

Resource Description

Returns

Collection of FeedbackHistoryItem
NameDescriptionTypeAdditional information
Username

Gets or sets name of user made transition

string

None.

NewValue

Gets or sets new value of the feedback

string

None.

OldValue

Gets or sets old value of the feedback

string

None.

ChangeTime

Gets or sets time of the feedback change

date

None.

HistoryType

Gets or sets the feedback history type

FeedbackHistoryType

None.

Duration

Gets or sets duration after which change in feedback occured

time interval

None.

FieldName

Gets or sets the field which changed during feedback

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "username": "sample string 1",
    "newValue": "sample string 2",
    "oldValue": "sample string 3",
    "changeTime": "2024-12-23T12:33:39.6728109-07:00",
    "historyType": 0,
    "duration": "00:00:00.1234567",
    "fieldName": "sample string 4"
  },
  {
    "username": "sample string 1",
    "newValue": "sample string 2",
    "oldValue": "sample string 3",
    "changeTime": "2024-12-23T12:33:39.6728109-07:00",
    "historyType": 0,
    "duration": "00:00:00.1234567",
    "fieldName": "sample string 4"
  }
]

application/xml, text/xml

Sample:
<ArrayOfFeedbackHistoryItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TS.DR.Resources">
  <FeedbackHistoryItem>
    <ChangeTime>2024-12-23T12:33:39.6728109-07:00</ChangeTime>
    <Duration>PT0.1234567S</Duration>
    <FieldName>sample string 4</FieldName>
    <HistoryType>Comment</HistoryType>
    <NewValue>sample string 2</NewValue>
    <OldValue>sample string 3</OldValue>
    <Username>sample string 1</Username>
  </FeedbackHistoryItem>
  <FeedbackHistoryItem>
    <ChangeTime>2024-12-23T12:33:39.6728109-07:00</ChangeTime>
    <Duration>PT0.1234567S</Duration>
    <FieldName>sample string 4</FieldName>
    <HistoryType>Comment</HistoryType>
    <NewValue>sample string 2</NewValue>
    <OldValue>sample string 3</OldValue>
    <Username>sample string 1</Username>
  </FeedbackHistoryItem>
</ArrayOfFeedbackHistoryItem>