therajanmaurya commented on a change in pull request #14: feat : list and
search tellers
URL: https://github.com/apache/fineract-cn-mobile/pull/14#discussion_r204981834
##########
File path:
app/src/main/java/org/apache/fineract/data/services/TellersService.kt
##########
@@ -0,0 +1,18 @@
+package org.apache.fineract.data.services
+
+import io.reactivex.Observable
+import org.apache.fineract.data.models.teller.Teller
+import org.apache.fineract.data.remote.EndPoints
+import retrofit2.http.GET
+import retrofit2.http.Path
+
+interface TellersService {
+
+ @GET(EndPoints.API_TELLER_PATH + "/offices" + "/{officeIdentifier}" +
"/teller")
+ fun getTellerList(@Path("officeIdentifier") officeIdentifier: String):
Observable<List<Teller>>
+
+ @GET(EndPoints.API_TELLER_PATH + "/offices" + "/{officeIdentifier}" +
Review comment:
you don't need to split. `/offices/{officeIdentifier}/teller/{tellerCode}`
is fine and standard.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services