Skip to content

Latest commit

 

History

History
75 lines (48 loc) · 2.1 KB

LicensingLicensesApi.md

File metadata and controls

75 lines (48 loc) · 2.1 KB

\LicensingLicensesApi

All URIs are relative to http://localhost

Method HTTP request Description
GetLicensesList Get /licensing/api/v8/licensing/api/v8/licenses/list Returns a filtered list of licenses.

GetLicensesList

[]LicenseSummary GetLicensesList(ctx).SmartAccountId(smartAccountId).VirtualAccountId(virtualAccountId).Execute()

Returns a filtered list of licenses.

Example

package main

import (
    "context"
    "fmt"
    "os"
    openapiclient "./openapi"
)

func main() {
    smartAccountId := "295183" // string | Smart Account Identifier
    virtualAccountId := "123123" // string | Virtual Account Identifier

    configuration := openapiclient.NewConfiguration()
    api_client := openapiclient.NewAPIClient(configuration)
    resp, r, err := api_client.LicensingLicensesApi.GetLicensesList(context.Background()).SmartAccountId(smartAccountId).VirtualAccountId(virtualAccountId).Execute()
    if err != nil {
        fmt.Fprintf(os.Stderr, "Error when calling `LicensingLicensesApi.GetLicensesList``: %v\n", err)
        fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
    }
    // response from `GetLicensesList`: []LicenseSummary
    fmt.Fprintf(os.Stdout, "Response from `LicensingLicensesApi.GetLicensesList`: %v\n", resp)
}

Path Parameters

Other Parameters

Other parameters are passed through a pointer to a apiGetLicensesListRequest struct via the builder pattern

Name Type Description Notes
smartAccountId string Smart Account Identifier
virtualAccountId string Virtual Account Identifier

Return type

[]LicenseSummary

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]