This is an automated email from the ASF dual-hosted git repository.
vishwasbabu pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/fineract.git
The following commit(s) were added to refs/heads/develop by this push:
new 746090c Placed break tag appropriately and removed blank spaces in
create client section, corrected grammatical errors and added punctuation to
sentences.
new 8af4943 Merge pull request #553 from kangbreder/fix-tag
746090c is described below
commit 746090cd492faba702abd6522a04fdaceff8c502
Author: Kang Breder <[email protected]>
AuthorDate: Sat Apr 6 20:24:02 2019 +0100
Placed break tag appropriately and removed blank spaces in create client
section, corrected grammatical errors and added punctuation to sentences.
---
api-docs/apiLive.htm | 55 ++++++++++++++++++++++++++--------------------------
1 file changed, 27 insertions(+), 28 deletions(-)
diff --git a/api-docs/apiLive.htm b/api-docs/apiLive.htm
index 1a98be0..41d143a 100644
--- a/api-docs/apiLive.htm
+++ b/api-docs/apiLive.htm
@@ -3996,7 +3996,7 @@
href="https://addons.mozilla.org/en-US/firefox/addon/restclient/"
target="_blank">RESTClient</a> for FireFox
</p>
- The REST plugins will allow you to
+ The REST plugins will allow you to:
<ul>
<li class=normalli>Select the
"Verb" (e.g. POST)</li>
<li class=normalli>Enter the
resource name (e.g. offices)</li>
@@ -4292,19 +4292,19 @@ function executeAjaxRequest(url, verbType, jsonData,
authKey, successFunction, e
one-time passwords(OTP). OTPs
are sent via SMS & email.
</p>
<p>
- By default, two-factor
authentication is disabled by default.
+ Two-factor authentication is
disabled by default.
More information on how to
enable TFA can be found <a href="#authentication_overview">here</a>.
</p>
<p>
Two-factor authentication
workflow:
<ol class="normalli">
- <li
class="normalli">User authticates via BasicAuth / oAauth</li>
- <li>Client requests a
list of supported OTP delivery methods for the authenticated user(<a
href="#twofactor_deliverymethods">Get Delivery Methods</a>)</li>
- <li>User selects an OTP
delivery method and client sends a request for OTP(<a
href="#twofactor_request">Request OTP</a>)</li>
- <li>User receives an
OTP and the client sends it for verification(<a
href="#twofactor_validate">Validate OTP</a>)</li>
+ <li
class="normalli">User authticates via BasicAuth / oAauth.</li>
+ <li>Client requests a
list of supported OTP delivery methods for the authenticated user(<a
href="#twofactor_deliverymethods">Get Delivery Methods</a>).</li>
+ <li>User selects an OTP
delivery method and client sends a request for OTP(<a
href="#twofactor_request">Request OTP</a>).</li>
+ <li>User receives an
OTP and the client sends it for verification(<a
href="#twofactor_validate">Validate OTP</a>).</li>
<li>If the OTP is
valid, an access token is returned</li>
<li>The access token is
sent in following requestes to the server as a header
<i>Fineract-Platform-TFA-Token</i></li>
- <li>On session end, the access token should be
invalidated<a href="#twofactor_invalidate">Invalidate Access Token</a>)</li>
+ <li>On session end, the access token should be
invalidated<a href="#twofactor_invalidate">Invalidate Access Token</a>).</li>
</ol>
</p>
<p>
@@ -4321,7 +4321,7 @@ function executeAjaxRequest(url, verbType, jsonData,
authKey, successFunction, e
<div class="method-section">
<div class="method-description">
<h4>Get Delivery Methods</h4>
- <p>Returns a list of possible OTP
delivery methods for the current user</p>
+ <p>Returns a list of possible OTP
delivery methods for the current user.</p>
<p>Requires first-factor authenticated
user.</p>
</div>
<div class="method-example">
@@ -4847,7 +4847,7 @@ Successful transaction response:
</p>
<p>
- While creating an <a
href="#users_create">user</a>, user can be tagged as self service user. Also
you can associate
+ While creating a <a
href="#users_create">user</a>, user can be tagged as self service user. Also
you can associate
clients that this user has access to.
Data scope is restricted to these linked clients.
</p>
<p>
@@ -5390,12 +5390,12 @@ GET https://DomainName/api/v1/clients/template
<div class="method-description">
<h4>Create a Client</h4>
<p>
- <b>Note:</b>1. You can enter
either:<br>
+ <b>Note:</b><br>1. You can
enter either:<br>
firstname/middlename/lastname -
for a person (middlename is
optional) OR<br> fullname - for
a business or organisation
(or person known by one
name).<br>
- 2.If address is
enable(enable-address=true), then additional field <br>
- called address has to be passed
+ 2. If address is enable(enable-address=true),
then additional field <br>
+ called address has to be passed.
</p>
<table class=matrixHeading>
@@ -5899,7 +5899,7 @@ Request Body:
<p>Allows you to withdraw the proposed transfer of a
<i>Client</i> to a different <i>Office</i>.</p>
<p>Withdrawal can happen only if the destination Branch (to
which the transfer was
<a href="#clients_propose_transfer">proposed</a>) has not
already
- <a href="#clients_accept_transfer">accepted</a> the transfer
proposal </p>
+ <a href="#clients_accept_transfer">accepted</a> the transfer
proposal.</p>
</div>
<div class="method-example">
<code class="method-declaration">POST https://Domain
Name/api/v1/clients/{clientId}?command=withdrawTransfer</code>
@@ -5916,7 +5916,6 @@ Request Body:
"resourceId": 2
}
-
</code>
</div>
</div>
@@ -5953,7 +5952,7 @@ Request Body:
<h4>Accept a Client Transfer</h4>
<p>Allows the Destination Branch to accept the <a
href="#clients_propose_transfer">proposed</a> Client Transfer.</p>
<p>The destination branch may also choose to link this client
to a group (in which case, any existing active JLG loan of the client is
rescheduled to match the meeting frequency of the group) and loan Officer at
the time of accepting
- the transfer</p>
+ the transfer.</p>
</div>
<div class="method-example">
<code class="method-declaration">POST https://Domain
Name/api/v1/clients/{clientId}?command=acceptTransfer</code>
@@ -6402,7 +6401,7 @@ GET https://DomainName/api/v1/clients/{clientId}/accounts
<h3>Entity Field Configuration </h3>
<p>Entity Field configuration API is a generic and
extensible <br>
wherein various entities and subentities can be
related.<br>
- Also it gives the user an ability to enable/disable
fields,<br> add regular expression for validation</p>
+ It gives the user an ability to enable/disable
fields,<br> add regular expression for validation.</p>
<table class=matrixHeading>
<tr class="matrixHeadingBG">
<td><div class="fineractHeading2">Field
Descriptions</div></td>
@@ -6532,7 +6531,7 @@ GET https://DomainName/api/v1/clients/{clientId}/accounts
</tr>
<tr>
<td class=fielddesc>Address module has the ability
to store<br>
- multiple types of address of clients.addressTypeId
is basically a code whose value<br>
+ multiple types of address of clients.addressTypeId
is basically a code whose<br> value
are used to store the different types of addresses.
</br> </td>
</tr>
@@ -6712,7 +6711,7 @@ GET https://DomainName/api/v1/clients/{clientId}/accounts
<div class="method-section">
<div class="method-description">
<h4>update an address for a Client</h4>
- <p>All the address fields can be updated by using update
client address API</p>
+ <p>All the address fields can be updated by using update
client address API.</p>
<table class=matrixHeading>
<tr class="matrixHeadingBG">
<td><div class="fineractHeading2">Mandatory
Fields</div></td>
@@ -6749,7 +6748,7 @@ GET https://DomainName/api/v1/clients/{clientId}/accounts
<div class="method-description">
<h3>Client Identifiers</h3>
<p>Client Identifiers refer to
documents that are
- used to uniquely identify a customer
<br/>
+ used to uniquely identify a customer.
<br/>
Ex: Drivers License, Passport, Ration
card etc
</p>
<table class=matrixHeading>
@@ -6999,17 +6998,17 @@ No Request Body:
<div class="method-description">
<h3>Images</h3>
<p>The current API provides support for
the addition of a single
- image for entities like Client (URL
pattern <i>/clients</i>) and Staff (URL pattern <i>/staff</i>)<br/>
- Allowed formats: JPEG (.jpg or .jpeg),
GIF (.gif) and PNG (.png)
+ image for entities like Client (URL
pattern <i>/clients</i>) and Staff (URL pattern <i>/staff.</i>)<br/>
+ Allowed formats: JPEG (.jpg or .jpeg),
GIF (.gif) and PNG (.png).
</p>
- <p> The API supports two different
Approaches for manipulating Images
+ <p> The API supports two different
Approaches for manipulating Images.
<ul>
<li><a
href="http://en.wikipedia.org/wiki/Data_URI_scheme" target="_blank"> Data
URI's: </a>
For easier manipulation by Javascript
clients etc in supported Browsers.
</li>
<li><a
href="http://www.w3.org/TR/html401/interact/forms.html#h-17.13.4.2">
Multi-part form data:</a>
- Images can be uploaded using Multi
part forms and downloaded as regular binary files
+ Images can be uploaded using Multi
part forms and downloaded as regular binary files.
</li>
<br/>
</div>
@@ -7020,7 +7019,7 @@ No Request Body:
<div class="method-section">
<div class="method-description">
<h4>Get Entity Image (DATA URI)</h4>
- <p>Optional arguments are identical to
those of <a href="#client_images_retrieve_binary">Get Image associated with an
Entity (Binary file)</a></p>
+ <p>Optional arguments are identical to
those of <a href="#client_images_retrieve_binary">Get Image associated with an
Entity (Binary file).</a></p>
<p>Example Requests:</p>
<div
class=apiClick>clients/1/images</div>
<div class=apiClick>staff/1/images</div>
@@ -7046,7 +7045,7 @@ gAEAOg13B6R/SAgAAAAASUVORK5CYII=
class="old-syle-anchor"> </a>
<div class="method-section">
<div class="method-description">
- <h4>Get Image associated with an Entity
(Binary file)</h4>
+ <h4>Get Image associated with an Entity
(Binary file).</h4>
<h5>Optional Arguments</h5>
<dl class="argument-list">
<dt>output</dt>
@@ -7135,7 +7134,7 @@ P9/AFGGFyjOXZtQAAAAAElFTkSuQmCC
name "file". <br/> <br/>
If you are using a HTML form, a
snippet like
<small> <input type="file"
name="file"></input> </small>
- can be used for uploading the
image file
+ can be used for uploading the
image file.
</p>
</div>
<div class="method-example">
@@ -7203,7 +7202,7 @@ P9/AFGGFyjOXZtQAAAAAElFTkSuQmCC
name "file". <br/> <br/>
If you are using a HTML form, a
snippet like
<small> <input type="file"
name="file"></input> </small>
- can be used for uploading the
image file
+ can be used for uploading the
image file.
</p>
</div>
<div class="method-example">
@@ -7966,7 +7965,7 @@ Request Body:
<div class="method-section">
<div class="method-description">
<h4>Delete a Center</h4>
- <p>A Center can be deleted if it is in
<i>pending</i> state and has no association - groups, loans or savings</p>
+ <p>A Center can be deleted if it is in
<i>pending</i> state and has no association - groups, loans or savings.</p>
</div>
<div class="method-example">
<code class="method-declaration">