Quantcast
Channel: Discussion Forum > Connect Data Services
Viewing all articles
Browse latest Browse all 2504

how to get values from Incident, including filter (1 Comment)

$
0
0

Topic by Shai Hangel

Content

Hello,
I'm trying to get values from Incident table, but with limitation (using "Where.." condition /  "LIMIT..')
and I'm getting this error:

code:

    try
    {
        ClientInfoHeader clientInfoHeader = new ClientInfoHeader();
        clientInfoHeader.AppID = "Basic Object";
        String queryString = "";
        
        //Objects
        queryString = "SELECT Incident  FROM Incident  WHERE  Incident.CreatedTime >= '2012-01-14 15:23:52' LIMIT 9000; ";
    
    
Return an error:

    The content type text/html; charset=UTF-8 of the response message does not match the content type of the binding (text/xml; charset=utf-8). If using a custom encoder, be sure that the IsContentTypeSupported method is implemented properly. The first 389 bytes of the response were: '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title>There is a an error with your request</title>
        <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    </head>
    
    <body>
      <p>There has been an error with your request.</p>
    </body>
    </html>
    
    '.    
    
can you assist on this?
Thanks.

Version

may2012

Viewing all articles
Browse latest Browse all 2504

Trending Articles