Handles the selection of a saved report,
curl --request GET \
--url https://api.helpyousponsor.com/v1/admin/programs/view/{report_id}/{program_id}/{trashed} \
--header 'Authorization: Bearer <token>'
{
"message": "Successfully",
"status": "success"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
ID of the report to select
ID of the program for which the report is selected
Indicator of whether to include trashed entities (optional)
"false"
Saved report selected successfully
The response is of type object
.
curl --request GET \
--url https://api.helpyousponsor.com/v1/admin/programs/view/{report_id}/{program_id}/{trashed} \
--header 'Authorization: Bearer <token>'
{
"message": "Successfully",
"status": "success"
}