~openerp-community/openobjectworks/magentoconnector

« back to all changes in this revision

Viewing changes to OpenERPSync/etc/api.xml

  • Committer: Sharoon Thomas
  • Date: 2009-06-02 16:30:49 UTC
  • Revision ID: sharoonthomas@teagarden.in-20090602163049-zsbek6lukohwbmgq
Added stores, websites and groups enumeration

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<config>
 
2
        <api>
 
3
                <resources>
 
4
                        <core_store translate="title" module="core">
 
5
                                <title>Website, Store and Storeview enumeration</title>
 
6
                                <model>openerpsync/store_api</model>
 
7
                                <acl>core/store</acl>
 
8
                                <methods>
 
9
                                        <websites translate="title" module="core">
 
10
                                                <title>Enumerate websites</title>
 
11
                                        </websites>
 
12
                                        <stores translate="title" module="core">
 
13
                                                <title>Enumerate stores</title>
 
14
                                        </stores>
 
15
                                        <groups translate="title" module="core">
 
16
                                                <title>Enumerate groups</title>
 
17
                                        </groups>
 
18
                                        <tree translate="title" module="core">
 
19
                                                <title>
 
20
                                                        Enumerate websites, groups and stores
 
21
                                                </title>
 
22
                                        </tree>
 
23
                                </methods>
 
24
                                <faults module="core">
 
25
                                        <store_not_exists>
 
26
                                                <code>100</code>
 
27
                                                <message>
 
28
                                                        Requested store view not found.
 
29
                                                </message>
 
30
                                        </store_not_exists>
 
31
                                        <website_not_exists>
 
32
                                                <code>101</code>
 
33
                                                <message>Requested website not found.</message>
 
34
                                        </website_not_exists>
 
35
                                        <group_not_exists>
 
36
                                                <code>102</code>
 
37
                                                <message>Requested group not found.</message>
 
38
                                        </group_not_exists>
 
39
                                </faults>
 
40
                        </core_store>
 
41
                </resources>
 
42
        </api>
 
43
</config>
 
 
b'\\ No newline at end of file'