Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CreateVocabularySearchRequestJsonUrl Method

CreateVocabularySearchRequestJsonUrl Method

Creates a vocabulary search request URL in which the application is identified using its service token.

Namespace: Microsoft.Health
Assembly: Microsoft.Health (in Microsoft.Health.dll) Version: (1.15.1003.9505)

public static Uri CreateVocabularySearchRequestJsonUrl(
	VocabularySearchParameters searchParameters,
	string jsonCallbackName,
	Guid serviceToken


Type: Microsoft.Health..::..VocabularySearchParameters
The set of parameters that identify the vocabulary to search, maximum search results, the culture, etc.
Type: System..::..String
This is the name of the callback function that will be called to parse the JSON response.
Type: System..::..Guid
A Guid token that is used to identify the application that is going to make the search call.

Return Value

A URL which can be used in the browser to make AJAX calls to HealthVault vocabulary search.

1. This is a fast access mechanism to publicly available vocabularies in HealthVault. 2. The service token is available at ClientServiceToken 3. Searches to restricted vocabularies that an application has access to will not succeed with this method. For those searches please use CreateVocabularySearchRequestJsonAuthenticatedUrl(VocabularySearchParameters, String, Int32)
© 2015 Microsoft