Home / API / ASP.NET Web API Details

GET api/v1/WorkOrder/GetWorkOrderListByAccountNum?accountnum={accountnum}&page={page}

Description

Get List of WorkOrders by Account Number

Request Information

Parameters

NameDescriptionAdditional information
accountnum
AccountNum

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
  },
  {
    "workorderid": 1,
    "accountid": 2
  }
]

application/xml, text/xml

Sample:
<ArrayOfworkorderlistbyaccountnummodel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APICOMMON">
  <workorderlistbyaccountnummodel>
    <accountid>2</accountid>
    <workorderid>1</workorderid>
  </workorderlistbyaccountnummodel>
  <workorderlistbyaccountnummodel>
    <accountid>2</accountid>
    <workorderid>1</workorderid>
  </workorderlistbyaccountnummodel>
</ArrayOfworkorderlistbyaccountnummodel>