GET api/MrAssignRollNo?userId={userId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of StudentRollNo
NameDescriptionTypeAdditional information
studentId

integer

None.

RegistrationNo

integer

None.

StudentName

string

None.

RollNo

integer

None.

ContactNo

string

None.

Response Formats

application/json, text/json, text/html

Sample:
[
  {
    "studentId": 1,
    "registrationNo": 2,
    "studentName": "sample string 3",
    "rollNo": 4,
    "contactNo": "sample string 5"
  },
  {
    "studentId": 1,
    "registrationNo": 2,
    "studentName": "sample string 3",
    "rollNo": 4,
    "contactNo": "sample string 5"
  }
]

application/xml, text/xml

Sample:
<ArrayOfStudentRollNo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Web_Api.App_Start.Entity">
  <StudentRollNo>
    <ContactNo>sample string 5</ContactNo>
    <RegistrationNo>2</RegistrationNo>
    <RollNo>4</RollNo>
    <StudentName>sample string 3</StudentName>
    <studentId>1</studentId>
  </StudentRollNo>
  <StudentRollNo>
    <ContactNo>sample string 5</ContactNo>
    <RegistrationNo>2</RegistrationNo>
    <RollNo>4</RollNo>
    <StudentName>sample string 3</StudentName>
    <studentId>1</studentId>
  </StudentRollNo>
</ArrayOfStudentRollNo>