Returned Responses

The successful responses from calls made to the YQL Social Tables all have the root element query that contains information about the YQL call. All data is returned in the results elements as seen below:

Response Examples

XML Response

HTTP Request:

GET https://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20social.profile%20where%20guid%3Dme

Response Status Line:

HTTP/1.1 200 OK

Response Header:

Response Body:

XML Response With Error Response

HTTP Request:

GET https://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20social.profile%20where%20gui%3Dme

Response Status Line:

Header: HTTP/1.1 200 OK

Response Header:

Response Body:

Note

The Response Status is 200 for calls to the YQL Service that send malformed YQL statements because the call is successful even though the execution of the YQL statement is not. YQL statements that could not be executed are detailed in the error message returned in the response body.

Table of Contents