POST api/Center/AddLivelihoodEnterpreneurship/{userid}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| userid | string |
Required |
Body Parameters
LivelihoodEnterpreneurshipbody| Name | Description | Type | Additional information |
|---|---|---|---|
| state | string |
None. |
|
| centid | string |
None. |
|
| dateofupdate | date |
None. |
|
| parentbatch | string |
None. |
|
| studentsDetails | Collection of LivelihoodEnterpreneurshipDetailsBody |
None. |
Request Formats
application/json, text/json
Sample:
{
"state": "sample string 1",
"centid": "sample string 2",
"dateofupdate": "2025-10-30T04:58:19.0819345+05:30",
"parentbatch": "sample string 4",
"studentsDetails": [
{
"lemid": "sample string 1",
"lcdid": "sample string 2",
"studentid": "sample string 3",
"attstatus": true,
"benefittype": "sample string 5",
"schemename": "sample string 6",
"benefitted": "sample string 7",
"benefitothertext": "sample string 8",
"absentremark": "sample string 9",
"absentothertext": "sample string 10",
"createdby": "sample string 11",
"createdon": "2025-10-30T04:58:19.0819345+05:30",
"updatedby": "sample string 12",
"updatedon": "2025-10-30T04:58:19.0819345+05:30",
"seqno": 1,
"status": 1
},
{
"lemid": "sample string 1",
"lcdid": "sample string 2",
"studentid": "sample string 3",
"attstatus": true,
"benefittype": "sample string 5",
"schemename": "sample string 6",
"benefitted": "sample string 7",
"benefitothertext": "sample string 8",
"absentremark": "sample string 9",
"absentothertext": "sample string 10",
"createdby": "sample string 11",
"createdon": "2025-10-30T04:58:19.0819345+05:30",
"updatedby": "sample string 12",
"updatedon": "2025-10-30T04:58:19.0819345+05:30",
"seqno": 1,
"status": 1
}
]
}
application/xml, text/xml
Sample:
<LivelihoodEnterpreneurshipbody xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JankariPortalPIFAPI.Models">
<centid>sample string 2</centid>
<dateofupdate>2025-10-30T04:58:19.0819345+05:30</dateofupdate>
<parentbatch>sample string 4</parentbatch>
<state>sample string 1</state>
<studentsDetails>
<LivelihoodEnterpreneurshipDetailsBody>
<absentothertext>sample string 10</absentothertext>
<absentremark>sample string 9</absentremark>
<attstatus>true</attstatus>
<benefitothertext>sample string 8</benefitothertext>
<benefitted>sample string 7</benefitted>
<benefittype>sample string 5</benefittype>
<createdby>sample string 11</createdby>
<createdon>2025-10-30T04:58:19.0819345+05:30</createdon>
<lcdid>sample string 2</lcdid>
<lemid>sample string 1</lemid>
<schemename>sample string 6</schemename>
<seqno>1</seqno>
<status>1</status>
<studentid>sample string 3</studentid>
<updatedby>sample string 12</updatedby>
<updatedon>2025-10-30T04:58:19.0819345+05:30</updatedon>
</LivelihoodEnterpreneurshipDetailsBody>
<LivelihoodEnterpreneurshipDetailsBody>
<absentothertext>sample string 10</absentothertext>
<absentremark>sample string 9</absentremark>
<attstatus>true</attstatus>
<benefitothertext>sample string 8</benefitothertext>
<benefitted>sample string 7</benefitted>
<benefittype>sample string 5</benefittype>
<createdby>sample string 11</createdby>
<createdon>2025-10-30T04:58:19.0819345+05:30</createdon>
<lcdid>sample string 2</lcdid>
<lemid>sample string 1</lemid>
<schemename>sample string 6</schemename>
<seqno>1</seqno>
<status>1</status>
<studentid>sample string 3</studentid>
<updatedby>sample string 12</updatedby>
<updatedon>2025-10-30T04:58:19.0819345+05:30</updatedon>
</LivelihoodEnterpreneurshipDetailsBody>
</studentsDetails>
</LivelihoodEnterpreneurshipbody>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>