Hello Emmanuel,
You need to pass the paymentTypeId that Is present in the system. It's not a mandatory parameter. You can either create a new payment type and use that id Or You can ignore the parameter On Sat, 2 Jan, 2021, 2:23 pm Emmanuel Njoku, <einj...@gmail.com> wrote: > Dear Team, > > On [fineract] branch develop which was deployed on the Apache Tomcat 9. > There is another bug in the transaction deposit and withdrawal. > > > https://localhost/fineract-provider/api/v1/savingsaccounts/4/transactions?command=deposit > > > { > "locale" : "en", > "dateFormat" : "dd MMMM yyyy", > "transactionDate" : "31 January 2021", > "transactionAmount" : "5000", > "paymentTypeId" : "14", > "accountNumber" : "acc199", > "checkNumber" : "che199", > "routingCode" : "rou199", > "receiptNumber" : "rec199", > "bankNumber" : "ban199" > } > > This is the error message: > { > "developerMessage": "The requested resource is not available.", > "httpStatusCode": "404", > "defaultUserMessage": "The requested resource is not available.", > "userMessageGlobalisationCode": "error.msg.resource.not.found", > "errors": [ > { > "developerMessage": "PaymentType with 14 does not exist", > "defaultUserMessage": "PaymentType with 14 does not exist", > "userMessageGlobalisationCode": > "error.msg.payment.type.invalid", > "parameterName": "id", > "value": null, > "args": [ > { > "value": 14 > } > ] > } > ] > } > > On Thu, Dec 31, 2020 at 8:27 AM Elirehema Paul <elirehema@singo.africa> > wrote: > >> Emmanuel Njoku you have passed a unsupported parameter `street` in your >> post request address object. Just delete it >> --- >> *Elirehema Paul* >> *Software Developer at Singo Africa Limited* >> :D >> >> Github <https://github.com/elirehema> LinkedIn >> <https://www.linkedin.com/in/elirehema-paul-3755b4124/> Stackoverflow >> <https://stackoverflow.com/users/7098524/eli> >> >> >> >> >> On 2020-12-30 15:07, Emmanuel Njoku wrote: >> >> Dear team, >> >> After cloning [fineract] branch develop and deployed on the Apache >> Tomcat 9. I am unable to create a client using >> { >> "officeId": 1, >> "fullname": "EMMANUEL", >> "mobileNo": "91530907963", >> "externalId": "AA107894", >> "dateFormat": "dd MMMM yyyy", >> "locale": "en", >> "active": true, >> "activationDate": "21 December 2020", >> "submittedOnDate":"21 December 2020", >> "address":[ >> { >> "addressTypeId": 1, >> "isActive": true, >> "street": "JEMTOK STREET", >> "stateProvinceId": 20, >> "countryId": 18 >> }], >> "accountNo":"R0104662", >> "genderId":"15", >> "savingsProductId": 1, >> "emailAddress" : "e...@gmail.com", >> "dateOfBirth" : "17 March 1989" >> } >> >> The error message is : >> { >> "developerMessage": >> "The request was invalid. This typically will happen due to validation >> errors which are provided." >> , >> "httpStatusCode": "400", >> "defaultUserMessage": "Validation errors exist.", >> "userMessageGlobalisationCode": >> "validation.msg.validation.errors.exist", >> "errors": [ >> { >> "developerMessage": "The parameter street is not supported.", >> "defaultUserMessage": >> "The parameter street is not supported.", >> "userMessageGlobalisationCode": >> "error.msg.parameter.unsupported", >> "parameterName": "street", >> "value": null, >> "args": [ >> { >> "value": "street" >> } >> ] >> } >> ] >> } >> >> Mifos-developer mailing list >> mifos-develo...@lists.sourceforge.net >> Unsubscribe or change settings at: >> https://lists.sourceforge.net/lists/listinfo/mifos-developer >> >> Mifos-developer mailing list >> mifos-develo...@lists.sourceforge.net >> Unsubscribe or change settings at: >> https://lists.sourceforge.net/lists/listinfo/mifos-developer > >