POST api/CharityApproval/Save
Request Information
URI Parameters
None.
Body Parameters
CharityApprovalSaveVM| Name | Description | Type | Additional information |
|---|---|---|---|
| BookId | integer |
Required |
|
| FinYearId | integer |
Required |
|
| AprovlDate | string |
Required |
|
| AprovlRefNo | string |
String length: inclusive between 0 and 30 |
|
| Project | CharityProjectMasterLookupVM |
Required |
|
| Application | CharityApplicationLookupVM |
Required |
|
| AprovlStatus | string |
Required Matching regular expression pattern: A|R|W |
|
| AprovlRemark | string |
String length: inclusive between 0 and 1000 |
|
| ApprovalCommitte | CharityApprCommitteLookupVM |
None. |
|
| AprovlAmount | decimal number |
Required |
|
| AprovlStageNos | integer |
Required |
|
| CreateUser | integer |
Required |
|
| CreateIp | string |
Required String length: inclusive between 0 and 20 |
|
| StageDetails | Collection of CharityApprovalStageDtlsVM |
None. |
Request Formats
application/json, text/json
Sample:
{
"BookId": 1,
"FinYearId": 2,
"AprovlDate": "sample string 3",
"AprovlRefNo": "sample string 4",
"Project": {
"ProjectId": 1,
"ProjectName": "sample string 2",
"ProjectType": {
"ProjectTypeId": 1,
"ProjectTypeName": "sample string 2"
}
},
"Application": {
"ApplicationId": 1,
"ApplDate": "sample string 2",
"ApplRefNo": "sample string 3",
"SubTypeRefNo": "sample string 4",
"ProjectSubType": {
"SubTypeId": 1,
"SubTypeName": "sample string 2"
},
"Prefix": {
"PrefixId": 1,
"PrefixName": "sample string 2"
},
"AplcntName": "sample string 5",
"AplcntAddress": "sample string 6",
"AplcntMobileNo": 7,
"AplcntRationCardNo": "sample string 8",
"AplcntAge": 9,
"AplcntGender": "sample string 10",
"Diocese": {
"EstablishId": 1,
"EstablishName": "sample string 2",
"EstablishType": {
"EstablishTypeId": 1,
"EstablishTypeName": "sample string 2"
},
"EstablishCategory": {
"EstablishCategoryId": 1,
"EstablishCategoryName": "sample string 2"
},
"TotalMembers": 3,
"TotalHouses": 4
},
"Parish": {
"EstablishId": 1,
"EstablishName": "sample string 2",
"EstablishType": {
"EstablishTypeId": 1,
"EstablishTypeName": "sample string 2"
},
"EstablishCategory": {
"EstablishCategoryId": 1,
"EstablishCategoryName": "sample string 2"
},
"TotalMembers": 3,
"TotalHouses": 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
},
"Occupation": {
"OccupationId": 1,
"OccupationName": "sample string 2"
},
"AplcntMonthlyIncome": 11.0,
"PreviousHelpSts": "sample string 12"
},
"AprovlStatus": "sample string 5",
"AprovlRemark": "sample string 6",
"ApprovalCommitte": {
"AprovlCommitteeId": 1,
"AprovlCommitteeName": "sample string 2"
},
"AprovlAmount": 7.0,
"AprovlStageNos": 8,
"CreateUser": 9,
"CreateIp": "sample string 10",
"StageDetails": [
{
"SlNo": 1,
"OrderBySlNo": 2,
"StageDate": "sample string 3",
"StageAmount": 4.0,
"StageRemark": "sample string 5"
},
{
"SlNo": 1,
"OrderBySlNo": 2,
"StageDate": "sample string 3",
"StageAmount": 4.0,
"StageRemark": "sample string 5"
}
]
}
application/xml, text/xml
Sample:
<CharityApprovalSaveVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
<Application>
<AplcntAddress>sample string 6</AplcntAddress>
<AplcntAge>9</AplcntAge>
<AplcntGender>sample string 10</AplcntGender>
<AplcntMobileNo>7</AplcntMobileNo>
<AplcntMonthlyIncome>11</AplcntMonthlyIncome>
<AplcntName>sample string 5</AplcntName>
<AplcntRationCardNo>sample string 8</AplcntRationCardNo>
<ApplDate>sample string 2</ApplDate>
<ApplRefNo>sample string 3</ApplRefNo>
<ApplicationId>1</ApplicationId>
<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>
<Diocese>
<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>
</Diocese>
<Occupation>
<OccupationId>1</OccupationId>
<OccupationName>sample string 2</OccupationName>
</Occupation>
<Parish>
<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>
</Parish>
<Prefix>
<PrefixId>1</PrefixId>
<PrefixName>sample string 2</PrefixName>
</Prefix>
<PreviousHelpSts>sample string 12</PreviousHelpSts>
<ProjectSubType>
<SubTypeId>1</SubTypeId>
<SubTypeName>sample string 2</SubTypeName>
</ProjectSubType>
<SubTypeRefNo>sample string 4</SubTypeRefNo>
</Application>
<ApprovalCommitte>
<AprovlCommitteeId>1</AprovlCommitteeId>
<AprovlCommitteeName>sample string 2</AprovlCommitteeName>
</ApprovalCommitte>
<AprovlAmount>7</AprovlAmount>
<AprovlDate>sample string 3</AprovlDate>
<AprovlRefNo>sample string 4</AprovlRefNo>
<AprovlRemark>sample string 6</AprovlRemark>
<AprovlStageNos>8</AprovlStageNos>
<AprovlStatus>sample string 5</AprovlStatus>
<BookId>1</BookId>
<CreateIp>sample string 10</CreateIp>
<CreateUser>9</CreateUser>
<FinYearId>2</FinYearId>
<Project>
<ProjectId>1</ProjectId>
<ProjectName>sample string 2</ProjectName>
<ProjectType>
<ProjectTypeId>1</ProjectTypeId>
<ProjectTypeName>sample string 2</ProjectTypeName>
</ProjectType>
</Project>
<StageDetails>
<CharityApprovalStageDtlsVM>
<OrderBySlNo>2</OrderBySlNo>
<SlNo>1</SlNo>
<StageAmount>4</StageAmount>
<StageDate>sample string 3</StageDate>
<StageRemark>sample string 5</StageRemark>
</CharityApprovalStageDtlsVM>
<CharityApprovalStageDtlsVM>
<OrderBySlNo>2</OrderBySlNo>
<SlNo>1</SlNo>
<StageAmount>4</StageAmount>
<StageDate>sample string 3</StageDate>
<StageRemark>sample string 5</StageRemark>
</CharityApprovalStageDtlsVM>
</StageDetails>
</CharityApprovalSaveVM>
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.