public IHttpActionResult GetKeyword(int publicationId, int categoryUriToLookIn, string keywordName) { Logger.Debug("ResolveLink publicationId={0}, categoryUriToLookIn={1}, keywordName={2}", publicationId, categoryUriToLookIn, keywordName); if (publicationId == 0) { return(BadRequest(Messages.EmptyPublicationId)); } TaxonomyProvider.PublicationId = publicationId; var keyword = TaxonomyProvider.GetKeyword(categoryUriToLookIn.ToCategoryTcmUri(publicationId), keywordName); return(Ok <IKeyword>(keyword)); }