Search
Click here for a complete list of operations.
CSID2ExtRefs
Return a list of external references (data sources). Security token with Service Subscriber role is required.
Test
The test form is only available for methods with primitive types as parameters.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 /Search.asmx HTTP/1.1 Host: www.chemspider.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://www.chemspider.com/CSID2ExtRefs" <?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:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <CSID2ExtRefs xmlns="http://www.chemspider.com/"> <CSID>int</CSID> <datasources> <string>string</string> <string>string</string> </datasources> <token>string</token> </CSID2ExtRefs> </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:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <CSID2ExtRefsResponse xmlns="http://www.chemspider.com/"> <CSID2ExtRefsResult> <ExtRef> <CSID>int</CSID> <ds_name>string</ds_name> <ds_url>string</ds_url> <ext_id>string</ext_id> <ext_url>string</ext_url> </ExtRef> <ExtRef> <CSID>int</CSID> <ds_name>string</ds_name> <ds_url>string</ds_url> <ext_id>string</ext_id> <ext_url>string</ext_url> </ExtRef> </CSID2ExtRefsResult> </CSID2ExtRefsResponse> </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 /Search.asmx HTTP/1.1 Host: www.chemspider.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:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <CSID2ExtRefs xmlns="http://www.chemspider.com/"> <CSID>int</CSID> <datasources> <string>string</string> <string>string</string> </datasources> <token>string</token> </CSID2ExtRefs> </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:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <CSID2ExtRefsResponse xmlns="http://www.chemspider.com/"> <CSID2ExtRefsResult> <ExtRef> <CSID>int</CSID> <ds_name>string</ds_name> <ds_url>string</ds_url> <ext_id>string</ext_id> <ext_url>string</ext_url> </ExtRef> <ExtRef> <CSID>int</CSID> <ds_name>string</ds_name> <ds_url>string</ds_url> <ext_id>string</ext_id> <ext_url>string</ext_url> </ExtRef> </CSID2ExtRefsResult> </CSID2ExtRefsResponse> </soap12:Body> </soap12:Envelope>
HTTP GET
The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.
GET /Search.asmx/CSID2ExtRefs?CSID=string&datasources=string&datasources=string&token=string HTTP/1.1 Host: www.chemspider.com
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <ArrayOfExtRef xmlns="http://www.chemspider.com/"> <ExtRef> <CSID>int</CSID> <ds_name>string</ds_name> <ds_url>string</ds_url> <ext_id>string</ext_id> <ext_url>string</ext_url> </ExtRef> <ExtRef> <CSID>int</CSID> <ds_name>string</ds_name> <ds_url>string</ds_url> <ext_id>string</ext_id> <ext_url>string</ext_url> </ExtRef> </ArrayOfExtRef>
HTTP POST
The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.
POST /Search.asmx/CSID2ExtRefs HTTP/1.1 Host: www.chemspider.com Content-Type: application/x-www-form-urlencoded Content-Length: length CSID=string&datasources=string&datasources=string&token=string
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <ArrayOfExtRef xmlns="http://www.chemspider.com/"> <ExtRef> <CSID>int</CSID> <ds_name>string</ds_name> <ds_url>string</ds_url> <ext_id>string</ext_id> <ext_url>string</ext_url> </ExtRef> <ExtRef> <CSID>int</CSID> <ds_name>string</ds_name> <ds_url>string</ds_url> <ext_id>string</ext_id> <ext_url>string</ext_url> </ExtRef> </ArrayOfExtRef>