From d0be1a1d33a4ab8ad04bba521aad4a19062bef39 Mon Sep 17 00:00:00 2001 From: John Woodlock Date: Tue, 22 May 2012 18:27:11 +1000 Subject: [PATCH] api docs WIP --- APIFolder/api.htm | 56 ++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 53 insertions(+), 3 deletions(-) diff --git a/APIFolder/api.htm b/APIFolder/api.htm index cf75c297a..816a81c93 100644 --- a/APIFolder/api.htm +++ b/APIFolder/api.htm @@ -521,8 +521,8 @@

Create a Client

- POST https://thedomainname/api/v1/client - http://localhost:8080/mifosng-provider/api/v1/client + POST https://thedomainname/api/v1/clients + http://localhost:8080/mifosng-provider/api/v1/clients Content-Type: application/json @@ -561,7 +561,57 @@
- +   +
+
+

Add a Client Note

+
+
+ POST https://thedomainname/api/v1/clients/{clientId}/notes + http://localhost:8080/mifosng-provider/api/v1/clients/1/notes + + + Content-Type: application/json + Request Body: + new json here + + { "entityId": 2 } + +
+
+ +   +
+
+

Retrieve a Client Note

+

Example Request: + http://localhost:8080/mifosng-provider/api/v1/clients/1/notes/1 +

+
+
+ GET https://thedomainname/api/v1/clients/{clientId}/notes/{noteId} + + +
+
+   +
+
+

Update a Client Note

+
+
+ PUT https://thedomainname/api/v1/clients/{clientId}/notes/{noteId} + http://localhost:8080/mifosng-provider/api/v1/clients/1/notes/1 + + + Content-Type: application/json + Request Body: + new json here + + { "entityId": 2 } + +
+