POST api/Center/UpdateAgreementLite/{aglid}/{userid}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| aglid | integer |
Required |
|
| userid | string |
Required |
Body Parameters
AgreementLite| Name | Description | Type | Additional information |
|---|---|---|---|
| aglid | integer |
None. |
|
| centid | string |
None. |
|
| pdfpath | string |
None. |
|
| filetype | string |
None. |
|
| status | integer |
None. |
|
| createdby | string |
None. |
|
| createdon | date |
None. |
|
| stdate | date |
None. |
|
| endate | date |
None. |
|
| updatedby | string |
None. |
|
| updatedon | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"aglid": 1,
"centid": "sample string 2",
"pdfpath": "sample string 3",
"filetype": "sample string 4",
"status": 1,
"createdby": "sample string 5",
"createdon": "2025-10-30T04:58:37.947425+05:30",
"stdate": "2025-10-30T04:58:37.947425+05:30",
"endate": "2025-10-30T04:58:37.947425+05:30",
"updatedby": "sample string 6",
"updatedon": "2025-10-30T04:58:37.947425+05:30"
}
application/xml, text/xml
Sample:
<AgreementLite xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JankariPortalPIFAPI.Models"> <aglid>1</aglid> <centid>sample string 2</centid> <createdby>sample string 5</createdby> <createdon>2025-10-30T04:58:37.947425+05:30</createdon> <endate>2025-10-30T04:58:37.947425+05:30</endate> <filetype>sample string 4</filetype> <pdfpath>sample string 3</pdfpath> <status>1</status> <stdate>2025-10-30T04:58:37.947425+05:30</stdate> <updatedby>sample string 6</updatedby> <updatedon>2025-10-30T04:58:37.947425+05:30</updatedon> </AgreementLite>
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>