POST api/jobs-vacantcheck/appointments/{id}/task/{taskid}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

Required

taskid

string

Required

Body Parameters

EditVacantCheckDefectDTO
NameDescriptionTypeAdditional information
Type

string

None.

CloserName

string

None.

ProjectName

string

None.

UnitNo

string

None.

DateFinding

date

None.

UnitPlan

JobImagesDTO

None.

Result

string

None.

Id

string

None.

JobId

string

None.

Remarks

string

None.

IsCompleted

boolean

None.

JobDefect

Collection of JobDefectDTO

None.

DateCreated

date

None.

DateModified

date

None.

DateDeleted

date

None.

CreatedBy

string

None.

ModifiedBy

string

None.

DeletedBy

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Type": "sample string 1",
  "CloserName": "sample string 2",
  "ProjectName": "sample string 3",
  "UnitNo": "sample string 4",
  "DateFinding": "2024-11-28T01:54:45.7951891+08:00",
  "UnitPlan": {
    "Id": "sample string 1",
    "ImagePath": "sample string 2",
    "FileName": "sample string 3",
    "IsDeleted": true
  },
  "Result": "sample string 5",
  "Id": "sample string 6",
  "JobId": "sample string 7",
  "Remarks": "sample string 8",
  "IsCompleted": true,
  "JobDefect": [
    {
      "Id": "sample string 1",
      "JobId": "sample string 2",
      "TaskId": "sample string 3",
      "SubJobNo": "sample string 4",
      "Category": "sample string 5",
      "RepairArea": "sample string 6",
      "Description": "sample string 7",
      "Remarks": "sample string 8",
      "DefectUnitPlanImage": {
        "Id": "sample string 1",
        "ImagePath": "sample string 2",
        "FileName": "sample string 3",
        "IsDeleted": true
      },
      "DefectUnitImagesAndVideos": [
        {
          "Id": "sample string 1",
          "ImagePath": "sample string 2",
          "FileName": "sample string 3",
          "IsDeleted": true
        },
        {
          "Id": "sample string 1",
          "ImagePath": "sample string 2",
          "FileName": "sample string 3",
          "IsDeleted": true
        }
      ],
      "IsDeleted": true
    },
    {
      "Id": "sample string 1",
      "JobId": "sample string 2",
      "TaskId": "sample string 3",
      "SubJobNo": "sample string 4",
      "Category": "sample string 5",
      "RepairArea": "sample string 6",
      "Description": "sample string 7",
      "Remarks": "sample string 8",
      "DefectUnitPlanImage": {
        "Id": "sample string 1",
        "ImagePath": "sample string 2",
        "FileName": "sample string 3",
        "IsDeleted": true
      },
      "DefectUnitImagesAndVideos": [
        {
          "Id": "sample string 1",
          "ImagePath": "sample string 2",
          "FileName": "sample string 3",
          "IsDeleted": true
        },
        {
          "Id": "sample string 1",
          "ImagePath": "sample string 2",
          "FileName": "sample string 3",
          "IsDeleted": true
        }
      ],
      "IsDeleted": true
    }
  ],
  "DateCreated": "2024-11-28T01:54:45.7951891+08:00",
  "DateModified": "2024-11-28T01:54:45.7951891+08:00",
  "DateDeleted": "2024-11-28T01:54:45.7951891+08:00",
  "CreatedBy": "sample string 10",
  "ModifiedBy": "sample string 11",
  "DeletedBy": "sample string 12"
}

application/xml, text/xml

Sample:
<EditVacantCheckDefectDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HyperQB.EZTOneApp.Services.DTO">
  <CloserName>sample string 2</CloserName>
  <CreatedBy>sample string 10</CreatedBy>
  <DateCreated>2024-11-28T01:54:45.7951891+08:00</DateCreated>
  <DateDeleted>2024-11-28T01:54:45.7951891+08:00</DateDeleted>
  <DateFinding>2024-11-28T01:54:45.7951891+08:00</DateFinding>
  <DateModified>2024-11-28T01:54:45.7951891+08:00</DateModified>
  <DeletedBy>sample string 12</DeletedBy>
  <Id>sample string 6</Id>
  <IsCompleted>true</IsCompleted>
  <JobDefect>
    <JobDefectDTO>
      <Category>sample string 5</Category>
      <DefectUnitImagesAndVideos>
        <JobImagesDTO>
          <FileName>sample string 3</FileName>
          <Id>sample string 1</Id>
          <ImagePath>sample string 2</ImagePath>
          <IsDeleted>true</IsDeleted>
        </JobImagesDTO>
        <JobImagesDTO>
          <FileName>sample string 3</FileName>
          <Id>sample string 1</Id>
          <ImagePath>sample string 2</ImagePath>
          <IsDeleted>true</IsDeleted>
        </JobImagesDTO>
      </DefectUnitImagesAndVideos>
      <DefectUnitPlanImage>
        <FileName>sample string 3</FileName>
        <Id>sample string 1</Id>
        <ImagePath>sample string 2</ImagePath>
        <IsDeleted>true</IsDeleted>
      </DefectUnitPlanImage>
      <Description>sample string 7</Description>
      <Id>sample string 1</Id>
      <IsDeleted>true</IsDeleted>
      <JobId>sample string 2</JobId>
      <Remarks>sample string 8</Remarks>
      <RepairArea>sample string 6</RepairArea>
      <SubJobNo>sample string 4</SubJobNo>
      <TaskId>sample string 3</TaskId>
    </JobDefectDTO>
    <JobDefectDTO>
      <Category>sample string 5</Category>
      <DefectUnitImagesAndVideos>
        <JobImagesDTO>
          <FileName>sample string 3</FileName>
          <Id>sample string 1</Id>
          <ImagePath>sample string 2</ImagePath>
          <IsDeleted>true</IsDeleted>
        </JobImagesDTO>
        <JobImagesDTO>
          <FileName>sample string 3</FileName>
          <Id>sample string 1</Id>
          <ImagePath>sample string 2</ImagePath>
          <IsDeleted>true</IsDeleted>
        </JobImagesDTO>
      </DefectUnitImagesAndVideos>
      <DefectUnitPlanImage>
        <FileName>sample string 3</FileName>
        <Id>sample string 1</Id>
        <ImagePath>sample string 2</ImagePath>
        <IsDeleted>true</IsDeleted>
      </DefectUnitPlanImage>
      <Description>sample string 7</Description>
      <Id>sample string 1</Id>
      <IsDeleted>true</IsDeleted>
      <JobId>sample string 2</JobId>
      <Remarks>sample string 8</Remarks>
      <RepairArea>sample string 6</RepairArea>
      <SubJobNo>sample string 4</SubJobNo>
      <TaskId>sample string 3</TaskId>
    </JobDefectDTO>
  </JobDefect>
  <JobId>sample string 7</JobId>
  <ModifiedBy>sample string 11</ModifiedBy>
  <ProjectName>sample string 3</ProjectName>
  <Remarks>sample string 8</Remarks>
  <Result>sample string 5</Result>
  <Type>sample string 1</Type>
  <UnitNo>sample string 4</UnitNo>
  <UnitPlan>
    <FileName>sample string 3</FileName>
    <Id>sample string 1</Id>
    <ImagePath>sample string 2</ImagePath>
    <IsDeleted>true</IsDeleted>
  </UnitPlan>
</EditVacantCheckDefectDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.