GET api/jobs-surrender/appointments?ProjectId={ProjectId}&UnitId={UnitId}&IsHistory={IsHistory}&DateFrom={DateFrom}&DateTo={DateTo}&PageIndex={PageIndex}&PageSize={PageSize}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
ProjectId | string |
None. |
|
UnitId | string |
None. |
|
IsHistory | boolean |
None. |
|
DateFrom | date |
None. |
|
DateTo | date |
None. |
|
PageIndex | integer |
None. |
|
PageSize | integer |
None. |
Body Parameters
None.
Response Information
Resource Description
PaginationRespModelOfJobSurrenderOutputModelName | Description | Type | Additional information |
---|---|---|---|
CurrentPage | integer |
None. |
|
LastPage | integer |
None. |
|
PerPage | integer |
None. |
|
Total | integer |
None. |
|
From | integer |
None. |
|
To | integer |
None. |
|
Data | Collection of JobSurrenderOutputModel |
None. |
Response Formats
application/json, text/json
Sample:
{ "CurrentPage": 1, "LastPage": 2, "PerPage": 3, "Total": 4, "From": 5, "To": 6, "Data": [ { "CloserName": "sample string 1", "CloserContactNumber": "sample string 2", "TenancyTenure": "sample string 3", "TenancyStart": "2024-11-28T01:38:57.4337729+08:00", "TenancyEnd": "2024-11-28T01:38:57.4337729+08:00", "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 } ], "PoliceReportNo": "sample string 4", "PoliceReportDate": "2024-11-28T01:38:57.4337729+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 } ], "Id": "sample string 5", "JobNo": "sample string 6", "AgentId": "sample string 7", "AgentName": "sample string 8", "Agency": "sample string 9", "AgentContactNumber": "sample string 10", "CloserId": "sample string 11", "AssignedBy": "sample string 12", "JobAppointmentStatus": "sample string 13", "JobAppointmentStatusColor": "sample string 14", "JobStatus": "sample string 15", "JobStatusColor": "sample string 16", "Category": "sample string 17", "ProjectId": "sample string 18", "ProjectName": "sample string 19", "UnitId": "sample string 20", "UnitNo": "sample string 21", "AppointmentId": "sample string 22", "AppointmentStart": "2024-11-28T01:38:57.4337729+08:00", "AppointmentEnd": "2024-11-28T01:38:57.4337729+08:00", "Remarks": "sample string 23", "Type": "sample string 24", "IsCancelable": true, "IsRejectable": true, "DateCreated": "2024-11-28T01:38:57.4337729+08:00", "DateModified": "2024-11-28T01:38:57.4337729+08:00", "DateDeleted": "2024-11-28T01:38:57.4337729+08:00", "CreatedBy": "sample string 27", "ModifiedBy": "sample string 28", "DeletedBy": "sample string 29", "IsSuccess": true, "Message": "sample string 31" }, { "CloserName": "sample string 1", "CloserContactNumber": "sample string 2", "TenancyTenure": "sample string 3", "TenancyStart": "2024-11-28T01:38:57.4337729+08:00", "TenancyEnd": "2024-11-28T01:38:57.4337729+08:00", "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 } ], "PoliceReportNo": "sample string 4", "PoliceReportDate": "2024-11-28T01:38:57.4337729+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 } ], "Id": "sample string 5", "JobNo": "sample string 6", "AgentId": "sample string 7", "AgentName": "sample string 8", "Agency": "sample string 9", "AgentContactNumber": "sample string 10", "CloserId": "sample string 11", "AssignedBy": "sample string 12", "JobAppointmentStatus": "sample string 13", "JobAppointmentStatusColor": "sample string 14", "JobStatus": "sample string 15", "JobStatusColor": "sample string 16", "Category": "sample string 17", "ProjectId": "sample string 18", "ProjectName": "sample string 19", "UnitId": "sample string 20", "UnitNo": "sample string 21", "AppointmentId": "sample string 22", "AppointmentStart": "2024-11-28T01:38:57.4337729+08:00", "AppointmentEnd": "2024-11-28T01:38:57.4337729+08:00", "Remarks": "sample string 23", "Type": "sample string 24", "IsCancelable": true, "IsRejectable": true, "DateCreated": "2024-11-28T01:38:57.4337729+08:00", "DateModified": "2024-11-28T01:38:57.4337729+08:00", "DateDeleted": "2024-11-28T01:38:57.4337729+08:00", "CreatedBy": "sample string 27", "ModifiedBy": "sample string 28", "DeletedBy": "sample string 29", "IsSuccess": true, "Message": "sample string 31" } ] }
application/xml, text/xml
Sample:
<PaginationRespModelOfJobSurrenderOutputModelpVZiKEaY xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HyperQB.ClientPropertyManagement.API.Models"> <CurrentPage>1</CurrentPage> <Data> <JobSurrenderOutputModel> <Agency>sample string 9</Agency> <AgentContactNumber>sample string 10</AgentContactNumber> <AgentId>sample string 7</AgentId> <AgentName>sample string 8</AgentName> <AppointmentEnd>2024-11-28T01:38:57.4337729+08:00</AppointmentEnd> <AppointmentId>sample string 22</AppointmentId> <AppointmentStart>2024-11-28T01:38:57.4337729+08:00</AppointmentStart> <AssignedBy>sample string 12</AssignedBy> <Category>sample string 17</Category> <CloserId>sample string 11</CloserId> <CreatedBy>sample string 27</CreatedBy> <DateCreated>2024-11-28T01:38:57.4337729+08:00</DateCreated> <DateDeleted>2024-11-28T01:38:57.4337729+08:00</DateDeleted> <DateModified>2024-11-28T01:38:57.4337729+08:00</DateModified> <DeletedBy>sample string 29</DeletedBy> <Id>sample string 5</Id> <IsCancelable>true</IsCancelable> <IsRejectable>true</IsRejectable> <IsSuccess>true</IsSuccess> <JobAppointmentStatus>sample string 13</JobAppointmentStatus> <JobAppointmentStatusColor>sample string 14</JobAppointmentStatusColor> <JobNo>sample string 6</JobNo> <JobStatus>sample string 15</JobStatus> <JobStatusColor>sample string 16</JobStatusColor> <Message>sample string 31</Message> <ModifiedBy>sample string 28</ModifiedBy> <ProjectId>sample string 18</ProjectId> <ProjectName>sample string 19</ProjectName> <Remarks>sample string 23</Remarks> <Type>sample string 24</Type> <UnitId>sample string 20</UnitId> <UnitNo>sample string 21</UnitNo> <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> <CloserContactNumber>sample string 2</CloserContactNumber> <CloserName>sample string 1</CloserName> <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> <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> <PoliceReportDate>2024-11-28T01:38:57.4337729+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 4</PoliceReportNo> <TenancyEnd>2024-11-28T01:38:57.4337729+08:00</TenancyEnd> <TenancyStart>2024-11-28T01:38:57.4337729+08:00</TenancyStart> <TenancyTenure>sample string 3</TenancyTenure> <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> </JobSurrenderOutputModel> <JobSurrenderOutputModel> <Agency>sample string 9</Agency> <AgentContactNumber>sample string 10</AgentContactNumber> <AgentId>sample string 7</AgentId> <AgentName>sample string 8</AgentName> <AppointmentEnd>2024-11-28T01:38:57.4337729+08:00</AppointmentEnd> <AppointmentId>sample string 22</AppointmentId> <AppointmentStart>2024-11-28T01:38:57.4337729+08:00</AppointmentStart> <AssignedBy>sample string 12</AssignedBy> <Category>sample string 17</Category> <CloserId>sample string 11</CloserId> <CreatedBy>sample string 27</CreatedBy> <DateCreated>2024-11-28T01:38:57.4337729+08:00</DateCreated> <DateDeleted>2024-11-28T01:38:57.4337729+08:00</DateDeleted> <DateModified>2024-11-28T01:38:57.4337729+08:00</DateModified> <DeletedBy>sample string 29</DeletedBy> <Id>sample string 5</Id> <IsCancelable>true</IsCancelable> <IsRejectable>true</IsRejectable> <IsSuccess>true</IsSuccess> <JobAppointmentStatus>sample string 13</JobAppointmentStatus> <JobAppointmentStatusColor>sample string 14</JobAppointmentStatusColor> <JobNo>sample string 6</JobNo> <JobStatus>sample string 15</JobStatus> <JobStatusColor>sample string 16</JobStatusColor> <Message>sample string 31</Message> <ModifiedBy>sample string 28</ModifiedBy> <ProjectId>sample string 18</ProjectId> <ProjectName>sample string 19</ProjectName> <Remarks>sample string 23</Remarks> <Type>sample string 24</Type> <UnitId>sample string 20</UnitId> <UnitNo>sample string 21</UnitNo> <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> <CloserContactNumber>sample string 2</CloserContactNumber> <CloserName>sample string 1</CloserName> <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> <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> <PoliceReportDate>2024-11-28T01:38:57.4337729+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 4</PoliceReportNo> <TenancyEnd>2024-11-28T01:38:57.4337729+08:00</TenancyEnd> <TenancyStart>2024-11-28T01:38:57.4337729+08:00</TenancyStart> <TenancyTenure>sample string 3</TenancyTenure> <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> </JobSurrenderOutputModel> </Data> <From>5</From> <LastPage>2</LastPage> <PerPage>3</PerPage> <To>6</To> <Total>4</Total> </PaginationRespModelOfJobSurrenderOutputModelpVZiKEaY>