Returns the list of all properties of the given entity-type

GET
api/databases/{dbid}/metadata/entities/{entity}/properties
This request is used for getting the list of all fields of the given entity-type, including mandatory fields:
Id - Entity ID
ModifiedStamp - Date when entity was last modified
EntityItemTitle - Entity's textual representation which is calculated by formula TitleFormula
Code - Entity Code which is formed from prefix and number of the entity.

Request:

Argument Type Description
dbid GUID  The ID of the database
entity String  The name of the entity
Query parameter Required Default Options Description
all   1/0  Returns full metadata

Response:

Content

Type name Description
Object 

Request:
  1. GET api/databases/ec5a34c2-7062-4be7-ade9-c15acefcdbb8/metadata/entities/Task/properties
  2. Accept: text/json
  3. Accept-Encoding: deflate
  4. Host: localhost:6496
  5. Cookie: sid=20715d87-29dc-429e-9a86-4b3c60cd8a45
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 15:47:21 GMT
  6. ETag: "634916866010755264"
  7. Last-Modified: Fri, 21 Dec 2012 09:36:41 GMT
  8. Server: Microsoft-HTTPAPI/2.0
  9.  
  10. [
  11. "Id",
  12. "IsOriginal",
  13. "IsNew",
  14. "ModifiedStamp",
  15. "EntityItemTitle",
  16. "MaxScheduleItemsFinish",
  17. "Complete",
  18. "Code",
  19. "Owner",
  20. "StartedTime",
  21. "ClosedTime",
  22. "Estimate",
  23. "Remain",
  24. "Actual",
  25. "PreviusNonBlockedState",
  26. "AssignmentsDisplayValue",
  27. "AssignmentsFilterValue",
  28. "PredecessorsDisplayValue",
  29. "PredecessorsFilterValue",
  30. "SchedleStart",
  31. "SchedleFinish",
  32. "IsScheduled",
  33. "EntityCreator",
  34. "EntityCreatedTime",
  35. "EntityModifiedTime",
  36. "Name",
  37. "Note",
  38. "NoteLite",
  39. "Project",
  40. "State",
  41. "Reason",
  42. "WorkflowCustomization",
  43. "TreeLinks",
  44. "TreeCodePath",
  45. "TimeLogItemsCount",
  46. "Deviation",
  47. "OverdueRisk",
  48. "Folder",
  49. "Template",
  50. "TimeEventSubscriptionFlags",
  51. "Follow",
  52. "Priority",
  53. "StackValue",
  54. "Parent",
  55. "IsHaveDueDate",
  56. "DueDate",
  57. "IsRecurrence",
  58. "RecurrenceInfo",
  59. "RecurrenceTaskUsers",
  60. "RecurrenceTaskReminderForStart",
  61. "RecurrenceTaskReminderForFinish",
  62. "RecurrenceTaskRollupOptions",
  63. "OverdueProcessed",
  64. "Overdue",
  65. "SubTasksCount",
  66. "PhaseDueDate",
  67. "ReminderAt",
  68. "ReminderAtHash",
  69. "ReminderBeforeDueDate",
  70. "ReminderBeforeDueDateHash",
  71. "Comment",
  72. "CommentLite",
  73. "LinksCount",
  74. "LinksEntityCodes"
  75. ]