SCI error: (400) Bad Request

Hi,
I am sure I am doing something wrong, but can’t quite figure it out.

I am sending an HTTP Post request to the following URL:
http://sd1-na.idigi.com/ws/sci

with a payload of the following:

And I pass the userid/password in the HTTP request.

But, I keep getting an error: (400) Bad Request.
I can test that the Device Id is correct and that there is data available for that device. Any ideas on what could be wrong with the format of the payload? I tried to remove all whitespace on the XML thinking that was the problem, but that did not help.

Hello,

The quotation marks in the XML are not the standard symbol and that is why it is failing.

Try the following (I replaced “ and ” with ").

Chris

Works like a champ! Thanks for the quick reply.

Device Cloud provides standard SCI requests, which you can use and modify the only things which are required.
Log in to Device Cloud, go to Documentation–>API Explorer–>Examples and select the SCI request. You will get the SCI request, change only the fields which are required.