POST api/FDEndowBenef/Save
Request Information
URI Parameters
None.
Body Parameters
FDEndowBenefSaveVM| Name | Description | Type | Additional information |
|---|---|---|---|
| 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 |
|
| CreateUser | integer |
Required |
|
| CreateIp | string |
Required String length: inclusive between 0 and 20 |
Request Formats
application/json, text/json
Sample:
{
"BookId": 1,
"BenefDesc": "sample string 2",
"Code": "sample string 3",
"Remarks": "sample string 4",
"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 5",
"Address2": "sample string 6",
"AddressPincode": "sample string 7",
"AddressLandMark": "sample string 8",
"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 9",
"CreateUser": 10,
"CreateIp": "sample string 11"
}
application/xml, text/xml
Sample:
<FDEndowBenefSaveVM 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 5</Address1>
<Address2>sample string 6</Address2>
<AddressLandMark>sample string 8</AddressLandMark>
<AddressPincode>sample string 7</AddressPincode>
<BenefDesc>sample string 2</BenefDesc>
<BookId>1</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 3</Code>
<Country>
<PlaceId>1</PlaceId>
<PlaceName>sample string 2</PlaceName>
</Country>
<CreateIp>sample string 11</CreateIp>
<CreateUser>10</CreateUser>
<District>
<PlaceId>1</PlaceId>
<PlaceName>sample string 2</PlaceName>
</District>
<PostOffice>
<PlaceId>1</PlaceId>
<PlaceName>sample string 2</PlaceName>
</PostOffice>
<Remarks>sample string 4</Remarks>
<State>
<PlaceId>1</PlaceId>
<PlaceName>sample string 2</PlaceName>
</State>
<Status>sample string 9</Status>
</FDEndowBenefSaveVM>
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.