Home Asset Management

Programatically limit information returned in API requests?

Dann_MichelsonDann_Michelson Customer IT Monkey ✭
edited August 2016 in Asset Management
I'm working on API calls - mostly GetProjectionByCriteria. I don't want to limit the number of results I get, but I was wondering if there was a way to limit the information each result returns. Say I have json that returns similar to this:
[

Real-world examples are much larger, and this can get pretty time-consuming to wait for. I really only need a few fields and child-fields. If I could limit my results, getting something like the example below, it would go much faster. In real world projections, sometimes I only need 5% of the data that is returned. Is there a way to request this limited result? (I've seen other APIs from other organizations that provide some sort of Result Data Limiter as a variable in their get/post requests that return datasets.)

[

(Let me know if I categorized this improperly.)

Best Answers

Answers

  • Dann_MichelsonDann_Michelson Customer IT Monkey ✭
    Thanks Nicholas. Would an example be helpful in the feature request? One API I've used recently that has this is Mailchimp's
  • Nicholas_VelichNicholas_Velich Cireson Consultant Ninja IT Monkey ✭✭✭✭
    As much info as possible in the feature request is always helpful. Examples are great in this regard.
Sign In or Register to comment.