Your First Component Interface
Structural relationships show a stable direction and interaction channel. An interface complements them with a component's exact technical contract.
Open Interfaces
Return from the completed C3 to the workspace, select the Orders domain, and
open Interfaces.
Interface Type
Select Create, then choose REST. SysCraft opens the settings for that type of
technical contract.
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.
Additional Properties
Use the Properties tab to describe request and response structures separately.
The next lesson covers those details.
Result
After saving, the technical contract appears in the domain registry. You can also create an interface from a selected component's properties.
Timeline
00:00— From structural relationship to contract00:07— Model and Orders domain00:18— Empty interface registry00:22— Creating an interface00:25— REST settings00:34— Selecting a component00:42— Operation method00:47— Path00:56— Additional properties01:04— Saving01:08— Result
Previous lesson: PostgreSQL C3 Relationships.
Next lesson: Order Data Model.