Home / API Documentation

Get All Work Orders By Date Range and Company

Method: GET api/v1/WorkOrder/GetCompletedWorkOrderListByLastChangedByDateRange?companyid={companyid}&fromdate={fromdate}&todate={todate}&languageid={languageid}&page={page}&pagelimit={pagelimit}

Response Format:

application/json

Required Parameters Description Additional information
companyid

Define this parameter in the request URI.

fromdate

Define this parameter in the request URI.

todate

Define this parameter in the request URI.

languageid

Define this parameter in the request URI.

page

Define this parameter in the request URI.

pagelimit

Define this parameter in the request URI.

application/json, text/json

Sample Response:
                        [
  {
    "woeventid": 1,
    "baseeventid": 2,
    "woheaderid": 3,
    "completeddate": "2025-04-20T03:33:38.1597389+00:00",
    "utctimestamp": "2025-04-20T03:33:38.1602839+00:00",
    "createdby": "sample string 4",
    "scheduledate": "2025-04-20T03:33:38.1602839+00:00",
    "printeddate": "2025-04-20T03:33:38.1602839+00:00",
    "status": 64,
    "eventlink": 6,
    "batchid": 7,
    "programid": 8,
    "lastchangedby": "sample string 9",
    "utclastchanged": "2025-04-20T03:33:38.1602839+00:00",
    "releaseid": 10,
    "assignedto": 11,
    "creategroupid": "fa93a946-f3be-4644-a2aa-ca0e3080f9a8",
    "timerangeid": 12,
    "duration": 13,
    "scheduletime": 14,
    "workpool": 15,
    "confirmed": 16,
    "originalrouteid": 17,
    "approvedby": "sample string 18",
    "approveddate": "2025-04-20T03:33:38.1608242+00:00",
    "covansysconfirmationid": 19,
    "modifiedby": "sample string 20",
    "asap": true,
    "changedfrom": "sample string 22",
    "reconfirmed": true,
    "isproofofmail": true,
    "hashval": "sample string 25",
    "contactsalesperson": 26,
    "nextcontactdate": "2025-04-20T03:33:38.1608242+00:00",
    "wotype": 27,
    "signatureobtained": true,
    "scheduletimedays": 29,
    "usecop": true,
    "woschedulingtargetsid": 31,
    "tdwithindays": 32,
    "tdlocktoroute": 33,
    "tdexcludedroutes": "sample string 34",
    "pivotdate": "2025-04-20T03:33:38.1613643+00:00",
    "pivottime": 35,
    "pivottimeoptionid": 36,
    "tdlocktodate": 37,
    "usecoa": true,
    "lockModal": true,
    "tdlocktomonth": true,
    "ponumber": "sample string 41",
    "accountnum": "sample string 42",
    "branchid": 43,
    "eventid": 44,
    "eventname": "sample string 45",
    "eventtypeid": 46,
    "woamount": 47.0,
    "canceldate": "2025-04-20T03:33:38.1618754+00:00",
    "nextwodate": "2025-04-20T03:33:38.1618754+00:00",
    "sourceid": 48,
    "sourceid2": 49,
    "routename": "sample string 50",
    "servzipcode": "sample string 51",
    "addressid": 52,
    "salespersonid": 53,
    "secondarysalespersonid": 54,
    "materials": "sample string 55",
    "employeenumber": "sample string 56",
    "salesperson": "sample string 57"
  },
  {
    "woeventid": 1,
    "baseeventid": 2,
    "woheaderid": 3,
    "completeddate": "2025-04-20T03:33:38.1597389+00:00",
    "utctimestamp": "2025-04-20T03:33:38.1602839+00:00",
    "createdby": "sample string 4",
    "scheduledate": "2025-04-20T03:33:38.1602839+00:00",
    "printeddate": "2025-04-20T03:33:38.1602839+00:00",
    "status": 64,
    "eventlink": 6,
    "batchid": 7,
    "programid": 8,
    "lastchangedby": "sample string 9",
    "utclastchanged": "2025-04-20T03:33:38.1602839+00:00",
    "releaseid": 10,
    "assignedto": 11,
    "creategroupid": "fa93a946-f3be-4644-a2aa-ca0e3080f9a8",
    "timerangeid": 12,
    "duration": 13,
    "scheduletime": 14,
    "workpool": 15,
    "confirmed": 16,
    "originalrouteid": 17,
    "approvedby": "sample string 18",
    "approveddate": "2025-04-20T03:33:38.1608242+00:00",
    "covansysconfirmationid": 19,
    "modifiedby": "sample string 20",
    "asap": true,
    "changedfrom": "sample string 22",
    "reconfirmed": true,
    "isproofofmail": true,
    "hashval": "sample string 25",
    "contactsalesperson": 26,
    "nextcontactdate": "2025-04-20T03:33:38.1608242+00:00",
    "wotype": 27,
    "signatureobtained": true,
    "scheduletimedays": 29,
    "usecop": true,
    "woschedulingtargetsid": 31,
    "tdwithindays": 32,
    "tdlocktoroute": 33,
    "tdexcludedroutes": "sample string 34",
    "pivotdate": "2025-04-20T03:33:38.1613643+00:00",
    "pivottime": 35,
    "pivottimeoptionid": 36,
    "tdlocktodate": 37,
    "usecoa": true,
    "lockModal": true,
    "tdlocktomonth": true,
    "ponumber": "sample string 41",
    "accountnum": "sample string 42",
    "branchid": 43,
    "eventid": 44,
    "eventname": "sample string 45",
    "eventtypeid": 46,
    "woamount": 47.0,
    "canceldate": "2025-04-20T03:33:38.1618754+00:00",
    "nextwodate": "2025-04-20T03:33:38.1618754+00:00",
    "sourceid": 48,
    "sourceid2": 49,
    "routename": "sample string 50",
    "servzipcode": "sample string 51",
    "addressid": 52,
    "salespersonid": 53,
    "secondarysalespersonid": 54,
    "materials": "sample string 55",
    "employeenumber": "sample string 56",
    "salesperson": "sample string 57"
  }
];