src/net/locationDatumUrlHelperMixin.js
/**
	 * Generate a URL for the "reportable interval" for a location, optionally limited to a specific source ID.
	 *
     * If no source IDs are provided, then the reportable interval query will return an interval for
     * all available sources.
     *
	 * @param {number} [locationId] a specific location ID to use; if not provided the `locationId` property of this class will be used
	 * @param {string} [sourceId] a specific source ID to limit query to; 
     *                 if not provided the `sourceId` property of this class will be used;
     *                 if `null` the `sourceId` property of this class will be ignored
	 * @returns {string} the URL
	 */
Generate a URL for the "reportable interval" for a location, optionally limited to a specific source ID.
If no source IDs are provided, then the reportable interval query will return an interval for
all available sources.


Generate a URL for the " reportable interval " for a location optionally limited to a specific source ID . If no source IDs are provided then the reportable interval query will return an interval for all available sources .
reportableIntervalUrl(locationId, sourceId) {
        let url = this.baseUrl() +'/location/datum/interval?locationId=' 
            +(locationId || this.locationId);
        let source = (sourceId || this.sourceId);
		if ( sourceId !== null && source ) {
			url += '&sourceId=' + encodeURIComponent(source);
		}
		return url;
	}
reportableIntervalUrl ( locationId , sourceId ) { let url = this . baseUrl ( ) + '/location/datum/interval?locationId=' + ( locationId || this . locationId ) ; let source = ( sourceId || this . sourceId ) ; if ( sourceId !== null && source ) { url += '&sourceId=' + encodeURIComponent ( source ) ; } return url ; }
Generate a URL for the "reportable interval" for a location, optionally limited to a specific source ID.
Generate a URL for the " reportable interval " for a location optionally limited to a specific source ID .