From cb1f0a637c79498bf212b7d60f9e874f6986a893 Mon Sep 17 00:00:00 2001 From: Marcus Hill Date: Sun, 9 Jan 2022 16:05:35 +0000 Subject: [PATCH] Client ID, not company! --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0a360d61..6fcd750f 100644 --- a/README.md +++ b/README.md @@ -109,8 +109,8 @@ * XML Phonebook Download - /api.php?api_key=[API_KEY]&phonebook * Client Email (great for mailing lists) - /api.php?api_key=[API_KEY]&client_emails - Returns Client Name - Email Address * Account Balance for Client (can be integrated into multiple places for example in FreePBX Press 3 to check account balance, please enter your client ID your balance is) - /api.php?api_key=[API_KEY]&client_id=[CLIENT_ID] - Returns Account Balance -* Add new asset for a client - /api.php?api_key=[API_KEY]&company_id=CompanyID&add_asset=Name&type=[Desktop|Laptop|Server]&make=Make&model=Model&serial=Serial&os=OS - * Required: api_key, company_id, add_asset (name) +* Add new asset for a client - /api.php?api_key=[API_KEY]&client_id=ClientID&add_asset=Name&type=[Desktop|Laptop|Server]&make=Make&model=Model&serial=Serial&os=OS + * Required: api_key, client_id, add_asset (name) * NOTE: [API_KEY] - is auto generated when a company is created and shows up in General Settings, this can also be changed manually. ### Future Todo