C# 클래스 WorldSurveyKit.Controllers.ImporterController

상속: ApiController
파일 보기 프로젝트 열기: ntheile/World-Survey-Kit

공개 메소드들

메소드 설명
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"]}

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

메소드 상세

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

Post() 공개 메소드

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"]}
public Post ( Newtonsoft.Json.Linq.JObject jJson ) : Newtonsoft.Json.Linq.JObject
jJson Newtonsoft.Json.Linq.JObject
리턴 Newtonsoft.Json.Linq.JObject