POST api/Student/InsertSRMRegistration/{userid}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userid

string

Required

Body Parameters

Collection of SRMRegistration
NameDescriptionTypeAdditional information
parentid

string

None.

parentname

string

None.

centid

string

None.

centname

string

None.

gender

string

None.

age

string

None.

occupation

string

None.

havephone

string

None.

contactno

string

None.

stdate

date

None.

enddate

date

None.

batchname

string

None.

acyear

string

None.

seqno

integer

None.

createdby

string

None.

createdon

date

None.

updateby

string

None.

updateon

date

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "parentid": "sample string 1",
    "parentname": "sample string 2",
    "centid": "sample string 3",
    "centname": "sample string 4",
    "gender": "sample string 5",
    "age": "sample string 6",
    "occupation": "sample string 7",
    "havephone": "sample string 8",
    "contactno": "sample string 9",
    "stdate": "2026-05-03T18:22:40.4683327+05:30",
    "enddate": "2026-05-03T18:22:40.4683327+05:30",
    "batchname": "sample string 10",
    "acyear": "sample string 11",
    "seqno": 12,
    "createdby": "sample string 13",
    "createdon": "2026-05-03T18:22:40.4683327+05:30",
    "updateby": "sample string 14",
    "updateon": "2026-05-03T18:22:40.4683327+05:30"
  },
  {
    "parentid": "sample string 1",
    "parentname": "sample string 2",
    "centid": "sample string 3",
    "centname": "sample string 4",
    "gender": "sample string 5",
    "age": "sample string 6",
    "occupation": "sample string 7",
    "havephone": "sample string 8",
    "contactno": "sample string 9",
    "stdate": "2026-05-03T18:22:40.4683327+05:30",
    "enddate": "2026-05-03T18:22:40.4683327+05:30",
    "batchname": "sample string 10",
    "acyear": "sample string 11",
    "seqno": 12,
    "createdby": "sample string 13",
    "createdon": "2026-05-03T18:22:40.4683327+05:30",
    "updateby": "sample string 14",
    "updateon": "2026-05-03T18:22:40.4683327+05:30"
  }
]

application/xml, text/xml

Sample:
<ArrayOfSRMRegistration xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JankariPortalPIFAPI.Models">
  <SRMRegistration>
    <acyear>sample string 11</acyear>
    <age>sample string 6</age>
    <batchname>sample string 10</batchname>
    <centid>sample string 3</centid>
    <centname>sample string 4</centname>
    <contactno>sample string 9</contactno>
    <createdby>sample string 13</createdby>
    <createdon>2026-05-03T18:22:40.4683327+05:30</createdon>
    <enddate>2026-05-03T18:22:40.4683327+05:30</enddate>
    <gender>sample string 5</gender>
    <havephone>sample string 8</havephone>
    <occupation>sample string 7</occupation>
    <parentid>sample string 1</parentid>
    <parentname>sample string 2</parentname>
    <seqno>12</seqno>
    <stdate>2026-05-03T18:22:40.4683327+05:30</stdate>
    <updateby>sample string 14</updateby>
    <updateon>2026-05-03T18:22:40.4683327+05:30</updateon>
  </SRMRegistration>
  <SRMRegistration>
    <acyear>sample string 11</acyear>
    <age>sample string 6</age>
    <batchname>sample string 10</batchname>
    <centid>sample string 3</centid>
    <centname>sample string 4</centname>
    <contactno>sample string 9</contactno>
    <createdby>sample string 13</createdby>
    <createdon>2026-05-03T18:22:40.4683327+05:30</createdon>
    <enddate>2026-05-03T18:22:40.4683327+05:30</enddate>
    <gender>sample string 5</gender>
    <havephone>sample string 8</havephone>
    <occupation>sample string 7</occupation>
    <parentid>sample string 1</parentid>
    <parentname>sample string 2</parentname>
    <seqno>12</seqno>
    <stdate>2026-05-03T18:22:40.4683327+05:30</stdate>
    <updateby>sample string 14</updateby>
    <updateon>2026-05-03T18:22:40.4683327+05:30</updateon>
  </SRMRegistration>
</ArrayOfSRMRegistration>

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.