PUT api/ParishFamilyMemberEmployment/Update
Request Information
URI Parameters
None.
Body Parameters
ParishFamilyMemberEmploymentUpdateVM| Name | Description | Type | Additional information |
|---|---|---|---|
| MemberId | integer |
Required |
|
| Slno | integer |
Required |
|
| EmployerDesc | string |
Required String length: inclusive between 0 and 1000 |
|
| Designation | string |
String length: inclusive between 0 and 100 |
|
| Salary | decimal number |
None. |
|
| 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 100 |
|
| PostOffice | PlaceLookup |
None. |
|
| District | PlaceLookup |
None. |
|
| State | PlaceLookup |
None. |
|
| Country | PlaceLookup |
None. |
|
| Pincode | string |
String length: inclusive between 0 and 50 |
|
| ContactInfo | Collection of ContactInfoVM |
None. |
|
| Remarks | string |
None. |
|
| 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,
"Slno": 2,
"EmployerDesc": "sample string 3",
"Designation": "sample string 4",
"Salary": 5.0,
"Address1": "sample string 6",
"Address2": "sample string 7",
"Place": "sample string 8",
"LandMark": "sample string 9",
"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 10",
"ContactInfo": [
{
"PhoneNumber": "sample string 1",
"MobileNumber": "sample string 2",
"Email": "sample string 3",
"Fax": "sample string 4"
},
{
"PhoneNumber": "sample string 1",
"MobileNumber": "sample string 2",
"Email": "sample string 3",
"Fax": "sample string 4"
}
],
"Remarks": "sample string 11",
"Status": "sample string 12",
"UpdateUser": 13,
"UpdateIp": "sample string 14"
}
application/xml, text/xml
Sample:
<ParishFamilyMemberEmploymentUpdateVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
<Address1>sample string 6</Address1>
<Address2>sample string 7</Address2>
<ContactInfo>
<ContactInfoVM>
<Email>sample string 3</Email>
<Fax>sample string 4</Fax>
<MobileNumber>sample string 2</MobileNumber>
<PhoneNumber>sample string 1</PhoneNumber>
</ContactInfoVM>
<ContactInfoVM>
<Email>sample string 3</Email>
<Fax>sample string 4</Fax>
<MobileNumber>sample string 2</MobileNumber>
<PhoneNumber>sample string 1</PhoneNumber>
</ContactInfoVM>
</ContactInfo>
<Country>
<PlaceId>1</PlaceId>
<PlaceName>sample string 2</PlaceName>
</Country>
<Designation>sample string 4</Designation>
<District>
<PlaceId>1</PlaceId>
<PlaceName>sample string 2</PlaceName>
</District>
<EmployerDesc>sample string 3</EmployerDesc>
<LandMark>sample string 9</LandMark>
<MemberId>1</MemberId>
<Pincode>sample string 10</Pincode>
<Place>sample string 8</Place>
<PostOffice>
<PlaceId>1</PlaceId>
<PlaceName>sample string 2</PlaceName>
</PostOffice>
<Remarks>sample string 11</Remarks>
<Salary>5</Salary>
<Slno>2</Slno>
<State>
<PlaceId>1</PlaceId>
<PlaceName>sample string 2</PlaceName>
</State>
<Status>sample string 12</Status>
<UpdateIp>sample string 14</UpdateIp>
<UpdateUser>13</UpdateUser>
</ParishFamilyMemberEmploymentUpdateVM>
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.