Send a group's report now
POST/api/v1/groups/:group/report/send
Sends the report for a period, as Send now in the Reports dialog: recorded as a manual delivery and audited. recipients defaults to the group's schedule. Returns the delivery, sent or failed. A group this key can't see is a 404.
Needs the ReportsManage permission.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 409
- 429
- 500
OK
The request couldn't be used. errors names each field that's wrong and why.
No API key was sent, or the key is unknown, expired or revoked.
The key's role doesn't have the permission this operation needs, or the key is limited to certain groups and this would reach outside them. detail says which.
There's no such item, or this key can't see it. A key limited to certain groups can't see what's outside them.
The request conflicts with how things are now, such as a domain that's already in dotMARC or an alert that can't be acknowledged. detail says what.
This key has made more requests this minute than dotMARC allows (120 by default). Wait for the number of seconds in the Retry-After header, then try again.
Something went wrong in dotMARC that the request didn't cause. It's safe to retry a read; check before retrying a change. If it keeps happening, dotMARC's logs have the details.