API > Projects > Get customer of project
GET https://solarproof.com.au/apidata.php?action=getcustomerofproject&project_id=000&api_key=xyzxyzxyzxyzxyzxyzxyz
Get customer of project.
Parameters | |
---|---|
action (string) | getcustomerofproject |
project_id (string) | The ID of the project you want to get. |
api_key (string) | Your API key. |
200 (Success) Returns | ||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Details of the Customer:
|
Non-200 (Error) Returns | ||||
---|---|---|---|---|
Details of the error:
|
Method-specific Error Codes | |
---|---|
CAMPAIGN_NOT_FOUND | The campaign could not be found. |
API-wide Error Codes | |
---|---|
INVALID_PARAMETERS | Parameters are missing or invalid. |
API_KEY_INVALID | Your API key is invalid. |
UNAUTHORISED | You're not authorised to perform that action. |
NOT_FOUND | The requested endpoint does not exist. |
UNKNOWN | An unknown error has occurred. |
Example Response | |
---|---|
|