GET api/packages/GetSurvey?packageId={packageId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
packageId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of Survey
NameDescriptionTypeAdditional information
Id

integer

None.

CourseId

integer

None.

Priority

integer

None.

Title

string

None.

Answers

Collection of SurveyAnswer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "Id": 1,
    "CourseId": 2,
    "Priority": 3,
    "Title": "sample string 4",
    "Answers": [
      {
        "$id": "2",
        "Id": 1,
        "SurveyId": 2,
        "Title": "sample string 3",
        "Priority": 4
      },
      {
        "$ref": "2"
      }
    ]
  },
  {
    "$ref": "1"
  }
]