All URIs are relative to https://api.bombbomb.com/v2
| Method | HTTP request | Description |
|---|---|---|
| AddTeamMember | POST /team/{teamId}/member | Add Member to Team |
| AddUsers | POST /team/{teamId}/members | Add users to group. |
| AddUsersFromCsv | POST /team/{teamId}/members/csv | Add members to group from CSV |
| CancelJerichoSend | DELETE /team/{teamId}/jericho/{jerichoId} | Cancel a Jericho Send |
| CreateSubteam | POST /team/{teamId}/subteam | Add a Subteam |
| DeleteSubteam | DELETE /team/{teamId}/subteam | Delete Subteam |
| GetAllClientGroupAssociations | GET /team/associations/ | Lists team associations |
| GetClientGroupAssets | GET /team/assets/ | Lists team assets |
| GetClientGroupStatistics | GET /team/{teamId}/stats | Get Team statistics |
| GetJerichoSends | GET /team/{teamId}/jericho | List Jericho Sends |
| GetJerichoStats | GET /team/{teamId}/jericho/{jerichoId}/performance | Gets Jericho performance statistics |
| GetPagedClientGroupMembers | GET /team/{teamId}/members | List Team Members |
| GetPromptMonthlyStats | GET /team/{month}/{year}/monthStats | Jericho Monthly Stats |
| GetPromptOverview | GET /team/promptOverview | Get Prompt Overview |
| GetSubteams | GET /team/{teamId}/subteam | List Subteams |
| GetTeamPromptAggregateStats | GET /team/{clientGroupId}/campaign/stats | Get aggregate stats for campaigns |
| GetTeamPromptCampaigns | GET /team/{clientGroupId}/campaign | Get campaigns for team |
| InviteToSocialPromptTeam | POST /teams/prompt/invite | Invite a list to join the admin's social prompt team |
| QueueJerichoSend | POST /team/{teamId}/jericho | Creates a Jericho send. |
| RemoveMemberFromTeam | DELETE /team/{teamId}/member/{userId} | Remove Member from Team |
| ResendTeamMemberInvitation | POST /team/{teamId}/{memberUserId}/rewelcome | Resend invite |
| UpdateJerichoPromptSend | PUT /team/{teamId}/jericho/{jerichoId} | Updates the Jericho Prompt Settings |
| UpdateTeam | POST /team/{teamId} | Update a team |
| UpdateTeamMember | PUT /team/{teamId}/member | Update Member of Team |
string AddTeamMember (string teamId, bool? admin = null, string subgroupIds = null, string userEmail = null, string userId = null)
Add Member to Team
Adds a member to a team.
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class AddTeamMemberExample
{
public void main()
{
// Configure OAuth2 access token for authorization: BBOAuth2
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new TeamsApi();
var teamId = teamId_example; // string | The team id
var admin = true; // bool? | Set if the user is an admin of this team. (optional)
var subgroupIds = subgroupIds_example; // string | Subgroup IDs to add user to (optional)
var userEmail = userEmail_example; // string | The email of the member being added to the team. (optional)
var userId = userId_example; // string | The user id of the member being added to the team. (optional)
try
{
// Add Member to Team
string result = apiInstance.AddTeamMember(teamId, admin, subgroupIds, userEmail, userId);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling TeamsApi.AddTeamMember: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| teamId | string | The team id | |
| admin | bool? | Set if the user is an admin of this team. | [optional] |
| subgroupIds | string | Subgroup IDs to add user to | [optional] |
| userEmail | string | The email of the member being added to the team. | [optional] |
| userId | string | The user id of the member being added to the team. | [optional] |
string
- Content-Type: application/x-www-form-urlencoded
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
void AddUsers (string teamId, string userDetails, string sendWelcomeEmail = null, string subgroupIds = null)
Add users to group.
Add a new or existing user to group.
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class AddUsersExample
{
public void main()
{
// Configure OAuth2 access token for authorization: BBOAuth2
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new TeamsApi();
var teamId = teamId_example; // string | The team id
var userDetails = userDetails_example; // string | Array of emails or objects containing details needed to create user
var sendWelcomeEmail = sendWelcomeEmail_example; // string | Whether to send welcome email to new users (optional)
var subgroupIds = subgroupIds_example; // string | Subgroup IDs to add user to (optional)
try
{
// Add users to group.
apiInstance.AddUsers(teamId, userDetails, sendWelcomeEmail, subgroupIds);
}
catch (Exception e)
{
Debug.Print("Exception when calling TeamsApi.AddUsers: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| teamId | string | The team id | |
| userDetails | string | Array of emails or objects containing details needed to create user | |
| sendWelcomeEmail | string | Whether to send welcome email to new users | [optional] |
| subgroupIds | string | Subgroup IDs to add user to | [optional] |
void (empty response body)
- Content-Type: application/x-www-form-urlencoded
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
void AddUsersFromCsv (string teamId, string csvImportId, string map, string sendWelcomeEmail = null, string subgroupIds = null)
Add members to group from CSV
Imports members to a group from a given CSV ID.
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class AddUsersFromCsvExample
{
public void main()
{
// Configure OAuth2 access token for authorization: BBOAuth2
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new TeamsApi();
var teamId = teamId_example; // string | The team id
var csvImportId = csvImportId_example; // string | ID of the CSV to import
var map = map_example; // string | Object to use when mapping import to AccountCreateDetails. Key is property name on details, value is CSV column number.
var sendWelcomeEmail = sendWelcomeEmail_example; // string | Whether to send welcome email to new users (optional)
var subgroupIds = subgroupIds_example; // string | Subgroup IDs to add user to (optional)
try
{
// Add members to group from CSV
apiInstance.AddUsersFromCsv(teamId, csvImportId, map, sendWelcomeEmail, subgroupIds);
}
catch (Exception e)
{
Debug.Print("Exception when calling TeamsApi.AddUsersFromCsv: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| teamId | string | The team id | |
| csvImportId | string | ID of the CSV to import | |
| map | string | Object to use when mapping import to AccountCreateDetails. Key is property name on details, value is CSV column number. | |
| sendWelcomeEmail | string | Whether to send welcome email to new users | [optional] |
| subgroupIds | string | Subgroup IDs to add user to | [optional] |
void (empty response body)
- Content-Type: application/x-www-form-urlencoded
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
void CancelJerichoSend (string jerichoId)
Cancel a Jericho Send
Cancels a scheduled Jericho send from being sent.
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class CancelJerichoSendExample
{
public void main()
{
// Configure OAuth2 access token for authorization: BBOAuth2
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new TeamsApi();
var jerichoId = jerichoId_example; // string | ID of the Jericho Job to cancel
try
{
// Cancel a Jericho Send
apiInstance.CancelJerichoSend(jerichoId);
}
catch (Exception e)
{
Debug.Print("Exception when calling TeamsApi.CancelJerichoSend: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| jerichoId | string | ID of the Jericho Job to cancel |
void (empty response body)
- Content-Type: application/x-www-form-urlencoded
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
TeamPublicRepresentation CreateSubteam (string teamId, string name)
Add a Subteam
Adds a subteam to a parent team
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class CreateSubteamExample
{
public void main()
{
// Configure OAuth2 access token for authorization: BBOAuth2
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new TeamsApi();
var teamId = teamId_example; // string | The team id
var name = name_example; // string | The subteam's name.
try
{
// Add a Subteam
TeamPublicRepresentation result = apiInstance.CreateSubteam(teamId, name);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling TeamsApi.CreateSubteam: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| teamId | string | The team id | |
| name | string | The subteam's name. |
- Content-Type: application/x-www-form-urlencoded
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
string DeleteSubteam (string teamId, string subteamId)
Delete Subteam
Deletes a subteam
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class DeleteSubteamExample
{
public void main()
{
// Configure OAuth2 access token for authorization: BBOAuth2
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new TeamsApi();
var teamId = teamId_example; // string | The team id
var subteamId = subteamId_example; // string | The subteam you wish to delete.
try
{
// Delete Subteam
string result = apiInstance.DeleteSubteam(teamId, subteamId);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling TeamsApi.DeleteSubteam: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| teamId | string | The team id | |
| subteamId | string | The subteam you wish to delete. |
string
- Content-Type: application/x-www-form-urlencoded
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
void GetAllClientGroupAssociations (string clientId)
Lists team associations
Returns a collection of team associations for a given user
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class GetAllClientGroupAssociationsExample
{
public void main()
{
// Configure OAuth2 access token for authorization: BBOAuth2
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new TeamsApi();
var clientId = clientId_example; // string | The clientId requesting group associations.
try
{
// Lists team associations
apiInstance.GetAllClientGroupAssociations(clientId);
}
catch (Exception e)
{
Debug.Print("Exception when calling TeamsApi.GetAllClientGroupAssociations: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| clientId | string | The clientId requesting group associations. |
void (empty response body)
- Content-Type: application/x-www-form-urlencoded
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
InlineResponse200 GetClientGroupAssets (string assetType, string teamId = null, string autoTagName = null, string pageSize = null, string page = null, string search = null)
Lists team assets
Returns a collection of assets
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class GetClientGroupAssetsExample
{
public void main()
{
// Configure OAuth2 access token for authorization: BBOAuth2
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new TeamsApi();
var assetType = assetType_example; // string | The type of assets.
var teamId = teamId_example; // string | The team containing the assets. (optional)
var autoTagName = autoTagName_example; // string | The auto tag name containing the assets. (optional)
var pageSize = pageSize_example; // string | The number of items to retrieve in a single db query. (optional)
var page = page_example; // string | Zero-based index of the page of data to retrieve from the db. (optional)
var search = search_example; // string | Search words. (optional)
try
{
// Lists team assets
InlineResponse200 result = apiInstance.GetClientGroupAssets(assetType, teamId, autoTagName, pageSize, page, search);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling TeamsApi.GetClientGroupAssets: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| assetType | string | The type of assets. | |
| teamId | string | The team containing the assets. | [optional] |
| autoTagName | string | The auto tag name containing the assets. | [optional] |
| pageSize | string | The number of items to retrieve in a single db query. | [optional] |
| page | string | Zero-based index of the page of data to retrieve from the db. | [optional] |
| search | string | Search words. | [optional] |
- Content-Type: application/x-www-form-urlencoded
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
void GetClientGroupStatistics (string teamId, string memberStatus = null)
Get Team statistics
Get top level statistic data for a Team
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class GetClientGroupStatisticsExample
{
public void main()
{
// Configure OAuth2 access token for authorization: BBOAuth2
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new TeamsApi();
var teamId = teamId_example; // string | The team id
var memberStatus = memberStatus_example; // string | The status of members to query for (optional)
try
{
// Get Team statistics
apiInstance.GetClientGroupStatistics(teamId, memberStatus);
}
catch (Exception e)
{
Debug.Print("Exception when calling TeamsApi.GetClientGroupStatistics: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| teamId | string | The team id | |
| memberStatus | string | The status of members to query for | [optional] |
void (empty response body)
- Content-Type: application/x-www-form-urlencoded
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
List GetJerichoSends (string teamId)
List Jericho Sends
Lists Jericho sends, both pending and sent.
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class GetJerichoSendsExample
{
public void main()
{
// Configure OAuth2 access token for authorization: BBOAuth2
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new TeamsApi();
var teamId = teamId_example; // string | The team whose Jericho sends you wish to see.
try
{
// List Jericho Sends
List<JerichoConfiguration> result = apiInstance.GetJerichoSends(teamId);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling TeamsApi.GetJerichoSends: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| teamId | string | The team whose Jericho sends you wish to see. |
- Content-Type: application/x-www-form-urlencoded
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
JerichoPerformance GetJerichoStats (string jerichoId, string teamId)
Gets Jericho performance statistics
Returns an aggregate view of the performance of a Jericho send
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class GetJerichoStatsExample
{
public void main()
{
// Configure OAuth2 access token for authorization: BBOAuth2
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new TeamsApi();
var jerichoId = jerichoId_example; // string | ID of the Jericho job
var teamId = teamId_example; // string | ID of team through which Jericho was sent
try
{
// Gets Jericho performance statistics
JerichoPerformance result = apiInstance.GetJerichoStats(jerichoId, teamId);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling TeamsApi.GetJerichoStats: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| jerichoId | string | ID of the Jericho job | |
| teamId | string | ID of team through which Jericho was sent |
- Content-Type: application/x-www-form-urlencoded
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
void GetPagedClientGroupMembers (string teamId, string pageSize, string page, string status = null, string search = null, string orderBy = null, string orderDirection = null)
List Team Members
Get a paginated listing of Team members
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class GetPagedClientGroupMembersExample
{
public void main()
{
// Configure OAuth2 access token for authorization: BBOAuth2
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new TeamsApi();
var teamId = teamId_example; // string | The team id
var pageSize = pageSize_example; // string | Amount of records to return in a page.
var page = page_example; // string | The page to return.
var status = status_example; // string | The status type to filter by. (optional)
var search = search_example; // string | Filter results with names that match the search term. (optional)
var orderBy = orderBy_example; // string | Key to order results by (optional)
var orderDirection = orderDirection_example; // string | ASC or DESC (optional)
try
{
// List Team Members
apiInstance.GetPagedClientGroupMembers(teamId, pageSize, page, status, search, orderBy, orderDirection);
}
catch (Exception e)
{
Debug.Print("Exception when calling TeamsApi.GetPagedClientGroupMembers: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| teamId | string | The team id | |
| pageSize | string | Amount of records to return in a page. | |
| page | string | The page to return. | |
| status | string | The status type to filter by. | [optional] |
| search | string | Filter results with names that match the search term. | [optional] |
| orderBy | string | Key to order results by | [optional] |
| orderDirection | string | ASC or DESC | [optional] |
void (empty response body)
- Content-Type: application/x-www-form-urlencoded
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
string GetPromptMonthlyStats (string month, string year)
Jericho Monthly Stats
Jericho Monthly Stats
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class GetPromptMonthlyStatsExample
{
public void main()
{
// Configure OAuth2 access token for authorization: BBOAuth2
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new TeamsApi();
var month = month_example; // string | The month whose Jericho sends you wish to see.
var year = year_example; // string | The year whose Jericho sends you wish to see.
try
{
// Jericho Monthly Stats
string result = apiInstance.GetPromptMonthlyStats(month, year);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling TeamsApi.GetPromptMonthlyStats: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| month | string | The month whose Jericho sends you wish to see. | |
| year | string | The year whose Jericho sends you wish to see. |
string
- Content-Type: application/x-www-form-urlencoded
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
string GetPromptOverview ()
Get Prompt Overview
Get Prompt Overview
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class GetPromptOverviewExample
{
public void main()
{
// Configure OAuth2 access token for authorization: BBOAuth2
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new TeamsApi();
try
{
// Get Prompt Overview
string result = apiInstance.GetPromptOverview();
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling TeamsApi.GetPromptOverview: " + e.Message );
}
}
}
}This endpoint does not need any parameter.
string
- Content-Type: application/x-www-form-urlencoded
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
List GetSubteams (string teamId)
List Subteams
Returns a collection of subteams for a parent team
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class GetSubteamsExample
{
public void main()
{
var apiInstance = new TeamsApi();
var teamId = teamId_example; // string | The team id
try
{
// List Subteams
List<TeamPublicRepresentation> result = apiInstance.GetSubteams(teamId);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling TeamsApi.GetSubteams: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| teamId | string | The team id |
No authorization required
- Content-Type: application/x-www-form-urlencoded
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
void GetTeamPromptAggregateStats (string clientGroupId)
Get aggregate stats for campaigns
Get all the campaigns aggregate stats
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class GetTeamPromptAggregateStatsExample
{
public void main()
{
// Configure OAuth2 access token for authorization: BBOAuth2
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new TeamsApi();
var clientGroupId = clientGroupId_example; // string | ID of the client group association
try
{
// Get aggregate stats for campaigns
apiInstance.GetTeamPromptAggregateStats(clientGroupId);
}
catch (Exception e)
{
Debug.Print("Exception when calling TeamsApi.GetTeamPromptAggregateStats: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| clientGroupId | string | ID of the client group association |
void (empty response body)
- Content-Type: application/x-www-form-urlencoded
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
void GetTeamPromptCampaigns (string clientGroupId, string searchTerm = null, string currentPage = null)
Get campaigns for team
Get campaigns for the team and their stats
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class GetTeamPromptCampaignsExample
{
public void main()
{
// Configure OAuth2 access token for authorization: BBOAuth2
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new TeamsApi();
var clientGroupId = clientGroupId_example; // string | ID of the client group association
var searchTerm = searchTerm_example; // string | The value to search for in prompt subject (optional)
var currentPage = currentPage_example; // string | The current page (optional)
try
{
// Get campaigns for team
apiInstance.GetTeamPromptCampaigns(clientGroupId, searchTerm, currentPage);
}
catch (Exception e)
{
Debug.Print("Exception when calling TeamsApi.GetTeamPromptCampaigns: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| clientGroupId | string | ID of the client group association | |
| searchTerm | string | The value to search for in prompt subject | [optional] |
| currentPage | string | The current page | [optional] |
void (empty response body)
- Content-Type: application/x-www-form-urlencoded
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
void InviteToSocialPromptTeam (string teamId, string listId)
Invite a list to join the admin's social prompt team
Invite to Social Prompt Team
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class InviteToSocialPromptTeamExample
{
public void main()
{
// Configure OAuth2 access token for authorization: BBOAuth2
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new TeamsApi();
var teamId = teamId_example; // string | The team id
var listId = listId_example; // string | List to invite to the social prompt team.
try
{
// Invite a list to join the admin's social prompt team
apiInstance.InviteToSocialPromptTeam(teamId, listId);
}
catch (Exception e)
{
Debug.Print("Exception when calling TeamsApi.InviteToSocialPromptTeam: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| teamId | string | The team id | |
| listId | string | List to invite to the social prompt team. |
void (empty response body)
- Content-Type: application/x-www-form-urlencoded
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
JerichoConfiguration QueueJerichoSend (JerichoConfiguration config, string teamId)
Creates a Jericho send.
Sends email content on behalf of members of a client group. There are two forms this send can take: Static Email, and Video Prompt. Static emails require only an emailId. Video Prompts build emails dynamically and require most of the other fields. You must be an administrator of a Team Account to use this method.
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class QueueJerichoSendExample
{
public void main()
{
// Configure OAuth2 access token for authorization: BBOAuth2
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new TeamsApi();
var config = new JerichoConfiguration(); // JerichoConfiguration | JSON representing a Jericho configuration
var teamId = teamId_example; // string | The ID of the team.
try
{
// Creates a Jericho send.
JerichoConfiguration result = apiInstance.QueueJerichoSend(config, teamId);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling TeamsApi.QueueJerichoSend: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| config | JerichoConfiguration | JSON representing a Jericho configuration | |
| teamId | string | The ID of the team. |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
string RemoveMemberFromTeam (string teamId, string userId)
Remove Member from Team
Removes a member from a team.
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class RemoveMemberFromTeamExample
{
public void main()
{
// Configure OAuth2 access token for authorization: BBOAuth2
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new TeamsApi();
var teamId = teamId_example; // string | The team id
var userId = userId_example; // string | The user id of the member being removed.
try
{
// Remove Member from Team
string result = apiInstance.RemoveMemberFromTeam(teamId, userId);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling TeamsApi.RemoveMemberFromTeam: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| teamId | string | The team id | |
| userId | string | The user id of the member being removed. |
string
- Content-Type: application/x-www-form-urlencoded
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
TeamPublicRepresentation ResendTeamMemberInvitation (string teamId, string memberUserId)
Resend invite
Resend invitation to a member of a team
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class ResendTeamMemberInvitationExample
{
public void main()
{
// Configure OAuth2 access token for authorization: BBOAuth2
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new TeamsApi();
var teamId = teamId_example; // string | The team id
var memberUserId = memberUserId_example; // string | The user id of the member being resent an invitation.
try
{
// Resend invite
TeamPublicRepresentation result = apiInstance.ResendTeamMemberInvitation(teamId, memberUserId);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling TeamsApi.ResendTeamMemberInvitation: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| teamId | string | The team id | |
| memberUserId | string | The user id of the member being resent an invitation. |
- Content-Type: application/x-www-form-urlencoded
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
void UpdateJerichoPromptSend (string teamId, string jerichoId)
Updates the Jericho Prompt Settings
Updates the prompt settings based on the original email id
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class UpdateJerichoPromptSendExample
{
public void main()
{
// Configure OAuth2 access token for authorization: BBOAuth2
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new TeamsApi();
var teamId = teamId_example; // string | The team id
var jerichoId = jerichoId_example; // string | ID of the Jericho job
try
{
// Updates the Jericho Prompt Settings
apiInstance.UpdateJerichoPromptSend(teamId, jerichoId);
}
catch (Exception e)
{
Debug.Print("Exception when calling TeamsApi.UpdateJerichoPromptSend: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| teamId | string | The team id | |
| jerichoId | string | ID of the Jericho job |
void (empty response body)
- Content-Type: application/x-www-form-urlencoded
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
TeamPublicRepresentation UpdateTeam (string teamId, string name = null, string state = null, bool? subteamsCanAddMembers = null)
Update a team
Update fields on a team
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class UpdateTeamExample
{
public void main()
{
// Configure OAuth2 access token for authorization: BBOAuth2
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new TeamsApi();
var teamId = teamId_example; // string | The team id
var name = name_example; // string | The name of the team (optional)
var state = state_example; // string | The status of the login permissions (optional)
var subteamsCanAddMembers = true; // bool? | Updates subteam member adding setting on group (optional)
try
{
// Update a team
TeamPublicRepresentation result = apiInstance.UpdateTeam(teamId, name, state, subteamsCanAddMembers);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling TeamsApi.UpdateTeam: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| teamId | string | The team id | |
| name | string | The name of the team | [optional] |
| state | string | The status of the login permissions | [optional] |
| subteamsCanAddMembers | bool? | Updates subteam member adding setting on group | [optional] |
- Content-Type: application/x-www-form-urlencoded
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
void UpdateTeamMember (string teamId, string userId, bool? admin, string permissionSuiteId = null)
Update Member of Team
Updates a member of a team
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class UpdateTeamMemberExample
{
public void main()
{
// Configure OAuth2 access token for authorization: BBOAuth2
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new TeamsApi();
var teamId = teamId_example; // string | The team id
var userId = userId_example; // string | The user id of the member being added to the team.
var admin = true; // bool? | Set if the user is an admin of this team.
var permissionSuiteId = permissionSuiteId_example; // string | Set if the user is an admin of this team. (optional)
try
{
// Update Member of Team
apiInstance.UpdateTeamMember(teamId, userId, admin, permissionSuiteId);
}
catch (Exception e)
{
Debug.Print("Exception when calling TeamsApi.UpdateTeamMember: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| teamId | string | The team id | |
| userId | string | The user id of the member being added to the team. | |
| admin | bool? | Set if the user is an admin of this team. | |
| permissionSuiteId | string | Set if the user is an admin of this team. | [optional] |
void (empty response body)
- Content-Type: application/x-www-form-urlencoded
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]