PUT api/ParishFamily/Update

Request Information

URI Parameters

None.

Body Parameters

ParishFamilyUpdateVM
NameDescriptionTypeAdditional information
FamilyId

integer

Required

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.

HOF

ParishFamilyMemberLookupVM

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

UpdateUser

integer

Required

UpdateIp

string

Required

String length: inclusive between 0 and 20

ConfirmStatus

string

Required

Matching regular expression pattern: Y|N

ConfirmUser

integer

None.

ConfirmIp

string

String length: inclusive between 0 and 20

Request Formats

application/json, text/json

Sample:
{
  "FamilyId": 1,
  "BookId": 2,
  "FamilyName": "sample string 3",
  "PrayerGroup": {
    "PrayerGroupId": 1,
    "PrayerGroupName": "sample string 2"
  },
  "FamilyNo": "sample string 4",
  "RegNoPre": "sample string 5",
  "RegNo": 6,
  "HouseName": "sample string 7",
  "Address1": "sample string 8",
  "Address2": "sample string 9",
  "Place": "sample string 10",
  "LandMark": "sample string 11",
  "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 12",
  "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"
    }
  ],
  "HOF": {
    "MemberId": 1,
    "Family": {
      "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"
    },
    "MemberName": "sample string 2",
    "BaptismName": "sample string 3",
    "NickName": "sample string 4",
    "Gender": "sample string 5",
    "Prefix": {
      "PrefixId": 1,
      "PrefixName": "sample string 2"
    },
    "MemberAddress": "sample string 6"
  },
  "Prefix": {
    "PrefixId": 1,
    "PrefixName": "sample string 2"
  },
  "MemberName": "sample string 13",
  "BaptismName": "sample string 14",
  "NickName": "sample string 15",
  "Gender": "sample string 16",
  "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 17",
  "PhotoPath": "sample string 18",
  "Status": "sample string 19",
  "UpdateUser": 20,
  "UpdateIp": "sample string 21",
  "ConfirmStatus": "sample string 22",
  "ConfirmUser": 23,
  "ConfirmIp": "sample string 24"
}

application/xml, text/xml

Sample:
<ParishFamilyUpdateVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
  <Address1>sample string 8</Address1>
  <Address2>sample string 9</Address2>
  <BaptismName>sample string 14</BaptismName>
  <BookId>2</BookId>
  <ConfirmIp>sample string 24</ConfirmIp>
  <ConfirmStatus>sample string 22</ConfirmStatus>
  <ConfirmUser>23</ConfirmUser>
  <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>
  <District>
    <PlaceId>1</PlaceId>
    <PlaceName>sample string 2</PlaceName>
  </District>
  <FamilyGroup>
    <FamilyGroupId>1</FamilyGroupId>
    <FamilyGroupName>sample string 2</FamilyGroupName>
  </FamilyGroup>
  <FamilyId>1</FamilyId>
  <FamilyName>sample string 3</FamilyName>
  <FamilyNo>sample string 4</FamilyNo>
  <FamilySlab>
    <SlabId>1</SlabId>
    <SlabName>sample string 2</SlabName>
  </FamilySlab>
  <Gender>sample string 16</Gender>
  <HOF>
    <BaptismName>sample string 3</BaptismName>
    <Family>
      <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>
    </Family>
    <Gender>sample string 5</Gender>
    <MemberAddress>sample string 6</MemberAddress>
    <MemberId>1</MemberId>
    <MemberName>sample string 2</MemberName>
    <NickName>sample string 4</NickName>
    <Prefix>
      <PrefixId>1</PrefixId>
      <PrefixName>sample string 2</PrefixName>
    </Prefix>
  </HOF>
  <HouseName>sample string 7</HouseName>
  <LandMark>sample string 11</LandMark>
  <MemberName>sample string 13</MemberName>
  <MemberStatus>
    <MemberStatusId>1</MemberStatusId>
    <MemberStatusName>sample string 2</MemberStatusName>
  </MemberStatus>
  <NickName>sample string 15</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 18</PhotoPath>
  <Pincode>sample string 12</Pincode>
  <Place>sample string 10</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>6</RegNo>
  <RegNoPre>sample string 5</RegNoPre>
  <Remarks>sample string 17</Remarks>
  <State>
    <PlaceId>1</PlaceId>
    <PlaceName>sample string 2</PlaceName>
  </State>
  <Status>sample string 19</Status>
  <UpdateIp>sample string 21</UpdateIp>
  <UpdateUser>20</UpdateUser>
</ParishFamilyUpdateVM>

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.