PUT api/JanPratinidhi/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
JanPratinidhiViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Name | string |
None. |
|
| Desiganation | string |
None. |
|
| PhoneNo | string |
None. |
|
| Photo | string |
None. |
|
| LocalLevelId | integer |
None. |
|
| WardId | integer |
Required |
|
| IsActive | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"Name": "sample string 2",
"Desiganation": "sample string 3",
"PhoneNo": "sample string 4",
"Photo": "sample string 5",
"LocalLevelId": 6,
"WardId": 1,
"IsActive": true
}
text/xml
Sample:
<JanPratinidhiViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MeroPalikaApi.Models"> <Desiganation>sample string 3</Desiganation> <Id>1</Id> <IsActive>true</IsActive> <LocalLevelId>6</LocalLevelId> <Name>sample string 2</Name> <PhoneNo>sample string 4</PhoneNo> <Photo>sample string 5</Photo> <WardId>1</WardId> </JanPratinidhiViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
JanPratinidhiViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Name | string |
None. |
|
| Desiganation | string |
None. |
|
| PhoneNo | string |
None. |
|
| Photo | string |
None. |
|
| LocalLevelId | integer |
None. |
|
| WardId | integer |
Required |
|
| IsActive | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"Name": "sample string 2",
"Desiganation": "sample string 3",
"PhoneNo": "sample string 4",
"Photo": "sample string 5",
"LocalLevelId": 6,
"WardId": 1,
"IsActive": true
}
text/xml
Sample:
<JanPratinidhiViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MeroPalikaApi.Models"> <Desiganation>sample string 3</Desiganation> <Id>1</Id> <IsActive>true</IsActive> <LocalLevelId>6</LocalLevelId> <Name>sample string 2</Name> <PhoneNo>sample string 4</PhoneNo> <Photo>sample string 5</Photo> <WardId>1</WardId> </JanPratinidhiViewModel>