Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
api:api_applications_id_tasks [2015/07/31 14:52] – created Lauri Elevantapi:api_applications_id_tasks [2015/07/31 15:45] Lauri Elevant
Line 23: Line 23:
   Content-Length: 1234   Content-Length: 1234
   X-Count: 4   X-Count: 4
 +
 +==== Response values ====
 +
 +^ Name ^ Notes ^
 +| ''created'' | Date when the task was created |
 +| ''reminded'' | Date when the applicant was last reminded. If ''null'' then no reminders yet. |
 +| ''committed'' | Date when the task was last saved by the applicant or admin (last modified). If ''null'' then has not yet been touched by anybody and is in it initial status. |
 +| ''resolved'' | Date when the task was finally resolved. If ''null'', then still not resolved |
 +| ''class'' | This is essentially the type of the task.  |
 +| ''status'' |  |
 +| ''notes'' |  |
  
 ==== Response example ==== ==== Response example ====
  
   {   {
-    "12": { +    "1": { 
-        "priority": 1, +        "created": "2015-07-27T15:36:36+00:00", 
-        "inserted": "2014-06-20T11:00:19+00:00", +        "reminded": null, 
-        "saved": "2014-06-20T11:00:19+00:00", +        "committed": "2015-07-27T17:36:36+00:00", 
-        "confirmed": null, +        "resolved": "2015-07-27T17:36:36+00:00", 
-        "course": "/api/courses/1", +        "class": "checklist-language-english", 
-        "type": "Feedback", +        "status": "I have received my language test score", 
-        "type-confirmed": "Unreplied", +        "notes": { 
-        "comments": null, +            "applicant": null, 
-        "comments-confirmed": null, +            "administrator": "Seems to be good!
-        "decision": "None", +        }
-        "decision-policy": "None", +
-        "decision-deadline": null, +
-        "notes": null+
     },     },
-    "13": { +    "5": { 
-        "priority": 2, +        "created": "2015-07-27T15:36:36+00:00", 
-        "inserted": "2014-06-20T11:00:19+00:00", +        "reminded": "2015-07-31T15:36:36+00:00", 
-        "saved": "2014-06-20T11:00:19+00:00", +        "committed": null
-        "confirmed": "2014-06-20T11:00:19+00:00"+        "resolved": null
-        "course": "/api/courses/3"+        "class": "checklist-passport", 
-        "type": "Unreplied", +        "status": "I have NOT yet attached my passport/ID card", 
-        "type-confirmed": "Accepted", +        "notes": { 
-        "comments": null, +            "applicant": "I need help", 
-        "comments-confirmed": null+            "administrator": null 
-        "decision": "Final", +        }
-        "decision-policy": "None", +
-        "decision-deadline": null, +
-        "notes": null+
     }     }
   }   }