PUT api/StudentReq/Update

Request Information

URI Parameters

None.

Body Parameters

StudentReqUpdateVM
NameDescriptionTypeAdditional information
RequestId

integer

Required

RequestType

string

Required

EntryDate

string

Required

StudentId

integer

Required

StudentName

string

Required

String length: inclusive between 0 and 250

Code

string

Required

String length: inclusive between 0 and 30

Gender

string

Required

Dob

string

None.

Address1

string

Required

String length: inclusive between 0 and 200

Address2

string

Required

String length: inclusive between 0 and 200

AddressPincode

string

String length: inclusive between 0 and 50

AddressPlace

string

String length: inclusive between 0 and 100

AddressPostOffice

PlaceLookupVM

None.

AddressDistrict

PlaceLookupVM

None.

AddressState

PlaceLookupVM

None.

AddressCountry

PlaceLookupVM

None.

GuardianName

string

Required

String length: inclusive between 0 and 100

Occupation

OccupationLookupVM

None.

Grade

GradeLookupVM

Required

Language

LanguageLookupVM

Required

FavColor

string

String length: inclusive between 0 and 100

FavGame

string

String length: inclusive between 0 and 100

HobbyDesc

string

String length: inclusive between 0 and 250

TalentDesc

string

String length: inclusive between 0 and 500

AchieveDesc

string

String length: inclusive between 0 and 2000

OthRemarks

string

String length: inclusive between 0 and 2000

PhotoPath

string

String length: inclusive between 0 and 250

Project

ProjectLookupVM

Required

Agency

AgencyLookupVM

Required

Status

string

Required

Matching regular expression pattern: P|A|R|C

UpdateUser

integer

Required

UpdateIp

string

Required

String length: inclusive between 0 and 20

AadharNum

string

String length: inclusive between 0 and 50

Request Formats

application/json, text/json

Sample:
{
  "RequestId": 1,
  "RequestType": "sample string 2",
  "EntryDate": "sample string 3",
  "StudentId": 4,
  "StudentName": "sample string 5",
  "Code": "sample string 6",
  "Gender": "sample string 7",
  "Dob": "sample string 8",
  "Address1": "sample string 9",
  "Address2": "sample string 10",
  "AddressPincode": "sample string 11",
  "AddressPlace": "sample string 12",
  "AddressPostOffice": {
    "PlaceId": 1,
    "PlaceName": "sample string 2"
  },
  "AddressDistrict": {
    "PlaceId": 1,
    "PlaceName": "sample string 2"
  },
  "AddressState": {
    "PlaceId": 1,
    "PlaceName": "sample string 2"
  },
  "AddressCountry": {
    "PlaceId": 1,
    "PlaceName": "sample string 2"
  },
  "GuardianName": "sample string 13",
  "Occupation": {
    "OccupationId": 1,
    "OccupationName": "sample string 2"
  },
  "Grade": {
    "GradeId": 1,
    "GradeName": "sample string 2"
  },
  "Language": {
    "LanguageId": 1,
    "LanguageName": "sample string 2"
  },
  "FavColor": "sample string 14",
  "FavGame": "sample string 15",
  "HobbyDesc": "sample string 16",
  "TalentDesc": "sample string 17",
  "AchieveDesc": "sample string 18",
  "OthRemarks": "sample string 19",
  "PhotoPath": "sample string 20",
  "Project": {
    "ProjectId": 1,
    "ProjectName": "sample string 2"
  },
  "Agency": {
    "AgencyId": 1,
    "AgencyName": "sample string 2"
  },
  "Status": "sample string 21",
  "UpdateUser": 22,
  "UpdateIp": "sample string 23",
  "AadharNum": "sample string 24"
}

application/xml, text/xml

Sample:
<StudentReqUpdateVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
  <AadharNum>sample string 24</AadharNum>
  <AchieveDesc>sample string 18</AchieveDesc>
  <Address1>sample string 9</Address1>
  <Address2>sample string 10</Address2>
  <AddressCountry>
    <PlaceId>1</PlaceId>
    <PlaceName>sample string 2</PlaceName>
  </AddressCountry>
  <AddressDistrict>
    <PlaceId>1</PlaceId>
    <PlaceName>sample string 2</PlaceName>
  </AddressDistrict>
  <AddressPincode>sample string 11</AddressPincode>
  <AddressPlace>sample string 12</AddressPlace>
  <AddressPostOffice>
    <PlaceId>1</PlaceId>
    <PlaceName>sample string 2</PlaceName>
  </AddressPostOffice>
  <AddressState>
    <PlaceId>1</PlaceId>
    <PlaceName>sample string 2</PlaceName>
  </AddressState>
  <Agency>
    <AgencyId>1</AgencyId>
    <AgencyName>sample string 2</AgencyName>
  </Agency>
  <Code>sample string 6</Code>
  <Dob>sample string 8</Dob>
  <EntryDate>sample string 3</EntryDate>
  <FavColor>sample string 14</FavColor>
  <FavGame>sample string 15</FavGame>
  <Gender>sample string 7</Gender>
  <Grade>
    <GradeId>1</GradeId>
    <GradeName>sample string 2</GradeName>
  </Grade>
  <GuardianName>sample string 13</GuardianName>
  <HobbyDesc>sample string 16</HobbyDesc>
  <Language>
    <LanguageId>1</LanguageId>
    <LanguageName>sample string 2</LanguageName>
  </Language>
  <Occupation>
    <OccupationId>1</OccupationId>
    <OccupationName>sample string 2</OccupationName>
  </Occupation>
  <OthRemarks>sample string 19</OthRemarks>
  <PhotoPath>sample string 20</PhotoPath>
  <Project>
    <ProjectId>1</ProjectId>
    <ProjectName>sample string 2</ProjectName>
  </Project>
  <RequestId>1</RequestId>
  <RequestType>sample string 2</RequestType>
  <Status>sample string 21</Status>
  <StudentId>4</StudentId>
  <StudentName>sample string 5</StudentName>
  <TalentDesc>sample string 17</TalentDesc>
  <UpdateIp>sample string 23</UpdateIp>
  <UpdateUser>22</UpdateUser>
</StudentReqUpdateVM>

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.