POST api/ParishServiceRequest/Save

Request Information

URI Parameters

None.

Body Parameters

ParishServiceRequestSaveVM
NameDescriptionTypeAdditional information
BookId

integer

Required

FinYearId

integer

Required

RequestDate

string

Required

Refno

string

Required

String length: inclusive between 0 and 20

MemberId

integer

None.

MemberName

string

String length: inclusive between 0 and 100

MemberAddress

string

String length: inclusive between 0 and 300

Service

ParishServiceLookupVM

Required

ServiceDescription

string

String length: inclusive between 0 and 200

ServiceDate

string

Required

ServiceTime

string

String length: inclusive between 0 and 8

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

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",
  "MemberId": 5,
  "MemberName": "sample string 6",
  "MemberAddress": "sample string 7",
  "Service": {
    "ServiceId": 1,
    "ServiceName": "sample string 2"
  },
  "ServiceDescription": "sample string 8",
  "ServiceDate": "sample string 9",
  "ServiceTime": "sample string 10",
  "OfficiantId": 11,
  "OfficiantName": "sample string 12",
  "PreacherId": 13,
  "PreacherName": "sample string 14",
  "CelebrantId": 15,
  "CelebrantName": "sample string 16",
  "Remarks": "sample string 17",
  "CreateUser": 18,
  "CreateIp": "sample string 19"
}

application/xml, text/xml

Sample:
<ParishServiceRequestSaveVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
  <BookId>1</BookId>
  <CelebrantId>15</CelebrantId>
  <CelebrantName>sample string 16</CelebrantName>
  <CreateIp>sample string 19</CreateIp>
  <CreateUser>18</CreateUser>
  <FinYearId>2</FinYearId>
  <MemberAddress>sample string 7</MemberAddress>
  <MemberId>5</MemberId>
  <MemberName>sample string 6</MemberName>
  <OfficiantId>11</OfficiantId>
  <OfficiantName>sample string 12</OfficiantName>
  <PreacherId>13</PreacherId>
  <PreacherName>sample string 14</PreacherName>
  <Refno>sample string 4</Refno>
  <Remarks>sample string 17</Remarks>
  <RequestDate>sample string 3</RequestDate>
  <Service>
    <ServiceId>1</ServiceId>
    <ServiceName>sample string 2</ServiceName>
  </Service>
  <ServiceDate>sample string 9</ServiceDate>
  <ServiceDescription>sample string 8</ServiceDescription>
  <ServiceTime>sample string 10</ServiceTime>
</ParishServiceRequestSaveVM>

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.