POST api/QC/SubmitQCSurveyTemplateAnswers

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
entity
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "Id": 1,
  "TaskId": 2,
  "EmpId": 3,
  "TemplateId": 4,
  "FormControlValues": [
    {
      "QuestionId": 1,
      "AnswerCode": "sample string 2"
    },
    {
      "QuestionId": 1,
      "AnswerCode": "sample string 2"
    },
    {
      "QuestionId": 1,
      "AnswerCode": "sample string 2"
    }
  ],
  "CurrentEmployeeId": 5,
  "InCT": "sample string 6",
  "Direction": "sample string 7",
  "ServerIP": "sample string 8"
}

application/xml, text/xml

Sample:
<QC_VM_QC_EmployeeQCTemplateAnswer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ERPPlus_MOdel.ViewModels">
  <CurrentEmployeeId>5</CurrentEmployeeId>
  <Direction>sample string 7</Direction>
  <EmpId>3</EmpId>
  <FormControlValues xmlns:d2p1="http://schemas.datacontract.org/2004/07/ERPPlus_MOdel">
    <d2p1:VM_EmployeeQCTemplateControlValues>
      <d2p1:AnswerCode>sample string 2</d2p1:AnswerCode>
      <d2p1:QuestionId>1</d2p1:QuestionId>
    </d2p1:VM_EmployeeQCTemplateControlValues>
    <d2p1:VM_EmployeeQCTemplateControlValues>
      <d2p1:AnswerCode>sample string 2</d2p1:AnswerCode>
      <d2p1:QuestionId>1</d2p1:QuestionId>
    </d2p1:VM_EmployeeQCTemplateControlValues>
    <d2p1:VM_EmployeeQCTemplateControlValues>
      <d2p1:AnswerCode>sample string 2</d2p1:AnswerCode>
      <d2p1:QuestionId>1</d2p1:QuestionId>
    </d2p1:VM_EmployeeQCTemplateControlValues>
  </FormControlValues>
  <Id>1</Id>
  <InCT>sample string 6</InCT>
  <ServerIP>sample string 8</ServerIP>
  <TaskId>2</TaskId>
  <TemplateId>4</TemplateId>
</QC_VM_QC_EmployeeQCTemplateAnswer>

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

Response Information

No documentation available.

Response body formats

application/json, text/json

Sample:
{
  "Result": true,
  "ErrorMessage": "sample string 2"
}

application/xml, text/xml

Sample:
<GeneralErrors xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ERP_Plus">
  <ErrorMessage>sample string 2</ErrorMessage>
  <Result>true</Result>
</GeneralErrors>