POST api/ParishPrayerRequest/save
Request Information
URI Parameters
None.
Body Parameters
ParishPrayerRequestSaveVM| Name | Description | Type | Additional 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 |
|
| Prayer | ParishPrayerLookupVM |
Required |
|
| PrayerDate | string |
Required |
|
| PrayerTime | string |
String length: inclusive between 0 and 8 |
|
| IsPersonal | string |
Required |
|
| IsContinue | string |
Required |
|
| Offertory | decimal number |
None. |
|
| ChargesTotal | decimal number |
None. |
|
| Amount | decimal number |
None. |
|
| Remarks | string |
String length: inclusive between 0 and 200 |
|
| CreateUser | integer |
Required |
|
| CreateIp | string |
Required String length: inclusive between 0 and 20 |
|
| Details | Collection of ParishPrayerRequestDtlsVM |
None. |
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",
"Prayer": {
"PrayerId": 1,
"PrayerName": "sample string 2"
},
"PrayerDate": "sample string 8",
"PrayerTime": "sample string 9",
"IsPersonal": "sample string 10",
"IsContinue": "sample string 11",
"Offertory": 12.0,
"ChargesTotal": 13.0,
"Amount": 14.0,
"Remarks": "sample string 15",
"CreateUser": 16,
"CreateIp": "sample string 17",
"Details": [
{
"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:
<ParishPrayerRequestSaveVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
<Amount>14</Amount>
<BookId>1</BookId>
<ChargesTotal>13</ChargesTotal>
<CreateIp>sample string 17</CreateIp>
<CreateUser>16</CreateUser>
<Details>
<ParishPrayerRequestDtlsVM>
<Amount>2</Amount>
<Charges>
<ChargeId>1</ChargeId>
<ChargeName>sample string 2</ChargeName>
</Charges>
<Slno>1</Slno>
</ParishPrayerRequestDtlsVM>
<ParishPrayerRequestDtlsVM>
<Amount>2</Amount>
<Charges>
<ChargeId>1</ChargeId>
<ChargeName>sample string 2</ChargeName>
</Charges>
<Slno>1</Slno>
</ParishPrayerRequestDtlsVM>
</Details>
<FinYearId>2</FinYearId>
<IsContinue>sample string 11</IsContinue>
<IsPersonal>sample string 10</IsPersonal>
<MemberAddress>sample string 7</MemberAddress>
<MemberId>5</MemberId>
<MemberName>sample string 6</MemberName>
<Offertory>12</Offertory>
<Prayer>
<PrayerId>1</PrayerId>
<PrayerName>sample string 2</PrayerName>
</Prayer>
<PrayerDate>sample string 8</PrayerDate>
<PrayerTime>sample string 9</PrayerTime>
<Refno>sample string 4</Refno>
<Remarks>sample string 15</Remarks>
<RequestDate>sample string 3</RequestDate>
</ParishPrayerRequestSaveVM>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.