POST api/ParishServiceEntry/Death/Save

Request Information

URI Parameters

None.

Body Parameters

ParishServiceEntryDeathSaveVM
NameDescriptionTypeAdditional information
ServiceDetails

ParishServiceEntrySaveVM

Required

DeathDetails

ParishServiceEntryDeathVM

Required

Request Formats

application/json, text/json

Sample:
{
  "ServiceDetails": {
    "BookId": 1,
    "FinYearId": 2,
    "RequestId": 3,
    "RegisterEntryType": {
      "TypeId": 1,
      "TypeName": "sample string 2"
    },
    "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
    },
    "ServiceDate": "sample string 4",
    "ServiceTime": "sample string 5",
    "Service": {
      "ServiceId": 1,
      "ServiceName": "sample string 2"
    },
    "ServiceDescription": "sample string 6",
    "Refno": "sample string 7",
    "RegNoPre": "sample string 8",
    "RegNo": 9,
    "MemberId": 10,
    "MemberName": "sample string 11",
    "MemberAddress": "sample string 12",
    "OfficiantId": 13,
    "OfficiantName": "sample string 14",
    "PreacherId": 15,
    "PreacherName": "sample string 16",
    "CelebrantId": 17,
    "CelebrantName": "sample string 18",
    "CongregationNos": 19,
    "CommunicantsNos": 20,
    "Offertory": 21.0,
    "ChargesTotal": 22.0,
    "Amount": 23.0,
    "Remarks": "sample string 24",
    "CreateUser": 25,
    "CreateIp": "sample string 26",
    "ChargeDetails": [
      {
        "Slno": 1,
        "Charges": {
          "ChargeId": 1,
          "ChargeName": "sample string 2"
        },
        "Amount": 2.0
      },
      {
        "Slno": 1,
        "Charges": {
          "ChargeId": 1,
          "ChargeName": "sample string 2"
        },
        "Amount": 2.0
      }
    ]
  },
  "DeathDetails": {
    "DeathDate": "sample string 1",
    "DeathTime": "sample string 2",
    "DeathPlace": {
      "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
    },
    "DeathParish": {
      "EstablishId": 1,
      "EstablishName": "sample string 2",
      "EstablishType": {
        "EstablishTypeId": 1,
        "EstablishTypeName": "sample string 2"
      },
      "EstablishCategory": {
        "EstablishCategoryId": 1,
        "EstablishCategoryName": "sample string 2"
      },
      "TotalMembers": 3,
      "TotalHouses": 4
    },
    "Kallara": {
      "KallaraId": 1,
      "KallaraNo": "sample string 2"
    }
  }
}

application/xml, text/xml

Sample:
<ParishServiceEntryDeathSaveVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
  <DeathDetails>
    <DeathDate>sample string 1</DeathDate>
    <DeathParish>
      <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>
    </DeathParish>
    <DeathPlace>
      <PlaceId>1</PlaceId>
      <PlaceName>sample string 2</PlaceName>
    </DeathPlace>
    <DeathTime>sample string 2</DeathTime>
    <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>
    <Kallara>
      <KallaraId>1</KallaraId>
      <KallaraNo>sample string 2</KallaraNo>
    </Kallara>
  </DeathDetails>
  <ServiceDetails>
    <Amount>23</Amount>
    <BookId>1</BookId>
    <CelebrantId>17</CelebrantId>
    <CelebrantName>sample string 18</CelebrantName>
    <ChargeDetails>
      <ParishServiceEntryChargesVM>
        <Amount>2</Amount>
        <Charges>
          <ChargeId>1</ChargeId>
          <ChargeName>sample string 2</ChargeName>
        </Charges>
        <Slno>1</Slno>
      </ParishServiceEntryChargesVM>
      <ParishServiceEntryChargesVM>
        <Amount>2</Amount>
        <Charges>
          <ChargeId>1</ChargeId>
          <ChargeName>sample string 2</ChargeName>
        </Charges>
        <Slno>1</Slno>
      </ParishServiceEntryChargesVM>
    </ChargeDetails>
    <ChargesTotal>22</ChargesTotal>
    <CommunicantsNos>20</CommunicantsNos>
    <CongregationNos>19</CongregationNos>
    <CreateIp>sample string 26</CreateIp>
    <CreateUser>25</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>
    <FinYearId>2</FinYearId>
    <MemberAddress>sample string 12</MemberAddress>
    <MemberId>10</MemberId>
    <MemberName>sample string 11</MemberName>
    <Offertory>21</Offertory>
    <OfficiantId>13</OfficiantId>
    <OfficiantName>sample string 14</OfficiantName>
    <PreacherId>15</PreacherId>
    <PreacherName>sample string 16</PreacherName>
    <Refno>sample string 7</Refno>
    <RegNo>9</RegNo>
    <RegNoPre>sample string 8</RegNoPre>
    <RegisterEntryType>
      <TypeId>1</TypeId>
      <TypeName>sample string 2</TypeName>
    </RegisterEntryType>
    <Remarks>sample string 24</Remarks>
    <RequestId>3</RequestId>
    <Service>
      <ServiceId>1</ServiceId>
      <ServiceName>sample string 2</ServiceName>
    </Service>
    <ServiceDate>sample string 4</ServiceDate>
    <ServiceDescription>sample string 6</ServiceDescription>
    <ServiceTime>sample string 5</ServiceTime>
  </ServiceDetails>
</ParishServiceEntryDeathSaveVM>

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.