QueryAPIOptions Object

Bing
 

Represents the options for querying a data source that is hosted in the Bing Spatial Data Services.

NameTypeDescription
queryUrlstringRequired. A query URL containing the access id, data source name and the entity type name.
filterstring or Filter or FilterGroupOptional. Specifies a conditional expression for a list of properties and values.
inlineCountbooleanOptional. Specifies whether or not to return a count of the results in the response. Default: false.
isStagingbooleanOptional. Specifies to query the staged version of the data source instead of the published version. Default: false.
orderBystring[]Optional. Specifies one or more properties to use to sort the results of a query. You can specify up to three (3) properties. Results are sorted in ascending order.

Note: You cannot use the latitude and longitude properties to sort results. You can use the elevation property.
selectstring[]Optional. Specifies the data source properties to return in the response. If the $select query option is not specified or if it is set to "" ($select=), all data source properties are returned. Default: "*,_distance"
skipnumberOptional. Specifies to not return a specified number of query results. For example, if this value is set to 50, then the first result that is returned is the 51st result. You can use the skip query option with the top query option to display a subset of the query results. For example, the following parameter combinations provide sets of 10 results at a time.

skip=0, top=10 - provides results 1 to 10
skip=10, top=10 - provides results 11 to 20

Default: 0
spatialFilterSpatialFilterOptionsOptional. Spatial filter options to apply.
topnumberOptional. Specifies the maximum number of results to return in the query response. Default: 25
Show: