POST Api/CourseMaster/UpdateCourseMaster

Request Information

URI Parameters

None.

Body Parameters

CourseMaster
NameDescriptionTypeAdditional information
name

string

None.

noOfYear

string

None.

noOfSemester

integer

None.

description

string

None.

totalFee

string

None.

collegeId

string

None.

role

string

None.

opCode

integer

None.

isException

boolean

None.

exceptionMessage

string

None.

DS

DataSet

None.

id

string

None.

strId

string

None.

userId

integer

None.

status

integer

None.

message

string

None.

PageSize

string

None.

PageIndex

string

None.

responseValue

DataSet

None.

Request Formats

application/json, text/json

Sample:
{
  "name": "sample string 1",
  "noOfYear": "sample string 2",
  "noOfSemester": 3,
  "description": "sample string 4",
  "totalFee": "sample string 5",
  "collegeId": "sample string 6",
  "role": "sample string 7",
  "opCode": 8,
  "isException": true,
  "exceptionMessage": "sample string 10",
  "ds": null,
  "id": "sample string 11",
  "strId": "sample string 12",
  "userId": 13,
  "status": 14,
  "message": "sample string 15",
  "pageSize": "sample string 16",
  "pageIndex": "sample string 17",
  "responseValue": {}
}

application/xml, text/xml

Sample:
<CourseMaster xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SMSWebAPI.Models">
  <DS i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/DLLUtility" />
  <PageIndex xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">sample string 17</PageIndex>
  <PageSize xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">sample string 16</PageSize>
  <exceptionMessage xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">sample string 10</exceptionMessage>
  <id xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">sample string 11</id>
  <isException xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">true</isException>
  <message xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">sample string 15</message>
  <opCode xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">8</opCode>
  <responseValue xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">
    <xs:schema id="sample_x0020_string_x0020_3" targetNamespace="sample string 4" xmlns:mstns="sample string 4" xmlns="sample string 4" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" attributeFormDefault="qualified" elementFormDefault="qualified">
      <xs:element name="sample_x0020_string_x0020_3" msdata:IsDataSet="true" msdata:CaseSensitive="true" msdata:UseCurrentLocale="true">
        <xs:complexType>
          <xs:choice minOccurs="0" maxOccurs="unbounded" />
        </xs:complexType>
      </xs:element>
    </xs:schema>
    <diffgr:diffgram xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:diffgr="urn:schemas-microsoft-com:xml-diffgram-v1" />
  </responseValue>
  <status xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">14</status>
  <strId xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">sample string 12</strId>
  <userId xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">13</userId>
  <collegeId>sample string 6</collegeId>
  <description>sample string 4</description>
  <name>sample string 1</name>
  <noOfSemester>3</noOfSemester>
  <noOfYear>sample string 2</noOfYear>
  <role>sample string 7</role>
  <totalFee>sample string 5</totalFee>
</CourseMaster>

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

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.