SurveyMonkey policy

A SurveyMonkey policy contains the connection details that are used by a SurveyMonkey Input or SurveyMonkey Request node when connecting to SurveyMonkey.

You can use a SurveyMonkey Request node node in a message flow to connect IBM® App Connect Enterprise to SurveyMonkey and issue requests to perform actions on objects, including collectors, contact lists, and surveys. You can use a SurveyMonkey Input node to monitor and accept input from SurveyMonkey. The SurveyMonkey policy controls, at run time, access to the SurveyMonkey application.

The SurveyMonkey policy is created when you configure a connection between a SurveyMonkey Input or SurveyMonkey Request node and SurveyMonkey by using the Connector Discovery wizard. During the process of discovery, account credentials are stored in the vault and connection details are stored in a SurveyMonkey policy. The policy is created with a type of SurveyMonkey, and the name of the policy is returned to the SurveyMonkey node and specified in the Connection tab of the node, in the format {policyProjectName}:policyName.

You can also create, update, or delete a SurveyMonkey policy by using the Manage Discovery Connector Policies and Credentials wizard, which you can access by right-clicking the policy project in the IBM App Connect Enterprise Toolkit and then clicking New > Discovery Connector policies and credentials.

You must deploy this policy before message flows that use the policy are started. If you redeploy a SurveyMonkey policy, all message flows that are using the policy are stopped and restarted.

For more information about using SurveyMonkey policies, see Using SurveyMonkey with IBM App Connect Enterprise.

Table 1. Properties of the SurveyMonkey policy
Property Property name in .policyxml file Description of properties
SurveyMonkey Application type applicationType This property is reserved for future use and must be set to the value online.
SurveyMonkey Application version applicationVersion This property is reserved for future use and must be set to the value v1.
SurveyMonkey Authentication method authenticationMethod This property specifies the type of authentication that is used for the connection between IBM App Connect Enterprise and SurveyMonkey. This property is reserved for future use and must be set to the value BASIC_OAUTH.
Browser binding URL apiUrl

The API access URL for your SurveyMonkey account. For example, https://api.surveymonkey.net/v3.

Credential name credentialName

The specified credential can be defined during connector discovery and stored in the vault. Alternatively, you can specify an existing credential that was configured by using the mqsicredentials command or the server.conf.yaml file, or loaded through an external credential provider.