Page 1 of 1

pushnotification REST api device filter not working

Posted: Wed Jun 04, 2014 12:26 pm
by Dirk Gissing

Hello,

I have the following code:

code
{
"payload":{"badge":"","message":"'.$msg.'"},
"filter":{"deviceID":"'.$cust_id.'""},
"status":"sent"
}
/code

This code doesn't seem to work when I perform a cURL request. When I remove the seconde line "filter:...." it works. But I want to be able to send to specific devices. I've followed the documentation and I couldn't find a mistake in my code.

Please advice.
Thank you!