POST api/SelfAssessmentAndTraining/SubmitSelfAssesment

Request Information

URI Parameters

None.

Body Parameters

InsertSelfassessmentEntity
NameDescriptionTypeAdditional information
UserId

integer

None.

itemid

integer

None.

assessmentanswer

string

None.

saveorsubmit

string

None.

batch

string

None.

Token

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UserId": 1,
  "itemid": 2,
  "assessmentanswer": "sample string 3",
  "saveorsubmit": "sample string 4",
  "batch": "sample string 5",
  "Token": "sample string 6"
}

text/html

Sample:
{"UserId":1,"itemid":2,"assessmentanswer":"sample string 3","saveorsubmit":"sample string 4","batch":"sample string 5","Token":"sample string 6"}

application/xml, text/xml

Sample:
<SelfAssessmentAndTrainingController.InsertSelfassessmentEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HR2Eazy_WebApi.Controllers">
  <Token>sample string 6</Token>
  <UserId>1</UserId>
  <assessmentanswer>sample string 3</assessmentanswer>
  <batch>sample string 5</batch>
  <itemid>2</itemid>
  <saveorsubmit>sample string 4</saveorsubmit>
</SelfAssessmentAndTrainingController.InsertSelfassessmentEntity>

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 'InsertSelfassessmentEntity'.

Response Information

Resource Description

Dictionary of Object [key] and Object [value]

Response Formats

application/json, text/json, text/html

Sample:
{"System.Object":{},"System.Object":{}}

application/xml, text/xml

Sample:
<ArrayOfKeyValueOfanyTypeanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <KeyValueOfanyTypeanyType>
    <Key />
    <Value />
  </KeyValueOfanyTypeanyType>
  <KeyValueOfanyTypeanyType>
    <Key />
    <Value />
  </KeyValueOfanyTypeanyType>
</ArrayOfKeyValueOfanyTypeanyType>