{"metadata":{"image":[],"title":"","description":""},"api":{"url":"","auth":"required","settings":"","results":{"codes":[]},"params":[],"method":"get"},"next":{"description":"","pages":[]},"title":"Candidate Questionnaire","type":"basic","slug":"model-candidate-questionnaire","excerpt":"","body":"[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"{\\n  \\\"_id\\\": String,\\n  \\\"name\\\": String,\\n  \\\"questions\\\": [\\n    {\\n      \\\"text\\\": String,\\n      \\\"type\\\": {\\n        \\\"id\\\": String,\\n        \\\"name\\\": String\\n      },\\n      \\\"required\\\": Boolean,\\n      \\\"_id\\\": String,\\n      \\\"response\\\": String, //if type is a single answer question \\n      \\\"responses\\\": Object //if type is a multiple answer question\\n    }\\n  ],\\n  \\\"message_template\\\": {\\n    \\\"type\\\": String,\\n    \\\"body\\\": String\\n  },\\n  \\\"options\\\": {\\n    \\\"move_to\\\": Object\\n  },\\n  \\\"acting_user\\\": { User },\\n  \\\"questionnaire_id\\\": { Questionnaire._id },\\n  \\\"creation_date\\\": Date,\\n  \\\"updated_date\\\": Date,\\n  \\\"status\\\": \\\"sent | completed\\\"\\n}\",\n      \"language\": \"json\"\n    }\n  ]\n}\n[/block]","updates":[],"order":3,"isReference":true,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"5a67a36c73eb28003485e614","project":"54ee19c23749bf0d00c76515","version":{"version":"3","version_clean":"3.0.0","codename":"","is_stable":true,"is_beta":false,"is_hidden":false,"is_deprecated":false,"categories":["5a60f64d792a330012d72141","5a60f64d792a330012d72142","5a60f64d792a330012d72143","5a60f64d792a330012d72144","5a60f64d792a330012d72145","5a60f64d792a330012d72146","5a60f64d792a330012d72147","5a660cc7dc0f1c001c2b5568","5d1f4985a718ba002bfa4a52","5d1f53e3d10632001825a1f3"],"_id":"5a60f64d792a330012d72140","project":"54ee19c23749bf0d00c76515","createdAt":"2018-01-18T19:32:29.915Z","releaseDate":"2018-01-18T19:32:29.915Z","__v":4},"category":{"sync":{"isSync":false,"url":""},"pages":[],"title":"Object Models","slug":"object-models","order":1,"from_sync":false,"reference":true,"_id":"5a660cc7dc0f1c001c2b5568","project":"54ee19c23749bf0d00c76515","version":"5a60f64d792a330012d72140","createdAt":"2018-01-22T16:09:43.634Z","__v":0},"user":"575f003663430e0e008a8704","createdAt":"2018-01-23T21:04:44.106Z","githubsync":"","__v":0,"parentDoc":null,"updatedAt":"2019-07-09T13:13:54.640Z"}

Candidate Questionnaire


[block:code] { "codes": [ { "code": "{\n \"_id\": String,\n \"name\": String,\n \"questions\": [\n {\n \"text\": String,\n \"type\": {\n \"id\": String,\n \"name\": String\n },\n \"required\": Boolean,\n \"_id\": String,\n \"response\": String, //if type is a single answer question \n \"responses\": Object //if type is a multiple answer question\n }\n ],\n \"message_template\": {\n \"type\": String,\n \"body\": String\n },\n \"options\": {\n \"move_to\": Object\n },\n \"acting_user\": { User },\n \"questionnaire_id\": { Questionnaire._id },\n \"creation_date\": Date,\n \"updated_date\": Date,\n \"status\": \"sent | completed\"\n}", "language": "json" } ] } [/block]