POST api/ParishFamilyMemberAddress/Save
Request Information
URI Parameters
None.
Body Parameters
ParishFamilyMemberAddressSaveVM| Name | Description | Type | Additional information |
|---|---|---|---|
| MemberId | integer |
Required |
|
| AddressType | ParishAddressTypeLookupVM |
Required |
|
| Address1 | string |
String length: inclusive between 0 and 200 |
|
| Address2 | string |
String length: inclusive between 0 and 200 |
|
| Place | string |
String length: inclusive between 0 and 100 |
|
| LandMark | string |
String length: inclusive between 0 and 200 |
|
| PostOffice | PlaceLookup |
None. |
|
| District | PlaceLookup |
None. |
|
| State | PlaceLookup |
None. |
|
| Country | PlaceLookup |
None. |
|
| Pincode | string |
String length: inclusive between 0 and 50 |
|
| 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:
{
"MemberId": 1,
"AddressType": {
"AddressTypeId": 1,
"AddressTypeName": "sample string 2"
},
"Address1": "sample string 2",
"Address2": "sample string 3",
"Place": "sample string 4",
"LandMark": "sample string 5",
"PostOffice": {
"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"
},
"Pincode": "sample string 6",
"Status": "sample string 7",
"CreateUser": 8,
"CreateIp": "sample string 9"
}
application/xml, text/xml
Sample:
<ParishFamilyMemberAddressSaveVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
<Address1>sample string 2</Address1>
<Address2>sample string 3</Address2>
<AddressType>
<AddressTypeId>1</AddressTypeId>
<AddressTypeName>sample string 2</AddressTypeName>
</AddressType>
<Country>
<PlaceId>1</PlaceId>
<PlaceName>sample string 2</PlaceName>
</Country>
<CreateIp>sample string 9</CreateIp>
<CreateUser>8</CreateUser>
<District>
<PlaceId>1</PlaceId>
<PlaceName>sample string 2</PlaceName>
</District>
<LandMark>sample string 5</LandMark>
<MemberId>1</MemberId>
<Pincode>sample string 6</Pincode>
<Place>sample string 4</Place>
<PostOffice>
<PlaceId>1</PlaceId>
<PlaceName>sample string 2</PlaceName>
</PostOffice>
<State>
<PlaceId>1</PlaceId>
<PlaceName>sample string 2</PlaceName>
</State>
<Status>sample string 7</Status>
</ParishFamilyMemberAddressSaveVM>
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.