B2B Service

Get Involved. Join the Conversation.

Topic

    Reghu
    Creating/Updating 1:M related object through REST APIAnswered
    Topic posted April 4, 2019 by ReghuBronze Crown: 15,000+ Points, tagged Integration, Service Request Management 
    101 Views, 2 Comments
    Title:
    Creating/Updating 1:M related object through REST API
    Summary:
    Creating/Updating 1:M related object through REST API
    Content:

    Cant we use REST API of an object say SR to create or update 1:M related object?

    Ex: SR is having a related object  A , this related object is exposed as subtab under SR.  I can create 'A' records by going to the SR > A subtab.  

    Cant we create/update A records through REST API of SR object? Should we go to the REST API of 'A' object explicitly to do this update/create?    or the vice versa  llike using REST API of A to update SR object fields too?

     

    In our requirement, we have to do perform operation on SR object as well as the custom object.  Wondering should we use two different API calls?  

    Best Comment

    Reghu

    Its found to be possible using BATCH operation we could achieve this.

    Comment