Home / API / ASP.NET Web API Details

GET api/v1/Invoice/GetInvoiceListByModifiedDateRange?from={from}&to={to}&companyid={companyid}

Description

Get Invoice List By Modified DateRange

Request Information

Parameters

NameDescriptionAdditional information
from
From Date

Define this parameter in the request URI.

to
To Date

Define this parameter in the request URI.

companyid
Company ID

Define this parameter in the request URI.

Response Information

List of Invoices by DateRange

Response body formats

application/json, text/json

Sample:
[
  {
    "account": {
      "accountnumber": "sample string 1",
      "mainaccountnumber": "sample string 2",
      "accounttype": 3,
      "laststatementdate": "2025-02-23T06:39:34.3834935+00:00",
      "mainlaststatementdate": "2025-02-23T06:39:34.3834935+00:00"
    },
    "servicecustomer": {
      "id": 1,
      "businessname": "sample string 2",
      "salutation": "sample string 3",
      "firstname": "sample string 4",
      "lastname": "sample string 5",
      "contactdescription": "sample string 6",
      "email": "sample string 7",
      "phone": "sample string 8",
      "phonetype": "sample string 9"
    },
    "serviceaddress": {
      "id": 1,
      "streetnumber": "sample string 1",
      "predirection": "sample string 2",
      "streetname": "sample string 3",
      "streetsuffix": "sample string 4",
      "postdirection": "sample string 5",
      "secondaryaddress": "sample string 6",
      "city": "sample string 7",
      "state": "sample string 8",
      "postalcode": "sample string 9",
      "postalcodeex": "sample string 10",
      "deliverypoint": "sample string 11",
      "checkdigit": "sample string 12"
    },
    "billingcustomer": {
      "id": 1,
      "businessname": "sample string 2",
      "salutation": "sample string 3",
      "firstname": "sample string 4",
      "lastname": "sample string 5",
      "contactdescription": "sample string 6"
    },
    "billingaddress": {
      "id": 1,
      "streetnumber": "sample string 1",
      "predirection": "sample string 2",
      "streetname": "sample string 3",
      "streetsuffix": "sample string 4",
      "postdirection": "sample string 5",
      "secondaryaddress": "sample string 6",
      "city": "sample string 7",
      "state": "sample string 8",
      "postalcode": "sample string 9",
      "postalcodeex": "sample string 10",
      "deliverypoint": "sample string 11",
      "checkdigit": "sample string 12"
    },
    "id": 1,
    "date": "2025-02-23T06:39:34.3834935+00:00",
    "program": "sample string 3",
    "route": "sample string 4",
    "salesperson": "sample string 5",
    "salespersonnumber": "sample string 6",
    "completedby": "sample string 7",
    "type": 8,
    "message": "sample string 9",
    "modifieddate": "2025-02-23T06:39:34.3840081+00:00",
    "invoiceitem": [
      {
        "invoiceitemid": 1,
        "itemdescription": "sample string 2",
        "amount": 1.0,
        "itemtype": 3
      },
      {
        "invoiceitemid": 1,
        "itemdescription": "sample string 2",
        "amount": 1.0,
        "itemtype": 3
      }
    ]
  },
  {
    "account": {
      "accountnumber": "sample string 1",
      "mainaccountnumber": "sample string 2",
      "accounttype": 3,
      "laststatementdate": "2025-02-23T06:39:34.3834935+00:00",
      "mainlaststatementdate": "2025-02-23T06:39:34.3834935+00:00"
    },
    "servicecustomer": {
      "id": 1,
      "businessname": "sample string 2",
      "salutation": "sample string 3",
      "firstname": "sample string 4",
      "lastname": "sample string 5",
      "contactdescription": "sample string 6",
      "email": "sample string 7",
      "phone": "sample string 8",
      "phonetype": "sample string 9"
    },
    "serviceaddress": {
      "id": 1,
      "streetnumber": "sample string 1",
      "predirection": "sample string 2",
      "streetname": "sample string 3",
      "streetsuffix": "sample string 4",
      "postdirection": "sample string 5",
      "secondaryaddress": "sample string 6",
      "city": "sample string 7",
      "state": "sample string 8",
      "postalcode": "sample string 9",
      "postalcodeex": "sample string 10",
      "deliverypoint": "sample string 11",
      "checkdigit": "sample string 12"
    },
    "billingcustomer": {
      "id": 1,
      "businessname": "sample string 2",
      "salutation": "sample string 3",
      "firstname": "sample string 4",
      "lastname": "sample string 5",
      "contactdescription": "sample string 6"
    },
    "billingaddress": {
      "id": 1,
      "streetnumber": "sample string 1",
      "predirection": "sample string 2",
      "streetname": "sample string 3",
      "streetsuffix": "sample string 4",
      "postdirection": "sample string 5",
      "secondaryaddress": "sample string 6",
      "city": "sample string 7",
      "state": "sample string 8",
      "postalcode": "sample string 9",
      "postalcodeex": "sample string 10",
      "deliverypoint": "sample string 11",
      "checkdigit": "sample string 12"
    },
    "id": 1,
    "date": "2025-02-23T06:39:34.3834935+00:00",
    "program": "sample string 3",
    "route": "sample string 4",
    "salesperson": "sample string 5",
    "salespersonnumber": "sample string 6",
    "completedby": "sample string 7",
    "type": 8,
    "message": "sample string 9",
    "modifieddate": "2025-02-23T06:39:34.3840081+00:00",
    "invoiceitem": [
      {
        "invoiceitemid": 1,
        "itemdescription": "sample string 2",
        "amount": 1.0,
        "itemtype": 3
      },
      {
        "invoiceitemid": 1,
        "itemdescription": "sample string 2",
        "amount": 1.0,
        "itemtype": 3
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfinvoicelistbymodifieddaterangemodels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APICOMMON">
  <invoicelistbymodifieddaterangemodels>
    <account>
      <accountnumber>sample string 1</accountnumber>
      <accounttype>3</accounttype>
      <laststatementdate>2025-02-23T06:39:34.3834935+00:00</laststatementdate>
      <mainaccountnumber>sample string 2</mainaccountnumber>
      <mainlaststatementdate>2025-02-23T06:39:34.3834935+00:00</mainlaststatementdate>
    </account>
    <billingaddress>
      <checkdigit>sample string 12</checkdigit>
      <city>sample string 7</city>
      <deliverypoint>sample string 11</deliverypoint>
      <id>1</id>
      <postalcode>sample string 9</postalcode>
      <postalcodeex>sample string 10</postalcodeex>
      <postdirection>sample string 5</postdirection>
      <predirection>sample string 2</predirection>
      <secondaryaddress>sample string 6</secondaryaddress>
      <state>sample string 8</state>
      <streetname>sample string 3</streetname>
      <streetnumber>sample string 1</streetnumber>
      <streetsuffix>sample string 4</streetsuffix>
    </billingaddress>
    <billingcustomer>
      <businessname>sample string 2</businessname>
      <contactdescription>sample string 6</contactdescription>
      <firstname>sample string 4</firstname>
      <id>1</id>
      <lastname>sample string 5</lastname>
      <salutation>sample string 3</salutation>
    </billingcustomer>
    <completedby>sample string 7</completedby>
    <date>2025-02-23T06:39:34.3834935+00:00</date>
    <id>1</id>
    <invoiceitem>
      <invoiceitemodels>
        <amount>1</amount>
        <invoiceitemid>1</invoiceitemid>
        <itemdescription>sample string 2</itemdescription>
        <itemtype>3</itemtype>
      </invoiceitemodels>
      <invoiceitemodels>
        <amount>1</amount>
        <invoiceitemid>1</invoiceitemid>
        <itemdescription>sample string 2</itemdescription>
        <itemtype>3</itemtype>
      </invoiceitemodels>
    </invoiceitem>
    <message>sample string 9</message>
    <modifieddate>2025-02-23T06:39:34.3840081+00:00</modifieddate>
    <program>sample string 3</program>
    <route>sample string 4</route>
    <salesperson>sample string 5</salesperson>
    <salespersonnumber>sample string 6</salespersonnumber>
    <serviceaddress>
      <checkdigit>sample string 12</checkdigit>
      <city>sample string 7</city>
      <deliverypoint>sample string 11</deliverypoint>
      <id>1</id>
      <postalcode>sample string 9</postalcode>
      <postalcodeex>sample string 10</postalcodeex>
      <postdirection>sample string 5</postdirection>
      <predirection>sample string 2</predirection>
      <secondaryaddress>sample string 6</secondaryaddress>
      <state>sample string 8</state>
      <streetname>sample string 3</streetname>
      <streetnumber>sample string 1</streetnumber>
      <streetsuffix>sample string 4</streetsuffix>
    </serviceaddress>
    <servicecustomer>
      <businessname>sample string 2</businessname>
      <contactdescription>sample string 6</contactdescription>
      <email>sample string 7</email>
      <firstname>sample string 4</firstname>
      <id>1</id>
      <lastname>sample string 5</lastname>
      <phone>sample string 8</phone>
      <phonetype>sample string 9</phonetype>
      <salutation>sample string 3</salutation>
    </servicecustomer>
    <type>8</type>
  </invoicelistbymodifieddaterangemodels>
  <invoicelistbymodifieddaterangemodels>
    <account>
      <accountnumber>sample string 1</accountnumber>
      <accounttype>3</accounttype>
      <laststatementdate>2025-02-23T06:39:34.3834935+00:00</laststatementdate>
      <mainaccountnumber>sample string 2</mainaccountnumber>
      <mainlaststatementdate>2025-02-23T06:39:34.3834935+00:00</mainlaststatementdate>
    </account>
    <billingaddress>
      <checkdigit>sample string 12</checkdigit>
      <city>sample string 7</city>
      <deliverypoint>sample string 11</deliverypoint>
      <id>1</id>
      <postalcode>sample string 9</postalcode>
      <postalcodeex>sample string 10</postalcodeex>
      <postdirection>sample string 5</postdirection>
      <predirection>sample string 2</predirection>
      <secondaryaddress>sample string 6</secondaryaddress>
      <state>sample string 8</state>
      <streetname>sample string 3</streetname>
      <streetnumber>sample string 1</streetnumber>
      <streetsuffix>sample string 4</streetsuffix>
    </billingaddress>
    <billingcustomer>
      <businessname>sample string 2</businessname>
      <contactdescription>sample string 6</contactdescription>
      <firstname>sample string 4</firstname>
      <id>1</id>
      <lastname>sample string 5</lastname>
      <salutation>sample string 3</salutation>
    </billingcustomer>
    <completedby>sample string 7</completedby>
    <date>2025-02-23T06:39:34.3834935+00:00</date>
    <id>1</id>
    <invoiceitem>
      <invoiceitemodels>
        <amount>1</amount>
        <invoiceitemid>1</invoiceitemid>
        <itemdescription>sample string 2</itemdescription>
        <itemtype>3</itemtype>
      </invoiceitemodels>
      <invoiceitemodels>
        <amount>1</amount>
        <invoiceitemid>1</invoiceitemid>
        <itemdescription>sample string 2</itemdescription>
        <itemtype>3</itemtype>
      </invoiceitemodels>
    </invoiceitem>
    <message>sample string 9</message>
    <modifieddate>2025-02-23T06:39:34.3840081+00:00</modifieddate>
    <program>sample string 3</program>
    <route>sample string 4</route>
    <salesperson>sample string 5</salesperson>
    <salespersonnumber>sample string 6</salespersonnumber>
    <serviceaddress>
      <checkdigit>sample string 12</checkdigit>
      <city>sample string 7</city>
      <deliverypoint>sample string 11</deliverypoint>
      <id>1</id>
      <postalcode>sample string 9</postalcode>
      <postalcodeex>sample string 10</postalcodeex>
      <postdirection>sample string 5</postdirection>
      <predirection>sample string 2</predirection>
      <secondaryaddress>sample string 6</secondaryaddress>
      <state>sample string 8</state>
      <streetname>sample string 3</streetname>
      <streetnumber>sample string 1</streetnumber>
      <streetsuffix>sample string 4</streetsuffix>
    </serviceaddress>
    <servicecustomer>
      <businessname>sample string 2</businessname>
      <contactdescription>sample string 6</contactdescription>
      <email>sample string 7</email>
      <firstname>sample string 4</firstname>
      <id>1</id>
      <lastname>sample string 5</lastname>
      <phone>sample string 8</phone>
      <phonetype>sample string 9</phonetype>
      <salutation>sample string 3</salutation>
    </servicecustomer>
    <type>8</type>
  </invoicelistbymodifieddaterangemodels>
</ArrayOfinvoicelistbymodifieddaterangemodels>