Skip to content
aYOUne
← planning API

ExpectedTransactions

Singular: ExpectedTransaction — Base URL: https://planning-api.ayoune.app — Access: CRUD — Machine-readable spec (JSON · YAML)

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 /expectedtransactions List with filters/pagination planning.expectedtransactions.view
GET /expectedtransactions/:id Single record planning.expectedtransactions.view
POST /expectedtransactions Create new record planning.expectedtransactions.new
PUT /expectedtransactions Update record planning.expectedtransactions.edit
DELETE /expectedtransactions/:id Delete record planning.expectedtransactions.delete

SDK

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

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

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

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

See also