Shawn Johnson
Posts: 0
Joined: Wed Jan 15, 2014 4:17 pm

push via restful service "Empty scheduled time"

Hello I have been trying to follow the following tutorial

http://docs.appery.io/documentation/b...

to push notification via restful

but my request is not working

I keep getting empty scheduled time

Image

Image

i tried to use the updated push api as well with the same result

few questions

do i need to send a scheduledTime if i want to send a push immediately

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

push via restful service "Empty scheduled time"

Hello Shawn,

According to documentation: http://docs.appery.io/documentation/b...

Use "schedule" param (not scheduled)

Shawn Johnson
Posts: 0
Joined: Wed Jan 15, 2014 4:17 pm

push via restful service "Empty scheduled time"

Hey Thanks,

but now i am getting an server error

{
"code": "PNMN000",
"description": "This wasn't supposed to happen but an error occurred. Please try again. If the error persists please let us know on the http://appery.io/forum or email us: a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a"
}

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

push via restful service "Empty scheduled time"

Did you fill all parameters? Please send us screenshot with them.

Shawn Johnson
Posts: 0
Joined: Wed Jan 15, 2014 4:17 pm

push via restful service "Empty scheduled time"

I did not fill out all the parameters, I filled out that ones I thought i needed

Image

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

push via restful service "Empty scheduled time"

Hello Shawn.

Sorry for delay, we are working on it at the moment. We will get back to you with update.

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

push via restful service "Empty scheduled time"

If you want send push notification immediately, just not add schedule request parameter. It works for me (see attached file)
Image

Shawn Johnson
Posts: 0
Joined: Wed Jan 15, 2014 4:17 pm

push via restful service "Empty scheduled time"

Hello,

Thank you.
Can someone please update the docs, the previous push via rest documentation does not mention that status is needed.

is a unique key, issued by the server that allows push notifications to be sent.
is the message text (mandatory).
is the number shown with the app icon in iOS (optional, if empty - badge will be not changed on device).
is the deviceId criteria for searching device.
is a custom field of _devices table.
is param1 criteria for searching device.
is the date when the push notification will be sent (truncated to minute).
boolean - parameter indicating whether the push notification should be sent in device time zone.
is the offset in minutes of time zone.

without status I could not send the push. I wasted a good bit of time on such a small thing

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

push via restful service "Empty scheduled time"

Hi Shawn,

We'll add this. Sorry for the inconvenience.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

push via restful service "Empty scheduled time"

Hello!

We are sorry for inconvenience, that was pretty old tutorial and we deleted it.
Please use the following links
http://docs.appery.io/documentation/b...
http://docs.appery.io/tutorials/sendi...

Return to “Issues”