ASCI API

| Home | Swagger | All Forms | Documentation | HTS →

Manufacturers module page - how it works, an interactive test form, and the endpoint reference, all in one place. Set your tenant API Key in the Setup block below; every request sends the ApiKey header. See All Forms for the combined surface or Home for the module index.

How it works

Manufacturer (MID) master record create / find.

Manufacturers

The Manufacturers module upserts a manufacturer master: POST /api/Manufacturers performs a synchronous upsert plus an enqueued legacy MF write. The key is the 16-char real mid (Manufacturer ID). Use Find existing to look one up and load it.

Setup

API key + base URL used by every request below.

Credentials

Leave Base URL blank to call this same server with relative paths (the normal case). Set it (e.g. https://asci-api.asciofmiami.com) to point the forms at another host. Every request below sends the ApiKey header.

Sent on every create / submit POST. Click Generate for a fresh one, or a new one is auto-generated per submit if blank.

Test form

Interactive form - POSTs to the API and shows the JSON response + HTTP status.

Create a manufacturer master record: POST /api/Manufacturers (sync upsert + enqueue legacy MF write). Key is the 16-char real mid.

Find existing

GETs /api/Manufacturers?mid=&name=&address=. Click a row to load it.

Create

Endpoints

Manufacturers endpoint family (api/Manufacturers). Full request schema below.

Manufacturers endpoints

MethodPathPurpose
POST/api/ManufacturersCreate / upsert a manufacturer (body keyed by mid).
GET/api/ManufacturersSearch (?q=). Returns {count, rows}.
DELETE/api/Manufacturers/{mid}Delete a manufacturer.

Schema

Request body for POST /api/Manufacturers (MID master record). The same object is returned by GET; the list endpoint wraps the rows as { "count": n, "rows": [ … ] }.

Manufacturer (MID)

FieldTypeReq?MaxDescription
midstringYes15Manufacturer ID (MID). Primary key (per tenant).
namestringNo35Manufacturer name.
address_1stringNo35Address line 1.
address_2stringNo35Address line 2.
citystringNo35City.
statestringNo2State / province.
postal_codestringNo10Postal code.
countrystringNo2Country (ISO 2-char).