Home / API / ASP.NET Web API Details

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

Description

Get Services By Completed Date

Request Information

Parameters

NameDescriptionAdditional information
from
From Completed Date

Define this parameter in the request URI.

to
To Completed Date

Define this parameter in the request URI.

companyid
CompanyID

Define this parameter in the request URI.

page
[1..x]

Define this parameter in the request URI.

Response Information

List of Contracts by DateRange

Response body formats

application/json, text/json

Sample:
[
  {
    "woheaderid": 1,
    "accountid": 2,
    "accountnum": "sample string 3",
    "batchid": 4,
    "eventname": "sample string 5",
    "customernotes": "sample string 6",
    "completeddate": "2025-02-23T06:37:21.2628972+00:00",
    "completedemployee": "sample string 7",
    "completedamount": 1.0,
    "saleamount": 1.0,
    "discount": 1.0,
    "prepay": 1.0
  },
  {
    "woheaderid": 1,
    "accountid": 2,
    "accountnum": "sample string 3",
    "batchid": 4,
    "eventname": "sample string 5",
    "customernotes": "sample string 6",
    "completeddate": "2025-02-23T06:37:21.2628972+00:00",
    "completedemployee": "sample string 7",
    "completedamount": 1.0,
    "saleamount": 1.0,
    "discount": 1.0,
    "prepay": 1.0
  }
]

application/xml, text/xml

Sample:
<ArrayOfcompletedservice xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APICOMMON">
  <completedservice>
    <accountid>2</accountid>
    <accountnum>sample string 3</accountnum>
    <batchid>4</batchid>
    <completedamount>1</completedamount>
    <completeddate>2025-02-23T06:37:21.2628972+00:00</completeddate>
    <completedemployee>sample string 7</completedemployee>
    <customernotes>sample string 6</customernotes>
    <discount>1</discount>
    <eventname>sample string 5</eventname>
    <prepay>1</prepay>
    <saleamount>1</saleamount>
    <woheaderid>1</woheaderid>
  </completedservice>
  <completedservice>
    <accountid>2</accountid>
    <accountnum>sample string 3</accountnum>
    <batchid>4</batchid>
    <completedamount>1</completedamount>
    <completeddate>2025-02-23T06:37:21.2628972+00:00</completeddate>
    <completedemployee>sample string 7</completedemployee>
    <customernotes>sample string 6</customernotes>
    <discount>1</discount>
    <eventname>sample string 5</eventname>
    <prepay>1</prepay>
    <saleamount>1</saleamount>
    <woheaderid>1</woheaderid>
  </completedservice>
</ArrayOfcompletedservice>