PUT api/ParishServiceRequest/Update
Request Information
URI Parameters
None.
Body Parameters
ParishServiceRequestUpdateVM| Name | Description | Type | Additional information |
|---|---|---|---|
| RequestId | integer |
Required |
|
| 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 |
|
| 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 |
Request Formats
application/json, text/json
Sample:
{
"RequestId": 1,
"BookId": 2,
"FinYearId": 3,
"RequestDate": "sample string 4",
"Refno": "sample string 5",
"MemberId": 6,
"MemberName": "sample string 7",
"MemberAddress": "sample string 8",
"Service": {
"ServiceId": 1,
"ServiceName": "sample string 2"
},
"ServiceDescription": "sample string 9",
"ServiceDate": "sample string 10",
"ServiceTime": "sample string 11",
"OfficiantId": 12,
"OfficiantName": "sample string 13",
"PreacherId": 14,
"PreacherName": "sample string 15",
"CelebrantId": 16,
"CelebrantName": "sample string 17",
"Remarks": "sample string 18",
"UpdateUser": 19,
"UpdateIp": "sample string 20",
"ConfirmStatus": "sample string 21",
"ConfirmUser": 22,
"ConfirmIp": "sample string 23"
}
application/xml, text/xml
Sample:
<ParishServiceRequestUpdateVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
<BookId>2</BookId>
<CelebrantId>16</CelebrantId>
<CelebrantName>sample string 17</CelebrantName>
<ConfirmIp>sample string 23</ConfirmIp>
<ConfirmStatus>sample string 21</ConfirmStatus>
<ConfirmUser>22</ConfirmUser>
<FinYearId>3</FinYearId>
<MemberAddress>sample string 8</MemberAddress>
<MemberId>6</MemberId>
<MemberName>sample string 7</MemberName>
<OfficiantId>12</OfficiantId>
<OfficiantName>sample string 13</OfficiantName>
<PreacherId>14</PreacherId>
<PreacherName>sample string 15</PreacherName>
<Refno>sample string 5</Refno>
<Remarks>sample string 18</Remarks>
<RequestDate>sample string 4</RequestDate>
<RequestId>1</RequestId>
<Service>
<ServiceId>1</ServiceId>
<ServiceName>sample string 2</ServiceName>
</Service>
<ServiceDate>sample string 10</ServiceDate>
<ServiceDescription>sample string 9</ServiceDescription>
<ServiceTime>sample string 11</ServiceTime>
<UpdateIp>sample string 20</UpdateIp>
<UpdateUser>19</UpdateUser>
</ParishServiceRequestUpdateVM>
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.