aYOUne
← Warehouse API

DockAppointments

Singular: DockAppointment — Base URL: https://warehouse-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 /dockappointments List with filters/pagination warehouse.dockappointments.view
GET /dockappointments/:id Single record warehouse.dockappointments.view
POST /dockappointments Create new record warehouse.dockappointments.new
PUT /dockappointments Update record warehouse.dockappointments.edit
DELETE /dockappointments/:id Delete record warehouse.dockappointments.delete

SDK

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

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

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

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

See also