POST RubricsAPI/UpdateRubric

Request Information

URI Parameters

None.

Body Parameters

Rubrics
NameDescriptionTypeAdditional information
RubricID

integer

None.

Active

boolean

None.

CourseTypeID

integer

None.

DateCreated

date

None.

DateCreatedStr

string

None.

RubricDescription

string

None.

RubricName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "RubricID": 1,
  "Active": true,
  "CourseTypeID": 3,
  "DateCreated": "2021-01-22T15:47:10.9201361+00:00",
  "DateCreatedStr": "sample string 5",
  "RubricDescription": "sample string 6",
  "RubricName": "sample string 7"
}

application/xml, text/xml

Sample:
<Rubrics xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QMA2020.Models">
  <Active>true</Active>
  <CourseTypeID>3</CourseTypeID>
  <DateCreated>2021-01-22T15:47:10.9201361+00:00</DateCreated>
  <DateCreatedStr>sample string 5</DateCreatedStr>
  <RubricDescription>sample string 6</RubricDescription>
  <RubricID>1</RubricID>
  <RubricName>sample string 7</RubricName>
</Rubrics>

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 'Rubrics'.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>