CRM-9884 Survey voters API (Respondents yet to record survey response)

    Details

    • Type: Improvement
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 4.2.0
    • Fix Version/s: 4.4.0
    • Component/s: None
    • Labels:
      None

      Description

      Survey voters API (Respondents yet to record survey response) - To display the voters of a survey in CiviMobile module

        Attachments

          Activity

          [CRM-9884] Survey voters API (Respondents yet to record survey response)
          Kurund Jalmi added a comment -

          Xavier,

          Can you please review this api

          xavier dutoit added a comment -

          Agree, it was wrongly named for the respondant_get if it deals only with with signatures.

          Ok, let's see what the API Respondant need to deal with

          • reserved respondants
          • respondants
          • signatures (validated or not confirmed)

          IMO signatures & respondants are the same (one is online the other offline, but they both belong to a survey)

          What's the difference between reserved respondants & respondants? Is this only a status difference (like for the signatures?)

          Anyway, I'd see one single api.respondant.get (

          { survey_id (list) or id (single) and status_id }

          )

          if the code different and more complex than status_id add a type = ['signature','reserved', 'responded']

          I don't have the time to look now at the detail of respondant vs. reserved implementation. Ping me later on IRC if blocked.

          xavier dutoit added a comment -

          I wanted to assign to rajesh but don't find it on the list. Do you know why?

          Sorry, on that one, don't have a quick answer on how to fix. will try to find later today but don't know the respondant BAO enough

          Kurund Jalmi added a comment -

          Discussed with Eileen on this and she pointed that we can use activity api's for this purpose. I will update the issue once we implement it in mobile.

            People

            • Assignee:
              Kurund Jalmi
              Reporter:
              Rajesh Kumar

              Dates

              • Created:
                Updated:
                Resolved: