POST SaveOrUpdateAdolescent

Request Information

URI Parameters

None.

Body Parameters

AdolescentRegModel
NameDescriptionTypeAdditional information
RegistrationID

integer

None.

NameOfAdolescent

string

None.

DOB

string

None.

Age

integer

None.

AadharNumber

string

None.

Mobile

string

None.

SpecialCategories

string

None.

CurrentEducationStatusID

integer

None.

IsInSchoolOrCollege

integer

None.

DroppedOutLastGradeID

integer

None.

CurrentlyMarried

integer

None.

PresentStatusID

integer

None.

InterestedOpenSchool

integer

None.

IsInterestedSkillTraining

integer

None.

BothParentsWorking

integer

None.

IsMotherSHGMember

integer

None.

IsActive

integer

None.

UserID

integer

None.

DMV_Code

string

None.

DM

string

None.

D_ID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "RegistrationID": 1,
  "NameOfAdolescent": "sample string 2",
  "DOB": "sample string 3",
  "Age": 1,
  "AadharNumber": "sample string 4",
  "Mobile": "sample string 5",
  "SpecialCategories": "sample string 6",
  "CurrentEducationStatusID": 1,
  "IsInSchoolOrCollege": 1,
  "DroppedOutLastGradeID": 1,
  "CurrentlyMarried": 1,
  "PresentStatusID": 1,
  "InterestedOpenSchool": 1,
  "IsInterestedSkillTraining": 1,
  "BothParentsWorking": 1,
  "IsMotherSHGMember": 1,
  "IsActive": 1,
  "UserID": 7,
  "DMV_Code": "sample string 8",
  "DM": "sample string 9",
  "D_ID": 1
}

application/xml, text/xml

Sample:
<AdolescentRegModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/commonlib.DataAccess">
  <AadharNumber>sample string 4</AadharNumber>
  <Age>1</Age>
  <BothParentsWorking>1</BothParentsWorking>
  <CurrentEducationStatusID>1</CurrentEducationStatusID>
  <CurrentlyMarried>1</CurrentlyMarried>
  <DM>sample string 9</DM>
  <DMV_Code>sample string 8</DMV_Code>
  <DOB>sample string 3</DOB>
  <D_ID>1</D_ID>
  <DroppedOutLastGradeID>1</DroppedOutLastGradeID>
  <InterestedOpenSchool>1</InterestedOpenSchool>
  <IsActive>1</IsActive>
  <IsInSchoolOrCollege>1</IsInSchoolOrCollege>
  <IsInterestedSkillTraining>1</IsInterestedSkillTraining>
  <IsMotherSHGMember>1</IsMotherSHGMember>
  <Mobile>sample string 5</Mobile>
  <NameOfAdolescent>sample string 2</NameOfAdolescent>
  <PresentStatusID>1</PresentStatusID>
  <RegistrationID>1</RegistrationID>
  <SpecialCategories>sample string 6</SpecialCategories>
  <UserID>7</UserID>
</AdolescentRegModel>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.