POST api/ParishFamily/Save

Request Information

URI Parameters

None.

Body Parameters

ParishFamilySaveVM
NameDescriptionTypeAdditional information
BookId

integer

Required

FamilyName

string

Required

String length: inclusive between 0 and 200

PrayerGroup

ParishPrayerGroupLookupVM

Required

FamilyNo

string

Required

String length: inclusive between 0 and 30

RegNoPre

string

Required

String length: inclusive between 0 and 20

RegNo

integer

Required

HouseName

string

String length: inclusive between 0 and 200

Address1

string

String length: inclusive between 0 and 200

Address2

string

String length: inclusive between 0 and 200

Place

string

String length: inclusive between 0 and 100

LandMark

string

String length: inclusive between 0 and 100

PostOffice

PlaceLookup

None.

District

PlaceLookup

None.

State

PlaceLookup

None.

Country

PlaceLookup

None.

Pincode

string

String length: inclusive between 0 and 50

ContactInfo

Collection of ContactInfoVM

None.

Prefix

PrefixLookup

None.

MemberName

string

None.

BaptismName

string

None.

NickName

string

None.

Gender

string

None.

MemberStatus

ParishMemberStatusLookupVM

None.

ParentFamily

ParishFamilyLookupVM

None.

FamilyGroup

ParishFamilyGroupLookupVM

None.

FamilySlab

ParishFamilySlabLookupVM

None.

Remarks

string

String length: inclusive between 0 and 200

PhotoPath

string

String length: inclusive between 0 and 250

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,
  "FamilyName": "sample string 2",
  "PrayerGroup": {
    "PrayerGroupId": 1,
    "PrayerGroupName": "sample string 2"
  },
  "FamilyNo": "sample string 3",
  "RegNoPre": "sample string 4",
  "RegNo": 5,
  "HouseName": "sample string 6",
  "Address1": "sample string 7",
  "Address2": "sample string 8",
  "Place": "sample string 9",
  "LandMark": "sample string 10",
  "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"
  },
  "Pincode": "sample string 11",
  "ContactInfo": [
    {
      "PhoneNumber": "sample string 1",
      "MobileNumber": "sample string 2",
      "Email": "sample string 3",
      "Fax": "sample string 4"
    },
    {
      "PhoneNumber": "sample string 1",
      "MobileNumber": "sample string 2",
      "Email": "sample string 3",
      "Fax": "sample string 4"
    }
  ],
  "Prefix": {
    "PrefixId": 1,
    "PrefixName": "sample string 2"
  },
  "MemberName": "sample string 12",
  "BaptismName": "sample string 13",
  "NickName": "sample string 14",
  "Gender": "sample string 15",
  "MemberStatus": {
    "MemberStatusId": 1,
    "MemberStatusName": "sample string 2"
  },
  "ParentFamily": {
    "FamilyId": 1,
    "FamilyName": "sample string 2",
    "PrayerGroup": {
      "PrayerGroupId": 1,
      "PrayerGroupName": "sample string 2"
    },
    "FamilyNo": "sample string 3",
    "RegNoPre": "sample string 4",
    "RegNo": 5,
    "HouseName": "sample string 6",
    "PhotoPath": "sample string 7"
  },
  "FamilyGroup": {
    "FamilyGroupId": 1,
    "FamilyGroupName": "sample string 2"
  },
  "FamilySlab": {
    "SlabId": 1,
    "SlabName": "sample string 2"
  },
  "Remarks": "sample string 16",
  "PhotoPath": "sample string 17",
  "Status": "sample string 18",
  "CreateUser": 19,
  "CreateIp": "sample string 20"
}

application/xml, text/xml

Sample:
<ParishFamilySaveVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
  <Address1>sample string 7</Address1>
  <Address2>sample string 8</Address2>
  <BaptismName>sample string 13</BaptismName>
  <BookId>1</BookId>
  <ContactInfo>
    <ContactInfoVM>
      <Email>sample string 3</Email>
      <Fax>sample string 4</Fax>
      <MobileNumber>sample string 2</MobileNumber>
      <PhoneNumber>sample string 1</PhoneNumber>
    </ContactInfoVM>
    <ContactInfoVM>
      <Email>sample string 3</Email>
      <Fax>sample string 4</Fax>
      <MobileNumber>sample string 2</MobileNumber>
      <PhoneNumber>sample string 1</PhoneNumber>
    </ContactInfoVM>
  </ContactInfo>
  <Country>
    <PlaceId>1</PlaceId>
    <PlaceName>sample string 2</PlaceName>
  </Country>
  <CreateIp>sample string 20</CreateIp>
  <CreateUser>19</CreateUser>
  <District>
    <PlaceId>1</PlaceId>
    <PlaceName>sample string 2</PlaceName>
  </District>
  <FamilyGroup>
    <FamilyGroupId>1</FamilyGroupId>
    <FamilyGroupName>sample string 2</FamilyGroupName>
  </FamilyGroup>
  <FamilyName>sample string 2</FamilyName>
  <FamilyNo>sample string 3</FamilyNo>
  <FamilySlab>
    <SlabId>1</SlabId>
    <SlabName>sample string 2</SlabName>
  </FamilySlab>
  <Gender>sample string 15</Gender>
  <HouseName>sample string 6</HouseName>
  <LandMark>sample string 10</LandMark>
  <MemberName>sample string 12</MemberName>
  <MemberStatus>
    <MemberStatusId>1</MemberStatusId>
    <MemberStatusName>sample string 2</MemberStatusName>
  </MemberStatus>
  <NickName>sample string 14</NickName>
  <ParentFamily>
    <FamilyId>1</FamilyId>
    <FamilyName>sample string 2</FamilyName>
    <FamilyNo>sample string 3</FamilyNo>
    <HouseName>sample string 6</HouseName>
    <PhotoPath>sample string 7</PhotoPath>
    <PrayerGroup>
      <PrayerGroupId>1</PrayerGroupId>
      <PrayerGroupName>sample string 2</PrayerGroupName>
    </PrayerGroup>
    <RegNo>5</RegNo>
    <RegNoPre>sample string 4</RegNoPre>
  </ParentFamily>
  <PhotoPath>sample string 17</PhotoPath>
  <Pincode>sample string 11</Pincode>
  <Place>sample string 9</Place>
  <PostOffice>
    <PlaceId>1</PlaceId>
    <PlaceName>sample string 2</PlaceName>
  </PostOffice>
  <PrayerGroup>
    <PrayerGroupId>1</PrayerGroupId>
    <PrayerGroupName>sample string 2</PrayerGroupName>
  </PrayerGroup>
  <Prefix>
    <PrefixId>1</PrefixId>
    <PrefixName>sample string 2</PrefixName>
  </Prefix>
  <RegNo>5</RegNo>
  <RegNoPre>sample string 4</RegNoPre>
  <Remarks>sample string 16</Remarks>
  <State>
    <PlaceId>1</PlaceId>
    <PlaceName>sample string 2</PlaceName>
  </State>
  <Status>sample string 18</Status>
</ParishFamilySaveVM>

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.