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/Mediahuis.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. |
|
| 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. |
|
| DelayType | string |
None. |
|
| ActivityPeformedAfterForceClose | boolean |
None. |
|
| IsJobSplitted | boolean |
None. |
|
| SaltCode | string |
None. |
|
| SaltCodeText | string |
None. |
|
| SaltCodeFreeText | string |
None. |
|
| PreJobId | integer |
None. |
|
| PreJobErrorCount | integer |
None. |
|
| PreJobSwipedTasksCount | integer |
None. |
|
| PreJobTotalTasks | integer |
None. |
|
| PreJobLastDeliveryTime | date |
None. |
|
| PreJobStatusId | byte |
None. |
|
| ServiceProviderId | integer |
None. |
|
| ForceCompleteEnabled | boolean |
None. |
|
| DelayStatus | 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",
"StatusId": 64,
"JobStatus": "sample string 10",
"StartTime": "00:00:00.1234567",
"EndTime": "00:00:00.1234567",
"TotalTasks": 1,
"CompletedTask": 1,
"ProblemTask": 1,
"SolvedProblem": 1,
"TimeLine": "2026-04-03T06:02:44.9651869Z",
"Delayed": true,
"DelayType": "sample string 12",
"ActivityPeformedAfterForceClose": true,
"IsJobSplitted": true,
"SaltCode": "sample string 15",
"SaltCodeText": "sample string 16",
"SaltCodeFreeText": "sample string 17",
"PreJobId": 1,
"PreJobErrorCount": 1,
"PreJobSwipedTasksCount": 1,
"PreJobTotalTasks": 1,
"PreJobLastDeliveryTime": "2026-04-03T06:02:44.9651869Z",
"PreJobStatusId": 64,
"ServiceProviderId": 19,
"ForceCompleteEnabled": true,
"DelayStatus": 1
},
{
"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",
"StatusId": 64,
"JobStatus": "sample string 10",
"StartTime": "00:00:00.1234567",
"EndTime": "00:00:00.1234567",
"TotalTasks": 1,
"CompletedTask": 1,
"ProblemTask": 1,
"SolvedProblem": 1,
"TimeLine": "2026-04-03T06:02:44.9651869Z",
"Delayed": true,
"DelayType": "sample string 12",
"ActivityPeformedAfterForceClose": true,
"IsJobSplitted": true,
"SaltCode": "sample string 15",
"SaltCodeText": "sample string 16",
"SaltCodeFreeText": "sample string 17",
"PreJobId": 1,
"PreJobErrorCount": 1,
"PreJobSwipedTasksCount": 1,
"PreJobTotalTasks": 1,
"PreJobLastDeliveryTime": "2026-04-03T06:02:44.9651869Z",
"PreJobStatusId": 64,
"ServiceProviderId": 19,
"ForceCompleteEnabled": true,
"DelayStatus": 1
}
]
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","StatusId":64,"JobStatus":"sample string 10","StartTime":"00:00:00.1234567","EndTime":"00:00:00.1234567","TotalTasks":1,"CompletedTask":1,"ProblemTask":1,"SolvedProblem":1,"TimeLine":"2026-04-03T06:02:44.9651869Z","Delayed":true,"DelayType":"sample string 12","ActivityPeformedAfterForceClose":true,"IsJobSplitted":true,"SaltCode":"sample string 15","SaltCodeText":"sample string 16","SaltCodeFreeText":"sample string 17","PreJobId":1,"PreJobErrorCount":1,"PreJobSwipedTasksCount":1,"PreJobTotalTasks":1,"PreJobLastDeliveryTime":"2026-04-03T06:02:44.9651869Z","PreJobStatusId":64,"ServiceProviderId":19,"ForceCompleteEnabled":true,"DelayStatus":1},{"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","StatusId":64,"JobStatus":"sample string 10","StartTime":"00:00:00.1234567","EndTime":"00:00:00.1234567","TotalTasks":1,"CompletedTask":1,"ProblemTask":1,"SolvedProblem":1,"TimeLine":"2026-04-03T06:02:44.9651869Z","Delayed":true,"DelayType":"sample string 12","ActivityPeformedAfterForceClose":true,"IsJobSplitted":true,"SaltCode":"sample string 15","SaltCodeText":"sample string 16","SaltCodeFreeText":"sample string 17","PreJobId":1,"PreJobErrorCount":1,"PreJobSwipedTasksCount":1,"PreJobTotalTasks":1,"PreJobLastDeliveryTime":"2026-04-03T06:02:44.9651869Z","PreJobStatusId":64,"ServiceProviderId":19,"ForceCompleteEnabled":true,"DelayStatus":1}]
application/xml, text/xml
Sample:
<ArrayOfJobViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mediahuis.Models.Job">
<JobViewModel>
<ActivityPeformedAfterForceClose>true</ActivityPeformedAfterForceClose>
<CompletedTask>1</CompletedTask>
<DelayStatus>1</DelayStatus>
<DelayType>sample string 12</DelayType>
<Delayed>true</Delayed>
<DistributorLocationId>5</DistributorLocationId>
<EmployeeId>1</EmployeeId>
<EndTime>PT0.1234567S</EndTime>
<ForceCompleteEnabled>true</ForceCompleteEnabled>
<FullName>sample string 8</FullName>
<Imei>sample string 6</Imei>
<IsJobSplitted>true</IsJobSplitted>
<JobId>1</JobId>
<JobNumber>sample string 3</JobNumber>
<JobStatus>sample string 10</JobStatus>
<JostNo>2</JostNo>
<PickupPoint>sample string 4</PickupPoint>
<PreJobErrorCount>1</PreJobErrorCount>
<PreJobId>1</PreJobId>
<PreJobLastDeliveryTime>2026-04-03T06:02:44.9651869Z</PreJobLastDeliveryTime>
<PreJobStatusId>64</PreJobStatusId>
<PreJobSwipedTasksCount>1</PreJobSwipedTasksCount>
<PreJobTotalTasks>1</PreJobTotalTasks>
<ProblemTask>1</ProblemTask>
<SaltCode>sample string 15</SaltCode>
<SaltCodeFreeText>sample string 17</SaltCodeFreeText>
<SaltCodeText>sample string 16</SaltCodeText>
<ServiceProviderId>19</ServiceProviderId>
<SolvedProblem>1</SolvedProblem>
<SourceId>sample string 7</SourceId>
<StartTime>PT0.1234567S</StartTime>
<StatusId>64</StatusId>
<TimeLine>2026-04-03T06:02:44.9651869Z</TimeLine>
<TotalTasks>1</TotalTasks>
</JobViewModel>
<JobViewModel>
<ActivityPeformedAfterForceClose>true</ActivityPeformedAfterForceClose>
<CompletedTask>1</CompletedTask>
<DelayStatus>1</DelayStatus>
<DelayType>sample string 12</DelayType>
<Delayed>true</Delayed>
<DistributorLocationId>5</DistributorLocationId>
<EmployeeId>1</EmployeeId>
<EndTime>PT0.1234567S</EndTime>
<ForceCompleteEnabled>true</ForceCompleteEnabled>
<FullName>sample string 8</FullName>
<Imei>sample string 6</Imei>
<IsJobSplitted>true</IsJobSplitted>
<JobId>1</JobId>
<JobNumber>sample string 3</JobNumber>
<JobStatus>sample string 10</JobStatus>
<JostNo>2</JostNo>
<PickupPoint>sample string 4</PickupPoint>
<PreJobErrorCount>1</PreJobErrorCount>
<PreJobId>1</PreJobId>
<PreJobLastDeliveryTime>2026-04-03T06:02:44.9651869Z</PreJobLastDeliveryTime>
<PreJobStatusId>64</PreJobStatusId>
<PreJobSwipedTasksCount>1</PreJobSwipedTasksCount>
<PreJobTotalTasks>1</PreJobTotalTasks>
<ProblemTask>1</ProblemTask>
<SaltCode>sample string 15</SaltCode>
<SaltCodeFreeText>sample string 17</SaltCodeFreeText>
<SaltCodeText>sample string 16</SaltCodeText>
<ServiceProviderId>19</ServiceProviderId>
<SolvedProblem>1</SolvedProblem>
<SourceId>sample string 7</SourceId>
<StartTime>PT0.1234567S</StartTime>
<StatusId>64</StatusId>
<TimeLine>2026-04-03T06:02:44.9651869Z</TimeLine>
<TotalTasks>1</TotalTasks>
</JobViewModel>
</ArrayOfJobViewModel>