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

Gets the list of completed work orders by date range and company by filtering with the utclastchanged field.

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
by default page = -1 it will be return all records without paging

Define this parameter in the request URI.

pagelimit
by default = 5000

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
[
  {
    "woheaderid": 1,
    "utctimestamp": "2025-06-06T08:36:25.8414888+00:00",
    "createdby": "sample string 2",
    "scheduledate": "2025-06-06T08:36:25.8414888+00:00",
    "printeddate": "2025-06-06T08:36:25.8414888+00:00",
    "status": 64,
    "eventlink": 4,
    "batchid": 5,
    "programid": 6,
    "lastchangedby": "sample string 7",
    "utclastchanged": "2025-06-06T08:36:25.8414888+00:00",
    "releaseid": 9,
    "assignedto": 10,
    "creategroupid": "252d04bd-be87-4944-b375-8b4f0f2454e0",
    "timerangeid": 11,
    "duration": 12,
    "scheduletime": 13,
    "workpool": 14,
    "confirmed": 15,
    "originalrouteid": 16,
    "approvedby": "sample string 17",
    "approveddate": "2025-06-06T08:36:25.8414888+00:00",
    "covansysconfirmationid": 18,
    "modifiedby": "sample string 19",
    "asap": true,
    "changedfrom": "sample string 21",
    "reconfirmed": true,
    "isproofofmail": true,
    "hashval": "sample string 24",
    "contactsalesperson": 25,
    "nextcontactdate": "2025-06-06T08:36:25.8414888+00:00",
    "wotype": 26,
    "signatureobtained": true,
    "scheduletimedays": 28,
    "usecop": true,
    "woschedulingtargetsid": 30,
    "tdwithindays": 31,
    "tdlocktoroute": 32,
    "tdexcludedroutes": "sample string 33",
    "pivotdate": "2025-06-06T08:36:25.8414888+00:00",
    "pivottime": 34,
    "pivottimeoptionid": 35,
    "tdlocktodate": 36,
    "usecoa": true,
    "lockModal": true,
    "tdlocktomonth": true,
    "ponumber": "sample string 40",
    "accountnum": "sample string 41",
    "servicecenter": 42,
    "routename": "sample string 43",
    "postalcode": "sample string 44",
    "addressid": 1,
    "salespersonid": 45,
    "secondarysalespersonid": 46,
    "employeenumber": "sample string 47",
    "salesperson": "sample string 48",
    "woamount": 49.0,
    "billamount": 50.0,
    "saleamount": 51.0,
    "prodamount": 52.0,
    "federaltaxamount": 53.0,
    "statetaxamount": 54.0,
    "localtaxamount": 55.0,
    "EventsList": []
  },
  {
    "woheaderid": 1,
    "utctimestamp": "2025-06-06T08:36:25.8414888+00:00",
    "createdby": "sample string 2",
    "scheduledate": "2025-06-06T08:36:25.8414888+00:00",
    "printeddate": "2025-06-06T08:36:25.8414888+00:00",
    "status": 64,
    "eventlink": 4,
    "batchid": 5,
    "programid": 6,
    "lastchangedby": "sample string 7",
    "utclastchanged": "2025-06-06T08:36:25.8414888+00:00",
    "releaseid": 9,
    "assignedto": 10,
    "creategroupid": "252d04bd-be87-4944-b375-8b4f0f2454e0",
    "timerangeid": 11,
    "duration": 12,
    "scheduletime": 13,
    "workpool": 14,
    "confirmed": 15,
    "originalrouteid": 16,
    "approvedby": "sample string 17",
    "approveddate": "2025-06-06T08:36:25.8414888+00:00",
    "covansysconfirmationid": 18,
    "modifiedby": "sample string 19",
    "asap": true,
    "changedfrom": "sample string 21",
    "reconfirmed": true,
    "isproofofmail": true,
    "hashval": "sample string 24",
    "contactsalesperson": 25,
    "nextcontactdate": "2025-06-06T08:36:25.8414888+00:00",
    "wotype": 26,
    "signatureobtained": true,
    "scheduletimedays": 28,
    "usecop": true,
    "woschedulingtargetsid": 30,
    "tdwithindays": 31,
    "tdlocktoroute": 32,
    "tdexcludedroutes": "sample string 33",
    "pivotdate": "2025-06-06T08:36:25.8414888+00:00",
    "pivottime": 34,
    "pivottimeoptionid": 35,
    "tdlocktodate": 36,
    "usecoa": true,
    "lockModal": true,
    "tdlocktomonth": true,
    "ponumber": "sample string 40",
    "accountnum": "sample string 41",
    "servicecenter": 42,
    "routename": "sample string 43",
    "postalcode": "sample string 44",
    "addressid": 1,
    "salespersonid": 45,
    "secondarysalespersonid": 46,
    "employeenumber": "sample string 47",
    "salesperson": "sample string 48",
    "woamount": 49.0,
    "billamount": 50.0,
    "saleamount": 51.0,
    "prodamount": 52.0,
    "federaltaxamount": 53.0,
    "statetaxamount": 54.0,
    "localtaxamount": 55.0,
    "EventsList": []
  }
]

application/xml, text/xml

Sample:
<ArrayOfWorkOrderByDateRangeDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/">
  <WorkOrderByDateRangeDto>
    <EventsList xmlns:d3p1="http://schemas.datacontract.org/2004/07/APICOMMON" />
    <accountnum>sample string 41</accountnum>
    <addressid>1</addressid>
    <approvedby>sample string 17</approvedby>
    <approveddate>2025-06-06T08:36:25.8414888+00:00</approveddate>
    <asap>true</asap>
    <assignedto>10</assignedto>
    <batchid>5</batchid>
    <billamount>50</billamount>
    <changedfrom>sample string 21</changedfrom>
    <confirmed>15</confirmed>
    <contactsalesperson>25</contactsalesperson>
    <covansysconfirmationid>18</covansysconfirmationid>
    <createdby>sample string 2</createdby>
    <creategroupid>252d04bd-be87-4944-b375-8b4f0f2454e0</creategroupid>
    <duration>12</duration>
    <employeenumber>sample string 47</employeenumber>
    <eventlink>4</eventlink>
    <events>sample string 56</events>
    <federaltaxamount>53</federaltaxamount>
    <hashval>sample string 24</hashval>
    <isproofofmail>true</isproofofmail>
    <lastchangedby>sample string 7</lastchangedby>
    <localtaxamount>55</localtaxamount>
    <lockModal>true</lockModal>
    <modifiedby>sample string 19</modifiedby>
    <nextcontactdate>2025-06-06T08:36:25.8414888+00:00</nextcontactdate>
    <originalrouteid>16</originalrouteid>
    <pivotdate>2025-06-06T08:36:25.8414888+00:00</pivotdate>
    <pivottime>34</pivottime>
    <pivottimeoptionid>35</pivottimeoptionid>
    <ponumber>sample string 40</ponumber>
    <postalcode>sample string 44</postalcode>
    <printeddate>2025-06-06T08:36:25.8414888+00:00</printeddate>
    <prodamount>52</prodamount>
    <programid>6</programid>
    <reconfirmed>true</reconfirmed>
    <releaseid>9</releaseid>
    <routename>sample string 43</routename>
    <saleamount>51</saleamount>
    <salesperson>sample string 48</salesperson>
    <salespersonid>45</salespersonid>
    <scheduledate>2025-06-06T08:36:25.8414888+00:00</scheduledate>
    <scheduletime>13</scheduletime>
    <scheduletimedays>28</scheduletimedays>
    <secondarysalespersonid>46</secondarysalespersonid>
    <servicecenter>42</servicecenter>
    <signatureobtained>true</signatureobtained>
    <statetaxamount>54</statetaxamount>
    <status>64</status>
    <tdexcludedroutes>sample string 33</tdexcludedroutes>
    <tdlocktodate>36</tdlocktodate>
    <tdlocktomonth>true</tdlocktomonth>
    <tdlocktoroute>32</tdlocktoroute>
    <tdwithindays>31</tdwithindays>
    <timerangeid>11</timerangeid>
    <usecoa>true</usecoa>
    <usecop>true</usecop>
    <utclastchanged>2025-06-06T08:36:25.8414888+00:00</utclastchanged>
    <utctimestamp>2025-06-06T08:36:25.8414888+00:00</utctimestamp>
    <woamount>49</woamount>
    <woheaderid>1</woheaderid>
    <workpool>14</workpool>
    <woschedulingtargetsid>30</woschedulingtargetsid>
    <wotype>26</wotype>
  </WorkOrderByDateRangeDto>
  <WorkOrderByDateRangeDto>
    <EventsList xmlns:d3p1="http://schemas.datacontract.org/2004/07/APICOMMON" />
    <accountnum>sample string 41</accountnum>
    <addressid>1</addressid>
    <approvedby>sample string 17</approvedby>
    <approveddate>2025-06-06T08:36:25.8414888+00:00</approveddate>
    <asap>true</asap>
    <assignedto>10</assignedto>
    <batchid>5</batchid>
    <billamount>50</billamount>
    <changedfrom>sample string 21</changedfrom>
    <confirmed>15</confirmed>
    <contactsalesperson>25</contactsalesperson>
    <covansysconfirmationid>18</covansysconfirmationid>
    <createdby>sample string 2</createdby>
    <creategroupid>252d04bd-be87-4944-b375-8b4f0f2454e0</creategroupid>
    <duration>12</duration>
    <employeenumber>sample string 47</employeenumber>
    <eventlink>4</eventlink>
    <events>sample string 56</events>
    <federaltaxamount>53</federaltaxamount>
    <hashval>sample string 24</hashval>
    <isproofofmail>true</isproofofmail>
    <lastchangedby>sample string 7</lastchangedby>
    <localtaxamount>55</localtaxamount>
    <lockModal>true</lockModal>
    <modifiedby>sample string 19</modifiedby>
    <nextcontactdate>2025-06-06T08:36:25.8414888+00:00</nextcontactdate>
    <originalrouteid>16</originalrouteid>
    <pivotdate>2025-06-06T08:36:25.8414888+00:00</pivotdate>
    <pivottime>34</pivottime>
    <pivottimeoptionid>35</pivottimeoptionid>
    <ponumber>sample string 40</ponumber>
    <postalcode>sample string 44</postalcode>
    <printeddate>2025-06-06T08:36:25.8414888+00:00</printeddate>
    <prodamount>52</prodamount>
    <programid>6</programid>
    <reconfirmed>true</reconfirmed>
    <releaseid>9</releaseid>
    <routename>sample string 43</routename>
    <saleamount>51</saleamount>
    <salesperson>sample string 48</salesperson>
    <salespersonid>45</salespersonid>
    <scheduledate>2025-06-06T08:36:25.8414888+00:00</scheduledate>
    <scheduletime>13</scheduletime>
    <scheduletimedays>28</scheduletimedays>
    <secondarysalespersonid>46</secondarysalespersonid>
    <servicecenter>42</servicecenter>
    <signatureobtained>true</signatureobtained>
    <statetaxamount>54</statetaxamount>
    <status>64</status>
    <tdexcludedroutes>sample string 33</tdexcludedroutes>
    <tdlocktodate>36</tdlocktodate>
    <tdlocktomonth>true</tdlocktomonth>
    <tdlocktoroute>32</tdlocktoroute>
    <tdwithindays>31</tdwithindays>
    <timerangeid>11</timerangeid>
    <usecoa>true</usecoa>
    <usecop>true</usecop>
    <utclastchanged>2025-06-06T08:36:25.8414888+00:00</utclastchanged>
    <utctimestamp>2025-06-06T08:36:25.8414888+00:00</utctimestamp>
    <woamount>49</woamount>
    <woheaderid>1</woheaderid>
    <workpool>14</workpool>
    <woschedulingtargetsid>30</woschedulingtargetsid>
    <wotype>26</wotype>
  </WorkOrderByDateRangeDto>
</ArrayOfWorkOrderByDateRangeDto>