All URIs are relative to https://penapi.pacnetconnect.com
Method | HTTP request | Description |
---|---|---|
AccountByCustomeruuidGet | GET /1.0.0/account/{customeruuid} | Get account information details |
AccountUserByCustomeruuidGet | GET /1.0.0/account/{customeruuid}/user | List users |
List AccountByCustomeruuidGet (string customeruuid)
Get account information details
Get the account information for the specified customer
using System;
using System.Diagnostics;
using IO.TelstraTPN.Api;
using IO.TelstraTPN;
using IO.TelstraTPN.Model;
namespace Example
{
public class AccountByCustomeruuidGetExample
{
public void main()
{
// Configure OAuth2 access token for authorization: auth
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new CustomersApi();
var customeruuid = customeruuid_example; // string | Unique identifier representing a specific customer
try
{
// Get account information details
List<AccountResponse> result = apiInstance.AccountByCustomeruuidGet(customeruuid);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling CustomersApi.AccountByCustomeruuidGet: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
customeruuid | string | Unique identifier representing a specific customer |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
List AccountUserByCustomeruuidGet (string customeruuid)
List users
List all users associated with the specified customer
using System;
using System.Diagnostics;
using IO.TelstraTPN.Api;
using IO.TelstraTPN;
using IO.TelstraTPN.Model;
namespace Example
{
public class AccountUserByCustomeruuidGetExample
{
public void main()
{
// Configure OAuth2 access token for authorization: auth
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new CustomersApi();
var customeruuid = customeruuid_example; // string | Unique identifier representing a specific customer
try
{
// List users
List<User> result = apiInstance.AccountUserByCustomeruuidGet(customeruuid);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling CustomersApi.AccountUserByCustomeruuidGet: " + e.Message );
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
customeruuid | string | Unique identifier representing a specific customer |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]