How to get authenticated/login to commcarehq.org to access DATA API

Hi Ganesh,

You need to use digest authentication. More information is available here:

https://help.commcarehq.org/display/commcarepublic/Authentication

Cory

··· On Thu, Jul 31, 2014 at 3:35 AM, Ganesh Ghongane wrote:

Hello all,

I facing trouble to get authenticate/logged-in to access data API
through program.
I want to access DATA API (web url link) through Java program and in order
to access it I must need to login commcarehq.org, can someone have any
idea how to get authenticate with it through program.

any suggestions or comments are welcomed.

Thanks

--


You received this message because you are subscribed to the Google Groups
"CommCare Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to commcare-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Hi Ganesh,

Hi Ganesh,

You need to use digest authentication. More information is available here:

Authentication - CommCare Public - CommCare Public

Cory

Hello all,

I facing trouble to get authenticate/logged-in to access data API
through program.
I want to access DATA API (web url link) through Java program and in
order to access it I must need to login commcarehq.org, can someone have
any idea how to get authenticate with it through program.

Also, generally we recommend using the Form and Case APIs since the data
APIs have a file size limitation.

Cory

··· On Thu, Jul 31, 2014 at 7:49 AM, Cory Zue wrote: > On Thu, Jul 31, 2014 at 3:35 AM, Ganesh Ghongane wrote:

any suggestions or comments are welcomed.

Thanks

--


You received this message because you are subscribed to the Google Groups
"CommCare Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to commcare-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Thanks for the information. This problem has been solved now .

Yes I am using form and case API's only to get the data. Could you please
tell me from where do I get formid field, so that I can get data related
to that form only.

I have found that there is field name *info.formid *in form field but I am
getting null value for it.
Is this field is same as that of formid and also is it required to have
formid to each form ?

··· On Thursday, July 31, 2014 5:20:02 PM UTC+5:30, Cory Zue wrote: > > Hi Ganesh, > > You need to use digest authentication. More information is available here: > > https://help.commcarehq.org/display/commcarepublic/Authentication > > Cory > > > On Thu, Jul 31, 2014 at 3:35 AM, Ganesh Ghongane <ganes...@iiitd.ac.in > wrote: > >> Hello all, >> >> I facing trouble to get *authenticate/logged-in* to access data API >> through program. >> I want to access DATA API (web url link) through Java program and in >> order to access it I must need to login commcarehq.org, can someone have >> any idea how to get authenticate with it through program. >> >> >> any suggestions or comments are welcomed. >> >> Thanks >> >> >> -- >> >> --- >> You received this message because you are subscribed to the Google Groups >> "CommCare Developers" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to commcare-developers+unsubscribe@googlegroups.com . >> For more options, visit https://groups.google.com/d/optout. >> > >

Hi Ganesh,

Thanks for the information. This problem has been solved now .

Yes I am using form and case API's only to get the data. Could you please
tell me from where do I get formid field, so that I can get data
related to that form only.

I have found that there is field name *info.formid *in form field but I
am getting null value for it.
Is this field is same as that of formid and also is it required to have
formid to each form ?

The form id is typically just the "id" property on objects (e.g. in the
form and case APIs).

If you're not looking at one of those and can't figure it out just need to
know which one you're looking at to answer.

Please let us know exactly what you're looking at / trying to do.

Form IDs are required for new data. The system will generate one if it is
not in the form.

Cory

··· On Sat, Aug 2, 2014 at 6:56 AM, Ganesh Ghongane wrote:

On Thursday, July 31, 2014 5:20:02 PM UTC+5:30, Cory Zue wrote:

Hi Ganesh,

You need to use digest authentication. More information is available here:

Authentication - CommCare Public - CommCare Public

Cory

On Thu, Jul 31, 2014 at 3:35 AM, Ganesh Ghongane ganes...@iiitd.ac.in wrote:

Hello all,

I facing trouble to get authenticate/logged-in to access data API
through program.
I want to access DATA API (web url link) through Java program and in
order to access it I must need to login commcarehq.org, can someone
have any idea how to get authenticate with it through program.

any suggestions or comments are welcomed.

Thanks

--


You received this message because you are subscribed to the Google
Groups "CommCare Developers" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to commcare-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--


You received this message because you are subscribed to the Google Groups
"CommCare Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to commcare-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.