POST api/Job/GetEndJobDetails
Request Information
URI Parameters
None.
Body Parameters
GridModelName | Description | Type | Additional information |
---|---|---|---|
Page | integer |
None. |
|
ItemsPerPage | integer |
None. |
|
SortBy | string |
None. |
|
Reverse | boolean |
None. |
|
JobId | integer |
None. |
|
DiomNr | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "Page": 1, "ItemsPerPage": 2, "SortBy": "sample string 3", "Reverse": true, "JobId": 5, "DiomNr": 1 }
text/html
Sample:
{"Page":1,"ItemsPerPage":2,"SortBy":"sample string 3","Reverse":true,"JobId":5,"DiomNr":1}
application/xml, text/xml
Sample:
<GridModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DAO.Models.Util"> <DiomNr>1</DiomNr> <ItemsPerPage>2</ItemsPerPage> <JobId>5</JobId> <Page>1</Page> <Reverse>true</Reverse> <SortBy>sample string 3</SortBy> </GridModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
JobGridModelName | 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-16T23:27:09.426514Z", "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-16T23:27:09.426514Z", "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-16T23:27:09.426514Z", "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-16T23:27:09.426514Z", "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-16T23:27:09.426514Z","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-16T23:27:09.426514Z","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-16T23:27:09.426514Z","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-16T23:27:09.426514Z","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-16T23:27:09.426514Z</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-16T23:27:09.426514Z</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-16T23:27:09.426514Z</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-16T23:27:09.426514Z</TimeLine> <TotalTasks>1</TotalTasks> </JobViewModel> </Jobs> <TotalRecords>1</TotalRecords> </JobGridModel>