Saltar al contenido

Get a report schedule recipient

Módulo Reports

GET/report-schedule-recipients/{id}reportScheduleRecipients.get

A member of the org a scheduled report is emailed to; each receives it run with their own access, so a report never leaves the org (Section 4.6.4). Returns one report schedule recipient with its `ETag`. A report schedule recipient the caller may not see returns 404.

  • Requiere la capacidad reports.report.read.
  • Alcances de OAuth: reports.
  • Estados de error: 400, 401, 404, 429. Los errores son detalles de problema RFC 9457.

Parámetros de ruta y de consulta

reportScheduleRecipients.get: Parámetros de ruta y de consulta
CampoTipoObligatorioDescripción
idstring (uuid)SíIdentifier of the report schedule recipient.
fieldsFieldsNoSparse fieldset: a comma-separated list of top-level fields to return. `id` is always returned.Restricciones: pattern ^[a-z_][a-z0-9_]*(,[a-z_][a-z0-9_]*)*$

Respuesta 200: ReportScheduleRecipient

reportScheduleRecipients.get: ReportScheduleRecipient
CampoTipoObligatorioDescripción
idstring (uuid)SíIdentifier of the report schedule recipient.
org_idstring (uuid)SíIdentifier of the owning organization, derived from the parent row and never accepted from the caller.
created_atstring (date-time)SíWhen the row was created.
created_bystring (uuid) | nullSíIdentifier of the person who created the row.
updated_atstring (date-time)SíWhen the row was last updated.
updated_bystring (uuid) | nullSíIdentifier of the person who last updated the row.
report_schedule_idstring (uuid)SíIdentifier of the report schedule.
membership_idstring (uuid)SíIdentifier of the membership of the recipient, in the schedule's org.
{
  "id": "0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f",
  "org_id": "0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f",
  "created_at": "2026-10-08T14:30:00Z",
  "created_by": "0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f",
  "updated_at": "2026-10-08T14:30:00Z",
  "updated_by": "0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f",
  "report_schedule_id": "0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f",
  "membership_id": "0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f"
}

Ejemplos de código

curl -X GET "$XOS_BASE_URL/report-schedule-recipients/0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f" \
  -H "Authorization: Bearer $XOS_API_KEY"
const { data, etag } = await xos.reportScheduleRecipients.get("0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f");
response = xos.report_schedule_recipients.get("0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f")
xos report-schedule-recipients get 0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f