POST api/CharityApplication/Save

Request Information

URI Parameters

None.

Body Parameters

CharityApplicationSaveVM
NameDescriptionTypeAdditional information
BookId

integer

Required

FinYearId

integer

Required

ApplDate

string

Required

ApplRefNo

string

Required

String length: inclusive between 0 and 30

ProjectMaster

CharityProjectMasterLookupVM

Required

ProjectSubType

CharityProjectSubTypLookupVM

None.

Prefix

PrefixLookup

None.

AplcntName

string

Required

String length: inclusive between 0 and 100

AplcntAddress

string

String length: inclusive between 0 and 1000

AplcntMobileNo

integer

None.

AplcntRationCardNo

string

Required

String length: inclusive between 0 and 50

AplcntAge

integer

Required

AplcntGender

string

Required

Matching regular expression pattern: M|F|O

AplcntEducation

string

String length: inclusive between 0 and 1000

Religion

ReligionLookup

None.

Diocese

EstablishmentLookup

None.

Parish

EstablishmentLookup

None.

Clergy

ClergyLookup

None.

Occupation

OccupationLookup

None.

AplcntMonthlyIncome

decimal number

Required

PreviousHelpSts

string

Required

Matching regular expression pattern: Y|N

IllnessHistory

string

String length: inclusive between 0 and 2000

SurgeryDate

string

None.

TreatmentRemarks

string

String length: inclusive between 0 and 2000

TranRemark

string

String length: inclusive between 0 and 1000

Bank

BankMasterLookupVM

None.

BankIfscCode

string

String length: inclusive between 0 and 100

BankAccountNumber

integer

None.

CreateUser

integer

Required

CreateIp

string

Required

String length: inclusive between 0 and 20

Caste

CasteLookup

None.

AplcntAadhar

string

None.

BankBranch

string

None.

SubTypeRefNo

string

None.

LandDetails

string

None.

IsOthBenef

string

Required

Matching regular expression pattern: Y|N

OthPrefix

PrefixLookup

None.

OthName

string

None.

OthAddress

string

None.

IsMinor

string

Required

Matching regular expression pattern: Y|N

IsDalit

string

Required

Matching regular expression pattern: Y|N

MemberDetails

Collection of CharityAplMemberDtlsVM

None.

CheckListDtls

Collection of CharityApplicChkListVM

None.

Request Formats

application/json, text/json

Sample:
{
  "BookId": 1,
  "FinYearId": 2,
  "ApplDate": "sample string 3",
  "ApplRefNo": "sample string 4",
  "ProjectMaster": {
    "ProjectId": 1,
    "ProjectName": "sample string 2",
    "ProjectType": {
      "ProjectTypeId": 1,
      "ProjectTypeName": "sample string 2"
    }
  },
  "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",
  "AplcntEducation": "sample string 11",
  "Religion": {
    "ReligionId": 1,
    "ReligionName": "sample string 2"
  },
  "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": 12.0,
  "PreviousHelpSts": "sample string 13",
  "IllnessHistory": "sample string 14",
  "SurgeryDate": "sample string 15",
  "TreatmentRemarks": "sample string 16",
  "TranRemark": "sample string 17",
  "Bank": {
    "BankId": 1,
    "BankName": "sample string 2"
  },
  "BankIfscCode": "sample string 18",
  "BankAccountNumber": 19,
  "CreateUser": 20,
  "CreateIp": "sample string 21",
  "Caste": {
    "CasteId": 1,
    "CasteName": "sample string 2"
  },
  "AplcntAadhar": "sample string 22",
  "BankBranch": "sample string 23",
  "SubTypeRefNo": "sample string 24",
  "LandDetails": "sample string 25",
  "IsOthBenef": "sample string 26",
  "OthPrefix": {
    "PrefixId": 1,
    "PrefixName": "sample string 2"
  },
  "OthName": "sample string 27",
  "OthAddress": "sample string 28",
  "IsMinor": "sample string 29",
  "IsDalit": "sample string 30",
  "MemberDetails": [
    {
      "OrderBySlNo": 1,
      "Prefix": {
        "PrefixId": 1,
        "PrefixName": "sample string 2"
      },
      "MemberName": "sample string 2",
      "MemberAge": 3,
      "Relation": {
        "RelationId": 1,
        "RelationName": "sample string 2"
      },
      "Occupation": {
        "OccupationId": 1,
        "OccupationName": "sample string 2"
      },
      "MemberEducation": "sample string 4",
      "MemberMonthlyIncome": 5.0
    },
    {
      "OrderBySlNo": 1,
      "Prefix": {
        "PrefixId": 1,
        "PrefixName": "sample string 2"
      },
      "MemberName": "sample string 2",
      "MemberAge": 3,
      "Relation": {
        "RelationId": 1,
        "RelationName": "sample string 2"
      },
      "Occupation": {
        "OccupationId": 1,
        "OccupationName": "sample string 2"
      },
      "MemberEducation": "sample string 4",
      "MemberMonthlyIncome": 5.0
    }
  ],
  "CheckListDtls": [
    {
      "CheckList": {
        "CheckListId": 1,
        "CheckListName": "sample string 2"
      },
      "Status": "sample string 1"
    },
    {
      "CheckList": {
        "CheckListId": 1,
        "CheckListName": "sample string 2"
      },
      "Status": "sample string 1"
    }
  ]
}

application/xml, text/xml

Sample:
<CharityApplicationSaveVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
  <AplcntAadhar>sample string 22</AplcntAadhar>
  <AplcntAddress>sample string 6</AplcntAddress>
  <AplcntAge>9</AplcntAge>
  <AplcntEducation>sample string 11</AplcntEducation>
  <AplcntGender>sample string 10</AplcntGender>
  <AplcntMobileNo>7</AplcntMobileNo>
  <AplcntMonthlyIncome>12</AplcntMonthlyIncome>
  <AplcntName>sample string 5</AplcntName>
  <AplcntRationCardNo>sample string 8</AplcntRationCardNo>
  <ApplDate>sample string 3</ApplDate>
  <ApplRefNo>sample string 4</ApplRefNo>
  <Bank>
    <BankId>1</BankId>
    <BankName>sample string 2</BankName>
  </Bank>
  <BankAccountNumber>19</BankAccountNumber>
  <BankBranch>sample string 23</BankBranch>
  <BankIfscCode>sample string 18</BankIfscCode>
  <BookId>1</BookId>
  <Caste>
    <CasteId>1</CasteId>
    <CasteName>sample string 2</CasteName>
  </Caste>
  <CheckListDtls>
    <CharityApplicChkListVM>
      <CheckList>
        <CheckListId>1</CheckListId>
        <CheckListName>sample string 2</CheckListName>
      </CheckList>
      <Status>sample string 1</Status>
    </CharityApplicChkListVM>
    <CharityApplicChkListVM>
      <CheckList>
        <CheckListId>1</CheckListId>
        <CheckListName>sample string 2</CheckListName>
      </CheckList>
      <Status>sample string 1</Status>
    </CharityApplicChkListVM>
  </CheckListDtls>
  <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>
  <CreateIp>sample string 21</CreateIp>
  <CreateUser>20</CreateUser>
  <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>
  <FinYearId>2</FinYearId>
  <IllnessHistory>sample string 14</IllnessHistory>
  <IsDalit>sample string 30</IsDalit>
  <IsMinor>sample string 29</IsMinor>
  <IsOthBenef>sample string 26</IsOthBenef>
  <LandDetails>sample string 25</LandDetails>
  <MemberDetails>
    <CharityAplMemberDtlsVM>
      <MemberAge>3</MemberAge>
      <MemberEducation>sample string 4</MemberEducation>
      <MemberMonthlyIncome>5</MemberMonthlyIncome>
      <MemberName>sample string 2</MemberName>
      <Occupation>
        <OccupationId>1</OccupationId>
        <OccupationName>sample string 2</OccupationName>
      </Occupation>
      <OrderBySlNo>1</OrderBySlNo>
      <Prefix>
        <PrefixId>1</PrefixId>
        <PrefixName>sample string 2</PrefixName>
      </Prefix>
      <Relation>
        <RelationId>1</RelationId>
        <RelationName>sample string 2</RelationName>
      </Relation>
    </CharityAplMemberDtlsVM>
    <CharityAplMemberDtlsVM>
      <MemberAge>3</MemberAge>
      <MemberEducation>sample string 4</MemberEducation>
      <MemberMonthlyIncome>5</MemberMonthlyIncome>
      <MemberName>sample string 2</MemberName>
      <Occupation>
        <OccupationId>1</OccupationId>
        <OccupationName>sample string 2</OccupationName>
      </Occupation>
      <OrderBySlNo>1</OrderBySlNo>
      <Prefix>
        <PrefixId>1</PrefixId>
        <PrefixName>sample string 2</PrefixName>
      </Prefix>
      <Relation>
        <RelationId>1</RelationId>
        <RelationName>sample string 2</RelationName>
      </Relation>
    </CharityAplMemberDtlsVM>
  </MemberDetails>
  <Occupation>
    <OccupationId>1</OccupationId>
    <OccupationName>sample string 2</OccupationName>
  </Occupation>
  <OthAddress>sample string 28</OthAddress>
  <OthName>sample string 27</OthName>
  <OthPrefix>
    <PrefixId>1</PrefixId>
    <PrefixName>sample string 2</PrefixName>
  </OthPrefix>
  <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 13</PreviousHelpSts>
  <ProjectMaster>
    <ProjectId>1</ProjectId>
    <ProjectName>sample string 2</ProjectName>
    <ProjectType>
      <ProjectTypeId>1</ProjectTypeId>
      <ProjectTypeName>sample string 2</ProjectTypeName>
    </ProjectType>
  </ProjectMaster>
  <ProjectSubType>
    <SubTypeId>1</SubTypeId>
    <SubTypeName>sample string 2</SubTypeName>
  </ProjectSubType>
  <Religion>
    <ReligionId>1</ReligionId>
    <ReligionName>sample string 2</ReligionName>
  </Religion>
  <SubTypeRefNo>sample string 24</SubTypeRefNo>
  <SurgeryDate>sample string 15</SurgeryDate>
  <TranRemark>sample string 17</TranRemark>
  <TreatmentRemarks>sample string 16</TreatmentRemarks>
</CharityApplicationSaveVM>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.