Re: [Dhis2-users] [Dhis2-devs] Generic http SMS Gateway for Inbound & Outbound

2018-06-06 Thread DJIBRIL Hakim
I am agree with you. that is what I done. the fact is the user I am using to post this API Link, if he has authorities I have listed, I got error but IF he has ALL ( aka superuser) everything going well. So do I miss some authorities. I am using version 2.28 2018-06-07 4:51 GMT+00:00 Stephen

Re: [Dhis2-users] [Dhis2-devs] Generic http SMS Gateway for Inbound & Outbound

2018-06-06 Thread DJIBRIL Hakim
Hi again I have choose this authorities but can't post inbouding api with the user having this role. I got this error {"httpStatus":"Conflict","httpStatusCode":409,"status":"ERROR","message":"User not registered in the system"}. But working fine if I have all in authorities. the originator number

Re: [Dhis2-users] [Dhis2-devs] Generic http SMS Gateway for Inbound & Outbound

2018-06-06 Thread DJIBRIL Hakim
Thank you Stephen.! 2018-06-06 7:04 GMT+00:00 Ocaya Stephen : > yes, you will need to set this from the provider's end point. and Yes you > will need to authenticate using an existing dhis2 user account with a role > that adds data and uses sms, DHIS2 supports basic authentication and their >

Re: [Dhis2-users] [Dhis2-devs] Generic http SMS Gateway for Inbound & Outbound

2018-06-06 Thread Ocaya Stephen
yes, you will need to set this from the provider's end point. and Yes you will need to authenticate using an existing dhis2 user account with a role that adds data and uses sms, DHIS2 supports basic authentication and their systems will need to cater for then authentication details in the header.

Re: [Dhis2-users] [Dhis2-devs] Generic http SMS Gateway for Inbound & Outbound

2018-06-06 Thread DJIBRIL Hakim
Ok Thank you for feedback Just a clarification please Where I am supposed to setup this link? in dhis2 or at the provider side ? http:///api/sms/inbound?message==

Re: [Dhis2-users] [Dhis2-devs] Generic http SMS Gateway for Inbound & Outbound

2018-06-06 Thread Zubair Asghar Raja
Hi Hakim Can you please re-phrase your question. Zubair On Wed, 6 Jun 2018, 8:15 am DJIBRIL Hakim, wrote: > Hi all, > Please Is it possible to have ideas on how can be *URL template* when > setting Generic http SMS Gateway in DHIS2 both for inbound and outbound sms? > > Thank you >

Re: [Dhis2-users] [Dhis2-devs] Generic http SMS Gateway for Inbound & Outbound

2018-06-06 Thread DJIBRIL Hakim
Sorry Zubair I want to setup a generic hhtp sms gateway in dhis2, but in documentation I can't find exemple or use case doing that. Some of sms national providers have differentes endpoint for sending or receving sms. 1.So my first question is have an example of URL template doing the both way