Developer documentation for Stargest SOAP API

Ressource : Agent

Description

Allow you to get the list of the Agents .

Method

agent_list

Arguments

Type Name Description
array stConnexion This is a structure
string sProductCode The product code

stConnexion

Type Name Description
string sLogin The login provided see the get started Configuration
string sKey The Key provided see the get started Configuration

Return


agent_infoResult

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 sAgentCode The agent code who represent the brand
string sAgentName The name of the agent
string sAddress The agent address
string sPhone The agent's phone
string sMobile The agent's mobile phone
string sPostalCode The agent's postal code
string sCity The city of the agent

Exemple

Request Example SOAP and PHP

                        
                        

$client = new \SoapClient($wsdl);

$args['stConnexion']['sLogin'] = "test";

$args['stConnexion']['sKey'] = "000";

$args['sAgenttCode'] = 'MyAgentCode';

$return = $client->agent_info($args);


These fields are optional !
These fields are new !