← Accounting API
AccountingProviderConnections
Singular: AccountingProviderConnection — Base URL: https://accounting-api.ayoune.app — Access: CRUD
Try it now
beta
Response (live)
Requests are proxied through the consumer-app to *.ayoune.app. Tokens stay in your browser and are forwarded per call.
Endpoints
| Method | Path | Description | Right |
|---|---|---|---|
| GET | /accountingproviderconnections |
List with filters/pagination | accounting.providerconnections.view |
| GET | /accountingproviderconnections/:id |
Single record | accounting.providerconnections.view |
| POST | /accountingproviderconnections |
Create new record | accounting.providerconnections.new |
| PUT | /accountingproviderconnections |
Update record | accounting.providerconnections.edit |
| DELETE | /accountingproviderconnections/:id |
Delete record | accounting.providerconnections.delete |
SDK
import { aYOUne } from '@tolinax/ayoune';
const ay = new aYOUne('pat_your_token');
// List all
const list = await ay.accounting.accountingProviderConnections.find().limit(10).exec();
// Single record
const one = await ay.accounting.accountingProviderConnections.findById('OBJECT_ID').exec();
// Create
const created = await ay.accounting.accountingProviderConnections.create({ name: 'Foo' });