Home / API / ASP.NET Web API Details

GET api/v1/WorkOrder/GetProgramDatesByAccountID?accountid={accountid}&page={page}

Description

Get Program Dates (reliable start date, next service date and current renewal due date) by Account ID

Request Information

Parameters

NameDescriptionAdditional information
accountid
AccountID

Define this parameter in the request URI.

page
[1..x]

Define this parameter in the request URI.

Response Information

List of Program dates by Account ID

Response body formats

application/json, text/json

Sample:
[
  {
    "accountid": 1,
    "programid": 2,
    "programtypeid": 3,
    "canceldate": "2026-11-13T07:52:04.4438828+00:00",
    "startdate": "2026-11-13T07:52:04.4438828+00:00",
    "renewaldate": "2026-11-13T07:52:04.4438828+00:00",
    "effectivestartdate": "2026-11-13T07:52:04.4438828+00:00",
    "effectivestartdatesource": "sample string 4",
    "nextservicedate": "2026-11-13T07:52:04.4444143+00:00",
    "currentrenewalduedate": "2026-11-13T07:52:04.4444143+00:00",
    "currentrenewalduesource": "sample string 5"
  },
  {
    "accountid": 1,
    "programid": 2,
    "programtypeid": 3,
    "canceldate": "2026-11-13T07:52:04.4438828+00:00",
    "startdate": "2026-11-13T07:52:04.4438828+00:00",
    "renewaldate": "2026-11-13T07:52:04.4438828+00:00",
    "effectivestartdate": "2026-11-13T07:52:04.4438828+00:00",
    "effectivestartdatesource": "sample string 4",
    "nextservicedate": "2026-11-13T07:52:04.4444143+00:00",
    "currentrenewalduedate": "2026-11-13T07:52:04.4444143+00:00",
    "currentrenewalduesource": "sample string 5"
  }
]

application/xml, text/xml

Sample:
<ArrayOfprogramdatesmodel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APICOMMON">
  <programdatesmodel>
    <accountid>1</accountid>
    <canceldate>2026-11-13T07:52:04.4438828+00:00</canceldate>
    <currentrenewalduedate>2026-11-13T07:52:04.4444143+00:00</currentrenewalduedate>
    <currentrenewalduesource>sample string 5</currentrenewalduesource>
    <effectivestartdate>2026-11-13T07:52:04.4438828+00:00</effectivestartdate>
    <effectivestartdatesource>sample string 4</effectivestartdatesource>
    <nextservicedate>2026-11-13T07:52:04.4444143+00:00</nextservicedate>
    <programid>2</programid>
    <programtypeid>3</programtypeid>
    <renewaldate>2026-11-13T07:52:04.4438828+00:00</renewaldate>
    <startdate>2026-11-13T07:52:04.4438828+00:00</startdate>
  </programdatesmodel>
  <programdatesmodel>
    <accountid>1</accountid>
    <canceldate>2026-11-13T07:52:04.4438828+00:00</canceldate>
    <currentrenewalduedate>2026-11-13T07:52:04.4444143+00:00</currentrenewalduedate>
    <currentrenewalduesource>sample string 5</currentrenewalduesource>
    <effectivestartdate>2026-11-13T07:52:04.4438828+00:00</effectivestartdate>
    <effectivestartdatesource>sample string 4</effectivestartdatesource>
    <nextservicedate>2026-11-13T07:52:04.4444143+00:00</nextservicedate>
    <programid>2</programid>
    <programtypeid>3</programtypeid>
    <renewaldate>2026-11-13T07:52:04.4438828+00:00</renewaldate>
    <startdate>2026-11-13T07:52:04.4438828+00:00</startdate>
  </programdatesmodel>
</ArrayOfprogramdatesmodel>