GET api/taskHistory/ownerAndStatusChanges?projectId={projectId}&taskId={taskId}
Get task's Owner and Status change history based on task id
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
projectId | integer |
Required |
|
taskId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Get task's Owner and Status change history based on task id
API_Data_IEnumerableOfOwnerAndStatusChangeName | Description | Type | Additional information |
---|---|---|---|
Success | boolean |
None. |
|
Error | ErrorInfo |
None. |
|
Data | Collection of OwnerAndStatusChange |
None. |
Response Formats
application/json, text/json
Sample:
{ "Success": true, "Error": { "ErrorCode": 1, "ErrorMessage": "sample string 1" }, "Data": [ { "TransitionId": 2, "TransitionName": "sample string 3", "PreviousStatusId": 4, "PreviousStatusName": "sample string 5", "StatusId": 6, "StatusName": "sample string 7", "AssignedToPersonId": 8, "AssignedToPersonName": "sample string 9", "AssignedByPersonId": 10, "AssignedByPersonName": "sample string 11", "DateAssigned": "2024-12-21 15:16:04", "ChangeOption": 12 }, { "TransitionId": 2, "TransitionName": "sample string 3", "PreviousStatusId": 4, "PreviousStatusName": "sample string 5", "StatusId": 6, "StatusName": "sample string 7", "AssignedToPersonId": 8, "AssignedToPersonName": "sample string 9", "AssignedByPersonId": 10, "AssignedByPersonName": "sample string 11", "DateAssigned": "2024-12-21 15:16:04", "ChangeOption": 12 } ] }
application/xml, text/xml
Sample:
<API_Data_ArrayOfOwnerAndStatusChange xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Common"> <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Task"> <d2p1:OwnerAndStatusChange> <d2p1:AssignedByPersonId>10</d2p1:AssignedByPersonId> <d2p1:AssignedByPersonName>sample string 11</d2p1:AssignedByPersonName> <d2p1:AssignedToPersonId>8</d2p1:AssignedToPersonId> <d2p1:AssignedToPersonName>sample string 9</d2p1:AssignedToPersonName> <d2p1:ChangeOption>12</d2p1:ChangeOption> <d2p1:DateAssigned>2024-12-21T19:16:04.9426382-08:00</d2p1:DateAssigned> <d2p1:PreviousStatusId>4</d2p1:PreviousStatusId> <d2p1:PreviousStatusName>sample string 5</d2p1:PreviousStatusName> <d2p1:SequenceNo>1</d2p1:SequenceNo> <d2p1:StatusId>6</d2p1:StatusId> <d2p1:StatusName>sample string 7</d2p1:StatusName> <d2p1:TransitionId>2</d2p1:TransitionId> <d2p1:TransitionName>sample string 3</d2p1:TransitionName> </d2p1:OwnerAndStatusChange> <d2p1:OwnerAndStatusChange> <d2p1:AssignedByPersonId>10</d2p1:AssignedByPersonId> <d2p1:AssignedByPersonName>sample string 11</d2p1:AssignedByPersonName> <d2p1:AssignedToPersonId>8</d2p1:AssignedToPersonId> <d2p1:AssignedToPersonName>sample string 9</d2p1:AssignedToPersonName> <d2p1:ChangeOption>12</d2p1:ChangeOption> <d2p1:DateAssigned>2024-12-21T19:16:04.9426382-08:00</d2p1:DateAssigned> <d2p1:PreviousStatusId>4</d2p1:PreviousStatusId> <d2p1:PreviousStatusName>sample string 5</d2p1:PreviousStatusName> <d2p1:SequenceNo>1</d2p1:SequenceNo> <d2p1:StatusId>6</d2p1:StatusId> <d2p1:StatusName>sample string 7</d2p1:StatusName> <d2p1:TransitionId>2</d2p1:TransitionId> <d2p1:TransitionName>sample string 3</d2p1:TransitionName> </d2p1:OwnerAndStatusChange> </Data> <Error> <ErrorCode>1</ErrorCode> <ErrorMessage>sample string 1</ErrorMessage> </Error> <Success>true</Success> </API_Data_ArrayOfOwnerAndStatusChange>