Developer Center

Comments API

Last Updated: Oct 04, 2018 08:42AM CEST

URL

/api/clients/ABC123/comments
/api/groups/ABC123/comments
/api/loans/ABC123/comments
/api/savings/ABC123/comments
/api/branches/ABC123/comments
/api/centres/ABC123/comments
/api/users/ABC123/comments
/api/loanproducts/ABC123/comments
/api/savingsproducts/ABC123/comments

Description

Allows you to get and post comments to different entities.

Methods

GET Comments

Allows retrieving a list of journal entries filtered by account id, branch and within a given date range.

Usage examples
//get all comments from client ABC123
GET /api/clients/ABC123/comments

Samples responses:

//list of comments returned for an entity
[
    {
    "encodedKey":"8a8497464c2a5b41014c2d0f18fc0d10",
    "parentKey":"8a0aa7df4c34a315014c36a2943c074a",
    "userKey":"8a0aa7df4c2f7b5a014c32b0778e0aad",
    "creationDate":"2012-06-20T17:57:16+0200",
    "lastModifiedDate":"2012-06-20T17:57:16+0200",
    "text":"A comment added on an entity"
    }
]

POST Comments

Allows to post any text to almost any entity in Mambu.

Usage examples
// add a comment to a centre
POST /api/centres/ABC123/comments
{
   "comment": {
      "text":"Posting a new comment"
   }
}
support@mambu.com
https://cdn.desk.com/
false
desk
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete