POST api/Clergy/Save

Request Information

URI Parameters

None.

Body Parameters

ClergySaveVM
NameDescriptionTypeAdditional information
ClergyName

string

Required

String length: inclusive between 0 and 100

Code

string

String length: inclusive between 0 and 10

ClergySortName

string

Required

String length: inclusive between 0 and 100

ClergyCategory

ClergyCategoryLookupVM

Required

Prefix

PrefixLookupVM

Required

Dob

string

Required

PhoneNumber

string

String length: inclusive between 0 and 50

MobileNumber

string

String length: inclusive between 0 and 50

Email

string

String length: inclusive between 0 and 100

BloodGroup

BloodGroupLookupVM

None.

Nationality

NationalityLookupVM

None.

PassportNumber

string

String length: inclusive between 0 and 100

PassportExpiry

string

None.

ConsiderEnteredAddress

string

Required

Matching regular expression pattern: Y|N

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

AddressPlace

string

None.

AddressLandMark

string

String length: inclusive between 0 and 200

AddressPostOffice

PlaceLookupVM

None.

AddressDistrict

PlaceLookupVM

None.

AddressState

PlaceLookupVM

None.

AddressCountry

PlaceLookupVM

None.

PermenantHouseName

string

String length: inclusive between 0 and 100

PermenantPincode

string

String length: inclusive between 0 and 50

PermenantPlace

string

None.

PermenantLandMark

string

String length: inclusive between 0 and 200

PermenantPostOffice

PlaceLookupVM

None.

PermenantDistrict

PlaceLookupVM

None.

PermenantState

PlaceLookupVM

None.

PermenantCountry

PlaceLookupVM

None.

NativeHouseName

string

String length: inclusive between 0 and 100

NativePincode

string

String length: inclusive between 0 and 50

NativePlace

string

None.

NativeLandMark

string

String length: inclusive between 0 and 200

NativePostOffice

PlaceLookupVM

None.

NativeDistrict

PlaceLookupVM

None.

NativeState

PlaceLookupVM

None.

NativeCountry

PlaceLookupVM

None.

HomeParish

EstablishmentLookupVM

None.

MaritalStatus

MaritalStatusLookupVM

None.

MarriageDate

string

None.

DeaconDate

string

None.

KasseessaDate

string

None.

RambanDate

string

None.

EpiscopaDate

string

None.

SufMetroDate

string

None.

OmetroDate

string

None.

InstMartMetroDate

string

None.

DesigValiyaMetroDate

string

None.

DismissalDate

string

None.

RetirementDate

string

None.

DemiseDate

string

None.

ResignDate

string

None.

VicarGeneralDate

string

None.

Remarks

string

String length: inclusive between 0 and 2000

ClergyType

ClergyTypeLookupVM

Required

ClergyStatus

ClergyStatusLookupVM

Required

OfficialEmail

string

String length: inclusive between 0 and 100

OrdByDeccen

ClergyLookupVM

None.

OrdByKass

ClergyLookupVM

None.

AccountNumber

string

String length: inclusive between 0 and 100

Bank

BankMasterLookupVM

None.

BankBranchName

string

None.

IfscCode

string

None.

Status

string

Required

Matching regular expression pattern: A|I

CreateUser

integer

Required

CreateIp

string

Required

String length: inclusive between 0 and 20

ConfirmStatus

string

Required

Matching regular expression pattern: Y|N

Request Formats

application/json, text/json

Sample:
{
  "ClergyName": "sample string 1",
  "Code": "sample string 2",
  "ClergySortName": "sample string 3",
  "ClergyCategory": {
    "ClergyCategoryId": 1,
    "ClergyCategoryName": "sample string 2",
    "ClergyTypeId": 3
  },
  "Prefix": {
    "PrefixId": 1,
    "PrefixName": "sample string 2"
  },
  "Dob": "sample string 4",
  "PhoneNumber": "sample string 5",
  "MobileNumber": "sample string 6",
  "Email": "sample string 7",
  "BloodGroup": {
    "BloodGroupId": 1,
    "BloodGroupName": "sample string 2"
  },
  "Nationality": {
    "PlaceId": 1,
    "Nationality": "sample string 2"
  },
  "PassportNumber": "sample string 8",
  "PassportExpiry": "sample string 9",
  "ConsiderEnteredAddress": "sample string 10",
  "Address1": "sample string 11",
  "Address2": "sample string 12",
  "AddressPincode": "sample string 13",
  "AddressPlace": "sample string 14",
  "AddressLandMark": "sample string 15",
  "AddressPostOffice": {
    "PlaceId": 1,
    "PlaceName": "sample string 2"
  },
  "AddressDistrict": {
    "PlaceId": 1,
    "PlaceName": "sample string 2"
  },
  "AddressState": {
    "PlaceId": 1,
    "PlaceName": "sample string 2"
  },
  "AddressCountry": {
    "PlaceId": 1,
    "PlaceName": "sample string 2"
  },
  "PermenantHouseName": "sample string 16",
  "PermenantPincode": "sample string 17",
  "PermenantPlace": "sample string 18",
  "PermenantLandMark": "sample string 19",
  "PermenantPostOffice": {
    "PlaceId": 1,
    "PlaceName": "sample string 2"
  },
  "PermenantDistrict": {
    "PlaceId": 1,
    "PlaceName": "sample string 2"
  },
  "PermenantState": {
    "PlaceId": 1,
    "PlaceName": "sample string 2"
  },
  "PermenantCountry": {
    "PlaceId": 1,
    "PlaceName": "sample string 2"
  },
  "NativeHouseName": "sample string 20",
  "NativePincode": "sample string 21",
  "NativePlace": "sample string 22",
  "NativeLandMark": "sample string 23",
  "NativePostOffice": {
    "PlaceId": 1,
    "PlaceName": "sample string 2"
  },
  "NativeDistrict": {
    "PlaceId": 1,
    "PlaceName": "sample string 2"
  },
  "NativeState": {
    "PlaceId": 1,
    "PlaceName": "sample string 2"
  },
  "NativeCountry": {
    "PlaceId": 1,
    "PlaceName": "sample string 2"
  },
  "HomeParish": {
    "EstablishId": 1,
    "EstablishName": "sample string 2",
    "EstablishType": {
      "EstablishTypeId": 1,
      "EstablishTypeName": "sample string 2"
    },
    "EstablishCategory": {
      "EstablishCategoryId": 1,
      "EstablishCategoryName": "sample string 2"
    },
    "TotalMembers": 3,
    "TotalHouses": 4
  },
  "MaritalStatus": {
    "MaritalStatusId": 1,
    "MaritalStatusName": "sample string 2"
  },
  "MarriageDate": "sample string 24",
  "DeaconDate": "sample string 25",
  "KasseessaDate": "sample string 26",
  "RambanDate": "sample string 27",
  "EpiscopaDate": "sample string 28",
  "SufMetroDate": "sample string 29",
  "OmetroDate": "sample string 30",
  "InstMartMetroDate": "sample string 31",
  "DesigValiyaMetroDate": "sample string 32",
  "DismissalDate": "sample string 33",
  "RetirementDate": "sample string 34",
  "DemiseDate": "sample string 35",
  "ResignDate": "sample string 36",
  "VicarGeneralDate": "sample string 37",
  "Remarks": "sample string 38",
  "ClergyType": {
    "ClergyTypeId": 1,
    "ClergyTypeName": "sample string 2"
  },
  "ClergyStatus": {
    "ClergyStatusId": 1,
    "ClergyStatusName": "sample string 2"
  },
  "OfficialEmail": "sample string 39",
  "OrdByDeccen": {
    "ClergyId": 1,
    "ClergyName": "sample string 2",
    "Prefix": {
      "PrefixId": 1,
      "PrefixName": "sample string 2"
    },
    "Address": "sample string 3",
    "ClergyStatusName": "sample string 4",
    "DOB": "sample string 5",
    "DeaconDate": "sample string 6",
    "ClergyCategoryId": 7,
    "ClergyTypeId": 8
  },
  "OrdByKass": {
    "ClergyId": 1,
    "ClergyName": "sample string 2",
    "Prefix": {
      "PrefixId": 1,
      "PrefixName": "sample string 2"
    },
    "Address": "sample string 3",
    "ClergyStatusName": "sample string 4",
    "DOB": "sample string 5",
    "DeaconDate": "sample string 6",
    "ClergyCategoryId": 7,
    "ClergyTypeId": 8
  },
  "AccountNumber": "sample string 40",
  "Bank": {
    "BankId": 1,
    "BankName": "sample string 2"
  },
  "BankBranchName": "sample string 41",
  "IfscCode": "sample string 42",
  "Status": "sample string 43",
  "CreateUser": 44,
  "CreateIp": "sample string 45",
  "ConfirmStatus": "sample string 46"
}

application/xml, text/xml

Sample:
<ClergySaveVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
  <AccountNumber>sample string 40</AccountNumber>
  <Address1>sample string 11</Address1>
  <Address2>sample string 12</Address2>
  <AddressCountry>
    <PlaceId>1</PlaceId>
    <PlaceName>sample string 2</PlaceName>
  </AddressCountry>
  <AddressDistrict>
    <PlaceId>1</PlaceId>
    <PlaceName>sample string 2</PlaceName>
  </AddressDistrict>
  <AddressLandMark>sample string 15</AddressLandMark>
  <AddressPincode>sample string 13</AddressPincode>
  <AddressPlace>sample string 14</AddressPlace>
  <AddressPostOffice>
    <PlaceId>1</PlaceId>
    <PlaceName>sample string 2</PlaceName>
  </AddressPostOffice>
  <AddressState>
    <PlaceId>1</PlaceId>
    <PlaceName>sample string 2</PlaceName>
  </AddressState>
  <Bank>
    <BankId>1</BankId>
    <BankName>sample string 2</BankName>
  </Bank>
  <BankBranchName>sample string 41</BankBranchName>
  <BloodGroup>
    <BloodGroupId>1</BloodGroupId>
    <BloodGroupName>sample string 2</BloodGroupName>
  </BloodGroup>
  <ClergyCategory>
    <ClergyCategoryId>1</ClergyCategoryId>
    <ClergyCategoryName>sample string 2</ClergyCategoryName>
    <ClergyTypeId>3</ClergyTypeId>
  </ClergyCategory>
  <ClergyName>sample string 1</ClergyName>
  <ClergySortName>sample string 3</ClergySortName>
  <ClergyStatus>
    <ClergyStatusId>1</ClergyStatusId>
    <ClergyStatusName>sample string 2</ClergyStatusName>
  </ClergyStatus>
  <ClergyType>
    <ClergyTypeId>1</ClergyTypeId>
    <ClergyTypeName>sample string 2</ClergyTypeName>
  </ClergyType>
  <Code>sample string 2</Code>
  <ConfirmStatus>sample string 46</ConfirmStatus>
  <ConsiderEnteredAddress>sample string 10</ConsiderEnteredAddress>
  <CreateIp>sample string 45</CreateIp>
  <CreateUser>44</CreateUser>
  <DeaconDate>sample string 25</DeaconDate>
  <DemiseDate>sample string 35</DemiseDate>
  <DesigValiyaMetroDate>sample string 32</DesigValiyaMetroDate>
  <DismissalDate>sample string 33</DismissalDate>
  <Dob>sample string 4</Dob>
  <Email>sample string 7</Email>
  <EpiscopaDate>sample string 28</EpiscopaDate>
  <HomeParish>
    <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>
  </HomeParish>
  <IfscCode>sample string 42</IfscCode>
  <InstMartMetroDate>sample string 31</InstMartMetroDate>
  <KasseessaDate>sample string 26</KasseessaDate>
  <MaritalStatus>
    <MaritalStatusId>1</MaritalStatusId>
    <MaritalStatusName>sample string 2</MaritalStatusName>
  </MaritalStatus>
  <MarriageDate>sample string 24</MarriageDate>
  <MobileNumber>sample string 6</MobileNumber>
  <Nationality>
    <Nationality>sample string 2</Nationality>
    <PlaceId>1</PlaceId>
  </Nationality>
  <NativeCountry>
    <PlaceId>1</PlaceId>
    <PlaceName>sample string 2</PlaceName>
  </NativeCountry>
  <NativeDistrict>
    <PlaceId>1</PlaceId>
    <PlaceName>sample string 2</PlaceName>
  </NativeDistrict>
  <NativeHouseName>sample string 20</NativeHouseName>
  <NativeLandMark>sample string 23</NativeLandMark>
  <NativePincode>sample string 21</NativePincode>
  <NativePlace>sample string 22</NativePlace>
  <NativePostOffice>
    <PlaceId>1</PlaceId>
    <PlaceName>sample string 2</PlaceName>
  </NativePostOffice>
  <NativeState>
    <PlaceId>1</PlaceId>
    <PlaceName>sample string 2</PlaceName>
  </NativeState>
  <OfficialEmail>sample string 39</OfficialEmail>
  <OmetroDate>sample string 30</OmetroDate>
  <OrdByDeccen>
    <Address>sample string 3</Address>
    <ClergyCategoryId>7</ClergyCategoryId>
    <ClergyId>1</ClergyId>
    <ClergyName>sample string 2</ClergyName>
    <ClergyStatusName>sample string 4</ClergyStatusName>
    <ClergyTypeId>8</ClergyTypeId>
    <DOB>sample string 5</DOB>
    <DeaconDate>sample string 6</DeaconDate>
    <Prefix>
      <PrefixId>1</PrefixId>
      <PrefixName>sample string 2</PrefixName>
    </Prefix>
  </OrdByDeccen>
  <OrdByKass>
    <Address>sample string 3</Address>
    <ClergyCategoryId>7</ClergyCategoryId>
    <ClergyId>1</ClergyId>
    <ClergyName>sample string 2</ClergyName>
    <ClergyStatusName>sample string 4</ClergyStatusName>
    <ClergyTypeId>8</ClergyTypeId>
    <DOB>sample string 5</DOB>
    <DeaconDate>sample string 6</DeaconDate>
    <Prefix>
      <PrefixId>1</PrefixId>
      <PrefixName>sample string 2</PrefixName>
    </Prefix>
  </OrdByKass>
  <PassportExpiry>sample string 9</PassportExpiry>
  <PassportNumber>sample string 8</PassportNumber>
  <PermenantCountry>
    <PlaceId>1</PlaceId>
    <PlaceName>sample string 2</PlaceName>
  </PermenantCountry>
  <PermenantDistrict>
    <PlaceId>1</PlaceId>
    <PlaceName>sample string 2</PlaceName>
  </PermenantDistrict>
  <PermenantHouseName>sample string 16</PermenantHouseName>
  <PermenantLandMark>sample string 19</PermenantLandMark>
  <PermenantPincode>sample string 17</PermenantPincode>
  <PermenantPlace>sample string 18</PermenantPlace>
  <PermenantPostOffice>
    <PlaceId>1</PlaceId>
    <PlaceName>sample string 2</PlaceName>
  </PermenantPostOffice>
  <PermenantState>
    <PlaceId>1</PlaceId>
    <PlaceName>sample string 2</PlaceName>
  </PermenantState>
  <PhoneNumber>sample string 5</PhoneNumber>
  <Prefix>
    <PrefixId>1</PrefixId>
    <PrefixName>sample string 2</PrefixName>
  </Prefix>
  <RambanDate>sample string 27</RambanDate>
  <Remarks>sample string 38</Remarks>
  <ResignDate>sample string 36</ResignDate>
  <RetirementDate>sample string 34</RetirementDate>
  <Status>sample string 43</Status>
  <SufMetroDate>sample string 29</SufMetroDate>
  <VicarGeneralDate>sample string 37</VicarGeneralDate>
</ClergySaveVM>

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.