Home / API / ASP.NET Web API Details

GET api/v1/Program/GetDetailedSoldProgramsBySaleDate?fromdate={fromdate}&todate={todate}&companyid={companyid}

Description

Get Detailed Sold Programs By Sale Date

Request Information

Parameters

NameDescriptionAdditional information
fromdate
From Date

Define this parameter in the request URI.

todate
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:
[
  {
    "accountid": 1,
    "accountnum": "sample string 2",
    "customername": "sample string 3",
    "customerfirstname": "sample string 4",
    "customerlastname": "sample string 5",
    "customeremail": "sample string 6",
    "customerprimaryphone": "sample string 7",
    "branchid": 8,
    "branchname": "sample string 9",
    "programid": 10,
    "programemployeeid": 11,
    "programtypeid": 12,
    "programreportcategoryid": 1,
    "programreportcategory": "sample string 13",
    "programsaledate": "2025-02-23T06:25:03.8888008+00:00",
    "programsalespersonid": 1,
    "programsalesperson": "sample string 14",
    "programannualvalue": 15.0,
    "programsalevalue": 16.0,
    "programrouteid": 17,
    "programroute": "sample string 18"
  },
  {
    "accountid": 1,
    "accountnum": "sample string 2",
    "customername": "sample string 3",
    "customerfirstname": "sample string 4",
    "customerlastname": "sample string 5",
    "customeremail": "sample string 6",
    "customerprimaryphone": "sample string 7",
    "branchid": 8,
    "branchname": "sample string 9",
    "programid": 10,
    "programemployeeid": 11,
    "programtypeid": 12,
    "programreportcategoryid": 1,
    "programreportcategory": "sample string 13",
    "programsaledate": "2025-02-23T06:25:03.8888008+00:00",
    "programsalespersonid": 1,
    "programsalesperson": "sample string 14",
    "programannualvalue": 15.0,
    "programsalevalue": 16.0,
    "programrouteid": 17,
    "programroute": "sample string 18"
  }
]

application/xml, text/xml

Sample:
<ArrayOfprogramsoldmodel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APICOMMON">
  <programsoldmodel>
    <accountid>1</accountid>
    <accountnum>sample string 2</accountnum>
    <branchid>8</branchid>
    <branchname>sample string 9</branchname>
    <customeremail>sample string 6</customeremail>
    <customerfirstname>sample string 4</customerfirstname>
    <customerlastname>sample string 5</customerlastname>
    <customername>sample string 3</customername>
    <customerprimaryphone>sample string 7</customerprimaryphone>
    <programannualvalue>15</programannualvalue>
    <programemployeeid>11</programemployeeid>
    <programid>10</programid>
    <programreportcategory>sample string 13</programreportcategory>
    <programreportcategoryid>1</programreportcategoryid>
    <programroute>sample string 18</programroute>
    <programrouteid>17</programrouteid>
    <programsaledate>2025-02-23T06:25:03.8888008+00:00</programsaledate>
    <programsalesperson>sample string 14</programsalesperson>
    <programsalespersonid>1</programsalespersonid>
    <programsalevalue>16</programsalevalue>
    <programtypeid>12</programtypeid>
  </programsoldmodel>
  <programsoldmodel>
    <accountid>1</accountid>
    <accountnum>sample string 2</accountnum>
    <branchid>8</branchid>
    <branchname>sample string 9</branchname>
    <customeremail>sample string 6</customeremail>
    <customerfirstname>sample string 4</customerfirstname>
    <customerlastname>sample string 5</customerlastname>
    <customername>sample string 3</customername>
    <customerprimaryphone>sample string 7</customerprimaryphone>
    <programannualvalue>15</programannualvalue>
    <programemployeeid>11</programemployeeid>
    <programid>10</programid>
    <programreportcategory>sample string 13</programreportcategory>
    <programreportcategoryid>1</programreportcategoryid>
    <programroute>sample string 18</programroute>
    <programrouteid>17</programrouteid>
    <programsaledate>2025-02-23T06:25:03.8888008+00:00</programsaledate>
    <programsalesperson>sample string 14</programsalesperson>
    <programsalespersonid>1</programsalespersonid>
    <programsalevalue>16</programsalevalue>
    <programtypeid>12</programtypeid>
  </programsoldmodel>
</ArrayOfprogramsoldmodel>