Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-18556

api query array of ids not working in contribution

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.4.19
    • Fix Version/s: 4.6.17, 4.7.8
    • Component/s: CiviCRM API
    • Labels:
      None
    • Documentation Required?:
      None
    • Funding Source:
      Core Team Funds

      Description

      api query array of ids not working in contribution support for querying only a single value, works fine in membership for multiple values
      example : contribution get

      /civicrm/ajax/rest?entity=Contribution&action=get&debug=1&sequential=1&json={"id":

      {"IN":["1","2","3"]}

      }

        Attachments

          Activity

            People

            • Assignee:
              monish.deb Monish Deb
              Reporter:
              jovett@walkerdaniels.com Josh Ovett
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: