Returns all hystory logs of the given entity

GET
api/databases/{dbid}/entities/{entity}/{id}/history
This request is used for getting information about history of the given entity changes, i.e. history logs that show who changed what and when.

Request:

Argument Type Description
dbid GUID  The ID of the database
entity String  The name of the entity
id GUID  The ID of the entity

Response:

Content

Name Type Options Description
Sessions Array of HystorySession  Sessions list of history

Request:
  1. GET api/databases/ec5a34c2-7062-4be7-ade9-c15acefcdbb8/entities/Task/7ce10c00-ea30-4ab4-ab57-87bec4fb558f/history
  2. Accept: text/json
  3. Accept-Encoding: deflate,deflate
  4. Authorization: Basic YWRtaW46YWRtaW4=
  5. Host: localhost:6496
  6. Cookie: sid=d8ee1782-edf8-4ca0-88df-514db7d23043
Response:
  1. Transfer-Encoding: chunked
  2. Content-Encoding:
  3. Cache-Control: no-store
  4. Content-Type: text/json; charset=utf-8
  5. Date: Fri, 21 Dec 2012 14:52:05 GMT
  6. ETag: "3"
  7. Last-Modified: Fri, 21 Dec 2012 14:31:09 GMT
  8. Server: Microsoft-HTTPAPI/2.0
  9.  
  10. {
  11. "Sessions": [
  12. {
  13. "SessionTime": "2012-12-18T16:55:54.9111966+02:00",
  14. "UserId": "ae18dea5-4f60-4f70-ae31-d8052984e31e",
  15. "UserName": "admin",
  16. "ActionKind": 0,
  17. "Comment": "",
  18. "Items": [
  19. {
  20. "Text": "Code: 'T188'",
  21. "FieldName": "Code"
  22. },
  23. {
  24. "Text": "Owner: 'admin'",
  25. "FieldName": "Owner"
  26. },
  27. {
  28. "Text": "Estimate: '8 hour(s)'",
  29. "FieldName": "Estimate"
  30. },
  31. {
  32. "Text": "Remain: '8 hour(s)'",
  33. "FieldName": "Remain"
  34. },
  35. {
  36. "Text": "Date Created: '18.12.2012 16:55'",
  37. "FieldName": "EntityCreatedTime"
  38. },
  39. {
  40. "Text": "Name: 'New Task name 87'",
  41. "FieldName": "Name"
  42. },
  43. {
  44. "Text": "State: 'Created'",
  45. "FieldName": "State"
  46. },
  47. {
  48. "Text": "Reason: 'New'",
  49. "FieldName": "Reason"
  50. },
  51. {
  52. "Text": "Priority: 'Normal (500)'",
  53. "FieldName": "StackValue"
  54. },
  55. {
  56. "Text": "Due Date: '28.12.2012 0:00'",
  57. "FieldName": "DueDate"
  58. },
  59. {
  60. "Text": "Rollup Options: 'Duplicate sub items; Duplicated Fields: Assigned To, Due date, Estimate, Folder, Links, Note, Owner, Priority, Project, Remind at, Template, U/I'",
  61. "FieldName": "RecurrenceTaskRollupOptions"
  62. },
  63. {
  64. "Text": "Assigned To 'admin'",
  65. "FieldName": "FieldAssignments"
  66. }
  67. ]
  68. },
  69. {
  70. "SessionTime": "2012-12-18T16:55:55.2441966+02:00",
  71. "UserId": "ae18dea5-4f60-4f70-ae31-d8052984e31e",
  72. "UserName": "admin",
  73. "ActionKind": 1,
  74. "Comment": "",
  75. "Items": [
  76. {
  77. "Text": "Date Started: '' -> '18.12.2012 16:55'",
  78. "FieldName": "StartedTime"
  79. },
  80. {
  81. "Text": "Actual: '0 minute(s)' -> '2 hour(s)'",
  82. "FieldName": "Actual"
  83. },
  84. {
  85. "Text": "State: 'Created' -> 'In Progress'",
  86. "FieldName": "State"
  87. },
  88. {
  89. "Text": "Reason: 'New' -> 'Started'",
  90. "FieldName": "Reason"
  91. },
  92. {
  93. "Text": "Deviation: '0 minute(s)' -> '-2 hour(s)'",
  94. "FieldName": "Deviation"
  95. },
  96. {
  97. "Text": "Almost Due: 'False' -> 'True'",
  98. "FieldName": "OverdueRisk"
  99. }
  100. ]
  101. },
  102. {
  103. "SessionTime": "2012-12-21T16:31:09.5700483+02:00",
  104. "UserId": "ae18dea5-4f60-4f70-ae31-d8052984e31e",
  105. "UserName": "admin",
  106. "ActionKind": 1,
  107. "Comment": "",
  108. "Items": [
  109. {
  110. "Text": "Name: 'New Task name 87' -> 'New task name'",
  111. "FieldName": "Name"
  112. }
  113. ]
  114. }
  115. ]
  116. }