@@ -74,7 +74,6 @@ with whmcs_client.ApiClient(configuration) as api_client:
7474 api_instance = whmcs_client.DefaultApi(api_client)
7575 username = ' username_example' # str | Admin username/API identifier
7676 password = ' password_example' # str | Admin password/API secret
77- action = AddClient # str | Must be 'AddClient' (default to AddClient)
7877 firstname = ' firstname_example' # str | First name of the client
7978 lastname = ' lastname_example' # str | Last name of the client
8079 email = ' email_example' # str | Email address of the client
@@ -105,7 +104,7 @@ with whmcs_client.ApiClient(configuration) as api_client:
105104
106105 try :
107106 # Add a new client
108- api_response = api_instance.add_client(username, password, action, firstname, lastname, email, address1, city, state, postcode, country, phonenumber, accesskey = accesskey, responsetype = responsetype, owner_user_id = owner_user_id, companyname = companyname, address2 = address2, tax_id = tax_id, password2 = password2, securityqid = securityqid, securityqans = securityqans, currency = currency, groupid = groupid, customfields = customfields, language = language, clientip = clientip, notes = notes, marketingoptin = marketingoptin, noemail = noemail, skipvalidation = skipvalidation)
107+ api_response = api_instance.add_client(username, password, firstname, lastname, email, address1, city, state, postcode, country, phonenumber, accesskey = accesskey, responsetype = responsetype, owner_user_id = owner_user_id, companyname = companyname, address2 = address2, tax_id = tax_id, password2 = password2, securityqid = securityqid, securityqans = securityqans, currency = currency, groupid = groupid, customfields = customfields, language = language, clientip = clientip, notes = notes, marketingoptin = marketingoptin, noemail = noemail, skipvalidation = skipvalidation)
109108 print (" The response of DefaultApi->add_client:\n " )
110109 pprint(api_response)
111110 except ApiException as e:
@@ -119,9 +118,9 @@ All URIs are relative to *https://your-whmcs-instance.com/includes*
119118
120119Class | Method | HTTP request | Description
121120------------ | ------------- | ------------- | -------------
122- * DefaultApi* | [ ** add_client** ] ( docs/DefaultApi.md#add_client ) | ** POST** /AddClient | Add a new client
123- * DefaultApi* | [ ** add_order** ] ( docs/DefaultApi.md#add_order ) | ** POST** /AddOrder | Create a new order
124- * DefaultApi* | [ ** update_client** ] ( docs/DefaultApi.md#update_client ) | ** POST** /UpdateClient | Update client details
121+ * DefaultApi* | [ ** add_client** ] ( docs/DefaultApi.md#add_client ) | ** POST** /api.php?action &#x 3D ; AddClient | Add a new client
122+ * DefaultApi* | [ ** add_order** ] ( docs/DefaultApi.md#add_order ) | ** POST** /api.php?action &#x 3D ; AddOrder | Create a new order
123+ * DefaultApi* | [ ** update_client** ] ( docs/DefaultApi.md#update_client ) | ** POST** /api.php?action &#x 3D ; UpdateClient | Update client details
125124
126125
127126## Documentation For Models
0 commit comments