restDataSourceServer
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | data type=string; maxLen=255Enter a descriptive name for this REST Data Source Server. |
endpointUrl
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
url | string | Yes | data type=string; maxLen=4000Enter the endpoint URL for this REST Data Source Server. |
endpointUrl {
url: value
}dynamicConfig
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
plsqlCode | multiline string | No | data type=multiline string; maxLen=32000A procedure which configures the Endpoint URL at runtime can be defined here. | |
procedureName | string | No | data type=string; maxLen=255Enter the name of a procedure which configures the Endpoint URL at runtime. This can be a stored procedure or a procedure defined in item PL/SQL Code. The code below is for an application that implements multi-tenancy and supports different variations of Endpoint URL for the tenants. It changes the domain name in the URL, depending on the customer (Example URLs: https://cust-01.example.com, https://cust-02.example.com): |
dynamicConfig {
plsqlCode: ```plsql
value
```
procedureName: value
}advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
staticId | string | Yes | data type=string; maxLen=255Use the Static ID to reference the REST Data Source Server in API Calls. Static IDs are also used to identify an existing REST Data Source Server when the application is being exported and imported to another workspace. | |
promptOnInstall | boolean | Yes | false | data type=booleanChoose whether prompts for this REST Data Source Server should be displayed when the application is being imported on another Application Express instance. |
httpsHostName | string | No | data type=string; maxLen=500The host name to be matched against the common name (CN) of the remote server's certificate for an HTTPS request. It can also be a domain name like *.example.com. If NULL, the host name in the given URL will be used. |
advanced {
staticId: value
promptOnInstall: false
httpsHostName: value
}comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | data type=multiline string; maxLen=4000 |
comments {
comments: ```
value
```
}APEXlang Example
restDataSourceServer sample (
name: value
endpointUrl {
url: value
}
dynamicConfig {
plsqlCode: ```plsql
value
```
procedureName: value
}
advanced {
staticId: value
promptOnInstall: false
httpsHostName: value
}
comments {
comments: ```
value
```
}
)