WSInfo
Specify service information and security at the service level of the REST service.
Syntax
WSInfo
Usage
You use this attribute to specify service information such as the service title, version,
contact. It allows your also to specify the security scope at service level. WSInfo
can work without WSScope
, the main purpose is to document the REST service.
You set WSInfo
in an ATTRIBUTE()
clause of a variable. If you
need a global scope at service level, you can set an additional WSScope
attribute.
WSInfo
is an optional attribute.
Example using WSInfo at the service level
PUBLIC DEFINE serviceInfo
RECORD ATTRIBUTE (WSInfo,WSScope="users.fourjs")
title STRING,
version STRING,
contact STRING
END RECORD