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