View Issue Details

IDProjectCategoryView StatusLast Update
08597Feature requestsRemoteControlpublic2019-12-11 07:48
ReporterSpydre13 Assigned To 
PrioritynormalSeverityfeature 
Status newResolutionopen 
Summary08597: Delete participant using token instead of token/participant ID
Description

I would like to add and remove participants using the Remote Control 2 API. However, in our application we would like to delete the participant and we only have the token, not the token ID. It doesn't look like there is currently an API call to delete the token without the token ID, and I don't see an API call to get the token ID (get_participant_properties requires the token ID).

My first two ideas were to:
1) Add a get_participant_id or get_token_id that accepts the survey ID and token
2) Modify delete_participants to accept token ID or token

Option 2 would probably be more trouble because I'm assuming it would need to remain compatible with people's current implementations. I could attempt to write one of these solutions if someone can let me know which way would be better, or if there is another option that is better yet.

TagsNo tags attached.

Activities

nakojk

nakojk

2019-12-10 11:31

reporter   ~54987

Push. I'd also like to have this little feature.

The necessary workarounds take way more lines of code than implementing this feature in the RC would.

DenisChenu

DenisChenu

2019-12-11 07:48

developer   ~54999

Most easy way : https://extensions.sondages.pro/development-and-example/extend-remotecontrol-api/documentation.html

Issue History

Date Modified Username Field Change
2014-01-25 07:12 Spydre13 New Issue
2019-12-10 11:31 nakojk Note Added: 54987
2019-12-11 07:48 DenisChenu Note Added: 54999