POST api/jobs-handover/appointments
Request Information
URI Parameters
None.
Body Parameters
NewJobHandoverModelName | Description | Type | Additional information |
---|---|---|---|
AppointmentDateStart | date |
None. |
|
AppointmentDateEnd | date |
None. |
|
ProjectId | string |
None. |
|
UnitId | string |
None. |
|
Remarks | string |
None. |
|
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:
{ "AppointmentDateStart": "2024-11-28T01:48:25.6732094+08:00", "AppointmentDateEnd": "2024-11-28T01:48:25.6732094+08:00", "ProjectId": "sample string 1", "UnitId": "sample string 2", "Remarks": "sample string 3", "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:
<NewJobHandoverModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HyperQB.ClientPropertyManagement.API.Models"> <AppointmentDateEnd>2024-11-28T01:48:25.6732094+08:00</AppointmentDateEnd> <AppointmentDateStart>2024-11-28T01:48:25.6732094+08:00</AppointmentDateStart> <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> <ProjectId>sample string 1</ProjectId> <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> <Remarks>sample string 3</Remarks> <UnitId>sample string 2</UnitId> <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> </NewJobHandoverModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.