diff --git a/APIFolder/api.htm b/APIFolder/api.htm index b3a49dcd4..2c0275f93 100644 --- a/APIFolder/api.htm +++ b/APIFolder/api.htm @@ -586,6 +586,71 @@ + +   +
+
+

Create Office

+

Create an office.

+

Example Request: + + https://localhost:8443/mifosng-provider/api/v1/offices + +

+
+
+ POST https://thedomainname/api/v1/offices +POST https://localhost:8443/mifosng-provider/api/v1/offices +Content-Type: application/json +Request Body: +{ + "name": "Demo branch 9", + "externalId": "9", + "dateFormat": "dd MMMM yyyy", + "openingDateFormatted": "01 September 2011", + "parentId": 1 +} + + +{ + "entityId": 9 +} + +
+
+ +   +
+
+

Update Office

+

Update office details.

+

Example Request: + + https://localhost:8443/mifosng-provider/api/v1/offices/1 + +

+
+
+ PUT https://thedomainname/api/v1/offices/1 +PUT https://localhost:8443/mifosng-provider/api/v1/offices/1 +Content-Type: application/json +Request Body: +{ + "name": "Demo branch 9 changed", + "externalId": "11", + "dateFormat": "dd MMMM yyyy", + "openingDateFormatted": "05 September 2011", + "parentId": 1 +} + + +{ + "entityId": 9 +} + +
+
+