Skip to content

Instantly share code, notes, and snippets.

@amichaelgrant
Last active December 11, 2015 13:48
Show Gist options
  • Save amichaelgrant/4609605 to your computer and use it in GitHub Desktop.
Save amichaelgrant/4609605 to your computer and use it in GitHub Desktop.
createClient -->{"officeId":1,"firstname":"Michael","lastname":"Grant","externalId":"Not-so-much","dateFormat":"dd MMMM yyyy","joiningDate":"13 June 2013"}
HTTP URL -->https://localhost:8443/mifosng-provider/api/v1/clients
HTTP Status Line ->HTTP/1.1 400 Bad Request
HTTP Line ->Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
HTTP Line ->Content-Type: application/json
HTTP Line ->Transfer-Encoding: chunked
HTTP Line ->Date: Wed, 23 Jan 2013 17:07:00 GMT
HTTP Line ->null
{"developerMessage":"The request was invalid. This typically will happen due to validation errors which are provided.","developerDocLink":"https://github.com/keithwoodlock/mifosx/wiki/HTTP-API-Error-codes","httpStatusCode":"400","defaultUserMessage":"Validation errors exist.","userMessageGlobalisationCode":"validation.msg.validation.errors.exist","errors":[{"developerMessage":"The parameter joiningDate is not supported.","defaultUserMessage":"The parameter joiningDate is not supported.","userMessageGlobalisationCode":"error.msg.parameter.unsupported","parameterName":"joiningDate","value":null,"args":[{"value":"joiningDate"}]}]}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment