aYOUne
← Project Management API

OMReports

Singular: OMReport — Base URL: https://pm-api.ayoune.app — Access: read-only

play_circle Try it now beta

Requests are proxied through the consumer-app to *.ayoune.app. Tokens stay in your browser and are forwarded per call.

Example response (recorded) sample

A real, previously recorded GET /:id response of this endpoint — not the live call above. Sensitive fields are masked.

{
  "payload": {
    "_id": "65e0b18f121b7d48fe159a93",
    "name": "Neuer Onlinemarketing Report",
    "timeFrame": "month",
    "createdBy": "6045f4d25704710012485569",
    "createdAt": "2024-02-29T16:32:15.717Z",
    "updatedAt": "2024-02-29T16:32:15.717Z"
  },
  "meta": {
    "links": [
      {
        "rel": "self",
        "href": "https://pm-api.ayoune.app/omreports/65e0b18f121b7d48fe159a93",
        "method": "get",
        "title": "GET",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      }
    ],
    "relations": [
      {
        "rel": "Consumers",
        "title": "MODEL_CONSUMER",
        "href": "https://api.ayoune.app/crm/consumers",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "crm.consumers"
      },
      {
        "rel": "Projects",
        "title": "MODEL_PROJECT",
        "href": "https://api.ayoune.app/pm/projects",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "pm.projects"
      },
      {
        "rel": "Properties",
        "title": "MODEL_PROPERTY",
        "href": "https://api.ayoune.app/config/properties",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "config.properties"
      },
      {
        "rel": "Slides",
        "title": "MODEL_SLIDE",
        "href": "https://api.ayoune.app/pm/slides",
        "method": "get",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ],
        "right": "pm.slides"
      }
    ],
    "debugId": "6a619866f0cde3e459455476",
    "errors": [],
    "actions": [
      {
        "rel": "self",
        "action": "COPY",
        "title": "MODEL_OMREPORT",
        "href": "https://api.ayoune.app/pm/omreports/65e0b18f121b7d48fe159a93/copy",
        "method": "post",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      },
      {
        "rel": "self",
        "action": "DELETE",
        "title": "MODEL_OMREPORT",
        "href": "https://api.ayoune.app/pm/omreports/65e0b18f121b7d48fe159a93/copy",
        "method": "post",
        "types": [
          "application/json",
          "application/yaml",
          "text/csv"
        ]
      }
    ],
    "version": {
      "host": "2026.34.0",
      "core": "2026.257.1"
    },
    "rateLimit": {
      "limit": "2500",
      "remaining": "2309",
      "reset": "1784784467",
      "resetDate": "Thu Jul 23 2026"
    },
    "responseTime": 17.75542,
    "code": 200,
    "status": "success",
    "error": false
  }
}

Endpoints

MethodPathDescriptionRight
GET /omreports List with filters/pagination pm.omreports.view
GET /omreports/:id Single record by ID pm.omreports.view

SDK

import { aYOUne } from '@tolinax/ayoune';
const ay = new aYOUne('pat_your_token');

// List all
const list = await ay.pm.oMReports.find().limit(10).exec();

// Single record
const one = await ay.pm.oMReports.findById('OBJECT_ID').exec();

See also