Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space WDESIGNER and version 24.0

In the Service panel resides a folder API where you can define your own service APIs.

Go to the API folder in the service panel of your service.

First you need to create the API needed for your service inside the API folder. All other elements will be created within this API. Add a new API via the quick action or the context menu. Refer to API for more information on how to create a new API in the API folder.

Tip
titleExpert Advice

Multiexcerpt include
SpaceWithExcerptINTERNAL
MultiExcerptNamehint_naming_conventions
PageWithExcerptINTERNAL:_designer_excerpts

API Elements

To define a service API, you have the following elements available:

Element
DescriptionDetails
API

Multiexcerpt include
SpaceWithExcerptINTERNAL
MultiExcerptNameapi
PageWithExcerptINTERNAL:_designer_excerpts
shouldDisplayInlineCommentsInIncludesfalse


Port

Multiexcerpt include
SpaceWithExcerptINTERNAL
MultiExcerptNameport
PageWithExcerptINTERNAL:_designer_excerpts
shouldDisplayInlineCommentsInIncludesfalse


Class

Multiexcerpt include
SpaceWithExcerptINTERNAL
MultiExcerptNameclass
PageWithExcerptINTERNAL:_designer_excerpts
shouldDisplayInlineCommentsInIncludesfalse


Class
Classes can have sub-classes.
Operation

Multiexcerpt include
SpaceWithExcerptINTERNAL
MultiExcerptNameoperation
PageWithExcerptINTERNAL:_designer_excerpts
shouldDisplayInlineCommentsInIncludesfalse


Parameter

Multiexcerpt include
SpaceWithExcerptINTERNAL
MultiExcerptNameinterface
PageWithExcerptINTERNAL:_designer_excerpts
shouldDisplayInlineCommentsInIncludesfalse

Interface

Multiexcerpt include
SpaceWithExcerptINTERNAL
MultiExcerptNameinterface
PageWithExcerptINTERNAL:_designer_excerpts
shouldDisplayInlineCommentsInIncludesfalse


Interface
Interfaces can have sub-interfaces and sub-classes.
Class
Operation
Operations and parameters for interfaces are the same as for classes. The difference is that they have no implementation but only define the signature for the dependent classes to derive from.

Parameter

Each element of the API folder has a context menu and quick actions. The context menu contains options to create new elements to the selected element, and to edit the current element. Via the quick actions, you can access the most used menu items directly with a single click.

API

Multiexcerpt include
SpaceWithExcerptINTERNAL
MultiExcerptNameapi
PageWithExcerptINTERNAL:_designer_excerpts
shouldDisplayInlineCommentsInIncludesfalse

The quick action of an API allows for the creation of ports.

Quick ActionDescription
Add a port to the API.

The context menu of an API allows you to create a port, to cut, copy and paste the API, to change the name of the API, and to delete it.

Menu ItemDescription
Add PortAdd a port to the API
CutCut the API to paste it elsewhere to the API folder.
Copy
Copy the API to paste it elsewhere to the API folder.
Paste
Paste the API elsewhere to the API folder. Available if Copy or Cut option have been used before.
Rename
Change the API name.
Delete
Delete the API.

Port

Multiexcerpt include
SpaceWithExcerptINTERNAL
MultiExcerptNameport
PageWithExcerptINTERNAL:_designer_excerpts
shouldDisplayInlineCommentsInIncludesfalse

The context menu of a port allows for the creation of classes and interfaces, to change the name of the port, and to delete it.

Menu ItemDescription
Add ClassAdd a class to the port.
Add InterfaceAdd an interface to the port.
RenameChange the port name.
DeleteDelete the port.

Class

Multiexcerpt include
SpaceWithExcerptINTERNAL
MultiExcerptNameclass
PageWithExcerptINTERNAL:_designer_excerpts
shouldDisplayInlineCommentsInIncludesfalse

The quick actions of a class allow for the creation of operations with different types of implementation.

Quick ActionDescription
Multiexcerpt include
SpaceWithExcerptINTERNAL
MultiExcerptNameadd_mapping_operation
PageWithExcerptINTERNAL:_designer_excerpts
Multiexcerpt include
SpaceWithExcerptINTERNAL
MultiExcerptNameadd_action_script
PageWithExcerptINTERNAL:_designer_excerpts
Multiexcerpt include
SpaceWithExcerptINTERNAL
MultiExcerptNameadd_activity_operation
PageWithExcerptINTERNAL:_designer_excerpts
Multiexcerpt include
SpaceWithExcerptINTERNAL
MultiExcerptNameadd_operation
PageWithExcerptINTERNAL:_designer_excerpts

The context menu of a class allows you to create further elements, to cut, copy and paste the class, to change the name of the class, and to delete it.

Menu ItemDescription
Add Class
Multiexcerpt include
SpaceWithExcerptINTERNAL
MultiExcerptNameadd_sub_class
PageWithExcerptINTERNAL:_designer_excerpts
Add Interface
Multiexcerpt include
SpaceWithExcerptINTERNAL
MultiExcerptNameadd_interface
PageWithExcerptINTERNAL:_designer_excerpts
Add Operation
Multiexcerpt include
SpaceWithExcerptINTERNAL
MultiExcerptNameadd_operation_cm
PageWithExcerptINTERNAL:_designer_excerpts
Cut
Multiexcerpt include
SpaceWithExcerptINTERNAL
MultiExcerptNamecut_class
PageWithExcerptINTERNAL:_designer_excerpts
Copy
Multiexcerpt include
SpaceWithExcerptINTERNAL
MultiExcerptNamecopy_class
PageWithExcerptINTERNAL:_designer_excerpts
Paste
Multiexcerpt include
SpaceWithExcerptINTERNAL
MultiExcerptNamepaste_class
PageWithExcerptINTERNAL:_designer_excerpts
Rename
Multiexcerpt include
SpaceWithExcerptINTERNAL
MultiExcerptNamerename_class
PageWithExcerptINTERNAL:_designer_excerpts
Delete
Multiexcerpt include
SpaceWithExcerptINTERNAL
MultiExcerptNamedelete_class
PageWithExcerptINTERNAL:_designer_excerpts

Operation

Multiexcerpt include
SpaceWithExcerptINTERNAL
MultiExcerptNameoperation
PageWithExcerptINTERNAL:_designer_excerpts
shouldDisplayInlineCommentsInIncludesfalse

The quick actions of an operation allow for the creation of parameters with different directions, and to jump to the implementation of the operation.

Multiexcerpt include
SpaceWithExcerptINTERNAL
MultiExcerptNameoperation_quick_actions
PageWithExcerptINTERNAL:_designer_excerpts

The context menu of an operation allows you to create further elements, to select and change the type of implementation of the operation and to open the implementation of the operation. Furthermore you can cut, copy and paste the operation, change the name of the operation, and delete it via this menu.

Multiexcerpt include
SpaceWithExcerptINTERNAL
MultiExcerptNameoperation_context_menu
PageWithExcerptINTERNAL:_designer_excerpts

Parameter

Multiexcerpt include
SpaceWithExcerptINTERNAL
MultiExcerptNameparameter
PageWithExcerptINTERNAL:_designer_excerpts
shouldDisplayInlineCommentsInIncludesfalse

The context menu of a parameter allows you to change the order of parameters as well as to change the names of a parameter. Furthermore you can cut, copy and paste a parameter. It is not possible to create further elements below a parameter.

Multiexcerpt include
SpaceWithExcerptINTERNAL
MultiExcerptNameparameter_context_menu
PageWithExcerptINTERNAL:_designer_excerpts

Tip

If you want to change the direction of a parameter, select the parameter and change attribute Direction in the Attributes panel:

Interface

Multiexcerpt include
SpaceWithExcerptINTERNAL
MultiExcerptNameinterface
PageWithExcerptINTERNAL:_designer_excerpts
shouldDisplayInlineCommentsInIncludesfalse

The quick action of an interface allows for the creation of operations.

Multiexcerpt include
SpaceWithExcerptINTERNAL
MultiExcerptNameinterface_quick_action
PageWithExcerptINTERNAL:_designer_excerpts

The Interface context menu allows you to create further elements and to change the name of the interface. Furthermore you can cut, copy and paste as well as delete the interface via this menu.

Multiexcerpt include
SpaceWithExcerptINTERNAL
MultiExcerptNameinterface_context_menu
PageWithExcerptINTERNAL:_designer_excerpts
Panel
titleOn this Page:
Table of Contents
OtpFloatingfalse

Multiexcerpt include
SpaceWithExcerptINTERNAL
MultiExcerptNameRESTAPI_SupportManager_Example
PageWithExcerptINTERNAL:_designer_examples
shouldDisplayInlineCommentsInIncludesfalse

rp
Panel
titleRelated Pages: