CRM-14206 contribution_page_id missing in contribution api result

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 4.4.4
    • Fix Version/s: 4.6
    • Component/s: CiviCRM API
    • Labels:
      None

      Description

      The api does not return the contribution_page_id for a contribution.

      Appears to affect all releases of version 3 api.

      This can be seen via the api explorer
      http://drupal.demo.civicrm.org/civicrm/api/explorer#/civicrm/ajax/rest?entity=Contribution&action=get&debug=1&sequential=1&json=1

      Not sure why it would be omitted.

      It can be worked around by making a call with contribution_page_id as the explicit return value.

      Documenting here in cased any one else trips over this.
      Issue was first reported here:
      http://forum.civicrm.org/index.php?topic=25672.0

        Attachments

          Activity

          [CRM-14206] contribution_page_id missing in contribution api result
          Eileen McNaughton added a comment -

          I'm actually going to close this because we encourage people to pass in the return values they require & there is a move to return less by default rather than more

            People

            • Assignee:
              Eileen McNaughton
              Reporter:
              Dave Schafer

              Dates

              • Created:
                Updated:
                Resolved: