OverviewServicesGetProductionData Method

Ingeniux CMS Web Services API

Retrieves productivitiy data of CMS, within specified time range, for a specific publishing target

Namespace:  IngeniuxCMService
Assembly:  IngeniuxCMService (in IngeniuxCMService.dll) Version: 10.3.70
Syntax

public XHRServiceResponseGeneric<MonthlyProductionData> GetProductionData(
	string pubTgtId,
	string startDate,
	string endDate
)

Parameters

pubTgtId
Type: SystemString
Id of the publishing traget
startDate
Type: SystemString
Starting date and time, ISO8601 format
Examples

20180306T16:17:47
endDate
Type: SystemString
Ending date and time, ISO8601 format
Examples

20180306T16:17:47

Return Value

Type: XHRServiceResponseGenericMonthlyProductionData

Production data for specific publishing target

Examples

Sample JSON return

JavaScript
{
  "ContentFreezeEndTime": "",
  "ContentFreezeStartTime": "",
  "code": 0,
  "error": null,
  "message": {
    "datasets": [
      {
        "data": [
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          1,
          0,
          2,
          0,
          0,
          0,
          0,
          2,
          1,
          0,
          0,
          0,
          1,
          0,
          2,
          0
        ],
        "label": "Pages Created"
      },
      {
        "data": [
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          2,
          0,
          0,
          0,
          0,
          6,
          0,
          0,
          0,
          0,
          1,
          0,
          21,
          0
        ],
        "label": "Assets Created"
      },
      {
        "data": [
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          54,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0
        ],
        "label": "Pages Published"
      },
      {
        "data": [
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          11,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0
        ],
        "label": "Assets Published"
      }
    ],
    "labels": [
      "3/06",
      "3/07",
      "3/08",
      "3/09",
      "3/10",
      "3/11",
      "3/12",
      "3/13",
      "3/14",
      "3/15",
      "3/16",
      "3/17",
      "3/18",
      "3/19",
      "3/20",
      "3/21",
      "3/22",
      "3/23",
      "3/24",
      "3/25",
      "3/26",
      "3/27",
      "3/28",
      "3/29",
      "3/30",
      "3/31",
      "4/01",
      "4/02",
      "4/03",
      "4/04",
      "4/05"
    ]
  }
}
Remarks

The data is a matrix for rendering line chart
See Also

Reference