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

string

None.

PresentStatusID

integer

None.

InterestedOpenSchool

integer

None.

IsInterestedSkillTraining

string

None.

BothParentsWorking

string

None.

IsMotherSHGMember

string

None.

IsActive

integer

None.

UserID

integer

None.

DMV_Code

string

None.

DM

string

None.

D_ID

integer

None.

MotherName

string

None.

FatherName

string

None.

Caste

string

None.

PlaceOfStayID

integer

None.

WCDW_AG_ID

integer

None.

Awc_ID

integer

None.

AWC_Name

string

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": "sample string 7",
  "PresentStatusID": 1,
  "InterestedOpenSchool": 1,
  "IsInterestedSkillTraining": "sample string 8",
  "BothParentsWorking": "sample string 9",
  "IsMotherSHGMember": "sample string 10",
  "IsActive": 1,
  "UserID": 11,
  "DMV_Code": "sample string 12",
  "DM": "sample string 13",
  "D_ID": 1,
  "MotherName": "sample string 14",
  "FatherName": "sample string 15",
  "Caste": "sample string 16",
  "PlaceOfStayID": 1,
  "WCDW_AG_ID": 1,
  "Awc_ID": 1,
  "AWC_Name": "sample string 17"
}

application/xml, text/xml

Sample:
<AdolescentRegModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/commonlib.DataAccess">
  <AWC_Name>sample string 17</AWC_Name>
  <AadharNumber>sample string 4</AadharNumber>
  <Age>1</Age>
  <Awc_ID>1</Awc_ID>
  <BothParentsWorking>sample string 9</BothParentsWorking>
  <Caste>sample string 16</Caste>
  <CurrentEducationStatusID>1</CurrentEducationStatusID>
  <CurrentlyMarried>sample string 7</CurrentlyMarried>
  <DM>sample string 13</DM>
  <DMV_Code>sample string 12</DMV_Code>
  <DOB>sample string 3</DOB>
  <D_ID>1</D_ID>
  <DroppedOutLastGradeID>1</DroppedOutLastGradeID>
  <FatherName>sample string 15</FatherName>
  <InterestedOpenSchool>1</InterestedOpenSchool>
  <IsActive>1</IsActive>
  <IsInSchoolOrCollege>1</IsInSchoolOrCollege>
  <IsInterestedSkillTraining>sample string 8</IsInterestedSkillTraining>
  <IsMotherSHGMember>sample string 10</IsMotherSHGMember>
  <Mobile>sample string 5</Mobile>
  <MotherName>sample string 14</MotherName>
  <NameOfAdolescent>sample string 2</NameOfAdolescent>
  <PlaceOfStayID>1</PlaceOfStayID>
  <PresentStatusID>1</PresentStatusID>
  <RegistrationID>1</RegistrationID>
  <SpecialCategories>sample string 6</SpecialCategories>
  <UserID>11</UserID>
  <WCDW_AG_ID>1</WCDW_AG_ID>
</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.