How to add/update multiple team id via soap?

How update / add into Accounts multiples team id on a soap api call 

Fullscreen
1
2
3
4
<team_id>
<id>2de90b27-3d78-cb39-eeb4-5773b4317135</id>,
<id>2acb98df-6e97-d165-ce68-56b486ff1fb4</id>
</team_id>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?php
$site_url = '';
$url = "https://${site_url}/service/v4_1/soap.php?wsdl";
$username = "";
$password = "";
//require NuSOAP
require_once("./lib/nusoap.php");
//retrieve WSDL
$client = new nusoap_client($url, 'wsdl');
//display errors
$err = $client->getError();
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

  • Hello Rodrigo,

    Wouldn't be better for you to use REST calls instead ? I don't think that soap calls will be maintained anymore.

    Best regards,

    Enes

  • thanks but we're fully aware of the deprecation of soap from Sugar.. its something that we cannot run out off for now.. but I really appreciate that you have tried to help.. 

    Rodrigo Manara

    Sr. Developer