PUT api/FDEndowBenef/Update
Request Information
URI Parameters
None.
Body Parameters
FDEndowBenefUpdateVM| Name | Description | Type | Additional information |
|---|---|---|---|
| BenefId | integer |
Required |
|
| BookId | integer |
Required |
|
| BenefDesc | string |
Required String length: inclusive between 0 and 100 |
|
| Code | string |
String length: inclusive between 0 and 10 |
|
| Remarks | string |
String length: inclusive between 0 and 1000 |
|
| Clergy | ClergyLookup |
None. |
|
| Address1 | string |
String length: inclusive between 0 and 200 |
|
| Address2 | string |
String length: inclusive between 0 and 200 |
|
| AddressPincode | string |
String length: inclusive between 0 and 50 |
|
| AddressLandMark | string |
String length: inclusive between 0 and 200 |
|
| PostOffice | PlaceLookup |
None. |
|
| District | PlaceLookup |
None. |
|
| State | PlaceLookup |
None. |
|
| Country | PlaceLookup |
None. |
|
| Account | AccountMasterLookup |
None. |
|
| Status | string |
Required Matching regular expression pattern: A|I |
|
| UpdateUser | integer |
Required |
|
| UpdateIp | string |
Required String length: inclusive between 0 and 20 |
Request Formats
application/json, text/json
Sample:
{
"BenefId": 1,
"BookId": 2,
"BenefDesc": "sample string 3",
"Code": "sample string 4",
"Remarks": "sample string 5",
"Clergy": {
"ClergyId": 1,
"ClergyName": "sample string 2",
"Prefix": {
"PrefixId": 1,
"PrefixName": "sample string 2"
},
"Address": "sample string 3",
"ClergyStatus": "sample string 4",
"DOB": "sample string 5",
"DeaconDate": "sample string 6",
"ClergyCategoryId": 7,
"ClergyTypeId": 8
},
"Address1": "sample string 6",
"Address2": "sample string 7",
"AddressPincode": "sample string 8",
"AddressLandMark": "sample string 9",
"PostOffice": {
"PlaceId": 1,
"PlaceName": "sample string 2"
},
"District": {
"PlaceId": 1,
"PlaceName": "sample string 2"
},
"State": {
"PlaceId": 1,
"PlaceName": "sample string 2"
},
"Country": {
"PlaceId": 1,
"PlaceName": "sample string 2"
},
"Account": {
"AccountId": 1,
"AccountName": "sample string 2"
},
"Status": "sample string 10",
"UpdateUser": 11,
"UpdateIp": "sample string 12"
}
application/xml, text/xml
Sample:
<FDEndowBenefUpdateVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
<Account>
<AccountId>1</AccountId>
<AccountName>sample string 2</AccountName>
</Account>
<Address1>sample string 6</Address1>
<Address2>sample string 7</Address2>
<AddressLandMark>sample string 9</AddressLandMark>
<AddressPincode>sample string 8</AddressPincode>
<BenefDesc>sample string 3</BenefDesc>
<BenefId>1</BenefId>
<BookId>2</BookId>
<Clergy>
<Address>sample string 3</Address>
<ClergyCategoryId>7</ClergyCategoryId>
<ClergyId>1</ClergyId>
<ClergyName>sample string 2</ClergyName>
<ClergyStatus>sample string 4</ClergyStatus>
<ClergyTypeId>8</ClergyTypeId>
<DOB>sample string 5</DOB>
<DeaconDate>sample string 6</DeaconDate>
<Prefix>
<PrefixId>1</PrefixId>
<PrefixName>sample string 2</PrefixName>
</Prefix>
</Clergy>
<Code>sample string 4</Code>
<Country>
<PlaceId>1</PlaceId>
<PlaceName>sample string 2</PlaceName>
</Country>
<District>
<PlaceId>1</PlaceId>
<PlaceName>sample string 2</PlaceName>
</District>
<PostOffice>
<PlaceId>1</PlaceId>
<PlaceName>sample string 2</PlaceName>
</PostOffice>
<Remarks>sample string 5</Remarks>
<State>
<PlaceId>1</PlaceId>
<PlaceName>sample string 2</PlaceName>
</State>
<Status>sample string 10</Status>
<UpdateIp>sample string 12</UpdateIp>
<UpdateUser>11</UpdateUser>
</FDEndowBenefUpdateVM>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.