POST api/ParishFamilyMemberLifeEventChangeRequest/save

Request Information

URI Parameters

None.

Body Parameters

ParishFamilyMemberLifeEventChangeRequestSaveVM
NameDescriptionTypeAdditional information
BookId

integer

Required

FinYearId

integer

Required

RequestDate

string

Required

Refno

string

Required

String length: inclusive between 0 and 10

Member

ParishFamilyMemberNameLookupVM

Required

LifeEvent

ParishLifeEventsLookupVM

Required

EventDate

string

None.

Establishment

EstablishmentLookup

None.

Clergy

ClergyLookup

None.

Place

string

String length: inclusive between 0 and 100

PrevEventDate

string

None.

PrevEstablishment

EstablishmentLookup

None.

PrevClergy

ClergyLookup

None.

PrevPlace

string

String length: inclusive between 0 and 100

Remarks

string

String length: inclusive between 0 and 200

CreateUser

integer

Required

CreateIp

string

Required

String length: inclusive between 0 and 20

Request Formats

application/json, text/json

Sample:
{
  "BookId": 1,
  "FinYearId": 2,
  "RequestDate": "sample string 3",
  "Refno": "sample string 4",
  "Member": {
    "MemberId": 1,
    "MemberName": "sample string 2"
  },
  "LifeEvent": {
    "LifeEventId": 1,
    "LifeEventName": "sample string 2",
    "AllowMultiple": "sample string 3"
  },
  "EventDate": "sample string 5",
  "Establishment": {
    "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
  },
  "Place": "sample string 6",
  "PrevEventDate": "sample string 7",
  "PrevEstablishment": {
    "EstablishId": 1,
    "EstablishName": "sample string 2",
    "EstablishType": {
      "EstablishTypeId": 1,
      "EstablishTypeName": "sample string 2"
    },
    "EstablishCategory": {
      "EstablishCategoryId": 1,
      "EstablishCategoryName": "sample string 2"
    },
    "TotalMembers": 3,
    "TotalHouses": 4
  },
  "PrevClergy": {
    "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
  },
  "PrevPlace": "sample string 8",
  "Remarks": "sample string 9",
  "CreateUser": 10,
  "CreateIp": "sample string 11"
}

application/xml, text/xml

Sample:
<ParishFamilyMemberLifeEventChangeRequestSaveVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
  <BookId>1</BookId>
  <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 11</CreateIp>
  <CreateUser>10</CreateUser>
  <Establishment>
    <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>
  </Establishment>
  <EventDate>sample string 5</EventDate>
  <FinYearId>2</FinYearId>
  <LifeEvent>
    <AllowMultiple>sample string 3</AllowMultiple>
    <LifeEventId>1</LifeEventId>
    <LifeEventName>sample string 2</LifeEventName>
  </LifeEvent>
  <Member>
    <MemberId>1</MemberId>
    <MemberName>sample string 2</MemberName>
  </Member>
  <Place>sample string 6</Place>
  <PrevClergy>
    <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>
  </PrevClergy>
  <PrevEstablishment>
    <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>
  </PrevEstablishment>
  <PrevEventDate>sample string 7</PrevEventDate>
  <PrevPlace>sample string 8</PrevPlace>
  <Refno>sample string 4</Refno>
  <Remarks>sample string 9</Remarks>
  <RequestDate>sample string 3</RequestDate>
</ParishFamilyMemberLifeEventChangeRequestSaveVM>

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.