All URIs are relative to https://rest.clicksend.com/v3
Method | HTTP request | Description |
---|---|---|
ResellerAccountsByClientUserIdGet | GET /reseller/accounts/{client_user_id} | Get Reseller clients Account |
ResellerAccountsByClientUserIdPut | PUT /reseller/accounts/{client_user_id} | Update Reseller clients Account |
ResellerAccountsGet | GET /reseller/accounts | Get list of reseller accounts |
ResellerAccountsPost | POST /reseller/accounts | Create reseller account |
string ResellerAccountsByClientUserIdGet (int? clientUserId)
Get Reseller clients Account
Get Reseller clients Account
using System;
using System.Diagnostics;
using IO.ClickSend.ClickSend.Api;
using IO.ClickSend.Client;
using IO.ClickSend.ClickSend.Model;
namespace Example
{
public class ResellerAccountsByClientUserIdGetExample
{
public void main()
{
// Configure HTTP basic authorization: BasicAuth
Configuration.Default.Username = "YOUR_USERNAME";
Configuration.Default.Password = "YOUR_PASSWORD";
var apiInstance = new ResellerAccountApi();
var clientUserId = 56; // int? | User ID of client
try
{
// Get Reseller clients Account
string result = apiInstance.ResellerAccountsByClientUserIdGet(clientUserId);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling ResellerAccountApi.ResellerAccountsByClientUserIdGet: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
clientUserId | int? | User ID of client |
string
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
string ResellerAccountsByClientUserIdPut (ResellerAccount body, int? clientUserId)
Update Reseller clients Account
Update Reseller clients Account
using System;
using System.Diagnostics;
using IO.ClickSend.ClickSend.Api;
using IO.ClickSend.Client;
using IO.ClickSend.ClickSend.Model;
namespace Example
{
public class ResellerAccountsByClientUserIdPutExample
{
public void main()
{
// Configure HTTP basic authorization: BasicAuth
Configuration.Default.Username = "YOUR_USERNAME";
Configuration.Default.Password = "YOUR_PASSWORD";
var apiInstance = new ResellerAccountApi();
var body = new ResellerAccount(); // ResellerAccount | ResellerAccount model
var clientUserId = 56; // int? | User ID of client
try
{
// Update Reseller clients Account
string result = apiInstance.ResellerAccountsByClientUserIdPut(body, clientUserId);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling ResellerAccountApi.ResellerAccountsByClientUserIdPut: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
body | ResellerAccount | ResellerAccount model | |
clientUserId | int? | User ID of client |
string
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
string ResellerAccountsGet (int? page = null, int? limit = null)
Get list of reseller accounts
Get list of reseller accounts
using System;
using System.Diagnostics;
using IO.ClickSend.ClickSend.Api;
using IO.ClickSend.Client;
using IO.ClickSend.ClickSend.Model;
namespace Example
{
public class ResellerAccountsGetExample
{
public void main()
{
// Configure HTTP basic authorization: BasicAuth
Configuration.Default.Username = "YOUR_USERNAME";
Configuration.Default.Password = "YOUR_PASSWORD";
var apiInstance = new ResellerAccountApi();
var page = 56; // int? | Page number (optional) (default to 1)
var limit = 56; // int? | Number of records per page (optional) (default to 10)
try
{
// Get list of reseller accounts
string result = apiInstance.ResellerAccountsGet(page, limit);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling ResellerAccountApi.ResellerAccountsGet: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
page | int? | Page number | [optional] [default to 1] |
limit | int? | Number of records per page | [optional] [default to 10] |
string
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
string ResellerAccountsPost (ResellerAccount body)
Create reseller account
Create reseller account
using System;
using System.Diagnostics;
using IO.ClickSend.ClickSend.Api;
using IO.ClickSend.Client;
using IO.ClickSend.ClickSend.Model;
namespace Example
{
public class ResellerAccountsPostExample
{
public void main()
{
// Configure HTTP basic authorization: BasicAuth
Configuration.Default.Username = "YOUR_USERNAME";
Configuration.Default.Password = "YOUR_PASSWORD";
var apiInstance = new ResellerAccountApi();
var body = new ResellerAccount(); // ResellerAccount | ResellerAccount model
try
{
// Create reseller account
string result = apiInstance.ResellerAccountsPost(body);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling ResellerAccountApi.ResellerAccountsPost: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
body | ResellerAccount | ResellerAccount model |
string
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]