Changes

Jump to navigation Jump to search
2,041 bytes added ,  21:38, 4 June 2008
adds module listing
</source>
-->
== Using SOAP ==
Note: Soap examples seem to have changed with the addition of a version number, so you must be careful about what example you use, and generally rely on the source to be the definitive source ;-)
Transport: http://schemas.xmlsoap.org/soap/http
Documentation:
</pre>And the create_contact method:<pre>
Name: create_contact
Binding: sugarsoapBinding
Even more detail can be had by inspecting the service.
<source lang="php">
$get_available_modules_params = array (
'session' => $session_id,
);
$result = $soapclient->call('get_available_modules', $get_available_modules_params);
print '<pre>'; var_export ($result); print '</pre>';
 
// output:
 
array (
'modules' =>
array (
0 => 'Home',
1 => 'Dashboard',
2 => 'Calendar',
3 => 'Activities',
4 => 'Emails',
5 => 'Documents',
6 => 'Contacts',
7 => 'Accounts',
8 => 'Campaigns',
9 => 'Leads',
10 => 'Opportunities',
11 => 'Project',
12 => 'Cases',
13 => 'Bugs',
14 => 'iFrames',
15 => 'Feeds',
16 => 'Administration',
17 => 'Currencies',
18 => 'CustomFields',
19 => 'Dropdown',
20 => 'Dynamic',
21 => 'DynamicFields',
22 => 'DynamicLayout',
23 => 'EditCustomFields',
24 => 'EmailTemplates',
25 => 'Help',
26 => 'Import',
27 => 'MySettings',
28 => 'FieldsMetaData',
29 => 'UpgradeWizard',
30 => 'Releases',
31 => 'Sync',
32 => 'Users',
33 => 'Versions',
34 => 'EmailMan',
35 => 'ProjectTask',
36 => 'TargetLists',
37 => 'Targets',
38 => 'Prospects',
39 => 'ProspectLists',
40 => 'Employees',
41 => 'LabelEditor',
42 => 'Roles',
43 => 'EmailMarketing',
44 => 'OptimisticLock',
45 => 'TeamMemberships',
46 => 'Audit',
47 => 'MailMerge',
48 => 'MergeRecords',
49 => 'EmailAddresses',
50 => 'Schedulers',
51 => 'Schedulers_jobs',
52 => 'InboundEmail',
53 => 'CampaignLog',
54 => 'Groups',
55 => 'ACLActions',
56 => 'ACLRoles',
57 => 'CampaignTrackers',
58 => 'DocumentRevisions',
59 => 'ACL',
60 => 'Configurator',
61 => 'UserPreferences',
62 => 'SavedSearch',
63 => 'Studio',
64 => 'Calls',
65 => 'Meetings',
66 => 'Notes',
67 => 'Tasks',
),
'error' =>
array (
'number' => '0',
'name' => 'No Error',
'description' => 'No Error',
),
)
</source>
<source lang="php">
4,558

edits

Navigation menu