All URIs are relative to https://api.bombbomb.com/v2
Method | HTTP request | Description |
---|---|---|
CreateOAuthClient | POST /oauthclient | Create an OAuth Client |
DeleteOAuthClient | DELETE /oauthclient/{id} | Delete an OAuth Client |
GetOAuthClients | GET /oauthclient | Lists OAuth Clients |
GetSpec | GET /spec | Describes this api |
OAuthClient CreateOAuthClient (string name, string redirectUri)
Create an OAuth Client
Creates an OAuth Client managed by the user
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class CreateOAuthClientExample
{
public void main()
{
// Configure OAuth2 access token for authorization: BBOAuth2
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new UtilitiesApi();
var name = name_example; // string | The name of the OAuth client. e.g. MyCrm DEV, or MyCrm PROD
var redirectUri = redirectUri_example; // string | The URI to direct the client to after logging in.
try
{
// Create an OAuth Client
OAuthClient result = apiInstance.CreateOAuthClient(name, redirectUri);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling UtilitiesApi.CreateOAuthClient: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
name | string | The name of the OAuth client. e.g. MyCrm DEV, or MyCrm PROD | |
redirectUri | string | The URI to direct the client to after logging in. |
- 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 DeleteOAuthClient (string id)
Delete an OAuth Client
Deletes an OAuth Client managed by the user
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class DeleteOAuthClientExample
{
public void main()
{
// Configure OAuth2 access token for authorization: BBOAuth2
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new UtilitiesApi();
var id = id_example; // string | The id of the OAuth Client
try
{
// Delete an OAuth Client
apiInstance.DeleteOAuthClient(id);
}
catch (Exception e)
{
Debug.Print("Exception when calling UtilitiesApi.DeleteOAuthClient: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
id | string | The id of the OAuth Client |
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 GetOAuthClients ()
Lists OAuth Clients
Enumerates OAuth Clients managed by the user
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class GetOAuthClientsExample
{
public void main()
{
// Configure OAuth2 access token for authorization: BBOAuth2
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new UtilitiesApi();
try
{
// Lists OAuth Clients
List<OAuthClient> result = apiInstance.GetOAuthClients();
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling UtilitiesApi.GetOAuthClients: " + e.Message );
}
}
}
}
This endpoint does not need any parameter.
- 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 GetSpec ()
Describes this api
Describes methods available through the API.
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class GetSpecExample
{
public void main()
{
var apiInstance = new UtilitiesApi();
try
{
// Describes this api
apiInstance.GetSpec();
}
catch (Exception e)
{
Debug.Print("Exception when calling UtilitiesApi.GetSpec: " + e.Message );
}
}
}
}
This endpoint does not need any parameter.
void (empty response body)
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]