High-level RESTful Web service attributes
Attributes for high-level RESTful Genero Web Services.
The attributes listed in Table 1 cannot have values.
Attribute | Description |
---|---|
|
In order to remove an existing resource, you set the WSDelete attribute. |
|
In order to retrieve a resource, you set the WSGet attribute. |
|
In order to retrieve resource headers, you define the WSHead attribute. |
|
In order to partially update an existing resource, you define the WSPatch attribute. |
|
In order to create a new resource, you set the WSPost attribute. |
|
Update an existing resource with the WSPut attribute. |
|
You define the WSTrace attribute for debugging purposes. |
Attribute | Description |
---|---|
|
Specifies a path to a REST Web service resource that identifies its function and allows parameters to be passed in the URL. |
Attribute | Description |
---|---|
|
Specifies a value for a template path to a REST Web service resource. |
|
Allows cookies to be passed to Web service REST function. |
|
Specifies the query string that appears after a question mark (?) in the request URL. |
Attribute | Description |
---|---|
|
Defines custom headers in the request and response of Web service functions. |
|
Defines file attachments in the REST message. |
Attribute | Description |
---|---|
|
WSContext defines an injection variable to retrieve REST operation context values at the service level. |
|
Specifies a description of the status-code that is returned in the HTTP response. |
|
Specify information about the Web service such as title, version, contact details, scopes, etc. |
|
Specify access via scopes that applies at the whole Web service level (the module). |
|
Set a default set of operations to display in the OpenAPI documentation. |
|
Defines the method of access when the GWS generates the OpenAPI documentation. |
|
Describes a user-defined type. |
Attribute | Description |
---|---|
|
Defines a list of errors that may be encountered accessing a REST resource. |
|
Defines the HTTP success status sent in the REST response. |
|
Defines custom headers in the error response of web service functions. |
Attribute | Description |
---|---|
|
Specify security in the REST service via scopes. |
Attribute | Description |
---|---|
|
Defines the data format of the REST message. |
|
Describes the REST function, parameters, return values, and members of user-defined types. |
|
Specify alternative names for parameters in a REST function. |
|
Qualifies a parameter as optional in a REST function. |