class InviteRestServiceImpl extends BaseRestService implements InviteRestService {

    @Override
    public RestResult<Void> createInvitesByOrganisation(Long organisationId, List<ApplicationInviteResource> invites) {
        InviteOrganisationResource inviteOrganisation = new InviteOrganisationResource();

        inviteOrganisation.setOrganisation(organisationId);
        inviteOrganisation.setInviteResources(invites);

        String url = inviteRestUrl + "/create-application-invites";

        return postWithRestResult(url, inviteOrganisation, Void.class);
    }

}