I am very new to suiteCRM so if anyone could help me out it would be much appreciated.
I have the Accounts module that is in a one-to-many relationship with a custom called Trips
I am currently trying to (via API calls) populate users Account and then Trip details .
The set_entry works well for each individually but I am struggling on how to get them to connect.
I have attempted to use the set_ relationship which looks like this: (POSTMAN EXTRACT)
http:///service/v4_1/rest.php?method=set_relationship&response_type=JSON&input_type=JSON&rest_data={“session”:"",“module_name”:“Accounts”,“module_id”:"",“link_field_name”:“trp_trips_accounts”,“related_ids”:""}
The trp_trips_accounts being the name i see in the set relationship page.
I am not sure if this is the best way to go about this?
I also read about adding a parent_id but there wasn’t to much information on that