EMUN1 ASP.NET

<back to all web services

QueryMediaTagTotals

The following routes are available for this service:
All Verbs/service/QueryMediaTags
All Verbs/service/QueryMediaTags/{TagKind}
All Verbs/service/QueryMediaTagTotals
All Verbs/service/QueryMediaTagTotals/{TagKind}
QueryMediaTagTotals Parameters:
NameParameterData TypeRequiredDescription
TagKindpathstringNo
DoNotGroupqueryboolNo
BaseQueryDb<From, T> Parameters:
NameParameterData TypeRequiredDescription
SearchformstringNo
TagCriteriaformDictionary<string, HashSet<String>>No
ContextformstringNo
EuidformGuid?No
Idformint?No
Activeformbool?No
QueryBase Parameters:
NameParameterData TypeRequiredDescription
Skipformint?No
Takeformint?No
OrderByformstringNo
OrderByDescformstringNo
IncludeformstringNo
FieldsformstringNo
MetaformDictionary<string, string>No
Media Parameters:
NameParameterData TypeRequiredDescription
PredecessorIdformint?No
ReplacePredecessorformboolNo
ContentTypeformstringNo
PredecessorformMediaNo
RealmformstringNo
HeightformdoubleNo
WidthformdoubleNo
AreaformdoubleNo
ContentLengthformdoubleNo
ClientIdformstringNo
UrlformstringNo
OriginalUrlformstringNo
ImagesformDictionary<string, string>No
KeyformstringNo
TaggedEntity Parameters:
NameParameterData TypeRequiredDescription
TagsformDictionary<string, HashSet<String>>No
EntityXL Parameters:
NameParameterData TypeRequiredDescription
RefIdformstringNo
RatingformdoubleNo
RestrictedformboolNo
EntityLG Parameters:
NameParameterData TypeRequiredDescription
DescriptionformstringNo
EntityMD Parameters:
NameParameterData TypeRequiredDescription
LabelformstringNo
NameformstringNo
TitleformstringNo
ActiveformboolNo
EntitySM Parameters:
NameParameterData TypeRequiredDescription
EuidformGuidNo
EntityXS Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
EntityXS<T> Parameters:
NameParameterData TypeRequiredDescription
IdformTNo
CreatedByformstringNo
CreatedOnformDateTimeNo
LastModifiedOnformDateTimeNo
LastModifiedByformstringNo
PositionformintNo
Result Parameters:
NameParameterData TypeRequiredDescription
StatusformstringNo
ReasonformstringNo
InputIdformstringNo
InputIndexformintNo
CityStatesformCityEntry[]No
ZipCodesformZipCodeEntry[]No
CityEntry Parameters:
NameParameterData TypeRequiredDescription
CityformstringNo
MailableCityformboolNo
StateAbbreviationformstringNo
StateformstringNo
ZipCodeEntry Parameters:
NameParameterData TypeRequiredDescription
ZipCodeformstringNo
ZipCodeTypeformstringNo
DefaultCityformstringNo
CountyFipsformstringNo
CountyNameformstringNo
StateAbbreviationformstringNo
StateformstringNo
LatitudeformdoubleNo
LongitudeformdoubleNo
PrecisionformstringNo
AlternateCountiesformAlternateCounty[]No
AlternateCounty Parameters:
NameParameterData TypeRequiredDescription
CountyFipsformstringNo
CountyNameformstringNo
StateAbbreviationformstringNo
StateformstringNo
QueryResponse<T> Parameters:
NameParameterData TypeRequiredDescription
OffsetformintNo
TotalformintNo
ResultsformList<T>No
MetaformDictionary<string, string>No
ResponseStatusformResponseStatusNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /service/QueryMediaTags HTTP/1.1 
Host: www.bernhardthospitality.com 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	tagKind: String,
	doNotGroup: False,
	search: String,
	tagCriteria: 
	{
		String: 
		[
			String
		]
	},
	context: String,
	euid: 00000000-0000-0000-0000-000000000000,
	id: 0,
	active: False,
	skip: 0,
	take: 0,
	orderBy: String,
	orderByDesc: String,
	include: String,
	fields: String,
	meta: 
	{
		String: String
	}
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	offset: 0,
	total: 0,
	results: 
	[
		{
			id: 0,
			tagLabel: String,
			position: 0,
			imageUrl: String,
			tags: 
			{
				String: 
				[
					String
				]
			}
		}
	],
	meta: 
	{
		String: String
	},
	responseStatus: 
	{
		errorCode: String,
		message: String,
		stackTrace: String,
		errors: 
		[
			{
				errorCode: String,
				fieldName: String,
				message: String,
				meta: 
				{
					String: String
				}
			}
		],
		meta: 
		{
			String: String
		}
	}
}