Yea I’m running out of ideas myself. Just to see, I replicated the same call using R:
It resulted in getting all records (397). You can see in the lines above I only added the 2 headers and the basic authentication. That’s the same simple thing I did in Postman and Knime. Still for some reason, Knime won’t pull back all the records. I suppose I could put this in an R Snippet and parse out the json. But the whole reason I’m trying to use Knime is to get away from coding everything. I’m new to Knime, but love it and am trying to convince those above me at work that we could use it as a viable tool. However, not being able to make a simple REST call is not helping my case.
In any event, here is the returned object from R in case you see anything I’m missing. I’m pretty much out of ideas after this:
$ url : chr "(hiding this since it's related to my job)"|
$ status_code: int 200
$ headers :List of 20
..$ server : chr "snow_adc"
..$ date : chr "Wed, 13 Apr 2022 19:30:18 GMT"
..$ content-type : chr "application/json;charset=UTF-8"
..$ transfer-encoding : chr "chunked"
..$ connection : chr "keep-alive"
..$ set-cookie : chr "BIGipServerpool_(hiding this since it's related to my job); httponly; secure; path=/; SameSite=None"
..$ set-cookie : chr "JSESSIONID=EE31E6744CD721D10A10D4A40647C7BA; Path=/; HttpOnly; secure; SameSite=None"
..$ server-timing : chr "sem_wait;dur=0, sesh_wait;dur=0"
..$ content-encoding : chr "gzip"
..$ set-cookie : chr "glide_user=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; secure; SameSite=None"
..$ set-cookie : chr "glide_user_session=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; secure; SameSite=None"
..$ set-cookie : chr "glide_user_route=glide.d9df430433a4d35cf67ed960e230ab00; Max-Age=2147483647; Expires=Mon, 01-May-2090 22:44:25 "| __truncated__
..$ x-is-logged-in : chr "true"
..$ x-transaction-id : chr "b8022d5287ba"
..$ set-cookie : chr "glide_session_store=74022D5287BA8D501E3B326E0EBB353E; Max-Age=1800; Expires=Wed, 13-Apr-2022 20:00:18 GMT; Path"| __truncated__
..$ x-total-count : chr "397"
..$ pragma : chr "no-store,no-cache"
..$ cache-control : chr "no-cache,no-store,must-revalidate,max-age=-1"
..$ expires : chr "0"
..$ strict-transport-security: chr "max-age=63072000; includeSubDomains"
..- attr(*, "class")= chr [1:2] "insensitive" "list"
$ all_headers:List of 1
..$ :List of 3
.. ..$ status : int 200
.. ..$ version: chr "HTTP/1.1"
.. ..$ headers:List of 20
.. .. ..$ server : chr "snow_adc"
.. .. ..$ date : chr "Wed, 13 Apr 2022 19:30:18 GMT"
.. .. ..$ content-type : chr "application/json;charset=UTF-8"
.. .. ..$ transfer-encoding : chr "chunked"
.. .. ..$ connection : chr "keep-alive"
.. .. ..$ set-cookie : chr "BIGipServerpool_(hiding this since it's related to my job)=9acd2069d914487e27f5c0b3dda36f84; httponly; secure; path=/; SameSite=None"
.. .. ..$ set-cookie : chr "JSESSIONID=EE31E6744CD721D10A10D4A40647C7BA; Path=/; HttpOnly; secure; SameSite=None"
.. .. ..$ server-timing : chr "sem_wait;dur=0, sesh_wait;dur=0"
.. .. ..$ content-encoding : chr "gzip"
.. .. ..$ set-cookie : chr "glide_user=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; secure; SameSite=None"
.. .. ..$ set-cookie : chr "glide_user_session=; Max-Age=0; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; HttpOnly; secure; SameSite=None"
.. .. ..$ set-cookie : chr "glide_user_route=glide.d9df430433a4d35cf67ed960e230ab00; Max-Age=2147483647; Expires=Mon, 01-May-2090 22:44:25 "| __truncated__
.. .. ..$ x-is-logged-in : chr "true"
.. .. ..$ x-transaction-id : chr "b8022d5287ba"
.. .. ..$ set-cookie : chr "glide_session_store=74022D5287BA8D501E3B326E0EBB353E; Max-Age=1800; Expires=Wed, 13-Apr-2022 20:00:18 GMT; Path"| __truncated__
.. .. ..$ x-total-count : chr "397"
.. .. ..$ pragma : chr "no-store,no-cache"
.. .. ..$ cache-control : chr "no-cache,no-store,must-revalidate,max-age=-1"
.. .. ..$ expires : chr "0"
.. .. ..$ strict-transport-security: chr "max-age=63072000; includeSubDomains"
.. .. ..- attr(*, "class")= chr [1:2] "insensitive" "list"
$ cookies :'data.frame': 5 obs. of 7 variables:
..$ domain : chr [1:5] "#(hiding this since it's related to my job).service-now.com" "#(hiding this since it's related to my job).service-now.com" "#(hiding this since it's related to my job).service-now.com" "#(hiding this since it's related to my job).service-now.com" ...
..$ flag : logi [1:5] FALSE FALSE FALSE FALSE FALSE
..$ path : chr [1:5] "/" "/" "/" "/" ...
..$ secure : logi [1:5] TRUE TRUE TRUE TRUE TRUE
..$ expiration: POSIXct[1:5], format: NA NA "2090-05-01 17:44:25" NA ...
..$ name : chr [1:5] "(hiding this since it's related to my job)" "JSESSIONID" "glide_user_route" "glide_user_activity" ...
..$ value : chr [1:5] "9acd2069d914487e27f5c0b3dda36f84" "EE31E6744CD721D10A10D4A40647C7BA" "glide.d9df430433a4d35cf67ed960e230ab00" "U0N2M18xOkhLMVZJaTROODI0QndxaGI2ekZzenQ3Z1NHVUtqMHo1S2ZCQWtuMFlDZU09OlJCTnp1UUdxUS9xQXJIOHo0MTdxS05VWXpJK0xibnp"| __truncated__ ...
$ content : raw [1:265365] 7b 22 72 65 ...
$ date : POSIXct[1:1], format: "2022-04-13 19:30:18"
$ times : Named num [1:6] 0 0.0295 0.1258 0.3404 0.8651 ...
..- attr(*, "names")= chr [1:6] "redirect" "namelookup" "connect" "pretransfer" ...
$ request :List of 7
..$ method : chr "GET"
..$ url : chr "(hiding this since it's related to my job)"| __truncated__
..$ headers : Named chr [1:2] "application/json" "application/json"
.. ..- attr(*, "names")= chr [1:2] "Content-Type" "Accept"
..$ fields : NULL
..$ options :List of 4
.. ..$ useragent: chr "libcurl/7.77.0 r-curl/4.3.2 httr/1.4.2"
.. ..$ httpauth : num 1
.. ..$ userpwd : chr "hiding this since it's due to my job"
.. ..$ httpget : logi TRUE
..$ auth_token: NULL
..$ output : list()
.. ..- attr(*, "class")= chr [1:2] "write_memory" "write_function"
..- attr(*, "class")= chr "request"
$ handle :Class 'curl_handle' <externalptr>
- attr(*, "class")= chr "response"