POST Api/NursingHoursRegister/UpdateNursingHoursPrescribed

Request Information

URI Parameters

None.

Body Parameters

NursingHoursRegister
NameDescriptionTypeAdditional information
batchId

string

None.

courseId

string

None.

sessionId

string

None.

semesterId

string

None.

subjectId

string

None.

subjectName

string

None.

subjectCode

string

None.

studentId

string

None.

theoryHours

string

None.

clinicalHours

string

None.

skillLabHours

string

None.

theoryAttended

string

None.

clinicalAttended

string

None.

skillLabAttended

string

None.

IsInternship

boolean

None.

ClinicalWeeks

integer

None.

ClinicalWeeksAttended

integer

None.

displayOrder

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:
{
  "batchId": "sample string 1",
  "courseId": "sample string 2",
  "sessionId": "sample string 3",
  "semesterId": "sample string 4",
  "subjectId": "sample string 5",
  "subjectName": "sample string 6",
  "subjectCode": "sample string 7",
  "studentId": "sample string 8",
  "theoryHours": "sample string 9",
  "clinicalHours": "sample string 10",
  "skillLabHours": "sample string 11",
  "theoryAttended": "sample string 12",
  "clinicalAttended": "sample string 13",
  "skillLabAttended": "sample string 14",
  "isInternship": true,
  "clinicalWeeks": 16,
  "clinicalWeeksAttended": 17,
  "displayOrder": "sample string 18",
  "opCode": 19,
  "isException": true,
  "exceptionMessage": "sample string 21",
  "ds": null,
  "id": "sample string 22",
  "strId": "sample string 23",
  "userId": 24,
  "status": 25,
  "message": "sample string 26",
  "pageSize": "sample string 27",
  "pageIndex": "sample string 28",
  "responseValue": {}
}

application/xml, text/xml

Sample:
<NursingHoursRegister 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 28</PageIndex>
  <PageSize xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">sample string 27</PageSize>
  <exceptionMessage xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">sample string 21</exceptionMessage>
  <id xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">sample string 22</id>
  <isException xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">true</isException>
  <message xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">sample string 26</message>
  <opCode xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">19</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">25</status>
  <strId xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">sample string 23</strId>
  <userId xmlns="http://schemas.datacontract.org/2004/07/DLLUtility">24</userId>
  <ClinicalWeeks>16</ClinicalWeeks>
  <ClinicalWeeksAttended>17</ClinicalWeeksAttended>
  <IsInternship>true</IsInternship>
  <batchId>sample string 1</batchId>
  <clinicalAttended>sample string 13</clinicalAttended>
  <clinicalHours>sample string 10</clinicalHours>
  <courseId>sample string 2</courseId>
  <displayOrder>sample string 18</displayOrder>
  <semesterId>sample string 4</semesterId>
  <sessionId>sample string 3</sessionId>
  <skillLabAttended>sample string 14</skillLabAttended>
  <skillLabHours>sample string 11</skillLabHours>
  <studentId>sample string 8</studentId>
  <subjectCode>sample string 7</subjectCode>
  <subjectId>sample string 5</subjectId>
  <subjectName>sample string 6</subjectName>
  <theoryAttended>sample string 12</theoryAttended>
  <theoryHours>sample string 9</theoryHours>
</NursingHoursRegister>

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

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.