GET api/jobs-subsales?ProjectId={ProjectId}&UnitId={UnitId}&IsHistory={IsHistory}&DateFrom={DateFrom}&DateTo={DateTo}&PageIndex={PageIndex}&PageSize={PageSize}

Request Information

URI Parameters

NameDescriptionTypeAdditional 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

PaginationRespModelOfPendingJobOutputModel
NameDescriptionTypeAdditional information
CurrentPage

integer

None.

LastPage

integer

None.

PerPage

integer

None.

Total

integer

None.

From

integer

None.

To

integer

None.

Data

Collection of PendingJobOutputModel

None.

Response Formats

application/json, text/json

Sample:
{
  "CurrentPage": 1,
  "LastPage": 2,
  "PerPage": 3,
  "Total": 4,
  "From": 5,
  "To": 6,
  "Data": [
    {
      "Id": "sample string 1",
      "JobNo": "sample string 2",
      "Type": "sample string 3",
      "AgentId": "sample string 4",
      "AgentName": "sample string 5",
      "Agency": "sample string 6",
      "AgentContactNumber": "sample string 7",
      "CloserId": "sample string 8",
      "AssignedBy": "sample string 9",
      "JobStatus": "sample string 10",
      "JobStatusColor": "sample string 11",
      "Category": "sample string 12",
      "ProjectId": "sample string 13",
      "ProjectName": "sample string 14",
      "UnitId": "sample string 15",
      "UnitNo": "sample string 16",
      "AppointmentId": "sample string 17",
      "AppointmentStart": "2024-11-28T01:50:53.7995518+08:00",
      "AppointmentEnd": "2024-11-28T01:50:53.7995518+08:00",
      "Remarks": "sample string 18",
      "IsCancelable": true,
      "IsRejectable": true,
      "DateCreated": "2024-11-28T01:50:53.7995518+08:00",
      "DateModified": "2024-11-28T01:50:53.7995518+08:00",
      "DateDeleted": "2024-11-28T01:50:53.7995518+08:00",
      "CreatedBy": "sample string 21",
      "ModifiedBy": "sample string 22",
      "DeletedBy": "sample string 23"
    },
    {
      "Id": "sample string 1",
      "JobNo": "sample string 2",
      "Type": "sample string 3",
      "AgentId": "sample string 4",
      "AgentName": "sample string 5",
      "Agency": "sample string 6",
      "AgentContactNumber": "sample string 7",
      "CloserId": "sample string 8",
      "AssignedBy": "sample string 9",
      "JobStatus": "sample string 10",
      "JobStatusColor": "sample string 11",
      "Category": "sample string 12",
      "ProjectId": "sample string 13",
      "ProjectName": "sample string 14",
      "UnitId": "sample string 15",
      "UnitNo": "sample string 16",
      "AppointmentId": "sample string 17",
      "AppointmentStart": "2024-11-28T01:50:53.7995518+08:00",
      "AppointmentEnd": "2024-11-28T01:50:53.7995518+08:00",
      "Remarks": "sample string 18",
      "IsCancelable": true,
      "IsRejectable": true,
      "DateCreated": "2024-11-28T01:50:53.7995518+08:00",
      "DateModified": "2024-11-28T01:50:53.7995518+08:00",
      "DateDeleted": "2024-11-28T01:50:53.7995518+08:00",
      "CreatedBy": "sample string 21",
      "ModifiedBy": "sample string 22",
      "DeletedBy": "sample string 23"
    }
  ]
}

application/xml, text/xml

Sample:
<PaginationRespModelOfPendingJobOutputModelpVZiKEaY xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HyperQB.ClientPropertyManagement.API.Models">
  <CurrentPage>1</CurrentPage>
  <Data>
    <PendingJobOutputModel>
      <Agency>sample string 6</Agency>
      <AgentContactNumber>sample string 7</AgentContactNumber>
      <AgentId>sample string 4</AgentId>
      <AgentName>sample string 5</AgentName>
      <AppointmentEnd>2024-11-28T01:50:53.7995518+08:00</AppointmentEnd>
      <AppointmentId>sample string 17</AppointmentId>
      <AppointmentStart>2024-11-28T01:50:53.7995518+08:00</AppointmentStart>
      <AssignedBy>sample string 9</AssignedBy>
      <Category>sample string 12</Category>
      <CloserId>sample string 8</CloserId>
      <CreatedBy>sample string 21</CreatedBy>
      <DateCreated>2024-11-28T01:50:53.7995518+08:00</DateCreated>
      <DateDeleted>2024-11-28T01:50:53.7995518+08:00</DateDeleted>
      <DateModified>2024-11-28T01:50:53.7995518+08:00</DateModified>
      <DeletedBy>sample string 23</DeletedBy>
      <Id>sample string 1</Id>
      <IsCancelable>true</IsCancelable>
      <IsRejectable>true</IsRejectable>
      <JobNo>sample string 2</JobNo>
      <JobStatus>sample string 10</JobStatus>
      <JobStatusColor>sample string 11</JobStatusColor>
      <ModifiedBy>sample string 22</ModifiedBy>
      <ProjectId>sample string 13</ProjectId>
      <ProjectName>sample string 14</ProjectName>
      <Remarks>sample string 18</Remarks>
      <Type>sample string 3</Type>
      <UnitId>sample string 15</UnitId>
      <UnitNo>sample string 16</UnitNo>
    </PendingJobOutputModel>
    <PendingJobOutputModel>
      <Agency>sample string 6</Agency>
      <AgentContactNumber>sample string 7</AgentContactNumber>
      <AgentId>sample string 4</AgentId>
      <AgentName>sample string 5</AgentName>
      <AppointmentEnd>2024-11-28T01:50:53.7995518+08:00</AppointmentEnd>
      <AppointmentId>sample string 17</AppointmentId>
      <AppointmentStart>2024-11-28T01:50:53.7995518+08:00</AppointmentStart>
      <AssignedBy>sample string 9</AssignedBy>
      <Category>sample string 12</Category>
      <CloserId>sample string 8</CloserId>
      <CreatedBy>sample string 21</CreatedBy>
      <DateCreated>2024-11-28T01:50:53.7995518+08:00</DateCreated>
      <DateDeleted>2024-11-28T01:50:53.7995518+08:00</DateDeleted>
      <DateModified>2024-11-28T01:50:53.7995518+08:00</DateModified>
      <DeletedBy>sample string 23</DeletedBy>
      <Id>sample string 1</Id>
      <IsCancelable>true</IsCancelable>
      <IsRejectable>true</IsRejectable>
      <JobNo>sample string 2</JobNo>
      <JobStatus>sample string 10</JobStatus>
      <JobStatusColor>sample string 11</JobStatusColor>
      <ModifiedBy>sample string 22</ModifiedBy>
      <ProjectId>sample string 13</ProjectId>
      <ProjectName>sample string 14</ProjectName>
      <Remarks>sample string 18</Remarks>
      <Type>sample string 3</Type>
      <UnitId>sample string 15</UnitId>
      <UnitNo>sample string 16</UnitNo>
    </PendingJobOutputModel>
  </Data>
  <From>5</From>
  <LastPage>2</LastPage>
  <PerPage>3</PerPage>
  <To>6</To>
  <Total>4</Total>
</PaginationRespModelOfPendingJobOutputModelpVZiKEaY>