DEVELOPER API
RETRIEVE INFORMATION FOR ONE CLIENT OF A RESELLER.
RESULT CODE
200 | OK |
---|---|
401 | Unauthorized |
404 | Call not found |
406 | SSL must be used |
500 | Server Error |
RESULT BODY
id | The unique client id. This will be needed when calling other api functions. |
---|---|
domainname | Domain name |
companyname | Company name |
owneremail | Owner email address |
ownerfirstname | Owner first name |
ownerlastname | Owner last name |
ownerphonenumber | Owner phone number |
EXAMPLE REQUEST
Example;- GET https://api.calln.com/client/1
Result;- 200 (OK)
{“id”:”1″,”domainname”:”voitekkclient”,”company”:”voitekkclient”,”email”:”[email protected]”,”firstname”:”Test”,”lastname”:”G”,”phonenumber”:”565465″}
USING CURL
curl "https://api.calln.com/api/client/{id}" -H "Authorization: Basic username:password | base64" -X GET