PUT api/ParishServiceEntry/Update

Request Information

URI Parameters

None.

Body Parameters

ParishServiceEntryUpdateVM
NameDescriptionTypeAdditional information
EntryId

integer

Required

BookId

integer

Required

FinYearId

integer

Required

RequestId

integer

None.

RegisterEntryType

ParishRegisterEntryTypeLookupVM

Required

Establishment

EstablishmentLookup

Required

ServiceDate

string

Required

ServiceTime

string

String length: inclusive between 0 and 8

Service

ParishServiceLookupVM

Required

ServiceDescription

string

String length: inclusive between 0 and 200

RegNoPre

string

String length: inclusive between 0 and 20

RegNo

integer

Required

MemberId

integer

None.

MemberName

string

String length: inclusive between 0 and 100

MemberAddress

string

String length: inclusive between 0 and 300

OfficiantId

integer

None.

OfficiantName

string

String length: inclusive between 0 and 100

PreacherId

integer

None.

PreacherName

string

String length: inclusive between 0 and 100

CelebrantId

integer

None.

CelebrantName

string

String length: inclusive between 0 and 100

CongregationNos

integer

None.

CommunicantsNos

integer

None.

Offertory

decimal number

None.

ChargesTotal

decimal number

None.

Amount

decimal number

None.

Remarks

string

String length: inclusive between 0 and 200

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

ChargeDetails

Collection of ParishServiceEntryChargesVM

None.

Request Formats

application/json, text/json

Sample:
{
  "EntryId": 1,
  "BookId": 2,
  "FinYearId": 3,
  "RequestId": 4,
  "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 5",
  "ServiceTime": "sample string 6",
  "Service": {
    "ServiceId": 1,
    "ServiceName": "sample string 2"
  },
  "ServiceDescription": "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",
  "UpdateUser": 25,
  "UpdateIp": "sample string 26",
  "ConfirmStatus": "sample string 27",
  "ConfirmUser": 28,
  "ConfirmIp": "sample string 29",
  "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
    }
  ]
}

application/xml, text/xml

Sample:
<ParishServiceEntryUpdateVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
  <Amount>23</Amount>
  <BookId>2</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>
  <ConfirmIp>sample string 29</ConfirmIp>
  <ConfirmStatus>sample string 27</ConfirmStatus>
  <ConfirmUser>28</ConfirmUser>
  <CongregationNos>19</CongregationNos>
  <EntryId>1</EntryId>
  <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>3</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>
  <RegNo>9</RegNo>
  <RegNoPre>sample string 8</RegNoPre>
  <RegisterEntryType>
    <TypeId>1</TypeId>
    <TypeName>sample string 2</TypeName>
  </RegisterEntryType>
  <Remarks>sample string 24</Remarks>
  <RequestId>4</RequestId>
  <Service>
    <ServiceId>1</ServiceId>
    <ServiceName>sample string 2</ServiceName>
  </Service>
  <ServiceDate>sample string 5</ServiceDate>
  <ServiceDescription>sample string 7</ServiceDescription>
  <ServiceTime>sample string 6</ServiceTime>
  <UpdateIp>sample string 26</UpdateIp>
  <UpdateUser>25</UpdateUser>
</ParishServiceEntryUpdateVM>

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.