sugarsoap
Click here for a complete list of operations.
sync_get_modified_relationships
Test
The test form is only available for requests from the local machine.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /soap.asmx HTTP/1.1
Host: demo.splendidcrm.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.sugarcrm.com/sugarcrm/sync_get_modified_relationships"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://www.sugarcrm.com/sugarcrm" xmlns:types="http://www.sugarcrm.com/sugarcrm/encodedTypes" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<tns:sync_get_modified_relationships>
<session xsi:type="xsd:string">string</session>
<module_name xsi:type="xsd:string">string</module_name>
<related_module xsi:type="xsd:string">string</related_module>
<from_date xsi:type="xsd:string">string</from_date>
<to_date xsi:type="xsd:string">string</to_date>
<offset xsi:type="xsd:int">int</offset>
<max_results xsi:type="xsd:int">int</max_results>
<deleted xsi:type="xsd:int">int</deleted>
<module_id xsi:type="xsd:string">string</module_id>
<select_fields href="#id1" />
<ids href="#id2" />
<relationship_name xsi:type="xsd:string">string</relationship_name>
<deletion_date xsi:type="xsd:string">string</deletion_date>
<php_serialize xsi:type="xsd:int">int</php_serialize>
</tns:sync_get_modified_relationships>
<soapenc:Array id="id1" soapenc:arrayType="xsd:string[2]">
<Item>string</Item>
<Item>string</Item>
</soapenc:Array>
<soapenc:Array id="id2" soapenc:arrayType="xsd:string[2]">
<Item>string</Item>
<Item>string</Item>
</soapenc:Array>
</soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://www.sugarcrm.com/sugarcrm" xmlns:types="http://www.sugarcrm.com/sugarcrm/encodedTypes" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<tns:sync_get_modified_relationshipsResponse>
<sync_get_modified_relationshipsResult href="#id1" />
</tns:sync_get_modified_relationshipsResponse>
<tns:get_entry_list_result_encoded id="id1" xsi:type="tns:get_entry_list_result_encoded">
<result_count xsi:type="xsd:int">int</result_count>
<next_offset xsi:type="xsd:int">int</next_offset>
<total_count xsi:type="xsd:int">int</total_count>
<field_list href="#id2" />
<entry_list xsi:type="xsd:string">string</entry_list>
<error href="#id3" />
</tns:get_entry_list_result_encoded>
<soapenc:Array id="id2" soapenc:arrayType="xsd:string[2]">
<Item>string</Item>
<Item>string</Item>
</soapenc:Array>
<tns:error_value id="id3" xsi:type="tns:error_value">
<number xsi:type="xsd:string">string</number>
<name xsi:type="xsd:string">string</name>
<description xsi:type="xsd:string">string</description>
</tns:error_value>
</soap:Body>
</soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /soap.asmx HTTP/1.1
Host: demo.splendidcrm.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://www.w3.org/2003/05/soap-encoding" xmlns:tns="http://www.sugarcrm.com/sugarcrm" xmlns:types="http://www.sugarcrm.com/sugarcrm/encodedTypes" xmlns:rpc="http://www.w3.org/2003/05/soap-rpc" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body soap12:encodingStyle="http://www.w3.org/2003/05/soap-encoding">
<tns:sync_get_modified_relationships>
<session xsi:type="xsd:string">string</session>
<module_name xsi:type="xsd:string">string</module_name>
<related_module xsi:type="xsd:string">string</related_module>
<from_date xsi:type="xsd:string">string</from_date>
<to_date xsi:type="xsd:string">string</to_date>
<offset xsi:type="xsd:int">int</offset>
<max_results xsi:type="xsd:int">int</max_results>
<deleted xsi:type="xsd:int">int</deleted>
<module_id xsi:type="xsd:string">string</module_id>
<select_fields soapenc:id="id0" soapenc:itemType="xsd:string" soapenc:arraySize="2">
<Item>string</Item>
<Item>string</Item>
</select_fields>
<ids soapenc:id="id1" soapenc:itemType="xsd:string" soapenc:arraySize="2">
<Item>string</Item>
<Item>string</Item>
</ids>
<relationship_name xsi:type="xsd:string">string</relationship_name>
<deletion_date xsi:type="xsd:string">string</deletion_date>
<php_serialize xsi:type="xsd:int">int</php_serialize>
</tns:sync_get_modified_relationships>
</soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://www.w3.org/2003/05/soap-encoding" xmlns:tns="http://www.sugarcrm.com/sugarcrm" xmlns:types="http://www.sugarcrm.com/sugarcrm/encodedTypes" xmlns:rpc="http://www.w3.org/2003/05/soap-rpc" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body soap12:encodingStyle="http://www.w3.org/2003/05/soap-encoding">
<tns:sync_get_modified_relationshipsResponse>
<rpc:result xmlns="">sync_get_modified_relationshipsResult</rpc:result>
<sync_get_modified_relationshipsResult soapenc:id="id0" xsi:type="tns:get_entry_list_result_encoded">
<result_count xsi:type="xsd:int">int</result_count>
<next_offset xsi:type="xsd:int">int</next_offset>
<total_count xsi:type="xsd:int">int</total_count>
<field_list soapenc:id="id1" soapenc:itemType="xsd:string" soapenc:arraySize="2">
<Item>string</Item>
<Item>string</Item>
</field_list>
<entry_list xsi:type="xsd:string">string</entry_list>
<error soapenc:id="id2" xsi:type="tns:error_value">
<number xsi:type="xsd:string">string</number>
<name xsi:type="xsd:string">string</name>
<description xsi:type="xsd:string">string</description>
</error>
</sync_get_modified_relationshipsResult>
</tns:sync_get_modified_relationshipsResponse>
</soap12:Body>
</soap12:Envelope>