POST api/ParishFamilyEditRequest/save
Request Information
URI Parameters
None.
Body Parameters
ParishFamilyEditRequestSaveVM| Name | Description | Type | Additional information |
|---|---|---|---|
| BookId | integer |
Required |
|
| FinYearId | integer |
Required |
|
| RequestDate | string |
Required |
|
| Refno | string |
Required String length: inclusive between 0 and 20 |
|
| Family | ParishFamilyLookupVM |
Required |
|
| FamilyName | string |
Required String length: inclusive between 0 and 200 |
|
| PrayerGroup | ParishPrayerGroupLookupVM |
Required |
|
| RegNoPre | string |
String length: inclusive between 0 and 20 |
|
| RegNo | string |
Required String length: inclusive between 0 and 10 |
|
| HouseName | string |
Required String length: inclusive between 0 and 200 |
|
| PrevFamilyName | string |
Required String length: inclusive between 0 and 200 |
|
| PrevPrayerGroup | ParishPrayerGroupLookupVM |
Required |
|
| PrevRegNoPre | string |
String length: inclusive between 0 and 20 |
|
| PrevRegNo | string |
Required String length: inclusive between 0 and 10 |
|
| PrevHouseName | string |
String length: inclusive between 0 and 200 |
|
| 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",
"Family": {
"FamilyId": 1,
"FamilyName": "sample string 2",
"PrayerGroup": {
"PrayerGroupId": 1,
"PrayerGroupName": "sample string 2"
},
"FamilyNo": "sample string 3",
"RegNoPre": "sample string 4",
"RegNo": "sample string 5",
"HouseName": "sample string 6"
},
"FamilyName": "sample string 5",
"PrayerGroup": {
"PrayerGroupId": 1,
"PrayerGroupName": "sample string 2"
},
"RegNoPre": "sample string 6",
"RegNo": "sample string 7",
"HouseName": "sample string 8",
"PrevFamilyName": "sample string 9",
"PrevPrayerGroup": {
"PrayerGroupId": 1,
"PrayerGroupName": "sample string 2"
},
"PrevRegNoPre": "sample string 10",
"PrevRegNo": "sample string 11",
"PrevHouseName": "sample string 12",
"Remarks": "sample string 13",
"CreateUser": 14,
"CreateIp": "sample string 15"
}
application/xml, text/xml
Sample:
<ParishFamilyEditRequestSaveVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
<BookId>1</BookId>
<CreateIp>sample string 15</CreateIp>
<CreateUser>14</CreateUser>
<Family>
<FamilyId>1</FamilyId>
<FamilyName>sample string 2</FamilyName>
<FamilyNo>sample string 3</FamilyNo>
<HouseName>sample string 6</HouseName>
<PrayerGroup>
<PrayerGroupId>1</PrayerGroupId>
<PrayerGroupName>sample string 2</PrayerGroupName>
</PrayerGroup>
<RegNo>sample string 5</RegNo>
<RegNoPre>sample string 4</RegNoPre>
</Family>
<FamilyName>sample string 5</FamilyName>
<FinYearId>2</FinYearId>
<HouseName>sample string 8</HouseName>
<PrayerGroup>
<PrayerGroupId>1</PrayerGroupId>
<PrayerGroupName>sample string 2</PrayerGroupName>
</PrayerGroup>
<PrevFamilyName>sample string 9</PrevFamilyName>
<PrevHouseName>sample string 12</PrevHouseName>
<PrevPrayerGroup>
<PrayerGroupId>1</PrayerGroupId>
<PrayerGroupName>sample string 2</PrayerGroupName>
</PrevPrayerGroup>
<PrevRegNo>sample string 11</PrevRegNo>
<PrevRegNoPre>sample string 10</PrevRegNoPre>
<Refno>sample string 4</Refno>
<RegNo>sample string 7</RegNo>
<RegNoPre>sample string 6</RegNoPre>
<Remarks>sample string 13</Remarks>
<RequestDate>sample string 3</RequestDate>
</ParishFamilyEditRequestSaveVM>
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.