Post ( Newtonsoft.Json.Linq.JObject jJson ) : Newtonsoft.Json.Linq.JObject |
Imports data in bulk, creates a new file instance and creates responses for that instance { file: fileId, fileName: name, questionsIdMap: ["34","35","36","37"] responses: [ { 0: "q1a", 1: "q2a" }, // in this case 0 maps to questionId 34 { 0: "q2a", 1: "q22a" }, { 0: "q3a", 1: "q23a" }, { 0: "q4a", 1: "q24a" } ] } json response with message array of inserted data {"message":["Created file : labowski 0, id: 115","Added response to : labowski 1 , response: bowling , id: 256"]} |
|