How can we help?


0 results found


POST /odata/Reports/[id]/editSubscription


Edits the subscription (subscribers, schedule and so on) of the specified Users(s) to automatically receive one or more periodic Axonize reports by email (as specified by the report id(s) in the request). The ID of a report is returned in the response to the Reports/Post and Reports/Get endpoints.

See the following for request and response details ‒

See Also

Request ‒ Reports/[id]/editSubscription

Property Type Description Mandatory
id String This is the unique identifier automatically assigned by Axonize when a Report is created. This id is returned in the response of Reports/Post. Y
subscribers Array Subscribers contains an array of subscribers. Each subscriber contains the following – Y
subscribers/userId String An array of user Ids to subscribe to the specified report. User Ids are returned in the Users/Post response. Y
subscribers/cron String Specifies the schedule for sending this Report to the subscribed Users. This schedule is defined in Cron format, which is a standard for defining the timing and frequency of actions.
subscribers/timezone String The default timezone of the data.


subscribers/filetype String The format of the report to be sent. The default is PDF. CSV and XLSX (Excel) are also supported. (Excel) are also supported.

Example JSON Reports/[id]/editSubscription Request\

-H ‘Content-Type: application/json’ \

-H ‘Authorization: Token’ \

-H ‘appId: be517433-c4b8-4748-9258-1b1234567890’ \

-d ‘{“subscriber”:{“userId”:”59552b3cc9f8be1112345678″,”cron”:”05 15 * * 0″,”fileType”:”pdf”}}’

Response ‒ Reports/[id]/editSubscription

All the same properties in the request are returned in the response.

Example JSON Reports/[id]/editSubscription Response

Status 200 – OK