Returns information about recipients who completed the survey sorted by date of completion in descendent order (most recent first). Several filters may be applied to get specific recipient data. The results are paginated in order to provide a fast response. You can request any page and also set the number of rows per page (with a maximum of 100 rows per page) Only 1000 request per day are permitted for this method.
Required |
Name |
Value |
Description |
No |
page |
number |
The number of the page to be returned.
Example:
https://www.relationwise.com/rls/restapi4/recipient/list?page=2
|
No |
page-rows |
number |
The number of rows per page. The maximum is 100 rows per page.
Example:
https://www.relationwise.com/rls/restapi4/recipient/list?page-rows=25
|
No |
version-uid |
free text |
Returns recipients filtered by version.
Example:
https://www.relationwise.com/rls/restapi4/recipient/list?version-uid=UK
|
No |
score |
free text |
Returns recipients filtered by score(s). Value can be a single number (e.g. score=7), a range (e.g. score:0-6) or sequence of numbers (e.g. score=3,5,8).
Example:
https://www.relationwise.com/rls/restapi4/recipient/list?score=10
https://www.relationwise.com/rls/restapi4/recipient/list?score=0-6
https://www.relationwise.com/rls/restapi4/recipient/list?score=0,3,5
|
No |
received-from |
dd-MM-yyyy |
Returns recipients filtered by distribution date (if survey was sent since the provided date).
Example:
https://www.relationwise.com/rls/restapi4/recipient/list?received-from=14-01-2016
|
No |
received-to |
dd-MM-yyyy |
Returns recipients filtered by distribution date (if survey was sent until the provided date).
Example:
https://www.relationwise.com/rls/restapi4/recipient/list?received-to=25-05-2016
|
No |
completed-from |
dd-MM-yyyy |
Returns recipients filtered by date of complete (if survey was completed since the provided date).
Example:
https://www.relationwise.com/rls/restapi4/recipient/list?completed-from=14-01-2016
|
No |
completed-to |
dd-MM-yyyy |
Returns recipients filtered by date of complete (if survey was completed until the provided date).
Example:
https://www.relationwise.com/rls/restapi4/recipient/list?completed-to=25-05-2016
|
No |
identifier |
free text |
Returns recipients filtered by identifier. Email, phone number or global identifier can be provided (search coincidences).
Example:
https://www.relationwise.com/rls/restapi4/recipient/list?identifier=admin@company.com
https://www.relationwise.com/rls/restapi4/recipient/list?identifier=4588970076
|
No |
name |
free text |
Returns recipients filtered by name (search coincidences).
Example:
https://www.relationwise.com/rls/restapi4/recipient/list?name=John
|
No |
subscribed |
yes/no |
Returns recipients based on their subscription status.
Example:
https://www.relationwise.com/rls/restapi4/recipient/list?subscribed=yes
|
No |
created-from |
dd-MM-yyyy |
Returns recipients filtered by creation date (created since the provided date).
Example:
https://www.relationwise.com/rls/restapi4/recipient/list?created-from=14-01-2016
|
No |
created-to |
dd-MM-yyyy |
Returns recipients filtered by creation date (created until the provided date).
Example:
https://www.relationwise.com/rls/restapi4/recipient/list?created-to=25-05-2016
|
No |
variable-name |
free text |
Returns recipients that have a value for the provided variable.
Example:
https://www.relationwise.com/rls/restapi4/recipient/list?variable-name=country
|
No |
variable-value |
free text |
Returns all recipients that have the provided value for the variable name provided in the parameter variable-name. If variable-name parameter is not provided the request is invalid.
Example:
https://www.relationwise.com/rls/restapi4/recipient/list?variable-name=country&variable-value=Denmark
|
No |
variable-uid |
free text |
Returns all recipients that have the provided uid for the variable name provided in the parameter variable-name. If variable-name parameter is not provided the request is invalid.
Example:
https://www.relationwise.com/rls/restapi4/recipient/list?variable-name=country&variable-uid=DK
|
No |
user-actions |
yes/no |
If "yes" includes information related to user actions.
Example:
https://www.relationwise.com/rls/restapi4/recipient/list?user-actions=yes
|
No |
categorization |
yes/no |
If "yes" includes information related to categorization.
Example:
https://www.relationwise.com/rls/restapi4/recipient/list?categorization=yes
|
An example is unavailable. You need at least one completed survey in your account.
HTTP
status
code |
Internal
message
code |
Message |
400 |
2001 |
In the request the header "KEY" is missing or invalid. |
400 |
2002 |
In the request the header "KEY" doesn't belong to an active customer, your license could be expired. |
400 |
2003 |
"PAGE" parameter value is invalid. |
400 |
2004 |
"PAGE-ROWS" parameter value is invalid. |
400 |
2005 |
"PAGE-ROWS" exceeds the maximum of {0}. |
400 |
2006 |
"VERSION-UID" parameter value was not found. |
400 |
2007 |
"SCORE" parameter value is invalid. |
400 |
2008 |
"RECEIVED-FROM" parameter value is invalid. Format should be dd-mm-yyyy. |
400 |
2009 |
"RECEIVED-TO" parameter value is invalid. Format should be dd-mm-yyyy. |
400 |
2010 |
"COMPLETED-FROM" parameter value is invalid. Format should be dd-mm-yyyy. |
400 |
2011 |
"COMPLETED-TO" parameter value is invalid. Format should be dd-mm-yyyy. |
400 |
2012 |
"CREATED-FROM" parameter value is invalid. Format should be dd-mm-yyyy. |
400 |
2013 |
"CREATED-TO" parameter value is invalid. Format should be dd-mm-yyyy. |
400 |
2014 |
"SUBSCRIBED" parameter value is invalid. |
400 |
2015 |
"VARIABLE-NAME" parameter value was not found. |
400 |
2016 |
"VARIABLE-VALUE" parameter has been provided but VARIABLE-NAME parameter is missing or empty. |
400 |
2017 |
"VARIABLE-UID" parameter has been provided but VARIABLE-NAME parameter is missing or empty. |
400 |
2018 |
"USER-ACTIONS" parameter value is invalid. |
400 |
2019 |
"CATEGORIZATION" parameter value is invalid. |
200 |
2020 |
A JSON object containing the queried data. Internally our system will log the message "The request was successful." |