Hi Courage, let us know when you finish *documenting *the notifications
REST APIs.
As I have to consume it in *online-banking-app*.

Thanks & Regards,
Cajetan Rodrigues.

On Sun, 9 Jun 2019 at 18:16, Rajan Maurya <[email protected]> wrote:

> Prashant write a doc too, so later any other developer wants to test so
> he/she can.
>
> On Sun, Jun 9, 2019 at 5:38 PM Courage Angeh <[email protected]>
> wrote:
>
>> Hi PRASHANT,
>>
>> The notifications are created on the Fineract server, the is no endpoint
>> to create new notifications.
>> The are event listeners that listen to create and update event and, they
>> trigger the notification creation process if any of those events occur.
>> What are you trying to do? Maybe I can provide a better solution.
>>
>> Regards,
>> Courage.
>>
>> On Sun, Jun 9, 2019, 1:41 AM PRASHANT KHANDELWAL <
>> [email protected]> wrote:
>>
>>> Hi Courage,
>>> Thanks for the response.
>>> I'll try it with the local server.
>>>
>>> But as I can see, this endpoint is giving the history of the
>>> notifications that is already pushed to the mobile application.
>>> These all notifications were generated by the server scripts by making a
>>> post request to the fcm server, and then the fcm server pushes it to the
>>> android.
>>> As in the screenshot you have provided, the new loan notification might
>>> had been generated by the create_new_loan script by making a post request
>>> to the fcm server.
>>>
>>> So, Is there any endpoint which is only for pushing a new custom
>>> notification to the mobile application?
>>>
>>> If not, then I would like to know what all endpoints pushes the
>>> notifications, as I can see new_loan_script does this.
>>>
>>> I hope you understand what I meant to say.
>>>
>>> Thanks
>>>
>>> On Sun 9 Jun, 2019, 10:38 AM Courage Angeh, <[email protected]>
>>> wrote:
>>>
>>>> Hi Prashant,
>>>>
>>>> I tested the notification endpoint and it works, attached is a
>>>> screenshot of my rest client. Can you validate your headers?
>>>>
>>>> I think the is a bug on the online server (demo server).
>>>> From the demo server, I can't get any notification but I get a page of
>>>> notifications when I use my local Fineract server.
>>>>
>>>> I am aware that there was a bug on the backend that might have caused
>>>> this, but the bug was fixed so I don't know if this fix
>>>> has been updated on the online server.
>>>>
>>>> Regards,
>>>> Courage.
>>>>
>>>> On Sat, Jun 8, 2019 at 8:57 AM PRASHANT KHANDELWAL <
>>>> [email protected]> wrote:
>>>>
>>>>> Thank you for the reply.
>>>>> However, I am not getting the response, when I am trying to make a
>>>>> request via Postman.
>>>>> I am attaching the screenshot of the response I got.
>>>>> It might be a small mistake, please help me with it.
>>>>> --
>>>>> Regards,
>>>>> *Prashant Khandelwal*
>>>>> M.Sc.(Hons.) Mathematics and B.E.(Hons.) Computer Science
>>>>>
>>>>> Mobile: +91 8077653023 | +91 8267851475
>>>>>
>>>>> Email: Personal <[email protected]> | BITS Mail
>>>>> <[email protected]>
>>>>>
>>>>> *Birla Institute of Technology and Science Pilani*
>>>>>
>>>>> *Vidya Vihar, Pilani*
>>>>> *Rajasthan - 333031, India*
>>>>>
>>>>>
>>>>> On Sat, Jun 8, 2019 at 1:22 AM Courage Angeh <[email protected]>
>>>>> wrote:
>>>>>
>>>>>> Hi all,
>>>>>>
>>>>>> Here are the API docs for the notification framework:
>>>>>>
>>>>>> GET https://Domain Name/api/v1/notifications
>>>>>> ?limit={limit(Integer)}&offset={offset(Integer)}
>>>>>> &sortOrder={sortOrder(string)}&isRead={isRead(Boolean)}
>>>>>> *Content-Type:* application/json
>>>>>> Response: Page of notifications
>>>>>>
>>>>>>
>>>>>> UPDATE https://Domain Name/api/v1/notifications
>>>>>> *Content-Type:* application/json
>>>>>> Response: void
>>>>>>
>>>>>> Regards,
>>>>>> Courage.
>>>>>>
>>>>>> On Thu, Jun 6, 2019 at 4:38 PM Courage Angeh <[email protected]>
>>>>>> wrote:
>>>>>>
>>>>>>> Hi all,
>>>>>>>
>>>>>>> Yes the are three notification endpoints.
>>>>>>> I am not by my computer now but, in like an hour or so i will email
>>>>>>> the notification api description.
>>>>>>>
>>>>>>> Regards,
>>>>>>> Courage.
>>>>>>>
>>>>>>> On Thu, Jun 6, 2019, 3:20 PM Ed Cable <[email protected]> wrote:
>>>>>>>
>>>>>>>> Courage,
>>>>>>>>
>>>>>>>> Are you able to help with the notifications integration questions?
>>>>>>>>
>>>>>>>> Ankur, did you have any input on this front as I know you worked on
>>>>>>>> it last year too.
>>>>>>>>
>>>>>>>> Adding gsoc-mentors as well in case Naman and others can chime in.
>>>>>>>>
>>>>>>>> Ed
>>>>>>>>
>>>>>>>> On Thu, Jun 6, 2019, 12:11 Saksham Handu <[email protected]>
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> I guess Dilpreet added this functionality, 2 years back.  We can
>>>>>>>>> add him to this thread.
>>>>>>>>>
>>>>>>>>> Sincerely,
>>>>>>>>> Saksham Handu
>>>>>>>>>
>>>>>>>>> On Thu, Jun 6, 2019 at 4:50 PM Santosh Math <
>>>>>>>>> [email protected]> wrote:
>>>>>>>>>
>>>>>>>>>> Rajan,
>>>>>>>>>> You mean to say Saksham which you added in Cc?
>>>>>>>>>>
>>>>>>>>>> +Shruthi M R <[email protected]>
>>>>>>>>>>
>>>>>>>>>> Hi Saksham and Shruthi,
>>>>>>>>>>  Prashant is testing the notification of the self-service app.
>>>>>>>>>> He looked in the documentation of the API, didn't find any
>>>>>>>>>> API-endpoint for this.
>>>>>>>>>>
>>>>>>>>>> Prashant, please attach error log again and reply to this mail.
>>>>>>>>>>
>>>>>>>>>> Thanks
>>>>>>>>>> Santosh
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On Thu, Jun 6, 2019 at 4:11 PM Rajan Maurya <
>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>
>>>>>>>>>>> Prashant work with Santosh
>>>>>>>>>>>
>>>>>>>>>>> On Thu, Jun 6, 2019, 3:59 PM Santosh Math <
>>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Hi Ed,
>>>>>>>>>>>> Any developer can assist on this?
>>>>>>>>>>>>
>>>>>>>>>>>> On Thu, Jun 6, 2019 at 9:36 AM Rajan Maurya <
>>>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> Santosh Please look into this.
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Thu, Jun 6, 2019, 2:38 AM PRASHANT KHANDELWAL <
>>>>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> Hello All,
>>>>>>>>>>>>>> I am Prashant Khandelwal, working on the Mifos Mobile
>>>>>>>>>>>>>> application as a GSoC Student Developer.
>>>>>>>>>>>>>> I wanted to know if there is any way to test the notification
>>>>>>>>>>>>>> to the application.
>>>>>>>>>>>>>> I looked in the documentation of the API, didn't find any
>>>>>>>>>>>>>> API-endpoint for this.
>>>>>>>>>>>>>> Any help would be appreciated.
>>>>>>>>>>>>>> Thank you
>>>>>>>>>>>>>> --
>>>>>>>>>>>>>> Regards,
>>>>>>>>>>>>>> *Prashant Khandelwal*
>>>>>>>>>>>>>> M.Sc.(Hons.) Mathematics and B.E.(Hons.) Computer Science
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Mobile: +91 8077653023 | +91 8267851475
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Email: Personal <[email protected]> | BITS Mail
>>>>>>>>>>>>>> <[email protected]>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> *Birla Institute of Technology and Science Pilani*
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> *Vidya Vihar, Pilani*
>>>>>>>>>>>>>> *Rajasthan - 333031, India*
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Mifos-developer mailing list
>>>>>>>>>>>>>> [email protected]
>>>>>>>>>>>>>> Unsubscribe or change settings at:
>>>>>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/mifos-developer
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> --
>>>>>>>>>>>> Thanks & Regards
>>>>>>>>>>>>
>>>>>>>>>>>> Santosh Math
>>>>>>>>>>>>
>>>>>>>>>>>> *QA Engineer*
>>>>>>>>>>>>
>>>>>>>>>>>> *Conflux Technologies Pvt Ltd
>>>>>>>>>>>> <http://www.confluxtechnologies.com/>*
>>>>>>>>>>>> | *Office*: +91-080-41208662 |
>>>>>>>>>>>>
>>>>>>>>>>>> *Address*: #304, 2nd Floor, 7th Main Road, HRBR Layout 1st
>>>>>>>>>>>> Block, Bengaluru, Karnataka, 560043 INDIA
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>
> --
> *Thanks*
> *Namaste*
>
> Rajan Maurya
> Contact Number : +91 9015090523
> Github : @Github/therajanmaurya <https://github.com/therajanmaurya>,
> LinkedIn: @LinkedIn/therajanmaurya
> <https://www.linkedin.com/in/therajanmaurya/>,
> Medium: @medium/therajanmaurya <https://medium.com/@therajanmaurya>
>

Reply via email to