Returns the list of all filter items of the given entity-type

GET
api/databases/{dbid}/metadata/entities/{entity}/filteritems
This request is used for getting the list of all filter items of the given entity-type. For example, you can use this information for setting filter conditions to get the list of available properties.

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/filteritems
  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:54 GMT
  6. ETag: "634916866010755264"
  7. Last-Modified: Fri, 21 Dec 2012 09:36:41 GMT
  8. Server: Microsoft-HTTPAPI/2.0
  9.  
  10. [
  11. "StackValue",
  12. "Parent",
  13. "PhaseDueDate",
  14. "SubTasksCount",
  15. "Overdue",
  16. "Code",
  17. "Urgent",
  18. "Important",
  19. "Folder",
  20. "LinksEntityCodes",
  21. "LinksCount",
  22. "OverdueRisk",
  23. "Deviation",
  24. "TimeLogItemsCount",
  25. "Reason",
  26. "State",
  27. "Project",
  28. "Note",
  29. "Name",
  30. "EntityItemTitle",
  31. "EntityModifiedTime",
  32. "EntityCreatedTime",
  33. "EntityCreator",
  34. "SchedleFinish",
  35. "SchedleStart",
  36. "PredecessorsFilterValue",
  37. "AssignmentsFilterValue",
  38. "Actual",
  39. "Remain",
  40. "Estimate",
  41. "ClosedTime",
  42. "StartedTime",
  43. "Owner",
  44. "IsRecurrence",
  45. "ReminderExist",
  46. "ScheduleOnFilterItem",
  47. "DueDateFilterItem",
  48. "ScheduleItems",
  49. "Links",
  50. "TimeLogItems"
  51. ]