Results 1 to 3 of 3

Thread: set_relationship with SOAP v2

  1. #1
    Steverino541 is offline Junior Member
    Join Date
    Sep 2011
    Posts
    2

    Default set_relationship with SOAP v2

    I am working on using v2 for SOAP to set relationships between records in Leads and in a custom module called Insurancepolicy.

    When doing this I am not sure if I can use set_relationship or if I have to use set_relationships.

    Looking at the one called set_relationship it seems to me that I can only do this to records within the same module, is that correct?

    Looking at set_relationships I cannot understand all the arguments that I am supposed to put in there. In particular I wonder about module_id, where do I obtain that? Shouldn't it be enough with module_name?

    I am using C# for my development.

    I am looking for some assistance :-)

    Best regards,
    Stefan

  2. #2
    Steverino541 is offline Junior Member
    Join Date
    Sep 2011
    Posts
    2

    Default Re: set_relationship with SOAP v2

    I now managed to get the code in C# working with set_relationship but it only works for the current default modules like Accounts to Contacts etc. When I try to set a relationship between leads and my own custom module I get a failure. Do I have to change the php files within my sugar installation some way?

  3. #3
    jmertic is offline Sugar Community Manager
    Join Date
    Dec 2007
    Posts
    2,224

    Default Re: set_relationship with SOAP v2

    Does using the v4 API make it work? This version has several .NET fixes which may resolve the problem.
    John Mertic
    Sugar Community Manager

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. SOAP set_relationship() breaking down
    By AirCycleSupport in forum Developer Help
    Replies: 2
    Last Post: 2011-07-28, 02:02 AM
  2. Soap set_relationship and many-to-many
    By lightningspirit in forum Developer Help
    Replies: 2
    Last Post: 2010-11-16, 11:20 AM
  3. need SOAP set_relationship help
    By darcy.rippon in forum Developer Help
    Replies: 5
    Last Post: 2009-02-02, 07:24 PM
  4. set_relationship via SOAP in 5.1
    By josh.sweeney in forum Developer Help
    Replies: 1
    Last Post: 2008-09-27, 12:20 AM
  5. SOAP set_relationship()
    By George in forum Developer Help
    Replies: 0
    Last Post: 2006-01-11, 10:51 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •