Details of each Assignment

To show the Care Provider details of the Assignments of the Client

A Care Provider can assign homework to the clients and view their progress (whether or not they have answered the questions).

1- Request URL:

https://gwidev.eq.optt.ca/gateway/profile/caregiver/session/assignment/1850

2- Request Method Type:
GET

3- PATH PARAMS

NameTypeDescription
idintegerhomework id you want to view.

A complete example of an API call:

curl -X GET "https://gwidev.eq.optt.ca/gateway/profile/caregiver/session/assignment/1850" -H "accept: */*" -H "Authorization: bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjM3NTgyMDY1MjEsInVzZXJfbmFtZSI6ImxhbGVoZGVobmF2aS5sZEBnbWFpbC5jb20iLCJhdXRob3JpdGllcyI6WyJDQVJFR0lWRVIiXSwianRpIjoiOTZhYWFjOTMtMmRjNy00NDM5LWE3YTUtNWI0MzAwYmNjN2NlIiwiY2xpZW50X2lkIjoib3B0dC0wMmVlNzdkYy1hYzQ1LTQzNDQtODE3ZS0xN2NhNTJiNThiNWQiLCJzY29wZSI6WyJyZWFkIiwid3JpdGUiXX0.cvGtZ8jjyREqzFr2kUOhh4HTDsJOD0Y4icAO9KOt42Z_B_HngqylOs_WbDiSKduObzvfTHraDqEIxZJtAzK9YujjKcy9uKfPH_9GR-qcuFNrlrJMREib2AMzUXi9Gsqgh-hNsp1uNhlQzQuzSoKo1rAnuF6HC2m1BU77cbVnrwTdbP6e8jJz21dvav1JSUVZiqiyxVbUY2f8IA8n-sXf_284-4shnkkggbgIPTW88Jd_UOp-w2UZ-lKRWfRmKlhRVM37iamWw0hGOIW3jOJc6_fc1ce-I2O7YYBNkYdwLooBaVzXG0ja8w1PTrHBml95PcmzDLp2zg-4CRpjczSk4g" -H "offset: 1"

Response:

{
  "id": 1850,
  "bookId": 28,
  "name": "Thinking Errors",
  "sessionTitle": "tt",
  "sessionId": 811,
  "moduleId": 3,
  "moduleName": "COVID19",
  "caregiverId": 2,
  "caregiverName": "caregiver1",
  "clientId": 1,
  "clientName": "client 1",
  "assignDate": "2021/01/25 13:51",
  "submitDate": "2021/01/25 13:52",
  "feedbackStatus": "WAITING",
  "feedbackSubmitDate": null,
  "startDate": "2021/01/25 13:50",
  "status": "COMPLETE",
  "isTest": false,
  "score": 0,
  "drafts": [],
  "answers": [
    {
      "id": 503,
      "saveType": "FINAL",
      "metadata": null,
      "assignmentId": 1850,
      "submitDate": "2021/01/25 13:53",
      "answers": [
        {
          "questionText": "Ask me your questions.",
          "answer": "21",
          "metadata": null,
          "highlights": []
        },
        {
          "questionText": "My small step is to...",
          "answer": "20",
          "metadata": null,
          "highlights": []
        },
        {
          "questionText": "Tell me about one of your thought errors that you recognized this week.",
          "answer": "19",
          "metadata": null,
          "highlights": []
        },
        {
          "questionText": "Thinking Error?",
          "answer": "11",
          "metadata": null,
          "highlights": []
        },
        {
          "questionText": "What were you thinking?",
          "answer": "10",
          "metadata": null,
          "highlights": []
        },
        {
          "questionText": "Mood Rating",
          "answer": "1",
          "metadata": null,
          "highlights": []
        },
        {
          "questionText": "How were you feeling?",
          "answer": "9",
          "metadata": null,
          "highlights": []
        },
        {
          "questionText": "Physical Symptopms?",
          "answer": "15",
          "metadata": null,
          "highlights": []
        },
        {
          "questionText": "What were you doing?",
          "answer": "7",
          "metadata": null,
          "highlights": []
        },
        {
          "questionText": "Time",
          "answer": "6",
          "metadata": null,
          "highlights": []
        },
        {
          "questionText": "Date",
          "answer": "5",
          "metadata": null,
          "highlights": []
        },
        {
          "questionText": "statement1",
          "answer": "false",
          "metadata": null,
          "highlights": []
        },
        {
          "questionText": "What is your anticipated anxiety for this challenge?",
          "answer": "1",
          "metadata": null,
          "highlights": []
        },
        {
          "questionText": "What will be your new challenge? Include a strategy you can use.",
          "answer": "4",
          "metadata": null,
          "highlights": []
        },
        {
          "questionText": "Did you use any new strategies? If so, which ones?",
          "answer": "3",
          "metadata": null,
          "highlights": []
        },
        {
          "questionText": "Select the face that represents your anxiety rating for this goal.",
          "answer": "1",
          "metadata": null,
          "highlights": []
        },
        {
          "questionText": "What's your favourite one?",
          "answer": "1",
          "metadata": null,
          "highlights": []
        }
      ]
    }
  ],
  "autoSaveAnswers": [],
  "feedbacks": []
}