Skip to main content

Your First Component Interface

Structural relationships show a stable direction and interaction channel. An interface complements them with a component's exact technical contract.

Full lesson walkthrough in the selected color theme.

Open Interfaces​

Return from the completed C3 to the workspace, select the Orders domain, and open Interfaces.

Loading image...
Stable relationships are defined before technical contracts
Loading image...
The first interface will be created in the selected domain

Interface Type​

Select Create, then choose REST. SysCraft opens the settings for that type of technical contract.

Loading image...
The first contract uses a REST interface

REST Settings​

Find the component by part of its name and select it. Set access through the parent system, the create-data method, the operation path, and a concise purpose.

Loading image...
The form binds a technical contract to the selected component
Loading image...
Method, path, and purpose are ready to save

Additional Properties​

Use the Properties tab to describe request and response structures separately. The next lesson covers those details.

Loading image...
Request and response are documented independently of the structural relationship

Result​

After saving, the technical contract appears in the domain registry. You can also create an interface from a selected component's properties.

Loading image...
The contract is linked to its component and ready for further detail

Timeline​

  • 00:00 — From structural relationship to contract
  • 00:07 — Model and Orders domain
  • 00:18 — Empty interface registry
  • 00:22 — Creating an interface
  • 00:25 — REST settings
  • 00:34 — Selecting a component
  • 00:42 — Operation method
  • 00:47 — Path
  • 00:56 — Additional properties
  • 01:04 — Saving
  • 01:08 — Result

Previous lesson: PostgreSQL C3 Relationships.

Next lesson: Order Data Model.