this is the request that i`ve sent :

{"request":{"application":"606D4-CE65E","auth":"API_Token","notifications":[{"content":"blah!","send_date":"2015-05-12 10:00:22","conditions":["playerId","EQ","226432"],"wp_type":"Toast","platforms":[5]},{"content":"Blah!","send_date":"2015-05-12 19:00:17","conditions":["playerId","EQ","226432"],"wp_type":"Toast","platforms":[5]}]}}

And the response is:

{"status_code":210,"status_message":"invalid expression","response":null}

So, please someone tell me what`s wrong with the request?

asked 12 May '15, 10:45
andreykhorkov's gravatar image

andreykhorkov
214

edited 12 May '15, 11:34

Benedict's gravatar image

Benedict
7127

Hello!

Since conditions is array of arrays, you should use it this way:

"conditions": [["playerId", "EQ", "226432"]]

permanent link
answered 12 May '15, 12:26
arthur's gravatar image

arthur
1007

edited 12 May '15, 12:39

Benedict's gravatar image

Benedict
7127

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×326
×120
×88
×11

question asked: 12 May '15, 10:45

question was seen: 789 times

last updated: 12 May '15, 12:39