How are journal and loans "objects" connected within the API?

3 views
Skip to first unread message

Thomas GOLD

unread,
Nov 12, 2009, 1:59:42 PM11/12/09
to build-kiva
Hi,

Is there any parameter(id or anything else) that allows to search for
one or several specific journals matching with one or several specific
loan through the API?
I can't see any parameters in the GET /journal_entries/search method
to bind a journal to a loan (maybe the parameter "q" but I can't
figure out how to use it)
Also from what I understand journal IDs are not connected with Loans
IDs (Am I wrong??) I can't see any data in the journal parameters
which can refer to the loan the journal was written for.


Thanks in advance
Thomas, KIVA Fellow, Esperanza, DR

Tim Ledlie

unread,
Nov 12, 2009, 8:00:05 PM11/12/09
to build...@googlegroups.com
Would this work?

http://build.kiva.org/api#GET*|loans|:id|journal_entries

-Tim



--

You received this message because you are subscribed to the Google Groups "build-kiva" group.
To post to this group, send email to build...@googlegroups.com.
To unsubscribe from this group, send email to build-kiva+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/build-kiva?hl=.



Thomas GOLD

unread,
Nov 13, 2009, 8:20:27 AM11/13/09
to build...@googlegroups.com
Yes, it does
Thanks TIm

2009/11/12 Tim Ledlie <led...@kiva.org>
Reply all
Reply to author
Forward
0 new messages