Home / API / ASP.NET Web API Details

GET api/v1/WorkOrder/GetWorkOrderListByScheduleDateRange?fromdate={fromdate}&todate={todate}&page={page}&pagelimit={pagelimit}

Description

Get List of WorkOrders by Scheduled Date Range

Request Information

Parameters

NameDescriptionAdditional information
fromdate

Define this parameter in the request URI.

todate

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:
[
  {
    "workorderid": 1,
    "accountid": 2,
    "accountnum": "sample string 3"
  },
  {
    "workorderid": 1,
    "accountid": 2,
    "accountnum": "sample string 3"
  }
]

application/xml, text/xml

Sample:
<ArrayOfworkorderlistbyscheduledaterangemodel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APICOMMON">
  <workorderlistbyscheduledaterangemodel>
    <accountid>2</accountid>
    <accountnum>sample string 3</accountnum>
    <workorderid>1</workorderid>
  </workorderlistbyscheduledaterangemodel>
  <workorderlistbyscheduledaterangemodel>
    <accountid>2</accountid>
    <accountnum>sample string 3</accountnum>
    <workorderid>1</workorderid>
  </workorderlistbyscheduledaterangemodel>
</ArrayOfworkorderlistbyscheduledaterangemodel>