Config API Version 2 Scheduled Reports Config

Introduction

Scheduled reports config is a config for reports which are sent via emails

Scheduled Report Properties

These are the properties that can be accessed using the API.

URL Path Params

List Scheduled Reports

Request:

GET /config/v2/igrps/{IGRP SPECIFIER}/scheduledReports

Response:

List of scheduled reports

    HTTP 200 - OK
    {"reportConfigId":"1","description":"123","reportApp":"portal1","reportSource":"\/123\/123","frequencyType":"Daily","runDay":"0","runHour":"12","igrp":"1","recipients":"bill@mail.com,mail@bill.com"}
    {"reportConfigId":"3","description":"123","reportApp":"portal1","reportSource":"\/123\/123","frequencyType":"Monthly","runDay":"25","runHour":"12","igrp":"1","recipients":"bill@mail.com,mail@bill.com"}

Create Scheduled Report

Request:

POST /config/v2/igrps/{IGRP SPECIFIER}/scheduledReports

POST Params

Response:

ID of created instance

    HTTP 201 - CREATED
    {"id":"1"}

Update Scheduled Report

Request:

POST /config/v2/igrps/{IGRP SPECIFIER}/scheduledReports/{CONFIG SPECIFIER}

POST Params

All params are optional

Response:

    HTTP 204 - NO CONTENT

Read Scheduled Report

Request:

GET /config/v2/igrps/{IGRP SPECIFIER}/scheduledReports/{CONFIG SPECIFIER}

Response:

Scheduled Report

    HTTP 200 - OK
    {"reportConfigId":"3","description":"123","reportApp":"portal1","reportSource":"\/123\/123","frequencyType":"Monthly","runDay":"25","runHour":"12","igrp":"1","recipients":"bill@mail.com,mail@bill.com"}

Delete Scheduled Report

Request:

DELETE /config/v2/igrps/{IGRP SPECIFIER}/scheduledReports/{CONFIG SPECIFIER}

Response:

HTTP 204 - NO CONTENT