class SubscribeSender {

    public String send(final EsrSystemInfo info, final LccnSubscriptionRequest request) throws VeVnfmException {
        final ResponseEntity<SubscribeToManoResponse> response =
                restProvider.postHttpRequest(request, getUrl(info), SubscribeToManoResponse.class);

        final HttpStatus statusCode = response.getStatusCode();
        final SubscribeToManoResponse body = response.getBody();

        logger.info("The VNFM replied with the code {} and the body {}", statusCode, body);

        if (HttpStatus.CREATED != statusCode) {
            throw new VeVnfmException("The status code was different than " + HttpStatus.CREATED);
        }

        return body.id;
    }

    @Autowired public  SubscribeSender(final ConfigProperties configProperties, final HttpRestServiceProvider restProvider);

}