Answered by:
Is there a way to find Domain of Publication with help of Microsoft Academic Search API

Question
-
I wanted to find the domain and subdomain of a publicaiton by giving PublicationID. I am getting null in Domain. Is it possible to find domain of a publication ??
here is the code that i used,
APIServiceClient client = new APIServiceClient();
Request request = new Request();
request.AppID = ConfigurationManager.AppSettings["AppID"];
request.ResultObjects = ObjectType.Domain;
request.StartIdx = 1;
request.EndIdx = 10;
request.PublicationID = publicationID;
request.PublicationContent = new PublicationContentType[]
{
PublicationContentType.AllInfo
};
Response response = client.Search(request);foreach (var domain in response.Domain.Result)
{}
Ozair Saleem
Tuesday, July 3, 2012 12:17 PM
Answers
-
Hello Ozair,
Thank you for your interest in Academic Search! At this time it is not possible to fetch domain and subdomain of a paper. Please note that we categorize Journals and Conferences by domain/subdomain (and not individual articles), so one solution would be to do a secondary lookup of the domain/subdomain of the Journal that the paper was published in.
Please let us know if we can provide further assistance.
Academic Search Team
- Marked as answer by Thomas, Microsoft Academic Search EditorModerator Thursday, July 19, 2012 4:27 PM
Tuesday, July 17, 2012 3:35 PMModerator
All replies
-
Hello Ozair,
Thank you for your interest in Academic Search! At this time it is not possible to fetch domain and subdomain of a paper. Please note that we categorize Journals and Conferences by domain/subdomain (and not individual articles), so one solution would be to do a secondary lookup of the domain/subdomain of the Journal that the paper was published in.
Please let us know if we can provide further assistance.
Academic Search Team
- Marked as answer by Thomas, Microsoft Academic Search EditorModerator Thursday, July 19, 2012 4:27 PM
Tuesday, July 17, 2012 3:35 PMModerator -
I am able to get Conference.ResearchInterestDomain with this code.
APIServiceClient client = new APIServiceClient();
Request request = new Request();
request.AppID = ConfigurationManager.AppSettings["AppID"];
request.StartIdx = 1;
request.EndIdx = 1;
request.ResultObjects = ObjectType.Conference;
request.ConferenceID = 3745;Response response = client.Search(request);
if (response.Conference != null)
{
foreach (var Conference in response.Conference.Result)
{
foreach (var domin in Conference.ResearchInterestDomain)
{
string DomainID = domin.DomainID.ToString();
string SubDomainId = domin.SubDomainID.ToString();
}
}
}But when i try the same to get Journal.ResearchInterestDomain i am returned with empty response.Journal.Result. Tell me what i am doing wrong here?
APIServiceClient client = new APIServiceClient();
Request request = new Request();
request.AppID = ConfigurationManager.AppSettings["AppID"];
request.StartIdx = 1;
request.EndIdx = 1;
request.ResultObjects = ObjectType.Journal;
request.JournalID= 380;Response response = client.Search(request);
if (response.Journal != null)
{
foreach (var Journal in response.Journal.Result)
{
foreach (var domain in Journal.ResearchInterestDomain)
{
string DomainID = domain.DomainID.ToString();
string SubDomainId = domain.SubDomainID.ToString();
}
}
}Ozair Saleem
Wednesday, July 18, 2012 12:56 PM -
What am i missing when getting details of Journal information??
Ozair Saleem
Friday, July 20, 2012 12:22 PM -
Hello Ozair,
We are researching your inquiry and hope to have a response soon.
Best regards,
Microsoft Academic Search Team
Friday, July 20, 2012 5:55 PMModerator