Home / API / ASP.NET Web API Details

POST api/v1/WorkOrder/PostWorkOrderListByOptions

Description

Get Work Order List by diferents options

Request Information

Parameters

NameDescriptionAdditional information
companyid
No documentation available.

Define this parameter in the request body.

CompletedDate
No documentation available.

Define this parameter in the request body.

branchid
No documentation available.

Define this parameter in the request body.

accountnum
No documentation available.

Define this parameter in the request body.

eventypeid
No documentation available.

Define this parameter in the request body.

eventid
No documentation available.

Define this parameter in the request body.

eventname
No documentation available.

Define this parameter in the request body.

woamount
No documentation available.

Define this parameter in the request body.

page
No documentation available.

Define this parameter in the request body.

pagelimit
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "companyid": 1,
  "CompletedDate": "2025-02-23T06:36:30.469698+00:00",
  "branchid": 3,
  "accountnum": "sample string 4",
  "eventypeid": 5,
  "eventid": 6,
  "eventname": "sample string 7",
  "woamount": 8.0,
  "page": 9,
  "pagelimit": 10
}

application/xml, text/xml

Sample:
<postworkordermodel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APICOMMON">
  <CompletedDate>2025-02-23T06:36:30.469698+00:00</CompletedDate>
  <accountnum>sample string 4</accountnum>
  <branchid>3</branchid>
  <companyid>1</companyid>
  <eventid>6</eventid>
  <eventname>sample string 7</eventname>
  <eventypeid>5</eventypeid>
  <page>9</page>
  <pagelimit>10</pagelimit>
  <woamount>8</woamount>
</postworkordermodel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Response body formats

application/json, text/json

Sample:
[
  {
    "woheaderid": 1,
    "utctimestamp": "2025-02-23T06:36:30.4748504+00:00",
    "createdby": "sample string 2",
    "scheduledate": "2025-02-23T06:36:30.4748504+00:00",
    "printeddate": "2025-02-23T06:36:30.4748504+00:00",
    "status": 3,
    "eventlink": 4,
    "batchid": 5,
    "programid": 6,
    "lastchangedby": "sample string 7",
    "utclastchanged": "2025-02-23T06:36:30.4753648+00:00",
    "releaseid": 8,
    "assignedto": 9,
    "creategroupid": "65b3d0e3-02e3-475e-a413-7db521ef1a32",
    "timerangeid": 10,
    "duration": 11,
    "scheduletime": 12,
    "workpool": 13,
    "confirmed": 14,
    "originalrouteid": 15,
    "approvedby": "sample string 16",
    "approveddate": "2025-02-23T06:36:30.4753648+00:00",
    "covansysconfirmationid": 17,
    "modifiedby": "sample string 18",
    "asap": true,
    "changedfrom": "sample string 20",
    "reconfirmed": true,
    "isproofofmail": true,
    "hashval": "sample string 23",
    "contactsalesperson": 24,
    "nextcontactdate": "2025-02-23T06:36:30.4758793+00:00",
    "wotype": 25,
    "signatureobtained": true,
    "scheduletimedays": 27,
    "usecop": true,
    "woschedulingtargetsid": 29,
    "tdwithindays": 30,
    "tdlocktoroute": 31,
    "tdexcludedroutes": "sample string 32",
    "pivotdate": "2025-02-23T06:36:30.4758793+00:00",
    "pivottime": 33,
    "pivottimeoptionid": 34,
    "tdlocktodate": 35,
    "usecoa": true,
    "lockModal": true,
    "tdlocktomonth": true,
    "ponumber": "sample string 39",
    "completeddate": "2025-02-23T06:36:30.4763937+00:00",
    "branchid": 40,
    "accountnum": "sample string 41",
    "eventtypeid": 42,
    "eventid": 43,
    "eventname": "sample string 44",
    "woamount": 45.0,
    "canceldate": "2025-02-23T06:36:30.4763937+00:00",
    "nextwodate": "2025-02-23T06:36:30.4763937+00:00",
    "primarysource": 46,
    "secondarysource": 47,
    "routename": "sample string 48",
    "servzipcode": "sample string 49",
    "addressid": 50,
    "primarysalesperson": 51,
    "secondarysalesperson": 52,
    "prodamount": 53.0,
    "saleamount": 54.0,
    "timein": "sample string 55",
    "timeout": "sample string 56"
  },
  {
    "woheaderid": 1,
    "utctimestamp": "2025-02-23T06:36:30.4748504+00:00",
    "createdby": "sample string 2",
    "scheduledate": "2025-02-23T06:36:30.4748504+00:00",
    "printeddate": "2025-02-23T06:36:30.4748504+00:00",
    "status": 3,
    "eventlink": 4,
    "batchid": 5,
    "programid": 6,
    "lastchangedby": "sample string 7",
    "utclastchanged": "2025-02-23T06:36:30.4753648+00:00",
    "releaseid": 8,
    "assignedto": 9,
    "creategroupid": "65b3d0e3-02e3-475e-a413-7db521ef1a32",
    "timerangeid": 10,
    "duration": 11,
    "scheduletime": 12,
    "workpool": 13,
    "confirmed": 14,
    "originalrouteid": 15,
    "approvedby": "sample string 16",
    "approveddate": "2025-02-23T06:36:30.4753648+00:00",
    "covansysconfirmationid": 17,
    "modifiedby": "sample string 18",
    "asap": true,
    "changedfrom": "sample string 20",
    "reconfirmed": true,
    "isproofofmail": true,
    "hashval": "sample string 23",
    "contactsalesperson": 24,
    "nextcontactdate": "2025-02-23T06:36:30.4758793+00:00",
    "wotype": 25,
    "signatureobtained": true,
    "scheduletimedays": 27,
    "usecop": true,
    "woschedulingtargetsid": 29,
    "tdwithindays": 30,
    "tdlocktoroute": 31,
    "tdexcludedroutes": "sample string 32",
    "pivotdate": "2025-02-23T06:36:30.4758793+00:00",
    "pivottime": 33,
    "pivottimeoptionid": 34,
    "tdlocktodate": 35,
    "usecoa": true,
    "lockModal": true,
    "tdlocktomonth": true,
    "ponumber": "sample string 39",
    "completeddate": "2025-02-23T06:36:30.4763937+00:00",
    "branchid": 40,
    "accountnum": "sample string 41",
    "eventtypeid": 42,
    "eventid": 43,
    "eventname": "sample string 44",
    "woamount": 45.0,
    "canceldate": "2025-02-23T06:36:30.4763937+00:00",
    "nextwodate": "2025-02-23T06:36:30.4763937+00:00",
    "primarysource": 46,
    "secondarysource": 47,
    "routename": "sample string 48",
    "servzipcode": "sample string 49",
    "addressid": 50,
    "primarysalesperson": 51,
    "secondarysalesperson": 52,
    "prodamount": 53.0,
    "saleamount": 54.0,
    "timein": "sample string 55",
    "timeout": "sample string 56"
  }
]

application/xml, text/xml

Sample:
<ArrayOfworkordermodel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APICOMMON">
  <workordermodel>
    <accountnum>sample string 41</accountnum>
    <addressid>50</addressid>
    <approvedby>sample string 16</approvedby>
    <approveddate>2025-02-23T06:36:30.4753648+00:00</approveddate>
    <asap>true</asap>
    <assignedto>9</assignedto>
    <batchid>5</batchid>
    <branchid>40</branchid>
    <canceldate>2025-02-23T06:36:30.4763937+00:00</canceldate>
    <changedfrom>sample string 20</changedfrom>
    <completeddate>2025-02-23T06:36:30.4763937+00:00</completeddate>
    <confirmed>14</confirmed>
    <contactsalesperson>24</contactsalesperson>
    <covansysconfirmationid>17</covansysconfirmationid>
    <createdby>sample string 2</createdby>
    <creategroupid>65b3d0e3-02e3-475e-a413-7db521ef1a32</creategroupid>
    <duration>11</duration>
    <eventid>43</eventid>
    <eventlink>4</eventlink>
    <eventname>sample string 44</eventname>
    <eventtypeid>42</eventtypeid>
    <hashval>sample string 23</hashval>
    <isproofofmail>true</isproofofmail>
    <lastchangedby>sample string 7</lastchangedby>
    <lockModal>true</lockModal>
    <modifiedby>sample string 18</modifiedby>
    <nextcontactdate>2025-02-23T06:36:30.4758793+00:00</nextcontactdate>
    <nextwodate>2025-02-23T06:36:30.4763937+00:00</nextwodate>
    <originalrouteid>15</originalrouteid>
    <pivotdate>2025-02-23T06:36:30.4758793+00:00</pivotdate>
    <pivottime>33</pivottime>
    <pivottimeoptionid>34</pivottimeoptionid>
    <ponumber>sample string 39</ponumber>
    <primarysalesperson>51</primarysalesperson>
    <primarysource>46</primarysource>
    <printeddate>2025-02-23T06:36:30.4748504+00:00</printeddate>
    <prodamount>53</prodamount>
    <programid>6</programid>
    <reconfirmed>true</reconfirmed>
    <releaseid>8</releaseid>
    <routename>sample string 48</routename>
    <saleamount>54</saleamount>
    <scheduledate>2025-02-23T06:36:30.4748504+00:00</scheduledate>
    <scheduletime>12</scheduletime>
    <scheduletimedays>27</scheduletimedays>
    <secondarysalesperson>52</secondarysalesperson>
    <secondarysource>47</secondarysource>
    <servzipcode>sample string 49</servzipcode>
    <signatureobtained>true</signatureobtained>
    <status>3</status>
    <tdexcludedroutes>sample string 32</tdexcludedroutes>
    <tdlocktodate>35</tdlocktodate>
    <tdlocktomonth>true</tdlocktomonth>
    <tdlocktoroute>31</tdlocktoroute>
    <tdwithindays>30</tdwithindays>
    <timein>sample string 55</timein>
    <timeout>sample string 56</timeout>
    <timerangeid>10</timerangeid>
    <usecoa>true</usecoa>
    <usecop>true</usecop>
    <utclastchanged>2025-02-23T06:36:30.4753648+00:00</utclastchanged>
    <utctimestamp>2025-02-23T06:36:30.4748504+00:00</utctimestamp>
    <woamount>45</woamount>
    <woheaderid>1</woheaderid>
    <workpool>13</workpool>
    <woschedulingtargetsid>29</woschedulingtargetsid>
    <wotype>25</wotype>
  </workordermodel>
  <workordermodel>
    <accountnum>sample string 41</accountnum>
    <addressid>50</addressid>
    <approvedby>sample string 16</approvedby>
    <approveddate>2025-02-23T06:36:30.4753648+00:00</approveddate>
    <asap>true</asap>
    <assignedto>9</assignedto>
    <batchid>5</batchid>
    <branchid>40</branchid>
    <canceldate>2025-02-23T06:36:30.4763937+00:00</canceldate>
    <changedfrom>sample string 20</changedfrom>
    <completeddate>2025-02-23T06:36:30.4763937+00:00</completeddate>
    <confirmed>14</confirmed>
    <contactsalesperson>24</contactsalesperson>
    <covansysconfirmationid>17</covansysconfirmationid>
    <createdby>sample string 2</createdby>
    <creategroupid>65b3d0e3-02e3-475e-a413-7db521ef1a32</creategroupid>
    <duration>11</duration>
    <eventid>43</eventid>
    <eventlink>4</eventlink>
    <eventname>sample string 44</eventname>
    <eventtypeid>42</eventtypeid>
    <hashval>sample string 23</hashval>
    <isproofofmail>true</isproofofmail>
    <lastchangedby>sample string 7</lastchangedby>
    <lockModal>true</lockModal>
    <modifiedby>sample string 18</modifiedby>
    <nextcontactdate>2025-02-23T06:36:30.4758793+00:00</nextcontactdate>
    <nextwodate>2025-02-23T06:36:30.4763937+00:00</nextwodate>
    <originalrouteid>15</originalrouteid>
    <pivotdate>2025-02-23T06:36:30.4758793+00:00</pivotdate>
    <pivottime>33</pivottime>
    <pivottimeoptionid>34</pivottimeoptionid>
    <ponumber>sample string 39</ponumber>
    <primarysalesperson>51</primarysalesperson>
    <primarysource>46</primarysource>
    <printeddate>2025-02-23T06:36:30.4748504+00:00</printeddate>
    <prodamount>53</prodamount>
    <programid>6</programid>
    <reconfirmed>true</reconfirmed>
    <releaseid>8</releaseid>
    <routename>sample string 48</routename>
    <saleamount>54</saleamount>
    <scheduledate>2025-02-23T06:36:30.4748504+00:00</scheduledate>
    <scheduletime>12</scheduletime>
    <scheduletimedays>27</scheduletimedays>
    <secondarysalesperson>52</secondarysalesperson>
    <secondarysource>47</secondarysource>
    <servzipcode>sample string 49</servzipcode>
    <signatureobtained>true</signatureobtained>
    <status>3</status>
    <tdexcludedroutes>sample string 32</tdexcludedroutes>
    <tdlocktodate>35</tdlocktodate>
    <tdlocktomonth>true</tdlocktomonth>
    <tdlocktoroute>31</tdlocktoroute>
    <tdwithindays>30</tdwithindays>
    <timein>sample string 55</timein>
    <timeout>sample string 56</timeout>
    <timerangeid>10</timerangeid>
    <usecoa>true</usecoa>
    <usecop>true</usecop>
    <utclastchanged>2025-02-23T06:36:30.4753648+00:00</utclastchanged>
    <utctimestamp>2025-02-23T06:36:30.4748504+00:00</utctimestamp>
    <woamount>45</woamount>
    <woheaderid>1</woheaderid>
    <workpool>13</workpool>
    <woschedulingtargetsid>29</woschedulingtargetsid>
    <wotype>25</wotype>
  </workordermodel>
</ArrayOfworkordermodel>