POST api/ParishPrayerGroup/Save
Request Information
URI Parameters
None.
Body Parameters
ParishPrayerGroupSaveVM| Name | Description | Type | Additional information |
|---|---|---|---|
| BookId | integer |
Required |
|
| PrayerGroupName | string |
Required String length: inclusive between 0 and 100 |
|
| WardNo | string |
Required String length: inclusive between 0 and 10 |
|
| Code | string |
Required String length: inclusive between 0 and 10 |
|
| Description | string |
String length: inclusive between 0 and 200 |
|
| RegionName | string |
String length: inclusive between 0 and 100 |
|
| AuthPerson | ParishFamilyMemberLookupVM |
None. |
|
| Status | string |
Required Matching regular expression pattern: A|I |
|
| CreateUser | integer |
Required |
|
| CreateIp | string |
Required String length: inclusive between 0 and 20 |
Request Formats
application/json, text/json
Sample:
{
"BookId": 1,
"PrayerGroupName": "sample string 2",
"WardNo": "sample string 3",
"Code": "sample string 4",
"Description": "sample string 5",
"RegionName": "sample string 6",
"AuthPerson": {
"MemberId": 1,
"Family": {
"FamilyId": 1,
"FamilyName": "sample string 2",
"PrayerGroup": {
"PrayerGroupId": 1,
"PrayerGroupName": "sample string 2"
},
"FamilyNo": "sample string 3",
"RegNoPre": "sample string 4",
"RegNo": 5,
"HouseName": "sample string 6",
"PhotoPath": "sample string 7"
},
"MemberName": "sample string 2",
"BaptismName": "sample string 3",
"NickName": "sample string 4",
"Gender": "sample string 5",
"Prefix": {
"PrefixId": 1,
"PrefixName": "sample string 2"
},
"MemberAddress": "sample string 6"
},
"Status": "sample string 7",
"CreateUser": 8,
"CreateIp": "sample string 9"
}
application/xml, text/xml
Sample:
<ParishPrayerGroupSaveVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
<AuthPerson>
<BaptismName>sample string 3</BaptismName>
<Family>
<FamilyId>1</FamilyId>
<FamilyName>sample string 2</FamilyName>
<FamilyNo>sample string 3</FamilyNo>
<HouseName>sample string 6</HouseName>
<PhotoPath>sample string 7</PhotoPath>
<PrayerGroup>
<PrayerGroupId>1</PrayerGroupId>
<PrayerGroupName>sample string 2</PrayerGroupName>
</PrayerGroup>
<RegNo>5</RegNo>
<RegNoPre>sample string 4</RegNoPre>
</Family>
<Gender>sample string 5</Gender>
<MemberAddress>sample string 6</MemberAddress>
<MemberId>1</MemberId>
<MemberName>sample string 2</MemberName>
<NickName>sample string 4</NickName>
<Prefix>
<PrefixId>1</PrefixId>
<PrefixName>sample string 2</PrefixName>
</Prefix>
</AuthPerson>
<BookId>1</BookId>
<Code>sample string 4</Code>
<CreateIp>sample string 9</CreateIp>
<CreateUser>8</CreateUser>
<Description>sample string 5</Description>
<PrayerGroupName>sample string 2</PrayerGroupName>
<RegionName>sample string 6</RegionName>
<Status>sample string 7</Status>
<WardNo>sample string 3</WardNo>
</ParishPrayerGroupSaveVM>
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.