POST api/PFEstablishContrPerc/Save?ClergyId={ClergyId}&LoginUser={LoginUser}&LoginIP={LoginIP}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| ClergyId | integer |
Required |
|
| LoginUser | integer |
Required |
|
| LoginIP | string |
Required |
Body Parameters
Collection of PFEstablishContrPercSaveVM| Name | Description | Type | Additional information |
|---|---|---|---|
| Slno | integer |
Required |
|
| Establishment | EstablishmentLookup |
Required |
|
| ContrPerc | decimal number |
Required |
|
| Status | string |
Required Matching regular expression pattern: A|I |
Request Formats
application/json, text/json
Sample:
[
{
"Slno": 1,
"Establishment": {
"EstablishId": 1,
"EstablishName": "sample string 2",
"EstablishType": {
"EstablishTypeId": 1,
"EstablishTypeName": "sample string 2"
},
"EstablishCategory": {
"EstablishCategoryId": 1,
"EstablishCategoryName": "sample string 2"
},
"TotalMembers": 3,
"TotalHouses": 4
},
"ContrPerc": 2.0,
"Status": "sample string 3"
},
{
"Slno": 1,
"Establishment": {
"EstablishId": 1,
"EstablishName": "sample string 2",
"EstablishType": {
"EstablishTypeId": 1,
"EstablishTypeName": "sample string 2"
},
"EstablishCategory": {
"EstablishCategoryId": 1,
"EstablishCategoryName": "sample string 2"
},
"TotalMembers": 3,
"TotalHouses": 4
},
"ContrPerc": 2.0,
"Status": "sample string 3"
}
]
application/xml, text/xml
Sample:
<ArrayOfPFEstablishContrPercSaveVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
<PFEstablishContrPercSaveVM>
<ContrPerc>2</ContrPerc>
<Establishment>
<EstablishCategory>
<EstablishCategoryId>1</EstablishCategoryId>
<EstablishCategoryName>sample string 2</EstablishCategoryName>
</EstablishCategory>
<EstablishId>1</EstablishId>
<EstablishName>sample string 2</EstablishName>
<EstablishType>
<EstablishTypeId>1</EstablishTypeId>
<EstablishTypeName>sample string 2</EstablishTypeName>
</EstablishType>
<TotalHouses>4</TotalHouses>
<TotalMembers>3</TotalMembers>
</Establishment>
<Slno>1</Slno>
<Status>sample string 3</Status>
</PFEstablishContrPercSaveVM>
<PFEstablishContrPercSaveVM>
<ContrPerc>2</ContrPerc>
<Establishment>
<EstablishCategory>
<EstablishCategoryId>1</EstablishCategoryId>
<EstablishCategoryName>sample string 2</EstablishCategoryName>
</EstablishCategory>
<EstablishId>1</EstablishId>
<EstablishName>sample string 2</EstablishName>
<EstablishType>
<EstablishTypeId>1</EstablishTypeId>
<EstablishTypeName>sample string 2</EstablishTypeName>
</EstablishType>
<TotalHouses>4</TotalHouses>
<TotalMembers>3</TotalMembers>
</Establishment>
<Slno>1</Slno>
<Status>sample string 3</Status>
</PFEstablishContrPercSaveVM>
</ArrayOfPFEstablishContrPercSaveVM>
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.