Home / API / ASP.NET Web API Details

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

Description

Get All Work Orders By Date Range and Company

Request Information

Parameters

NameDescriptionAdditional 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.

Response Information

Response body formats

application/json, text/json

Sample:
[
  {
    "woeventid": 1,
    "baseeventid": 2,
    "woheaderid": 3,
    "completeddate": "2025-02-23T06:14:18.5903208+00:00",
    "utctimestamp": "2025-02-23T06:14:18.5903208+00:00",
    "createdby": "sample string 4",
    "scheduledate": "2025-02-23T06:14:18.5903208+00:00",
    "printeddate": "2025-02-23T06:14:18.5903208+00:00",
    "status": 64,
    "eventlink": 6,
    "batchid": 7,
    "programid": 8,
    "lastchangedby": "sample string 9",
    "utclastchanged": "2025-02-23T06:14:18.5908359+00:00",
    "releaseid": 10,
    "assignedto": 11,
    "creategroupid": "37976978-fd6d-4220-9588-dd5fc9784384",
    "timerangeid": 12,
    "duration": 13,
    "scheduletime": 14,
    "workpool": 15,
    "confirmed": 16,
    "originalrouteid": 17,
    "approvedby": "sample string 18",
    "approveddate": "2025-02-23T06:14:18.5908359+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-02-23T06:14:18.5913507+00:00",
    "wotype": 27,
    "signatureobtained": true,
    "scheduletimedays": 29,
    "usecop": true,
    "woschedulingtargetsid": 31,
    "tdwithindays": 32,
    "tdlocktoroute": 33,
    "tdexcludedroutes": "sample string 34",
    "pivotdate": "2025-02-23T06:14:18.5913507+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-02-23T06:14:18.5918651+00:00",
    "nextwodate": "2025-02-23T06:14:18.5918651+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-02-23T06:14:18.5903208+00:00",
    "utctimestamp": "2025-02-23T06:14:18.5903208+00:00",
    "createdby": "sample string 4",
    "scheduledate": "2025-02-23T06:14:18.5903208+00:00",
    "printeddate": "2025-02-23T06:14:18.5903208+00:00",
    "status": 64,
    "eventlink": 6,
    "batchid": 7,
    "programid": 8,
    "lastchangedby": "sample string 9",
    "utclastchanged": "2025-02-23T06:14:18.5908359+00:00",
    "releaseid": 10,
    "assignedto": 11,
    "creategroupid": "37976978-fd6d-4220-9588-dd5fc9784384",
    "timerangeid": 12,
    "duration": 13,
    "scheduletime": 14,
    "workpool": 15,
    "confirmed": 16,
    "originalrouteid": 17,
    "approvedby": "sample string 18",
    "approveddate": "2025-02-23T06:14:18.5908359+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-02-23T06:14:18.5913507+00:00",
    "wotype": 27,
    "signatureobtained": true,
    "scheduletimedays": 29,
    "usecop": true,
    "woschedulingtargetsid": 31,
    "tdwithindays": 32,
    "tdlocktoroute": 33,
    "tdexcludedroutes": "sample string 34",
    "pivotdate": "2025-02-23T06:14:18.5913507+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-02-23T06:14:18.5918651+00:00",
    "nextwodate": "2025-02-23T06:14:18.5918651+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"
  }
]

application/xml, text/xml

Sample:
<ArrayOftwodaterangedataresult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APIDATAv1">
  <twodaterangedataresult>
    <accountnum>sample string 42</accountnum>
    <addressid>52</addressid>
    <approvedby>sample string 18</approvedby>
    <approveddate>2025-02-23T06:14:18.5908359+00:00</approveddate>
    <asap>true</asap>
    <assignedto>11</assignedto>
    <baseeventid>2</baseeventid>
    <batchid>7</batchid>
    <branchid>43</branchid>
    <canceldate>2025-02-23T06:14:18.5918651+00:00</canceldate>
    <changedfrom>sample string 22</changedfrom>
    <completeddate>2025-02-23T06:14:18.5903208+00:00</completeddate>
    <confirmed>16</confirmed>
    <contactsalesperson>26</contactsalesperson>
    <covansysconfirmationid>19</covansysconfirmationid>
    <createdby>sample string 4</createdby>
    <creategroupid>37976978-fd6d-4220-9588-dd5fc9784384</creategroupid>
    <duration>13</duration>
    <employeenumber>sample string 56</employeenumber>
    <eventid>44</eventid>
    <eventlink>6</eventlink>
    <eventname>sample string 45</eventname>
    <eventtypeid>46</eventtypeid>
    <hashval>sample string 25</hashval>
    <isproofofmail>true</isproofofmail>
    <lastchangedby>sample string 9</lastchangedby>
    <lockModal>true</lockModal>
    <materials>sample string 55</materials>
    <modifiedby>sample string 20</modifiedby>
    <nextcontactdate>2025-02-23T06:14:18.5913507+00:00</nextcontactdate>
    <nextwodate>2025-02-23T06:14:18.5918651+00:00</nextwodate>
    <originalrouteid>17</originalrouteid>
    <pivotdate>2025-02-23T06:14:18.5913507+00:00</pivotdate>
    <pivottime>35</pivottime>
    <pivottimeoptionid>36</pivottimeoptionid>
    <ponumber>sample string 41</ponumber>
    <printeddate>2025-02-23T06:14:18.5903208+00:00</printeddate>
    <programid>8</programid>
    <reconfirmed>true</reconfirmed>
    <releaseid>10</releaseid>
    <routename>sample string 50</routename>
    <salesperson>sample string 57</salesperson>
    <salespersonid>53</salespersonid>
    <scheduledate>2025-02-23T06:14:18.5903208+00:00</scheduledate>
    <scheduletime>14</scheduletime>
    <scheduletimedays>29</scheduletimedays>
    <secondarysalespersonid>54</secondarysalespersonid>
    <servzipcode>sample string 51</servzipcode>
    <signatureobtained>true</signatureobtained>
    <sourceid>48</sourceid>
    <sourceid2>49</sourceid2>
    <status>64</status>
    <tdexcludedroutes>sample string 34</tdexcludedroutes>
    <tdlocktodate>37</tdlocktodate>
    <tdlocktomonth>true</tdlocktomonth>
    <tdlocktoroute>33</tdlocktoroute>
    <tdwithindays>32</tdwithindays>
    <timerangeid>12</timerangeid>
    <usecoa>true</usecoa>
    <usecop>true</usecop>
    <utclastchanged>2025-02-23T06:14:18.5908359+00:00</utclastchanged>
    <utctimestamp>2025-02-23T06:14:18.5903208+00:00</utctimestamp>
    <woamount>47</woamount>
    <woeventid>1</woeventid>
    <woheaderid>3</woheaderid>
    <workpool>15</workpool>
    <woschedulingtargetsid>31</woschedulingtargetsid>
    <wotype>27</wotype>
  </twodaterangedataresult>
  <twodaterangedataresult>
    <accountnum>sample string 42</accountnum>
    <addressid>52</addressid>
    <approvedby>sample string 18</approvedby>
    <approveddate>2025-02-23T06:14:18.5908359+00:00</approveddate>
    <asap>true</asap>
    <assignedto>11</assignedto>
    <baseeventid>2</baseeventid>
    <batchid>7</batchid>
    <branchid>43</branchid>
    <canceldate>2025-02-23T06:14:18.5918651+00:00</canceldate>
    <changedfrom>sample string 22</changedfrom>
    <completeddate>2025-02-23T06:14:18.5903208+00:00</completeddate>
    <confirmed>16</confirmed>
    <contactsalesperson>26</contactsalesperson>
    <covansysconfirmationid>19</covansysconfirmationid>
    <createdby>sample string 4</createdby>
    <creategroupid>37976978-fd6d-4220-9588-dd5fc9784384</creategroupid>
    <duration>13</duration>
    <employeenumber>sample string 56</employeenumber>
    <eventid>44</eventid>
    <eventlink>6</eventlink>
    <eventname>sample string 45</eventname>
    <eventtypeid>46</eventtypeid>
    <hashval>sample string 25</hashval>
    <isproofofmail>true</isproofofmail>
    <lastchangedby>sample string 9</lastchangedby>
    <lockModal>true</lockModal>
    <materials>sample string 55</materials>
    <modifiedby>sample string 20</modifiedby>
    <nextcontactdate>2025-02-23T06:14:18.5913507+00:00</nextcontactdate>
    <nextwodate>2025-02-23T06:14:18.5918651+00:00</nextwodate>
    <originalrouteid>17</originalrouteid>
    <pivotdate>2025-02-23T06:14:18.5913507+00:00</pivotdate>
    <pivottime>35</pivottime>
    <pivottimeoptionid>36</pivottimeoptionid>
    <ponumber>sample string 41</ponumber>
    <printeddate>2025-02-23T06:14:18.5903208+00:00</printeddate>
    <programid>8</programid>
    <reconfirmed>true</reconfirmed>
    <releaseid>10</releaseid>
    <routename>sample string 50</routename>
    <salesperson>sample string 57</salesperson>
    <salespersonid>53</salespersonid>
    <scheduledate>2025-02-23T06:14:18.5903208+00:00</scheduledate>
    <scheduletime>14</scheduletime>
    <scheduletimedays>29</scheduletimedays>
    <secondarysalespersonid>54</secondarysalespersonid>
    <servzipcode>sample string 51</servzipcode>
    <signatureobtained>true</signatureobtained>
    <sourceid>48</sourceid>
    <sourceid2>49</sourceid2>
    <status>64</status>
    <tdexcludedroutes>sample string 34</tdexcludedroutes>
    <tdlocktodate>37</tdlocktodate>
    <tdlocktomonth>true</tdlocktomonth>
    <tdlocktoroute>33</tdlocktoroute>
    <tdwithindays>32</tdwithindays>
    <timerangeid>12</timerangeid>
    <usecoa>true</usecoa>
    <usecop>true</usecop>
    <utclastchanged>2025-02-23T06:14:18.5908359+00:00</utclastchanged>
    <utctimestamp>2025-02-23T06:14:18.5903208+00:00</utctimestamp>
    <woamount>47</woamount>
    <woeventid>1</woeventid>
    <woheaderid>3</woheaderid>
    <workpool>15</workpool>
    <woschedulingtargetsid>31</woschedulingtargetsid>
    <wotype>27</wotype>
  </twodaterangedataresult>
</ArrayOftwodaterangedataresult>