Service Connection JSON Definition
Journey Manager includes some services that require connections to external servers to perform their functionality. To learn more about service connections, see Service Connection Overview.
Example
An example Service Connection definition file is shown below.
{
"name": "Accounts",
"type": "HTTP Endpoint",
"endpoint": "http://api.geonames.org/postalCodeLookupJSON?postalcode=6600&country=AT&username=demo",
"username": "accounts-user",
"password": "N876CX281!"
}
Schema
Service Connection definitions must comply with the following schema.
Fields are optional unless otherwise indicated.
| Field | Description |
|---|---|
name | stringRequired. The name used to identify the Service Connection. |
type | stringRequired. The connection type. Must be one of the following:
The following attributes are dependent on the value of this attribute: |
endpoint | stringDependent on the value of the If |
username | stringThe connection login user name. |
password | stringThe connection login user password. |
fileData | Not supported. |
param1 | stringArbitrary connection parameter 1. The value of this attribute is dependent on the value of the |
param2 | stringArbitrary connection parameter 2. The value of this attribute isdependent on the value of the |
param3 | stringArbitrary connection parameter 3. The value of this attribute is dependent on the value of the |
param4 | stringArbitrary connection parameter 4. The value of this attribute is dependent on the value of the |