Connection REST API
The Connection REST API enables you to connect Sitecore Personalize to external services.
Use the following attributes for connection objects:
Attribute |
Type |
Description |
Example(s) |
---|---|---|---|
|
JSON array of JSON objects |
The array of connections. |
N/A |
|
string |
The name of the connection. |
|
|
string |
The connection description. |
|
|
string |
The unique reference of the user who modified the connection. |
|
|
integer |
The sequential number of the connection revision. |
|
|
boolean |
The archive status of the connection. |
|
|
JSON array of JSON objects |
An array of authentication attributes to connect to the service. |
N/A |
|
string |
The authentication type required to authenticate requests to the external model. |
|
|
string |
The secret client ID required to connect to the external model. |
|
|
string |
The URL of the access token generated by the external model. The access token URL must use an |
|
|
JSON array of strings |
An array of request attributes to connect to the service. |
N/A |
|
string |
The method type of the request. |
|
|
string |
The URL of the connection. |
|
|
JSON array of JSON objects |
An array of input mappings to define the input to the web service. |
N/A |
|
JSON array of JSON objects |
An array of output mappings to define the output from the web service. |
N/A |
|
JSON array of JSON objects |
A JSON array of custom headers to pass to the connection. |
N/A |
|
string |
The type of system you are connecting. |
|
|
integer |
The number of milliseconds that must lapse before the connection times out. |
|
|
integer |
The number of milliseconds that must lapse before the socket times out while waiting for individual packets. |
|
|
string |
The path to the image file that contains the icon representing the connection in the UI. |
|