GET api/Job/GetExpiringJobs?Page={Page}&ItemsPerPage={ItemsPerPage}&SortBy={SortBy}&Reverse={Reverse}&JobId={JobId}&DiomNr={DiomNr}

Request Information

URI Parameters

Name Description Type Additional information
Page

integer

None.

ItemsPerPage

integer

None.

SortBy

string

None.

Reverse

boolean

None.

JobId

integer

None.

DiomNr

integer

None.

Body Parameters

None.

Response Information

Resource Description

JobGridModel
Name Description Type Additional information
Jobs

Collection of JobViewModel

None.

TotalRecords

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Jobs": [
    {
      "JobId": 1,
      "JostNo": 2,
      "JobNumber": "sample string 3",
      "PickupPoint": "sample string 4",
      "DistributorLocationId": 5,
      "EmployeeId": 1,
      "Imei": "sample string 6",
      "SourceId": "sample string 7",
      "FullName": "sample string 8",
      "DeviceId": 1,
      "PhoneNo": "sample string 9",
      "StatusId": 64,
      "JobStatus": "sample string 11",
      "StartTime": "00:00:00.1234567",
      "EndTime": "00:00:00.1234567",
      "TotalTasks": 1,
      "CompletedTask": 1,
      "ProblemTask": 1,
      "SolvedProblem": 1,
      "TimeLine": "2025-05-17T00:31:16.9872554Z",
      "Delayed": true,
      "ActivityPeformedAfterForceClose": true,
      "IsJobSplitted": true,
      "SaltCode": "sample string 15",
      "SaltCodeText": "sample string 16",
      "PreJobId": 1,
      "PreJobErrorCount": 1,
      "PreJobSwipedTasksCount": 1,
      "PreJobTotalTasks": 1,
      "PreJobLastDeliveryTime": "2025-05-17T00:31:16.9872554Z",
      "PreJobStatusId": 64,
      "ServiceProviderId": 18,
      "EodSwiped": true,
      "KeyInfoCount": 19,
      "ShopCount": 20
    },
    {
      "JobId": 1,
      "JostNo": 2,
      "JobNumber": "sample string 3",
      "PickupPoint": "sample string 4",
      "DistributorLocationId": 5,
      "EmployeeId": 1,
      "Imei": "sample string 6",
      "SourceId": "sample string 7",
      "FullName": "sample string 8",
      "DeviceId": 1,
      "PhoneNo": "sample string 9",
      "StatusId": 64,
      "JobStatus": "sample string 11",
      "StartTime": "00:00:00.1234567",
      "EndTime": "00:00:00.1234567",
      "TotalTasks": 1,
      "CompletedTask": 1,
      "ProblemTask": 1,
      "SolvedProblem": 1,
      "TimeLine": "2025-05-17T00:31:16.9872554Z",
      "Delayed": true,
      "ActivityPeformedAfterForceClose": true,
      "IsJobSplitted": true,
      "SaltCode": "sample string 15",
      "SaltCodeText": "sample string 16",
      "PreJobId": 1,
      "PreJobErrorCount": 1,
      "PreJobSwipedTasksCount": 1,
      "PreJobTotalTasks": 1,
      "PreJobLastDeliveryTime": "2025-05-17T00:31:16.9872554Z",
      "PreJobStatusId": 64,
      "ServiceProviderId": 18,
      "EodSwiped": true,
      "KeyInfoCount": 19,
      "ShopCount": 20
    }
  ],
  "TotalRecords": 1
}

text/html

Sample:
{"Jobs":[{"JobId":1,"JostNo":2,"JobNumber":"sample string 3","PickupPoint":"sample string 4","DistributorLocationId":5,"EmployeeId":1,"Imei":"sample string 6","SourceId":"sample string 7","FullName":"sample string 8","DeviceId":1,"PhoneNo":"sample string 9","StatusId":64,"JobStatus":"sample string 11","StartTime":"00:00:00.1234567","EndTime":"00:00:00.1234567","TotalTasks":1,"CompletedTask":1,"ProblemTask":1,"SolvedProblem":1,"TimeLine":"2025-05-17T00:31:16.9872554Z","Delayed":true,"ActivityPeformedAfterForceClose":true,"IsJobSplitted":true,"SaltCode":"sample string 15","SaltCodeText":"sample string 16","PreJobId":1,"PreJobErrorCount":1,"PreJobSwipedTasksCount":1,"PreJobTotalTasks":1,"PreJobLastDeliveryTime":"2025-05-17T00:31:16.9872554Z","PreJobStatusId":64,"ServiceProviderId":18,"EodSwiped":true,"KeyInfoCount":19,"ShopCount":20},{"JobId":1,"JostNo":2,"JobNumber":"sample string 3","PickupPoint":"sample string 4","DistributorLocationId":5,"EmployeeId":1,"Imei":"sample string 6","SourceId":"sample string 7","FullName":"sample string 8","DeviceId":1,"PhoneNo":"sample string 9","StatusId":64,"JobStatus":"sample string 11","StartTime":"00:00:00.1234567","EndTime":"00:00:00.1234567","TotalTasks":1,"CompletedTask":1,"ProblemTask":1,"SolvedProblem":1,"TimeLine":"2025-05-17T00:31:16.9872554Z","Delayed":true,"ActivityPeformedAfterForceClose":true,"IsJobSplitted":true,"SaltCode":"sample string 15","SaltCodeText":"sample string 16","PreJobId":1,"PreJobErrorCount":1,"PreJobSwipedTasksCount":1,"PreJobTotalTasks":1,"PreJobLastDeliveryTime":"2025-05-17T00:31:16.9872554Z","PreJobStatusId":64,"ServiceProviderId":18,"EodSwiped":true,"KeyInfoCount":19,"ShopCount":20}],"TotalRecords":1}

application/xml, text/xml

Sample:
<JobGridModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DAO.Models.Job">
  <Jobs>
    <JobViewModel>
      <ActivityPeformedAfterForceClose>true</ActivityPeformedAfterForceClose>
      <CompletedTask>1</CompletedTask>
      <Delayed>true</Delayed>
      <DeviceId>1</DeviceId>
      <DistributorLocationId>5</DistributorLocationId>
      <EmployeeId>1</EmployeeId>
      <EndTime>PT0.1234567S</EndTime>
      <EodSwiped>true</EodSwiped>
      <FullName>sample string 8</FullName>
      <Imei>sample string 6</Imei>
      <IsJobSplitted>true</IsJobSplitted>
      <JobId>1</JobId>
      <JobNumber>sample string 3</JobNumber>
      <JobStatus>sample string 11</JobStatus>
      <JostNo>2</JostNo>
      <KeyInfoCount>19</KeyInfoCount>
      <PhoneNo>sample string 9</PhoneNo>
      <PickupPoint>sample string 4</PickupPoint>
      <PreJobErrorCount>1</PreJobErrorCount>
      <PreJobId>1</PreJobId>
      <PreJobLastDeliveryTime>2025-05-17T00:31:16.9872554Z</PreJobLastDeliveryTime>
      <PreJobStatusId>64</PreJobStatusId>
      <PreJobSwipedTasksCount>1</PreJobSwipedTasksCount>
      <PreJobTotalTasks>1</PreJobTotalTasks>
      <ProblemTask>1</ProblemTask>
      <SaltCode>sample string 15</SaltCode>
      <SaltCodeText>sample string 16</SaltCodeText>
      <ServiceProviderId>18</ServiceProviderId>
      <ShopCount>20</ShopCount>
      <SolvedProblem>1</SolvedProblem>
      <SourceId>sample string 7</SourceId>
      <StartTime>PT0.1234567S</StartTime>
      <StatusId>64</StatusId>
      <TimeLine>2025-05-17T00:31:16.9872554Z</TimeLine>
      <TotalTasks>1</TotalTasks>
    </JobViewModel>
    <JobViewModel>
      <ActivityPeformedAfterForceClose>true</ActivityPeformedAfterForceClose>
      <CompletedTask>1</CompletedTask>
      <Delayed>true</Delayed>
      <DeviceId>1</DeviceId>
      <DistributorLocationId>5</DistributorLocationId>
      <EmployeeId>1</EmployeeId>
      <EndTime>PT0.1234567S</EndTime>
      <EodSwiped>true</EodSwiped>
      <FullName>sample string 8</FullName>
      <Imei>sample string 6</Imei>
      <IsJobSplitted>true</IsJobSplitted>
      <JobId>1</JobId>
      <JobNumber>sample string 3</JobNumber>
      <JobStatus>sample string 11</JobStatus>
      <JostNo>2</JostNo>
      <KeyInfoCount>19</KeyInfoCount>
      <PhoneNo>sample string 9</PhoneNo>
      <PickupPoint>sample string 4</PickupPoint>
      <PreJobErrorCount>1</PreJobErrorCount>
      <PreJobId>1</PreJobId>
      <PreJobLastDeliveryTime>2025-05-17T00:31:16.9872554Z</PreJobLastDeliveryTime>
      <PreJobStatusId>64</PreJobStatusId>
      <PreJobSwipedTasksCount>1</PreJobSwipedTasksCount>
      <PreJobTotalTasks>1</PreJobTotalTasks>
      <ProblemTask>1</ProblemTask>
      <SaltCode>sample string 15</SaltCode>
      <SaltCodeText>sample string 16</SaltCodeText>
      <ServiceProviderId>18</ServiceProviderId>
      <ShopCount>20</ShopCount>
      <SolvedProblem>1</SolvedProblem>
      <SourceId>sample string 7</SourceId>
      <StartTime>PT0.1234567S</StartTime>
      <StatusId>64</StatusId>
      <TimeLine>2025-05-17T00:31:16.9872554Z</TimeLine>
      <TotalTasks>1</TotalTasks>
    </JobViewModel>
  </Jobs>
  <TotalRecords>1</TotalRecords>
</JobGridModel>