POST api/jobs-vacantcheck/appointments/{id}/complete

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

Required

Body Parameters

EditJobVacantCheckModel
NameDescriptionTypeAdditional information
JobTask

Collection of JobTaskModel

None.

JobImagesAndVideos

Collection of JobImagesModel

None.

InventoryListingImages

Collection of JobImagesModel

None.

Request Formats

application/json, text/json

Sample:
{
  "JobTask": [
    {
      "Id": "sample string 1",
      "TaskName": "sample string 2",
      "IsCompleted": true,
      "Remarks": "sample string 4",
      "DefectCount": 5,
      "DateFinding": "2024-09-28T11:21:22.4262225+08:00"
    },
    {
      "Id": "sample string 1",
      "TaskName": "sample string 2",
      "IsCompleted": true,
      "Remarks": "sample string 4",
      "DefectCount": 5,
      "DateFinding": "2024-09-28T11:21:22.4262225+08:00"
    }
  ],
  "JobImagesAndVideos": [
    {
      "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
    }
  ],
  "InventoryListingImages": [
    {
      "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
    }
  ]
}

application/xml, text/xml

Sample:
<EditJobVacantCheckModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HyperQB.ClientPropertyManagement.API.Models">
  <InventoryListingImages>
    <JobImagesModel>
      <FileName>sample string 3</FileName>
      <Id>sample string 1</Id>
      <ImagePath>sample string 2</ImagePath>
      <IsDeleted>true</IsDeleted>
    </JobImagesModel>
    <JobImagesModel>
      <FileName>sample string 3</FileName>
      <Id>sample string 1</Id>
      <ImagePath>sample string 2</ImagePath>
      <IsDeleted>true</IsDeleted>
    </JobImagesModel>
  </InventoryListingImages>
  <JobImagesAndVideos>
    <JobImagesModel>
      <FileName>sample string 3</FileName>
      <Id>sample string 1</Id>
      <ImagePath>sample string 2</ImagePath>
      <IsDeleted>true</IsDeleted>
    </JobImagesModel>
    <JobImagesModel>
      <FileName>sample string 3</FileName>
      <Id>sample string 1</Id>
      <ImagePath>sample string 2</ImagePath>
      <IsDeleted>true</IsDeleted>
    </JobImagesModel>
  </JobImagesAndVideos>
  <JobTask>
    <JobTaskModel>
      <DateFinding>2024-09-28T11:21:22.4262225+08:00</DateFinding>
      <DefectCount>5</DefectCount>
      <Id>sample string 1</Id>
      <IsCompleted>true</IsCompleted>
      <Remarks>sample string 4</Remarks>
      <TaskName>sample string 2</TaskName>
    </JobTaskModel>
    <JobTaskModel>
      <DateFinding>2024-09-28T11:21:22.4262225+08:00</DateFinding>
      <DefectCount>5</DefectCount>
      <Id>sample string 1</Id>
      <IsCompleted>true</IsCompleted>
      <Remarks>sample string 4</Remarks>
      <TaskName>sample string 2</TaskName>
    </JobTaskModel>
  </JobTask>
</EditJobVacantCheckModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

JobIdOutputModel
NameDescriptionTypeAdditional information
Id

string

None.

Result

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": "sample string 1",
  "Result": "sample string 2"
}

application/xml, text/xml

Sample:
<JobIdOutputModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HyperQB.ClientPropertyManagement.API.Models">
  <Id>sample string 1</Id>
  <Result>sample string 2</Result>
</JobIdOutputModel>