POST api/MiraApi/PreAndPostScoreDataResult

Request Information

URI Parameters

None.

Body Parameters

Collection of PrePostScoreViewModel
NameDescriptionTypeAdditional information
PreTestScore

PreTestTableScore1

None.

PostTestScore

PostTestTableScore1

None.

PreTestQstID

Collection of integer

None.

PostTestQstID

Collection of integer

None.

PreTestAnswer

Collection of string

None.

PostTestAnswer

Collection of string

None.

PreTestOptions

Collection of string

None.

PostTestOptions

Collection of string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "PreTestScore": {
      "PreTestID": 1,
      "MiraID": 2,
      "GroupID": 3,
      "PregWomenID": 4,
      "NonPregWomenID": 5,
      "StoryID": 6,
      "Score": 7.1
    },
    "PostTestScore": {
      "PostTestID": 1,
      "MiraID": 2,
      "GroupID": 3,
      "PregWomenID": 4,
      "NonPregWomenID": 5,
      "StoryID": 6,
      "Score": 7.1
    },
    "PreTestQstID": [
      1,
      2
    ],
    "PostTestQstID": [
      1,
      2
    ],
    "PreTestAnswer": [
      "sample string 1",
      "sample string 2"
    ],
    "PostTestAnswer": [
      "sample string 1",
      "sample string 2"
    ],
    "PreTestOptions": [
      "sample string 1",
      "sample string 2"
    ],
    "PostTestOptions": [
      "sample string 1",
      "sample string 2"
    ]
  },
  {
    "PreTestScore": {
      "PreTestID": 1,
      "MiraID": 2,
      "GroupID": 3,
      "PregWomenID": 4,
      "NonPregWomenID": 5,
      "StoryID": 6,
      "Score": 7.1
    },
    "PostTestScore": {
      "PostTestID": 1,
      "MiraID": 2,
      "GroupID": 3,
      "PregWomenID": 4,
      "NonPregWomenID": 5,
      "StoryID": 6,
      "Score": 7.1
    },
    "PreTestQstID": [
      1,
      2
    ],
    "PostTestQstID": [
      1,
      2
    ],
    "PreTestAnswer": [
      "sample string 1",
      "sample string 2"
    ],
    "PostTestAnswer": [
      "sample string 1",
      "sample string 2"
    ],
    "PreTestOptions": [
      "sample string 1",
      "sample string 2"
    ],
    "PostTestOptions": [
      "sample string 1",
      "sample string 2"
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfPrePostScoreViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MiraProject.Models.ViewModels">
  <PrePostScoreViewModel>
    <PostTestAnswer xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </PostTestAnswer>
    <PostTestOptions xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </PostTestOptions>
    <PostTestQstID xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:int>1</d3p1:int>
      <d3p1:int>2</d3p1:int>
    </PostTestQstID>
    <PostTestScore>
      <GroupID>3</GroupID>
      <MiraID>2</MiraID>
      <NonPregWomenID>5</NonPregWomenID>
      <PostTestID>1</PostTestID>
      <PregWomenID>4</PregWomenID>
      <Score>7.1</Score>
      <StoryID>6</StoryID>
    </PostTestScore>
    <PreTestAnswer xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </PreTestAnswer>
    <PreTestOptions xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </PreTestOptions>
    <PreTestQstID xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:int>1</d3p1:int>
      <d3p1:int>2</d3p1:int>
    </PreTestQstID>
    <PreTestScore>
      <GroupID>3</GroupID>
      <MiraID>2</MiraID>
      <NonPregWomenID>5</NonPregWomenID>
      <PreTestID>1</PreTestID>
      <PregWomenID>4</PregWomenID>
      <Score>7.1</Score>
      <StoryID>6</StoryID>
    </PreTestScore>
  </PrePostScoreViewModel>
  <PrePostScoreViewModel>
    <PostTestAnswer xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </PostTestAnswer>
    <PostTestOptions xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </PostTestOptions>
    <PostTestQstID xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:int>1</d3p1:int>
      <d3p1:int>2</d3p1:int>
    </PostTestQstID>
    <PostTestScore>
      <GroupID>3</GroupID>
      <MiraID>2</MiraID>
      <NonPregWomenID>5</NonPregWomenID>
      <PostTestID>1</PostTestID>
      <PregWomenID>4</PregWomenID>
      <Score>7.1</Score>
      <StoryID>6</StoryID>
    </PostTestScore>
    <PreTestAnswer xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </PreTestAnswer>
    <PreTestOptions xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </PreTestOptions>
    <PreTestQstID xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:int>1</d3p1:int>
      <d3p1:int>2</d3p1:int>
    </PreTestQstID>
    <PreTestScore>
      <GroupID>3</GroupID>
      <MiraID>2</MiraID>
      <NonPregWomenID>5</NonPregWomenID>
      <PreTestID>1</PreTestID>
      <PregWomenID>4</PregWomenID>
      <Score>7.1</Score>
      <StoryID>6</StoryID>
    </PreTestScore>
  </PrePostScoreViewModel>
</ArrayOfPrePostScoreViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.