Returns the details of the given workflow transition of the given entity-type

GET
api/databases/{dbid}/metadata/entities/{entity}/workflow/transitions/{transition}
This request is used for getting information about the given workflow transition of the given entity-type. For example, you can get display name, initial and resulting states, etc.

Request:

Argument Type Description
dbid GUID  The ID of the database
entity String  The name of the entity
transition String  The name of the entity workflow transition
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/workflow/transitions/Vqs.Tm.Shared.TmTaskStates.CreatedToVqs.Tm.Shared.TmTaskStates.Closed
  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:42:24 GMT
  6. ETag: "634916866010755264"
  7. Last-Modified: Fri, 21 Dec 2012 09:36:41 GMT
  8. Server: Microsoft-HTTPAPI/2.0
  9.  
  10. {
  11. "Name": "Vqs.Tm.Shared.TmTaskStates.CreatedToVqs.Tm.Shared.TmTaskStates.Closed",
  12. "DisplayName": "Created -> Closed",
  13. "Declarative": false,
  14. "LockedBySolution": false,
  15. "DefaultReason": {
  16. "Id": "Vqs.Tm.Shared.TmTaskReasons.Completed",
  17. "Url": "api/databases/ec5a34c2-7062-4be7-ade9-c15acefcdbb8/metadata/entities/Task/workflow/transitions/Vqs.Tm.Shared.TmTaskStates.CreatedToVqs.Tm.Shared.TmTaskStates.Closed/reasons/Vqs.Tm.Shared.TmTaskReasons.Completed"
  18. },
  19. "StateFrom": {
  20. "Id": "Vqs.Tm.Shared.TmTaskStates.Created",
  21. "Url": "api/databases/ec5a34c2-7062-4be7-ade9-c15acefcdbb8/metadata/entities/Task/workflow/states/Vqs.Tm.Shared.TmTaskStates.Created"
  22. },
  23. "StateTo": {
  24. "Id": "Vqs.Tm.Shared.TmTaskStates.Closed",
  25. "Url": "api/databases/ec5a34c2-7062-4be7-ade9-c15acefcdbb8/metadata/entities/Task/workflow/states/Vqs.Tm.Shared.TmTaskStates.Closed"
  26. },
  27. "System": false
  28. }