POST api/Job/GetJobsByServiceWorkerIds

Request Information

URI Parameters

None.

Body Parameters

CsvExportModel
Name Description Type Additional information
ServiceWorkerIds

Collection of integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ServiceWorkerIds": [
    1,
    1
  ]
}

text/html

Sample:
{"ServiceWorkerIds":[1,1]}

application/xml, text/xml

Sample:
<CsvExportModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DAO.Models.Job">
  <ServiceWorkerIds xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:long>1</d2p1:long>
    <d2p1:long>1</d2p1:long>
  </ServiceWorkerIds>
</CsvExportModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of JobViewModel
Name Description Type Additional information
JobId

integer

None.

JostNo

integer

None.

JobNumber

string

None.

PickupPoint

string

None.

DistributorLocationId

integer

None.

EmployeeId

integer

None.

Imei

string

None.

SourceId

string

None.

FullName

string

None.

DeviceId

integer

None.

PhoneNo

string

None.

StatusId

byte

None.

JobStatus

string

None.

StartTime

time interval

None.

EndTime

time interval

None.

TotalTasks

integer

None.

CompletedTask

integer

None.

ProblemTask

integer

None.

SolvedProblem

integer

None.

TimeLine

date

None.

Delayed

boolean

None.

ActivityPeformedAfterForceClose

boolean

None.

IsJobSplitted

boolean

None.

SaltCode

string

None.

SaltCodeText

string

None.

PreJobId

integer

None.

PreJobErrorCount

integer

None.

PreJobSwipedTasksCount

integer

None.

PreJobTotalTasks

integer

None.

PreJobLastDeliveryTime

date

None.

PreJobStatusId

byte

None.

ServiceProviderId

integer

None.

EodSwiped

boolean

None.

KeyInfoCount

integer

None.

ShopCount

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "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:00:44.6643625Z",
    "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:00:44.6643625Z",
    "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:00:44.6643625Z",
    "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:00:44.6643625Z",
    "PreJobStatusId": 64,
    "ServiceProviderId": 18,
    "EodSwiped": true,
    "KeyInfoCount": 19,
    "ShopCount": 20
  }
]

text/html

Sample:
[{"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:00:44.6643625Z","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:00:44.6643625Z","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:00:44.6643625Z","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:00:44.6643625Z","PreJobStatusId":64,"ServiceProviderId":18,"EodSwiped":true,"KeyInfoCount":19,"ShopCount":20}]

application/xml, text/xml

Sample:
<ArrayOfJobViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DAO.Models.Job">
  <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:00:44.6643625Z</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:00:44.6643625Z</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:00:44.6643625Z</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:00:44.6643625Z</TimeLine>
    <TotalTasks>1</TotalTasks>
  </JobViewModel>
</ArrayOfJobViewModel>