POST api/Question/submit

Request Information

URI Parameters

None.

Body Parameters

Collection of EVALUATION_RESULTS
NameDescriptionTypeAdditional information
EVAL_ID

integer

None.

EMP_ID

integer

None.

QUESTION_ID

integer

None.

QUESTION_TYPE

integer

None.

COLLEAGUE_ID

integer

None.

RATING

integer

None.

COMMENT

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "EVAL_ID": 1,
    "EMP_ID": 2,
    "QUESTION_ID": 3,
    "QUESTION_TYPE": 4,
    "COLLEAGUE_ID": 5,
    "RATING": 6,
    "COMMENT": "sample string 7"
  },
  {
    "EVAL_ID": 1,
    "EMP_ID": 2,
    "QUESTION_ID": 3,
    "QUESTION_TYPE": 4,
    "COLLEAGUE_ID": 5,
    "RATING": 6,
    "COMMENT": "sample string 7"
  }
]

application/xml, text/xml

Sample:
<ArrayOfEVALUATION_RESULTS xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models">
  <EVALUATION_RESULTS>
    <COLLEAGUE_ID>5</COLLEAGUE_ID>
    <COMMENT>sample string 7</COMMENT>
    <EMP_ID>2</EMP_ID>
    <EVAL_ID>1</EVAL_ID>
    <QUESTION_ID>3</QUESTION_ID>
    <QUESTION_TYPE>4</QUESTION_TYPE>
    <RATING>6</RATING>
  </EVALUATION_RESULTS>
  <EVALUATION_RESULTS>
    <COLLEAGUE_ID>5</COLLEAGUE_ID>
    <COMMENT>sample string 7</COMMENT>
    <EMP_ID>2</EMP_ID>
    <EVAL_ID>1</EVAL_ID>
    <QUESTION_ID>3</QUESTION_ID>
    <QUESTION_TYPE>4</QUESTION_TYPE>
    <RATING>6</RATING>
  </EVALUATION_RESULTS>
</ArrayOfEVALUATION_RESULTS>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'List`1'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.