{"action":"created","comment":{"url":"https://api.github.com/repos/ScoringLine/API-Saas/pulls/comments/92139376","pull_request_review_id":12646154,"id":92139376,"diff_hunk":"@@ -48,37 +54,94 @@ POST https://api.scoringline.com/api-saas/v1/customer/questionnaires/foobar/resp\n \n Avec les paramètres, ci-dessous.\n \n-Clé                        | valeur                              | description\n----------------------------|-------------------------------------|---------------------------------\n-filters[status]            | accepted                            | Par statut des répondants\n-filters[customStatus]      | (integer-string-integer[]-string[]) | Passer les identifiants des statuts personnalisés\n-filters[createdfrom]       | (integer) 1451602800                | Nouvelles candidatures depuis \n-filters[lastUpdatedFrom]   | (integer) 1466066108                | Candidatures mises à jour depuis\n+Clé                        | Valeur       \n+---------------------------|--------------\n+filters[status]            | `accepted`   \n+filters[createdfrom]       | `1451602800` \n+filters[lastUpdatedFrom]   | `1466066108` \n+\n \n Le script retournera un code `200` et l'ensemble des candidats ayant particpé au questionnaire à partir du 01/01/2016 00:00:00 et ayant été acceptés.\n \n-Voici les données retournées\n-\n-data             | description\n------------------|------------------\n-id               | Id du répondant \n-score_auto       | Scoring automatique\n-score_total      | Note total\n-phone_number     | Numéro de téléphone du répondant\n-main_comment     | Commentaire principal du répondant\n-email            | Email du répondant \n-first_name       | Prénom du répondant \n-last_name        | Nom du répondant \n-candidate_link   | Lien vers la fiche du répondant (utilisateur connecté sur Scoringline) \n-synthesis_link   | Lien vers la synthèse PDF du répondant (utilisateur connecté sur Scoringline) \n-comments         | Tableau de commentaires concernant le répondant (voir tableau ci-dessous)\n-custom_status    | Objet représentant le statut personnalisé attribué au répondant\n-\n-comments  | description\n-----------|------------------\n-author    | Prénom et Nom de l'auteur du commentaire\n-author_id | Id de l'auteur du commentaire\n-comment   | Commentaire\n+Voici les données retournées:\n+```json\n+[\n+  {\n+    \"score_total_percentage\": null,\n+    \"id\": 8865,\n+    \"score_auto\": 37,\n+    \"score_total\": null,\n+    \"main_comment\": \"Excellent candidat\",\n+    \"phone_number\": \"+33666666666\",\n+    \"email\": \"e.bachman@aviato.com\",\n+    \"first_name\": \"Erlich\",\n+    \"last_name\": \"Bachman\",\n+    \"candidate_link\": \"https://fr.scoringline.com/admin/{yourCompanySlug}/questionnaire/foobar/repondant/8865/show\",\n+    \"custom_status\": null,\n+    \"synthesis_link\": \"https://fr.scoringline.com/admin/{yourCompanySlug}/questionnaire/foobar/repondant/8865/generate/synthesis.pdf\",\n+    \"comments\": null\n+  },\n+  {\n+    \"score_total_percentage\": 75,\n+    \"id\": 8903,\n+    \"score_auto\": 20,\n+    \"score_total\": 150.8,\n+    \"main_comment\": null,\n+    \"phone_number\": \"+33666666666\",\n+    \"email\": \"r.hendricks@piedpiper.com\",\n+    \"first_name\": \"Richard\",\n+    \"last_name\": \"Hendricks\",\n+    \"candidate_link\": \"https://fr.scoringline.com/admin/{yourCompanySlug}/questionnaire/foobar/repondant/8903/show\",\n+    \"custom_status\": null,\n+    \"synthesis_link\": \"https://fr.scoringline.com/admin/{yourCompanySlug}/questionnaire/foobar/repondant/8903/generate/synthesis.pdf\",","path":"docs/V1/Customer/get_respondents.md","position":101,"original_position":101,"commit_id":"6c036a137071c28a8fc085c8a9d0cc345753fe20","original_commit_id":"6c036a137071c28a8fc085c8a9d0cc345753fe20","user":{"login":"mega-n3ss","id":8612349,"avatar_url":"https://avatars.githubusercontent.com/u/8612349?v=3","gravatar_id":"","url":"https://api.github.com/users/mega-n3ss","html_url":"https://github.com/mega-n3ss","followers_url":"https://api.github.com/users/mega-n3ss/followers","following_url":"https://api.github.com/users/mega-n3ss/following{/other_user}","gists_url":"https://api.github.com/users/mega-n3ss/gists{/gist_id}","starred_url":"https://api.github.com/users/mega-n3ss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mega-n3ss/subscriptions","organizations_url":"https://api.github.com/users/mega-n3ss/orgs","repos_url":"https://api.github.com/users/mega-n3ss/repos","events_url":"https://api.github.com/users/mega-n3ss/events{/privacy}","received_events_url":"https://api.github.com/users/mega-n3ss/received_events","type":"User","site_admin":false},"body":"Same but only if accepted","created_at":"2016-12-13T10:31:11Z","updated_at":"2016-12-13T10:31:11Z","html_url":"https://github.com/ScoringLine/API-Saas/pull/22#discussion_r92139376","pull_request_url":"https://api.github.com/repos/ScoringLine/API-Saas/pulls/22","_links":{"self":{"href":"https://api.github.com/repos/ScoringLine/API-Saas/pulls/comments/92139376"},"html":{"href":"https://github.com/ScoringLine/API-Saas/pull/22#discussion_r92139376"},"pull_request":{"href":"https://api.github.com/repos/ScoringLine/API-Saas/pulls/22"}}},"pull_request":{"url":"https://api.github.com/repos/ScoringLine/API-Saas/pulls/22","id":97556996,"html_url":"https://github.com/ScoringLine/API-Saas/pull/22","diff_url":"https://github.com/ScoringLine/API-Saas/pull/22.diff","patch_url":"https://github.com/ScoringLine/API-Saas/pull/22.patch","issue_url":"https://api.github.com/repos/ScoringLine/API-Saas/issues/22","number":22,"state":"open","locked":false,"title":"Update doc on the limit param","user":{"login":"tontonjulien","id":1486417,"avatar_url":"https://avatars.githubusercontent.com/u/1486417?v=3","gravatar_id":"","url":"https://api.github.com/users/tontonjulien","html_url":"https://github.com/tontonjulien","followers_url":"https://api.github.com/users/tontonjulien/followers","following_url":"https://api.github.com/users/tontonjulien/following{/other_user}","gists_url":"https://api.github.com/users/tontonjulien/gists{/gist_id}","starred_url":"https://api.github.com/users/tontonjulien/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tontonjulien/subscriptions","organizations_url":"https://api.github.com/users/tontonjulien/orgs","repos_url":"https://api.github.com/users/tontonjulien/repos","events_url":"https://api.github.com/users/tontonjulien/events{/privacy}","received_events_url":"https://api.github.com/users/tontonjulien/received_events","type":"User","site_admin":false},"body":"I've also added an example of the response","created_at":"2016-12-12T13:56:46Z","updated_at":"2016-12-13T10:34:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8f04614f51ccb9b76d885626753337370f6b5289","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/ScoringLine/API-Saas/pulls/22/commits","review_comments_url":"https://api.github.com/repos/ScoringLine/API-Saas/pulls/22/comments","review_comment_url":"https://api.github.com/repos/ScoringLine/API-Saas/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ScoringLine/API-Saas/issues/22/comments","statuses_url":"https://api.github.com/repos/ScoringLine/API-Saas/statuses/6c036a137071c28a8fc085c8a9d0cc345753fe20","head":{"label":"ScoringLine:update-doc-on-limit-param","ref":"update-doc-on-limit-param","sha":"6c036a137071c28a8fc085c8a9d0cc345753fe20","user":{"login":"ScoringLine","id":10846885,"avatar_url":"https://avatars.githubusercontent.com/u/10846885?v=3","gravatar_id":"","url":"https://api.github.com/users/ScoringLine","html_url":"https://github.com/ScoringLine","followers_url":"https://api.github.com/users/ScoringLine/followers","following_url":"https://api.github.com/users/ScoringLine/following{/other_user}","gists_url":"https://api.github.com/users/ScoringLine/gists{/gist_id}","starred_url":"https://api.github.com/users/ScoringLine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ScoringLine/subscriptions","organizations_url":"https://api.github.com/users/ScoringLine/orgs","repos_url":"https://api.github.com/users/ScoringLine/repos","events_url":"https://api.github.com/users/ScoringLine/events{/privacy}","received_events_url":"https://api.github.com/users/ScoringLine/received_events","type":"Organization","site_admin":false},"repo":{"id":31011375,"name":"API-Saas","full_name":"ScoringLine/API-Saas","owner":{"login":"ScoringLine","id":10846885,"avatar_url":"https://avatars.githubusercontent.com/u/10846885?v=3","gravatar_id":"","url":"https://api.github.com/users/ScoringLine","html_url":"https://github.com/ScoringLine","followers_url":"https://api.github.com/users/ScoringLine/followers","following_url":"https://api.github.com/users/ScoringLine/following{/other_user}","gists_url":"https://api.github.com/users/ScoringLine/gists{/gist_id}","starred_url":"https://api.github.com/users/ScoringLine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ScoringLine/subscriptions","organizations_url":"https://api.github.com/users/ScoringLine/orgs","repos_url":"https://api.github.com/users/ScoringLine/repos","events_url":"https://api.github.com/users/ScoringLine/events{/privacy}","received_events_url":"https://api.github.com/users/ScoringLine/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ScoringLine/API-Saas","description":"Documentation officielle pour l'API Scoringline","fork":false,"url":"https://api.github.com/repos/ScoringLine/API-Saas","forks_url":"https://api.github.com/repos/ScoringLine/API-Saas/forks","keys_url":"https://api.github.com/repos/ScoringLine/API-Saas/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ScoringLine/API-Saas/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ScoringLine/API-Saas/teams","hooks_url":"https://api.github.com/repos/ScoringLine/API-Saas/hooks","issue_events_url":"https://api.github.com/repos/ScoringLine/API-Saas/issues/events{/number}","events_url":"https://api.github.com/repos/ScoringLine/API-Saas/events","assignees_url":"https://api.github.com/repos/ScoringLine/API-Saas/assignees{/user}","branches_url":"https://api.github.com/repos/ScoringLine/API-Saas/branches{/branch}","tags_url":"https://api.github.com/repos/ScoringLine/API-Saas/tags","blobs_url":"https://api.github.com/repos/ScoringLine/API-Saas/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ScoringLine/API-Saas/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ScoringLine/API-Saas/git/refs{/sha}","trees_url":"https://api.github.com/repos/ScoringLine/API-Saas/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ScoringLine/API-Saas/statuses/{sha}","languages_url":"https://api.github.com/repos/ScoringLine/API-Saas/languages","stargazers_url":"https://api.github.com/repos/ScoringLine/API-Saas/stargazers","contributors_url":"https://api.github.com/repos/ScoringLine/API-Saas/contributors","subscribers_url":"https://api.github.com/repos/ScoringLine/API-Saas/subscribers","subscription_url":"https://api.github.com/repos/ScoringLine/API-Saas/subscription","commits_url":"https://api.github.com/repos/ScoringLine/API-Saas/commits{/sha}","git_commits_url":"https://api.github.com/repos/ScoringLine/API-Saas/git/commits{/sha}","comments_url":"https://api.github.com/repos/ScoringLine/API-Saas/comments{/number}","issue_comment_url":"https://api.github.com/repos/ScoringLine/API-Saas/issues/comments{/number}","contents_url":"https://api.github.com/repos/ScoringLine/API-Saas/contents/{+path}","compare_url":"https://api.github.com/repos/ScoringLine/API-Saas/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ScoringLine/API-Saas/merges","archive_url":"https://api.github.com/repos/ScoringLine/API-Saas/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ScoringLine/API-Saas/downloads","issues_url":"https://api.github.com/repos/ScoringLine/API-Saas/issues{/number}","pulls_url":"https://api.github.com/repos/ScoringLine/API-Saas/pulls{/number}","milestones_url":"https://api.github.com/repos/ScoringLine/API-Saas/milestones{/number}","notifications_url":"https://api.github.com/repos/ScoringLine/API-Saas/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ScoringLine/API-Saas/labels{/name}","releases_url":"https://api.github.com/repos/ScoringLine/API-Saas/releases{/id}","deployments_url":"https://api.github.com/repos/ScoringLine/API-Saas/deployments","created_at":"2015-02-19T10:54:36Z","updated_at":"2016-10-25T07:14:18Z","pushed_at":"2016-12-13T08:58:37Z","git_url":"git://github.com/ScoringLine/API-Saas.git","ssh_url":"git@github.com:ScoringLine/API-Saas.git","clone_url":"https://github.com/ScoringLine/API-Saas.git","svn_url":"https://github.com/ScoringLine/API-Saas","homepage":"http://fr.scoringline.com","size":65,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"ScoringLine:master","ref":"master","sha":"7b92e372975f5ca265b8a4b3a9b256d3d32282f5","user":{"login":"ScoringLine","id":10846885,"avatar_url":"https://avatars.githubusercontent.com/u/10846885?v=3","gravatar_id":"","url":"https://api.github.com/users/ScoringLine","html_url":"https://github.com/ScoringLine","followers_url":"https://api.github.com/users/ScoringLine/followers","following_url":"https://api.github.com/users/ScoringLine/following{/other_user}","gists_url":"https://api.github.com/users/ScoringLine/gists{/gist_id}","starred_url":"https://api.github.com/users/ScoringLine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ScoringLine/subscriptions","organizations_url":"https://api.github.com/users/ScoringLine/orgs","repos_url":"https://api.github.com/users/ScoringLine/repos","events_url":"https://api.github.com/users/ScoringLine/events{/privacy}","received_events_url":"https://api.github.com/users/ScoringLine/received_events","type":"Organization","site_admin":false},"repo":{"id":31011375,"name":"API-Saas","full_name":"ScoringLine/API-Saas","owner":{"login":"ScoringLine","id":10846885,"avatar_url":"https://avatars.githubusercontent.com/u/10846885?v=3","gravatar_id":"","url":"https://api.github.com/users/ScoringLine","html_url":"https://github.com/ScoringLine","followers_url":"https://api.github.com/users/ScoringLine/followers","following_url":"https://api.github.com/users/ScoringLine/following{/other_user}","gists_url":"https://api.github.com/users/ScoringLine/gists{/gist_id}","starred_url":"https://api.github.com/users/ScoringLine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ScoringLine/subscriptions","organizations_url":"https://api.github.com/users/ScoringLine/orgs","repos_url":"https://api.github.com/users/ScoringLine/repos","events_url":"https://api.github.com/users/ScoringLine/events{/privacy}","received_events_url":"https://api.github.com/users/ScoringLine/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ScoringLine/API-Saas","description":"Documentation officielle pour l'API Scoringline","fork":false,"url":"https://api.github.com/repos/ScoringLine/API-Saas","forks_url":"https://api.github.com/repos/ScoringLine/API-Saas/forks","keys_url":"https://api.github.com/repos/ScoringLine/API-Saas/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ScoringLine/API-Saas/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ScoringLine/API-Saas/teams","hooks_url":"https://api.github.com/repos/ScoringLine/API-Saas/hooks","issue_events_url":"https://api.github.com/repos/ScoringLine/API-Saas/issues/events{/number}","events_url":"https://api.github.com/repos/ScoringLine/API-Saas/events","assignees_url":"https://api.github.com/repos/ScoringLine/API-Saas/assignees{/user}","branches_url":"https://api.github.com/repos/ScoringLine/API-Saas/branches{/branch}","tags_url":"https://api.github.com/repos/ScoringLine/API-Saas/tags","blobs_url":"https://api.github.com/repos/ScoringLine/API-Saas/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ScoringLine/API-Saas/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ScoringLine/API-Saas/git/refs{/sha}","trees_url":"https://api.github.com/repos/ScoringLine/API-Saas/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ScoringLine/API-Saas/statuses/{sha}","languages_url":"https://api.github.com/repos/ScoringLine/API-Saas/languages","stargazers_url":"https://api.github.com/repos/ScoringLine/API-Saas/stargazers","contributors_url":"https://api.github.com/repos/ScoringLine/API-Saas/contributors","subscribers_url":"https://api.github.com/repos/ScoringLine/API-Saas/subscribers","subscription_url":"https://api.github.com/repos/ScoringLine/API-Saas/subscription","commits_url":"https://api.github.com/repos/ScoringLine/API-Saas/commits{/sha}","git_commits_url":"https://api.github.com/repos/ScoringLine/API-Saas/git/commits{/sha}","comments_url":"https://api.github.com/repos/ScoringLine/API-Saas/comments{/number}","issue_comment_url":"https://api.github.com/repos/ScoringLine/API-Saas/issues/comments{/number}","contents_url":"https://api.github.com/repos/ScoringLine/API-Saas/contents/{+path}","compare_url":"https://api.github.com/repos/ScoringLine/API-Saas/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ScoringLine/API-Saas/merges","archive_url":"https://api.github.com/repos/ScoringLine/API-Saas/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ScoringLine/API-Saas/downloads","issues_url":"https://api.github.com/repos/ScoringLine/API-Saas/issues{/number}","pulls_url":"https://api.github.com/repos/ScoringLine/API-Saas/pulls{/number}","milestones_url":"https://api.github.com/repos/ScoringLine/API-Saas/milestones{/number}","notifications_url":"https://api.github.com/repos/ScoringLine/API-Saas/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ScoringLine/API-Saas/labels{/name}","releases_url":"https://api.github.com/repos/ScoringLine/API-Saas/releases{/id}","deployments_url":"https://api.github.com/repos/ScoringLine/API-Saas/deployments","created_at":"2015-02-19T10:54:36Z","updated_at":"2016-10-25T07:14:18Z","pushed_at":"2016-12-13T08:58:37Z","git_url":"git://github.com/ScoringLine/API-Saas.git","ssh_url":"git@github.com:ScoringLine/API-Saas.git","clone_url":"https://github.com/ScoringLine/API-Saas.git","svn_url":"https://github.com/ScoringLine/API-Saas","homepage":"http://fr.scoringline.com","size":65,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ScoringLine/API-Saas/pulls/22"},"html":{"href":"https://github.com/ScoringLine/API-Saas/pull/22"},"issue":{"href":"https://api.github.com/repos/ScoringLine/API-Saas/issues/22"},"comments":{"href":"https://api.github.com/repos/ScoringLine/API-Saas/issues/22/comments"},"review_comments":{"href":"https://api.github.com/repos/ScoringLine/API-Saas/pulls/22/comments"},"review_comment":{"href":"https://api.github.com/repos/ScoringLine/API-Saas/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ScoringLine/API-Saas/pulls/22/commits"},"statuses":{"href":"https://api.github.com/repos/ScoringLine/API-Saas/statuses/6c036a137071c28a8fc085c8a9d0cc345753fe20"}}}}
{"actor":{"display_login":"mega-n3ss"}}