Summary

Research For Good Client API Specification

This document specifies an API that will allow Research For Good's clients to:


Description

The RFG Client API provides programmatic control to a client to publish and manage their surveys. RFG panelists who qualify for active surveys published via this API will be appropriately routed.

Error Codes

Code Message
1 The project with the received pid already exists.
2 The project with the received rfg_id does not exist.
3 Missing parameter
4 Invalid parameter data type
5 Invalid parameter value
6 Invalid project state

Survey Category Codes

  1. Alcohol and tobacco

  2. Music

  3. Sports

  4. Pets

  5. Smartphone owners

  6. Clothing

  7. B2B

  8. Travel

  9. Video Games

  10. Advertisements

  11. Auto

  12. Movies and cinema

  13. Restaurants

  14. Relationships

  15. Ailments

  16. Health

  17. Technology

  18. Parents

  19. Homeowners

  20. Food

  21. Drinks

  22. General

  23. Beauty Products

  24. Services

  25. Groceries

  26. Education

  27. Hobbies/Crafts