Beispiel #1
0
        public string assembleQueryUrl(Dictionary <string, string> uriVariables, QueryParams queryParams)
        {
            string entityType = uriVariables[RestUriVariablesFactory.ENTITY_TYPE];

            string where = uriVariables[RestUriVariablesFactory.WHERE];
            string fields      = uriVariables[RestUriVariablesFactory.FIELDS];
            string bhRestToken = uriVariables[RestUriVariablesFactory.BH_REST_TOKEN];

            return($"{restUrl}query/{entityType}?where={where}&fields={fields}&BhRestToken={bhRestToken}" + queryParams.getUrlString());
        }