Description
Expected body payload while activating the client:
{Â "activationDate": "02 August 2021", "dateFormat": "dd MMMM yyyy", "locale": "en" }
Payload model (PostClientsClientIdRequest):
@Schema(description = "PostClientsClientIdRequest") public static final class PostClientsClientIdRequest { private PostClientsClientIdRequest() {} @Schema(example = "We cannot accept transfers of clients having loans with less than 1 repayment left") public String note; }
the  PostClientsClientIdRequest must define the required field in order to generate the valid client.
Also officeId field is missing in the returned response while activating a client.
// defined in swagger resource class @Schema(description = "PostClientsClientIdResponse") public static final class PostClientsClientIdResponse { private PostClientsClientIdResponse() {} @Schema(example = "2") public Integer clientId; @Schema(example = "2") public Integer resourceId; } // actual json returned { "officeId": 2, "clientId": 6, "resourceId": 6 }
Attachments
Issue Links
- links to