/** * PUT a JSON representation of the ORCID record containing only affiliations details * * @param orcid the ORCID that corresponds to the user's record * @return the JSON representation of the ORCID record including the added affiliation(s) */ @PUT @Produces(value = {VND_ORCID_JSON, ORCID_JSON, MediaType.APPLICATION_JSON}) @Consumes(value = {VND_ORCID_JSON, ORCID_JSON, MediaType.APPLICATION_JSON}) @Path(AFFILIATIONS_PATH) public Response updateAffiliationsJson( @PathParam("orcid") String orcid, OrcidMessage orcidMessage) { return serviceDelegator.updateAffiliations(uriInfo, orcid, orcidMessage); }