POST api/TopicTest

Request Information

URI Parameters

None.

Body Parameters

SaveAssessment
NameDescriptionTypeAdditional information
QID

Collection of string

None.

AID

Collection of string

None.

User

integer

None.

Class

integer

None.

Board

integer

None.

Subject

integer

None.

QC

integer

None.

TID

integer

None.

SID

integer

None.

Nota

integer

None.

Src

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "QID": [
    "sample string 1",
    "sample string 2"
  ],
  "AID": [
    "sample string 1",
    "sample string 2"
  ],
  "User": 1,
  "Class": 2,
  "Board": 3,
  "Subject": 4,
  "QC": 5,
  "TID": 6,
  "SID": 7,
  "Nota": 8,
  "Src": 9
}

application/xml, text/xml

Sample:
<SaveAssessment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalStudentServices.Models">
  <AID xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </AID>
  <Board>3</Board>
  <Class>2</Class>
  <Nota>8</Nota>
  <QC>5</QC>
  <QID xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </QID>
  <SID>7</SID>
  <Src>9</Src>
  <Subject>4</Subject>
  <TID>6</TID>
  <User>1</User>
</SaveAssessment>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'SaveAssessment'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.