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,
  "AnsweredTemplateHtml": "sample string 5",
  "FormControlValues": [
    {
      "MasterId": 1,
      "ControlName": "sample string 2",
      "ControlValue": "sample string 3",
      "ControlType": "sample string 4",
      "IsChecked": true,
      "CreatedEmpId": 1,
      "CreatedDate": "2025-03-14T08:55:22.1316843+02:00",
      "UpdatedEmpId": 1,
      "UpdatedDate": "2025-03-14T08:55:22.1316843+02:00",
      "DeletedEmpId": 1,
      "DeletedDate": "2025-03-14T08:55:22.1316843+02:00",
      "IsDeleted": true,
      "Id": 7
    },
    {
      "MasterId": 1,
      "ControlName": "sample string 2",
      "ControlValue": "sample string 3",
      "ControlType": "sample string 4",
      "IsChecked": true,
      "CreatedEmpId": 1,
      "CreatedDate": "2025-03-14T08:55:22.1316843+02:00",
      "UpdatedEmpId": 1,
      "UpdatedDate": "2025-03-14T08:55:22.1316843+02:00",
      "DeletedEmpId": 1,
      "DeletedDate": "2025-03-14T08:55:22.1316843+02:00",
      "IsDeleted": true,
      "Id": 7
    },
    {
      "MasterId": 1,
      "ControlName": "sample string 2",
      "ControlValue": "sample string 3",
      "ControlType": "sample string 4",
      "IsChecked": true,
      "CreatedEmpId": 1,
      "CreatedDate": "2025-03-14T08:55:22.1316843+02:00",
      "UpdatedEmpId": 1,
      "UpdatedDate": "2025-03-14T08:55:22.1316843+02:00",
      "DeletedEmpId": 1,
      "DeletedDate": "2025-03-14T08:55:22.1316843+02:00",
      "IsDeleted": true,
      "Id": 7
    }
  ],
  "CurrentEmployeeId": 6,
  "InCT": "sample string 7",
  "Direction": "sample string 8",
  "ServerIP": "sample string 9"
}

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">
  <AnsweredTemplateHtml>sample string 5</AnsweredTemplateHtml>
  <CurrentEmployeeId>6</CurrentEmployeeId>
  <Direction>sample string 8</Direction>
  <EmpId>3</EmpId>
  <FormControlValues xmlns:d2p1="http://schemas.datacontract.org/2004/07/ERPPlus_MOdel.Model">
    <d2p1:QC_EmployeeQCTemplateControlValues>
      <d2p1:Id>7</d2p1:Id>
      <d2p1:CreatedDate>2025-03-14T08:55:22.1316843+02:00</d2p1:CreatedDate>
      <d2p1:CreatedEmpId>1</d2p1:CreatedEmpId>
      <d2p1:DeletedDate>2025-03-14T08:55:22.1316843+02:00</d2p1:DeletedDate>
      <d2p1:DeletedEmpId>1</d2p1:DeletedEmpId>
      <d2p1:IsDeleted>true</d2p1:IsDeleted>
      <d2p1:UpdatedDate>2025-03-14T08:55:22.1316843+02:00</d2p1:UpdatedDate>
      <d2p1:UpdatedEmpId>1</d2p1:UpdatedEmpId>
      <d2p1:ControlName>sample string 2</d2p1:ControlName>
      <d2p1:ControlType>sample string 4</d2p1:ControlType>
      <d2p1:ControlValue>sample string 3</d2p1:ControlValue>
      <d2p1:IsChecked>true</d2p1:IsChecked>
      <d2p1:MasterId>1</d2p1:MasterId>
    </d2p1:QC_EmployeeQCTemplateControlValues>
    <d2p1:QC_EmployeeQCTemplateControlValues>
      <d2p1:Id>7</d2p1:Id>
      <d2p1:CreatedDate>2025-03-14T08:55:22.1316843+02:00</d2p1:CreatedDate>
      <d2p1:CreatedEmpId>1</d2p1:CreatedEmpId>
      <d2p1:DeletedDate>2025-03-14T08:55:22.1316843+02:00</d2p1:DeletedDate>
      <d2p1:DeletedEmpId>1</d2p1:DeletedEmpId>
      <d2p1:IsDeleted>true</d2p1:IsDeleted>
      <d2p1:UpdatedDate>2025-03-14T08:55:22.1316843+02:00</d2p1:UpdatedDate>
      <d2p1:UpdatedEmpId>1</d2p1:UpdatedEmpId>
      <d2p1:ControlName>sample string 2</d2p1:ControlName>
      <d2p1:ControlType>sample string 4</d2p1:ControlType>
      <d2p1:ControlValue>sample string 3</d2p1:ControlValue>
      <d2p1:IsChecked>true</d2p1:IsChecked>
      <d2p1:MasterId>1</d2p1:MasterId>
    </d2p1:QC_EmployeeQCTemplateControlValues>
    <d2p1:QC_EmployeeQCTemplateControlValues>
      <d2p1:Id>7</d2p1:Id>
      <d2p1:CreatedDate>2025-03-14T08:55:22.1316843+02:00</d2p1:CreatedDate>
      <d2p1:CreatedEmpId>1</d2p1:CreatedEmpId>
      <d2p1:DeletedDate>2025-03-14T08:55:22.1316843+02:00</d2p1:DeletedDate>
      <d2p1:DeletedEmpId>1</d2p1:DeletedEmpId>
      <d2p1:IsDeleted>true</d2p1:IsDeleted>
      <d2p1:UpdatedDate>2025-03-14T08:55:22.1316843+02:00</d2p1:UpdatedDate>
      <d2p1:UpdatedEmpId>1</d2p1:UpdatedEmpId>
      <d2p1:ControlName>sample string 2</d2p1:ControlName>
      <d2p1:ControlType>sample string 4</d2p1:ControlType>
      <d2p1:ControlValue>sample string 3</d2p1:ControlValue>
      <d2p1:IsChecked>true</d2p1:IsChecked>
      <d2p1:MasterId>1</d2p1:MasterId>
    </d2p1:QC_EmployeeQCTemplateControlValues>
  </FormControlValues>
  <Id>1</Id>
  <InCT>sample string 7</InCT>
  <ServerIP>sample string 9</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>