POST api/Job/GetEndJobDetails
Request Information
URI Parameters
None.
Body Parameters
GridModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Page | integer |
None. |
|
| ItemsPerPage | integer |
None. |
|
| SortBy | string |
None. |
|
| Reverse | boolean |
None. |
|
| JobId | integer |
None. |
|
| DiomNr | integer |
None. |
|
| SupportImageType | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Page": 1,
"ItemsPerPage": 2,
"SortBy": "sample string 3",
"Reverse": true,
"JobId": 5,
"DiomNr": 1,
"SupportImageType": 6
}
text/html
Sample:
{"Page":1,"ItemsPerPage":2,"SortBy":"sample string 3","Reverse":true,"JobId":5,"DiomNr":1,"SupportImageType":6}
application/xml, text/xml
Sample:
<GridModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mediahuis.Models.Util"> <DiomNr>1</DiomNr> <ItemsPerPage>2</ItemsPerPage> <JobId>5</JobId> <Page>1</Page> <Reverse>true</Reverse> <SortBy>sample string 3</SortBy> <SupportImageType>6</SupportImageType> </GridModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
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",
"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:48.8885492Z",
"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:48.8885492Z",
"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:48.8885492Z",
"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:48.8885492Z",
"PreJobStatusId": 64,
"ServiceProviderId": 19,
"ForceCompleteEnabled": true,
"DelayStatus": 1
}
],
"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","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:48.8885492Z","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:48.8885492Z","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:48.8885492Z","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:48.8885492Z","PreJobStatusId":64,"ServiceProviderId":19,"ForceCompleteEnabled":true,"DelayStatus":1}],"TotalRecords":1}
application/xml, text/xml
Sample:
<JobGridModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mediahuis.Models.Job">
<Jobs>
<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:48.8885492Z</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:48.8885492Z</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:48.8885492Z</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:48.8885492Z</TimeLine>
<TotalTasks>1</TotalTasks>
</JobViewModel>
</Jobs>
<TotalRecords>1</TotalRecords>
</JobGridModel>