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
From Date Scheduled

Define this parameter in the request URI.

todate
To Date Scheduled

Define this parameter in the request URI.

page
page number, starts at 1. Defaults to 1. Pagination is always applied.

Define this parameter in the request URI.

pagelimit
page size. Defaults to MaxPageLimit. Values outside [1..MaxPageLimit] are clamped to MaxPageLimit.

Define this parameter in the request URI.

Response Information

List of WorkOrders by Scheduled DateRange (paged)

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>