Resources
Solutions
Solutions represent the integrations you have built with Tray.
Get solutions (master token)
Type: Query
Operation: get-solutions
Request Examples
{
"query": "query {\n viewer {\n solutions {\n edges {\n node {\n id\n title\n description\n tags\n customFields {\n key\n value\n }\n configSlots {\n externalId\n title\n defaultValue\n }\n \n }\n cursor\n }\n pageInfo {\n hasNextPage\n endCursor\n hasPreviousPage\n startCursor\n }\n }\n }\n}",
"variables": {}
}Response Examples
{
"data": {
"viewer": {
"solutions": {
"edges": [
{
"node": {
"id": "28233cac-XXXX-XXXX-XXXX-e464a6881c04",
"title": "New Marketo Leads MailChimp Campaign",
"description": "Add newly created Marketo leads to the New Leads MailChimp Campaign",
"tags": [
"marketing"
],
"customFields": [
{
"key": "my_custom_field",
"value": "myCustomFieldValue"
}
],
"configSlots": [
{
"externalId": "external_campaignId",
"title": "campaign ID",
"defaultValue": "1234"
}
],
"authSlots": [
{
"externalId": "external_marketo_authentication",
"title": "Marketo authentication"
},
{
"externalId": "external_mailchimp_authentication",
"title": "mailchimp authentication"
}
]
},
"cursor": "MjgyMzNjYWMtNzc1ZS00MTNlLWIyYWYtZTQ2NGE2ODgxYzA0"
}
],
"pageInfo": {
"hasNextPage": false,
"endCursor": "MjgyMzNjYWMtNzc1ZS00MTNlLWIyYWYtZTQ2NGE2ODgxYzA0",
"hasPreviousPage": false,
"startCursor": "MjgyMzNjYWMtNzc1ZS00MTNlLWIyYWYtZTQ2NGE2ODgxYzA0"
}
}
}
}
}