POST api/jobs-handover/appointments/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

Required

Body Parameters

EditJobHandoverModel
NameDescriptionTypeAdditional information
JobLease

Collection of JobLeaseModel

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.

JobLeaseNoOfOccupantAdult

integer

None.

JobLeaseNoOfOccupantChild

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "JobLease": [
    {
      "Id": "sample string 1",
      "TenantName": "sample string 2",
      "TenantNRIC": "sample string 3",
      "TenantNationality": "sample string 4",
      "TenantContact": "sample string 5",
      "TenantEmail": "sample string 6",
      "EmergencyName": "sample string 7",
      "EmergencyContact": "sample string 8",
      "EmergencyEmail": "sample string 9",
      "IsDeleted": true
    },
    {
      "Id": "sample string 1",
      "TenantName": "sample string 2",
      "TenantNRIC": "sample string 3",
      "TenantNationality": "sample string 4",
      "TenantContact": "sample string 5",
      "TenantEmail": "sample string 6",
      "EmergencyName": "sample string 7",
      "EmergencyContact": "sample string 8",
      "EmergencyEmail": "sample string 9",
      "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
    }
  ],
  "JobLeaseNoOfOccupantAdult": 1,
  "JobLeaseNoOfOccupantChild": 1
}

application/xml, text/xml

Sample:
<EditJobHandoverModel 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>
  <JobLease>
    <JobLeaseModel>
      <EmergencyContact>sample string 8</EmergencyContact>
      <EmergencyEmail>sample string 9</EmergencyEmail>
      <EmergencyName>sample string 7</EmergencyName>
      <Id>sample string 1</Id>
      <IsDeleted>true</IsDeleted>
      <TenantContact>sample string 5</TenantContact>
      <TenantEmail>sample string 6</TenantEmail>
      <TenantNRIC>sample string 3</TenantNRIC>
      <TenantName>sample string 2</TenantName>
      <TenantNationality>sample string 4</TenantNationality>
    </JobLeaseModel>
    <JobLeaseModel>
      <EmergencyContact>sample string 8</EmergencyContact>
      <EmergencyEmail>sample string 9</EmergencyEmail>
      <EmergencyName>sample string 7</EmergencyName>
      <Id>sample string 1</Id>
      <IsDeleted>true</IsDeleted>
      <TenantContact>sample string 5</TenantContact>
      <TenantEmail>sample string 6</TenantEmail>
      <TenantNRIC>sample string 3</TenantNRIC>
      <TenantName>sample string 2</TenantName>
      <TenantNationality>sample string 4</TenantNationality>
    </JobLeaseModel>
  </JobLease>
  <JobLeaseNoOfOccupantAdult>1</JobLeaseNoOfOccupantAdult>
  <JobLeaseNoOfOccupantChild>1</JobLeaseNoOfOccupantChild>
  <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>
</EditJobHandoverModel>

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.