POST api/AssemblyMembers/Save
Request Information
URI Parameters
None.
Body Parameters
AssemblyMembersSave| Name | Description | Type | Additional information |
|---|---|---|---|
| Assembly | AssemblyLookup |
Required |
|
| Slno | integer |
Required |
|
| BookId | integer |
Required |
|
| GenBodyMemberType | AssemblyMemberTypeLookup |
Required |
|
| GenBodyMemberSubType | AssemblyMemberSubTypeLookup |
None. |
|
| RegNo | string |
Required String length: inclusive between 0 and 6 |
|
| Clergy | ClergyLookup |
None. |
|
| Prefix | PrefixLookup |
Required |
|
| MemberName | string |
Required String length: inclusive between 0 and 100 |
|
| Photo | Collection of byte |
None. |
|
| Gender | string |
Required |
|
| Age | integer |
None. |
|
| CanVote | string |
Required Matching regular expression pattern: Y|N |
|
| GenBodyEnrollType | AssemblyEnrollTypeLookup |
Required |
|
| Address1 | string |
String length: inclusive between 0 and 200 |
|
| Address2 | string |
String length: inclusive between 0 and 200 |
|
| HouseName | string |
String length: inclusive between 0 and 100 |
|
| Pincode | string |
String length: inclusive between 0 and 50 |
|
| Place | string |
None. |
|
| LandMark | string |
String length: inclusive between 0 and 200 |
|
| PO | PlaceLookup |
None. |
|
| District | PlaceLookup |
None. |
|
| State | PlaceLookup |
None. |
|
| Country | PlaceLookup |
None. |
|
| PhoneNumber | string |
String length: inclusive between 0 and 50 |
|
| MobileNumber | string |
String length: inclusive between 0 and 50 |
|
| string |
String length: inclusive between 0 and 100 |
||
| Establishment | EstablishmentLookup |
Required |
|
| HomeParish | EstablishmentLookup |
Required |
|
| MemberFrom | string |
Required |
|
| MemberTo | string |
Required |
|
| GenBodyRegistrationType | AssemblyRegistrationTypeLookup |
Required |
|
| GenBodyMemberStatus | AssemblyMemberStatusLookup |
Required |
|
| VotingRemarks | string |
None. |
|
| TotalMembers | integer |
Range: inclusive between 0 and 99999 |
|
| TotalHouses | integer |
Range: inclusive between 0 and 9999 |
|
| Status | string |
Required Matching regular expression pattern: A|I |
|
| ConfirmStatus | string |
Required Matching regular expression pattern: Y|N |
|
| CreateUser | integer |
Required |
|
| CreateIp | string |
Required String length: inclusive between 0 and 20 |
|
| EntryDate | string |
Required |
|
| SelectionDate | string |
Required |
Request Formats
application/json, text/json
{
"Assembly": {
"AssemblyId": 1,
"AssemblyDesc": "sample string 2"
},
"Slno": 1,
"BookId": 2,
"GenBodyMemberType": {
"MemberTypeId": 1,
"MemberTypeName": "sample string 2"
},
"GenBodyMemberSubType": {
"MemberSubTypeId": 1,
"MemberSubTypeName": "sample string 2"
},
"RegNo": "sample string 3",
"Clergy": {
"ClergyId": 1,
"ClergyName": "sample string 2",
"Prefix": {
"PrefixId": 1,
"PrefixName": "sample string 2"
},
"Address": "sample string 3",
"ClergyStatus": "sample string 4",
"DOB": "sample string 5",
"DeaconDate": "sample string 6",
"ClergyCategoryId": 7,
"ClergyTypeId": 8
},
"Prefix": {
"PrefixId": 1,
"PrefixName": "sample string 2"
},
"MemberName": "sample string 4",
"Photo": "QEA=",
"Gender": "sample string 5",
"Age": 6,
"CanVote": "sample string 7",
"GenBodyEnrollType": {
"EnrollTypeId": 1,
"EnrollTypeName": "sample string 2"
},
"Address1": "sample string 8",
"Address2": "sample string 9",
"HouseName": "sample string 10",
"Pincode": "sample string 11",
"Place": "sample string 12",
"LandMark": "sample string 13",
"PO": {
"PlaceId": 1,
"PlaceName": "sample string 2"
},
"District": {
"PlaceId": 1,
"PlaceName": "sample string 2"
},
"State": {
"PlaceId": 1,
"PlaceName": "sample string 2"
},
"Country": {
"PlaceId": 1,
"PlaceName": "sample string 2"
},
"PhoneNumber": "sample string 14",
"MobileNumber": "sample string 15",
"Email": "sample string 16",
"Establishment": {
"EstablishId": 1,
"EstablishName": "sample string 2",
"EstablishType": {
"EstablishTypeId": 1,
"EstablishTypeName": "sample string 2"
},
"EstablishCategory": {
"EstablishCategoryId": 1,
"EstablishCategoryName": "sample string 2"
},
"TotalMembers": 3,
"TotalHouses": 4
},
"HomeParish": {
"EstablishId": 1,
"EstablishName": "sample string 2",
"EstablishType": {
"EstablishTypeId": 1,
"EstablishTypeName": "sample string 2"
},
"EstablishCategory": {
"EstablishCategoryId": 1,
"EstablishCategoryName": "sample string 2"
},
"TotalMembers": 3,
"TotalHouses": 4
},
"MemberFrom": "sample string 17",
"MemberTo": "sample string 18",
"GenBodyRegistrationType": {
"RegTypeId": 1,
"RegTypeName": "sample string 2"
},
"GenBodyMemberStatus": {
"MemberStatusId": 1,
"MemberStatusName": "sample string 2"
},
"VotingRemarks": "sample string 19",
"TotalMembers": 20,
"TotalHouses": 21,
"Status": "sample string 22",
"ConfirmStatus": "sample string 23",
"CreateUser": 24,
"CreateIp": "sample string 25",
"EntryDate": "sample string 26",
"SelectionDate": "sample string 27"
}
application/xml, text/xml
<AssemblyMembersSave xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
<Address1>sample string 8</Address1>
<Address2>sample string 9</Address2>
<Age>6</Age>
<Assembly>
<AssemblyDesc>sample string 2</AssemblyDesc>
<AssemblyId>1</AssemblyId>
</Assembly>
<BookId>2</BookId>
<CanVote>sample string 7</CanVote>
<Clergy>
<Address>sample string 3</Address>
<ClergyCategoryId>7</ClergyCategoryId>
<ClergyId>1</ClergyId>
<ClergyName>sample string 2</ClergyName>
<ClergyStatus>sample string 4</ClergyStatus>
<ClergyTypeId>8</ClergyTypeId>
<DOB>sample string 5</DOB>
<DeaconDate>sample string 6</DeaconDate>
<Prefix>
<PrefixId>1</PrefixId>
<PrefixName>sample string 2</PrefixName>
</Prefix>
</Clergy>
<ConfirmStatus>sample string 23</ConfirmStatus>
<Country>
<PlaceId>1</PlaceId>
<PlaceName>sample string 2</PlaceName>
</Country>
<CreateIp>sample string 25</CreateIp>
<CreateUser>24</CreateUser>
<District>
<PlaceId>1</PlaceId>
<PlaceName>sample string 2</PlaceName>
</District>
<Email>sample string 16</Email>
<EntryDate>sample string 26</EntryDate>
<Establishment>
<EstablishCategory>
<EstablishCategoryId>1</EstablishCategoryId>
<EstablishCategoryName>sample string 2</EstablishCategoryName>
</EstablishCategory>
<EstablishId>1</EstablishId>
<EstablishName>sample string 2</EstablishName>
<EstablishType>
<EstablishTypeId>1</EstablishTypeId>
<EstablishTypeName>sample string 2</EstablishTypeName>
</EstablishType>
<TotalHouses>4</TotalHouses>
<TotalMembers>3</TotalMembers>
</Establishment>
<GenBodyEnrollType>
<EnrollTypeId>1</EnrollTypeId>
<EnrollTypeName>sample string 2</EnrollTypeName>
</GenBodyEnrollType>
<GenBodyMemberStatus>
<MemberStatusId>1</MemberStatusId>
<MemberStatusName>sample string 2</MemberStatusName>
</GenBodyMemberStatus>
<GenBodyMemberSubType>
<MemberSubTypeId>1</MemberSubTypeId>
<MemberSubTypeName>sample string 2</MemberSubTypeName>
</GenBodyMemberSubType>
<GenBodyMemberType>
<MemberTypeId>1</MemberTypeId>
<MemberTypeName>sample string 2</MemberTypeName>
</GenBodyMemberType>
<GenBodyRegistrationType>
<RegTypeId>1</RegTypeId>
<RegTypeName>sample string 2</RegTypeName>
</GenBodyRegistrationType>
<Gender>sample string 5</Gender>
<HomeParish>
<EstablishCategory>
<EstablishCategoryId>1</EstablishCategoryId>
<EstablishCategoryName>sample string 2</EstablishCategoryName>
</EstablishCategory>
<EstablishId>1</EstablishId>
<EstablishName>sample string 2</EstablishName>
<EstablishType>
<EstablishTypeId>1</EstablishTypeId>
<EstablishTypeName>sample string 2</EstablishTypeName>
</EstablishType>
<TotalHouses>4</TotalHouses>
<TotalMembers>3</TotalMembers>
</HomeParish>
<HouseName>sample string 10</HouseName>
<LandMark>sample string 13</LandMark>
<MemberFrom>sample string 17</MemberFrom>
<MemberName>sample string 4</MemberName>
<MemberTo>sample string 18</MemberTo>
<MobileNumber>sample string 15</MobileNumber>
<PO>
<PlaceId>1</PlaceId>
<PlaceName>sample string 2</PlaceName>
</PO>
<PhoneNumber>sample string 14</PhoneNumber>
<Photo>QEA=</Photo>
<Pincode>sample string 11</Pincode>
<Place>sample string 12</Place>
<Prefix>
<PrefixId>1</PrefixId>
<PrefixName>sample string 2</PrefixName>
</Prefix>
<RegNo>sample string 3</RegNo>
<SelectionDate>sample string 27</SelectionDate>
<Slno>1</Slno>
<State>
<PlaceId>1</PlaceId>
<PlaceName>sample string 2</PlaceName>
</State>
<Status>sample string 22</Status>
<TotalHouses>21</TotalHouses>
<TotalMembers>20</TotalMembers>
<VotingRemarks>sample string 19</VotingRemarks>
</AssemblyMembersSave>
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample not available.