Skip to main content
Solved

API GET function only returning one Record in JSON response body

  • January 12, 2015
  • 5 replies
  • 52 views

Forum|alt.badge.img+3

XML seems to return data from my report just fine, but JSON (which I'd prefer) does not. I'm trying to consume data from this report in a 3rd party SaaS application and this is proving troublesome. This behavior is consistent across the board in JAMF, my consuming application (ServiceNow) and Postman chrome plugin.

Disclaimer: I'm not a JAMF admin, so I'm not sure what data might be relevant to post here.

external image link

Best answer by admin13

@mglenn

If it doesn't, please let us know either here or by getting in touch with your Technical Account Manager. You can do that by giving Support a call, sending an e-mail to support@jamfsoftware.com (it gets routed directly to their case queue), or by using the My Support section of JAMF Nation.

Thanks!
Amanda Wulff
JAMF Software Support

5 replies

Forum|alt.badge.img+4
  • New Contributor
  • February 27, 2015

So you're saying that the "/computers" API isn't returning JSON data? If so, i'm having the same problem. What version of JSS are you running? I'm on 9.52.

Thx,

Adam


Forum|alt.badge.img+17
  • Contributor
  • February 27, 2015

@mglenn @arschebl

We had an issue (D-008354) in versions of the JSS prior to 9.65 that caused the output from XML to differ from the JSON output; in those cases, we’d see essentially what’s shown in the screenshots here: JSON output would return partial data, whereas XML would return a full set of data, as expected.

This issue was fixed as of 9.64.

Thanks!
Amanda Wulff
JAMF Software Support


Forum|alt.badge.img+3
  • Author
  • New Contributor
  • February 27, 2015

We're currently running 9.62. Our admin is going to request an upgrade to 9.65. Hopefully that fixes the issue


Forum|alt.badge.img+17
  • Contributor
  • Answer
  • February 27, 2015

@mglenn

If it doesn't, please let us know either here or by getting in touch with your Technical Account Manager. You can do that by giving Support a call, sending an e-mail to support@jamfsoftware.com (it gets routed directly to their case queue), or by using the My Support section of JAMF Nation.

Thanks!
Amanda Wulff
JAMF Software Support


Forum|alt.badge.img+3
  • Author
  • New Contributor
  • March 6, 2015

Upgrade to 9.65 resolved this for me. Thank you very much