PUT api/ParishFamilyMemberAddress/Update

Request Information

URI Parameters

None.

Body Parameters

ParishFamilyMemberAddressUpdateVM
NameDescriptionTypeAdditional 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

UpdateUser

integer

Required

UpdateIp

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",
  "UpdateUser": 8,
  "UpdateIp": "sample string 9"
}

application/xml, text/xml

Sample:
<ParishFamilyMemberAddressUpdateVM 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>
  <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>
  <UpdateIp>sample string 9</UpdateIp>
  <UpdateUser>8</UpdateUser>
</ParishFamilyMemberAddressUpdateVM>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.