CambridgeEducation / qualtrics_api

Qualtrics REST API Ruby Wrapper (Api version 3)
MIT License
6 stars 8 forks source link

Change attributes mapping for PanelMember #15

Closed MatUrbanski closed 9 years ago

MatUrbanski commented 9 years ago

This PR is fixing bug that was caused by renaming paramteres for panel members creation in qualtrics.

Example parameters for panel members creation from qualtrics api:

[
  {
    "RecipientID": "MLRP_123456789012345", /* If included, the panelMember with this id will be updated. */
    "FirstName": "ExampleFirstName",
    "LastName": "ExampleLastName",
    "Email": "example@example.com",
    "Language": "SP",
    "Unsubscribed":1, /* Set to 1 to opt-out the panelMember */
    "ExternalReference":"Example",
    "EmbeddedData": {"ExampleField1":"example_field_val_1", "ExampleField2":"example_field_val_2"}
  }
]