Home / API / ASP.NET Web API Details

GET api/v1/WorkOrder/GetWorkOrderListByScheduleDateRange?from={from}&to={to}&page={page}

Description

Get List of WorkOrders by Scheduled Date Range

Request Information

Parameters

NameDescriptionAdditional information
from
From Schedule Date

Define this parameter in the request URI.

to
To Schedule Date

Define this parameter in the request URI.

page
[1..x]

Define this parameter in the request URI.

Response Information

List of Workorders by Page Number

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>