Developer documentation for Stargest SOAP API
Ressource : Customer List
Description
Allow you to get all client's customer .
Method
customer_list
Arguments
Type | Name | Description |
---|---|---|
array | stConnexion | This is a structure |
boolean | bDetail | TRUE for have details of the customer |
stConnexion
Type | Name | Description |
---|---|---|
string | login | The login provided see the get started Configuration |
string | API Key | The Key provided see the get started Configuration |
Return
customer_listResult
Type | Name | Description |
---|---|---|
array | stProcessing | This is a structure of the success/error process |
array | stDatas | This is a structure that contains the data resulting from the query |
stProcessing
Type | Name | Description |
---|---|---|
string | sErrorMessage | This is a structure |
boolean | bProcessed | This is the result of the request traitement processing |
stDatas
Type | Name | Description |
---|---|---|
string | sCustomerCode | The customer code |
array (OPTIONAL) | stDetail | This is a structure that contains details of the customer |
Exemple
Request Example SOAP and PHP
$wsdl = "http://192.168.1.208:81/API_STARGEST_WEB/awws/API_Stargest.awws?wsdl";
$client = new \SoapClient($wsdl);
$args['stConnexion']['sLogin'] = "test";
$args['stConnexion']['sKey'] = "000";
$return = $client->customer_list($args);
These fields are optional !
These fields are new !