POST survey/set

Saves user survey answers

Authorization

Access to this endpoint is granted if all following conditions are true:

  • Authenticated user who is either StaffMember, Student, Administrator, ProspectWithTrial, User
  • Authenticated user who is either StaffMember, Student, QA, Administrator, ProspectWithTrial, User

Request Information

URI Parameters

None.

Body Parameters

Object

None.

Request Formats

application/json, text/json

Sample:
{
  "surveys": [{
    "id": "C3C6A7BF-5C74-4690-A1FC-82906BB44BD1",
    "questions": [{	
      "id": "87c3f76-cd69-44dd-88d6-78795d8c3476",
      "answers": ["3b3ea1e4-b840-4f66-8b38-926cf40b42cf"]
     }, 
     {
      "id": "d36a88b9-0f88-4458-a02f-014c82ad7750",
      "answers": ["User Comments"]
     }]
  }]	
}

Response Information

Resource Description

System.Web.Http.IHttpActionResult

None.

Response Formats

text/html

Sample:
200 Ok

application/json, text/json

Sample:

Sample not available.