POST api/Admin/SaveSubject

Request Information

URI Parameters

None.

Body Parameters

Subject
NameDescriptionTypeAdditional information
SubjectId

integer

None.

SubjectName

string

None.

Description

string

None.

GroupId

integer

None.

CreatedBy

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "SubjectId": 1,
  "SubjectName": "sample string 2",
  "Description": "sample string 3",
  "GroupId": 4,
  "CreatedBy": 5
}

application/xml, text/xml

Sample:
<Subject xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TestSeriesServices.Models">
  <CreatedBy>5</CreatedBy>
  <Description>sample string 3</Description>
  <GroupId>4</GroupId>
  <SubjectId>1</SubjectId>
  <SubjectName>sample string 2</SubjectName>
</Subject>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.