NoveroVKeys

Description

This allows you to obtain a list of the myTTNC Applications set up on your account and their associated information. You are already using an Application to access the TTNC API, but this function allows you to see all of the available Applications you have set up, not only the one you are currently using. It also provides you with a method to gain to api_vky_id which is required when using other API functionality such as setting up Webhooks via the API.

Parameters

This function takes no parameters.

Request

<?xml version="1.0"?>
<NoveroRequest>
    <Request target="NoveroVKeys" name="ListApplications" id="TestRequest"/>
</NoveroRequest>
<?php
    require_once('TTNCApi.php');
    $Api = new TTNCApi('<username>', '<password>', '<VKey>');
    $Request = $Api->NewRequest('NoveroVKeys', 'ListApplications', 'TestRequest');
 
    $Api->MakeRequests();
    $Response = $Api->GetResponseFromId('TestRequest');
?>
require TTNCApi
api = TTNCApi.new('<username>', '<password>', '<vkey>')
request = api.newrequest('NoveroVKeys', 'ListApplications', 'TestRequest')
 
api.makerequest()
p request.getresponse()
api = TTNCApi('<username>', '<password>', '<vkey>')
request = api.newrequest('NoveroVKeys', 'ListApplications', 'TestRequest')
 
api.makerequest()
p request.getresponse()
using System;
using TTNCApi;
 
class Program
{
    static void Main(string[] args)
    {
        TTNCApi api = new TTNCApi("<username>", "<password>", "<vkey>");
        TTNCRequest request = api.NewRequest("NoveroVKeys", "ListApplications", "TestRequest");
        api.MakeRequests();
        TTNCParser dic = request.GetResponse();
     }
}

Response

<?xml version="1.0"?>
<NoveroResponse>
    <Response target="NoveroVKeys" name="ListApplications" Code="200" RequestId="TestRequest">
        <Applications>
            <Application>
                <api_vkey_id>75</api_vkey_id>
                <vkey>7701f69f7701f69f7701f69f7701f69f</vkey>
                <description>My First Application</description>
            </Application>
            <Application>
                <api_vkey_id>158</api_vkey_id>
                <vkey>854f0857854f0857854f0857854f0857</vkey>
                <description>My Second Application</description>
                <webhook_url>http://yourdomain.com/hook.php</webhook_url>
            </Application>
 
            ...
 
        </Applications>
    </Response>
</NoveroResponse>