aYOUne
← planning API

PlanningSchedules

Singular: PlanningSchedule — Base URL: https://planning-api.ayoune.app — Access: CRUD

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.

Endpoints

MethodPathDescriptionRight
GET /planningschedules List with filters/pagination planning.planningschedules.view
GET /planningschedules/:id Single record planning.planningschedules.view
POST /planningschedules Create new record planning.planningschedules.new
PUT /planningschedules Update record planning.planningschedules.edit
DELETE /planningschedules/:id Delete record planning.planningschedules.delete

SDK

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

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

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

// Create
const created = await ay.planning.planningSchedules.create({ name: 'Foo' });

See also