Skip to content
This repository has been archived by the owner on Jun 24, 2021. It is now read-only.

GetClientsDetails()

hitmanpt edited this page Feb 8, 2017 · 9 revisions

Through this explanation we assume that you have using WHMCS_API; on the begining of the file
And the API() class initialized as _api
If needed check the Getting Started page

Jump to the full example


Function Overview

Prototype: public GetClientsDetails.GetClientsDetails GetClientDetails(int ClientID = -1, string ClientEmail = "", bool Stats = false)

Input:

  • ClientID: Filter Details for a specific Client ID (optional)
  • ClientEmail: Filter Details for a specific Client Email (optional)
  • Stats: Gets stats for the specified user (optional [default: false])

Input Note: ClientID or ClientEmail required

Output: GetClientsDetails Model with API Call Result, Client details .Client and Client Stats .Stats

Exception: "An API Error has Ocurred" witch contains an inner exception with further explanation of the error