Skip to Content
Menu
This question has been flagged
3885 Rodiniai

I am trying to query OpenERP objects using xml-rpc.net from ASP.NET MVC C# to authentificate users.

Here is how im trying to do:

String[] condition = new String[] { "name", "=", "XXXX" };
        ArrayList lstFilters = new ArrayList();
        lstFilters.Add(condition);

        IOpenErp OpenERPOperations = XmlRpcProxyGen.Create<IOpenErp>();
        var oerp_results = OpenERPOperations.search(OERP_DB, UserID, OERP_PASSWORD, "res.users", "read", lstFilters.ToArray());

The thing is that i was reading through documentation but didnt understood how can i get object attributes for a specific object like users.

There is a web service CRUD example for res.partners but not for anything else.

Is there a resource where i can get more into working with objects of OpenERP, like understanding the concepts behind res.xxxxxx and other object types?

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
3
liep. 25
7221
1
geg. 25
1237
2
saus. 25
2019
1
rugp. 24
1953
1
liep. 24
2802