Name |
Type |
Description |
Notes |
type |
String |
The message type. |
|
_query_params |
Hash<String, String> |
Array of query parameters. |
[optional] |
headers |
Hash<String, String> |
List of API HTTP headers for the given message. |
[optional] |
verb |
String |
API method for this message. |
|
url |
String |
API URL for the given message. |
|
payload |
String |
API payload of this message. |
|
require 'TalonOne'
instance = TalonOne::NewMessageTest.new(type: loyalty_added_deducted_points,
_query_params: {"param1":"value1","param2":"value2"},
headers: {"content-type":"application/json"},
verb: POST,
url: www.my-company.com/my-endpoint-name,
payload: {
"integrationId": "${$Profile.IntegrationId}"
})