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

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

Required

Body Parameters

EditJobSurrenderModel
NameDescriptionTypeAdditional information
PoliceReportNo

string

None.

PoliceReportDate

date

None.

PoliceReportImages

Collection of JobImagesModel

None.

UnitImages

Collection of JobImagesModel

None.

WaterMeterReadingImages

Collection of JobImagesModel

None.

ChilledWaterMeterReadingImages

Collection of JobImagesModel

None.

ElectricityWaterMeterReadingImages

Collection of JobImagesModel

None.

ProofOfAcknowledgementImages

Collection of JobImagesModel

None.

InventoryListingImages

Collection of JobImagesModel

None.

Request Formats

application/json, text/json

Sample:
{
  "PoliceReportNo": "sample string 1",
  "PoliceReportDate": "2024-11-28T01:36:09.6828814+08:00",
  "PoliceReportImages": [
    {
      "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
    }
  ],
  "UnitImages": [
    {
      "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
    }
  ],
  "WaterMeterReadingImages": [
    {
      "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
    }
  ],
  "ChilledWaterMeterReadingImages": [
    {
      "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
    }
  ],
  "ElectricityWaterMeterReadingImages": [
    {
      "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
    }
  ],
  "ProofOfAcknowledgementImages": [
    {
      "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:
<EditJobSurrenderModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HyperQB.ClientPropertyManagement.API.Models">
  <ChilledWaterMeterReadingImages>
    <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>
  </ChilledWaterMeterReadingImages>
  <ElectricityWaterMeterReadingImages>
    <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>
  </ElectricityWaterMeterReadingImages>
  <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>
  <PoliceReportDate>2024-11-28T01:36:09.6828814+08:00</PoliceReportDate>
  <PoliceReportImages>
    <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>
  </PoliceReportImages>
  <PoliceReportNo>sample string 1</PoliceReportNo>
  <ProofOfAcknowledgementImages>
    <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>
  </ProofOfAcknowledgementImages>
  <UnitImages>
    <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>
  </UnitImages>
  <WaterMeterReadingImages>
    <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>
  </WaterMeterReadingImages>
</EditJobSurrenderModel>

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>