Skip to content

ffl_integrations.fastbound.client_api

Source: apps/ffl_integrations/ffl_integrations/fastbound/client_api.py · 4 endpoint(s)

Generated by make api-docs — do not edit by hand.

get_acquire_types

POST /api/method/ffl_integrations.fastbound.client_api.get_acquire_types

Auth (derived from code): Roles: Stock Manager / System Manager

Cached AcquireType options for the Acquisition type dropdown.

Returns: List of type strings ([] until sync_smart_lists has run).

apps/ffl_integrations/ffl_integrations/fastbound/client_api.py:97

get_dispose_types

POST /api/method/ffl_integrations.fastbound.client_api.get_dispose_types

Auth (derived from code): Roles: Stock Manager / System Manager

Cached DisposeType options for the Disposition type dropdown.

Returns: List of type strings ([] until sync_smart_lists has run).

apps/ffl_integrations/ffl_integrations/fastbound/client_api.py:108

sync_smart_lists

POST /api/method/ffl_integrations.fastbound.client_api.sync_smart_lists

Auth (derived from code): Roles: System Manager

Sync FastBound's AcquireType/DisposeType SmartLists into Settings.

Pulls presets + custom values and caches them on FastBound Settings for the Acquisition / Disposition type dropdowns.

Returns: {"ok": True, "acquire_count": n, "dispose_count": n}.

apps/ffl_integrations/ffl_integrations/fastbound/client_api.py:43

test_connection

POST /api/method/ffl_integrations.fastbound.client_api.test_connection

Auth (derived from code): Roles: System Manager

Probe the FastBound connection via GET /Account.

Returns: {"ok": True, "account_name": ..., "raw": } — throws a readable error when unconfigured or the API rejects.

apps/ffl_integrations/ffl_integrations/fastbound/client_api.py:14