use TelstraTPN::Object::CustomersApi;
All URIs are relative to https://penapi.pacnetconnect.com
Method | HTTP request | Description |
---|---|---|
account_by_customeruuid_get | GET /1.0.0/account/{customeruuid} | Get account information details |
account_user_by_customeruuid_get | GET /1.0.0/account/{customeruuid}/user | List users |
ARRAY[AccountResponse] account_by_customeruuid_get(customeruuid => $customeruuid)
Get account information details
Get the account information for the specified customer
use Data::Dumper;
use TelstraTPN::CustomersApi;
my $api_instance = TelstraTPN::CustomersApi->new(
# Configure OAuth2 access token for authorization: auth
access_token => 'YOUR_ACCESS_TOKEN',
);
my $customeruuid = 'customeruuid_example'; # string | Unique identifier representing a specific customer
eval {
my $result = $api_instance->account_by_customeruuid_get(customeruuid => $customeruuid);
print Dumper($result);
};
if ($@) {
warn "Exception when calling CustomersApi->account_by_customeruuid_get: $@\n";
}
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]
ARRAY[User] account_user_by_customeruuid_get(customeruuid => $customeruuid)
List users
List all users associated with the specified customer
use Data::Dumper;
use TelstraTPN::CustomersApi;
my $api_instance = TelstraTPN::CustomersApi->new(
# Configure OAuth2 access token for authorization: auth
access_token => 'YOUR_ACCESS_TOKEN',
);
my $customeruuid = 'customeruuid_example'; # string | Unique identifier representing a specific customer
eval {
my $result = $api_instance->account_user_by_customeruuid_get(customeruuid => $customeruuid);
print Dumper($result);
};
if ($@) {
warn "Exception when calling CustomersApi->account_user_by_customeruuid_get: $@\n";
}
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]