POST api/EmployeeFamily/Save?EmployeeId={EmployeeId}&LoginUser={LoginUser}&LoginIP={LoginIP}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| EmployeeId | integer |
Required |
|
| LoginUser | integer |
Required |
|
| LoginIP | string |
Required |
Body Parameters
Collection of EmployeeFamilySave| Name | Description | Type | Additional information |
|---|---|---|---|
| Slno | integer |
Required |
|
| Relation | RelationLookup |
Required |
|
| FamilyCode | string |
Required String length: inclusive between 0 and 10 |
|
| Prefix | PrefixLookup |
Required |
|
| MemberName | string |
Required String length: inclusive between 0 and 100 |
|
| Dob | string |
None. |
|
| IsMarried | string |
Required Matching regular expression pattern: Y|N |
|
| IsEmployeed | string |
Required Matching regular expression pattern: Y|N |
|
| EmployeedFrom | string |
None. |
|
| EmploymentDetails | string |
String length: inclusive between 0 and 1000 |
|
| Status | string |
Required Matching regular expression pattern: A|I |
Request Formats
application/json, text/json
Sample:
[
{
"Slno": 1,
"Relation": {
"RelationId": 1,
"RelationName": "sample string 2"
},
"FamilyCode": "sample string 2",
"Prefix": {
"PrefixId": 1,
"PrefixName": "sample string 2"
},
"MemberName": "sample string 3",
"Dob": "sample string 4",
"IsMarried": "sample string 5",
"IsEmployeed": "sample string 6",
"EmployeedFrom": "sample string 7",
"EmploymentDetails": "sample string 8",
"Status": "sample string 9"
},
{
"Slno": 1,
"Relation": {
"RelationId": 1,
"RelationName": "sample string 2"
},
"FamilyCode": "sample string 2",
"Prefix": {
"PrefixId": 1,
"PrefixName": "sample string 2"
},
"MemberName": "sample string 3",
"Dob": "sample string 4",
"IsMarried": "sample string 5",
"IsEmployeed": "sample string 6",
"EmployeedFrom": "sample string 7",
"EmploymentDetails": "sample string 8",
"Status": "sample string 9"
}
]
application/xml, text/xml
Sample:
<ArrayOfEmployeeFamilySave xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
<EmployeeFamilySave>
<Dob>sample string 4</Dob>
<EmployeedFrom>sample string 7</EmployeedFrom>
<EmploymentDetails>sample string 8</EmploymentDetails>
<FamilyCode>sample string 2</FamilyCode>
<IsEmployeed>sample string 6</IsEmployeed>
<IsMarried>sample string 5</IsMarried>
<MemberName>sample string 3</MemberName>
<Prefix>
<PrefixId>1</PrefixId>
<PrefixName>sample string 2</PrefixName>
</Prefix>
<Relation>
<RelationId>1</RelationId>
<RelationName>sample string 2</RelationName>
</Relation>
<Slno>1</Slno>
<Status>sample string 9</Status>
</EmployeeFamilySave>
<EmployeeFamilySave>
<Dob>sample string 4</Dob>
<EmployeedFrom>sample string 7</EmployeedFrom>
<EmploymentDetails>sample string 8</EmploymentDetails>
<FamilyCode>sample string 2</FamilyCode>
<IsEmployeed>sample string 6</IsEmployeed>
<IsMarried>sample string 5</IsMarried>
<MemberName>sample string 3</MemberName>
<Prefix>
<PrefixId>1</PrefixId>
<PrefixName>sample string 2</PrefixName>
</Prefix>
<Relation>
<RelationId>1</RelationId>
<RelationName>sample string 2</RelationName>
</Relation>
<Slno>1</Slno>
<Status>sample string 9</Status>
</EmployeeFamilySave>
</ArrayOfEmployeeFamilySave>
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.