The following document is in draft and subject to change. |
Table of content
[ { "requestId" : 1, "relativeUrl" : "clients", "method" : "POST", "headers": [{"name": "Content-type", "value": "text/html"}, {"name": "X-Mifos-Platform-TenantId", "value": "text/html"}], "body" : "{ \"officeId\": 1, \"firstname\": \"Petra\", \"lastname\": \"Yton\", \"externalId\": \"76YYP7\", \"dateFormat\": \"dd MMMM yyyy\", \"locale\": \"en\", \"active\": true, \"activationDate\": \"04 March 2009\", \"submittedOnDate\": \"04 March 2009\", \"savingsProductId\" : 1 } " }, { "requestId" : 2, "relativeUrl" : "loans", "method" : "POST", "headers": [{"name": "Content-type", "value": "text/html"}], "reference": 1, "body" : "{ \"clientId\" : \"$.clientId\", \"productId\" : 1}" }, { "requestId" : 3, "method" : "POST", "relativeUrl" : "clients", "headers": [{"name": "Content-type", "value": "text/html"}], "body" : "{ \"officeId\": 1, \"fullname\": \"Pocahontas\", ... }" }, { "requestId" : 4, "method" : "POST", "relativeUrl" : "savingsaccount", "headers": [{"name": "Content-type", "value": "text/html"}], "reference": 3, "body" : "{ \"clientId\" : \"$.clientId\", \"productId\" : 1, ...}" } ] |
[ { "requestId" : 1, "statusCode" : 201, "headers" : [ { "name" : "Content-Type", "value" : "application/json; charset=UTF-8" } ], "body" : "{ \"officeId\": 1, \"clientId\": 1, ...}" }, { "requestId" : 2, "statusCode" : 201, "headers" : [ { "name" : "Content-Type", "value" : "application/json; charset=UTF-8" } ], "body" : "{ \"officeId\": 1, \"clientId\": 1, \"loanId\": 1, ...}" }, { "requestId" : 3, "statusCode" : 201, "headers" : [ { "name" : "Content-Type", "value" : "application/json; charset=UTF-8" } ], "body" : "{ \"officeId\": 1, \"clientId\": 2, ...}" }, { "requestId" : 4, "statusCode" : 201, "headers" : [ { "name" : "Content-Type", "value" : "application/json; charset=UTF-8" } ], "body" : "{ \"officeId\": 1, \"clientId\": 2, \"savingsId\": 1, ...}" } ] |