POST api/EmployeeTransfer/Confirm
Request Information
URI Parameters
None.
Body Parameters
EmployeeTransferConfirm| Name | Description | Type | Additional information |
|---|---|---|---|
| EmpTrnfId | integer |
Required |
|
| CompanyId | integer |
Required |
|
| EmpTrnfRefno | string |
Required String length: inclusive between 0 and 10 |
|
| EmpTrnfDate | string |
Required String length: inclusive between 0 and 10 |
|
| Employee | EmployeeLookup |
Required |
|
| EstFrom | EstablishmentLookup |
Required |
|
| EstTo | EstablishmentLookup |
Required |
|
| Remarks | string |
String length: inclusive between 0 and 100 |
|
| Status | string |
Required Matching regular expression pattern: A|I |
|
| PrintStatus | string |
Required Matching regular expression pattern: Y|N |
|
| ConfirmUser | integer |
Required |
|
| ConfirmIp | string |
Required String length: inclusive between 0 and 20 |
Request Formats
application/json, text/json
Sample:
{
"EmpTrnfId": 1,
"CompanyId": 2,
"EmpTrnfRefno": "sample string 3",
"EmpTrnfDate": "sample string 4",
"Employee": {
"EmployeeId": 1,
"EmployeeName": "sample string 2",
"Prefix": "sample string 3",
"PresentHouseName": "sample string 4",
"PresentAddress": "sample string 5",
"EmployeeStatus": "sample string 6"
},
"EstFrom": {
"EstablishId": 1,
"EstablishName": "sample string 2",
"EstablishType": {
"EstablishTypeId": 1,
"EstablishTypeName": "sample string 2"
},
"EstablishCategory": {
"EstablishCategoryId": 1,
"EstablishCategoryName": "sample string 2"
},
"TotalMembers": 3,
"TotalHouses": 4
},
"EstTo": {
"EstablishId": 1,
"EstablishName": "sample string 2",
"EstablishType": {
"EstablishTypeId": 1,
"EstablishTypeName": "sample string 2"
},
"EstablishCategory": {
"EstablishCategoryId": 1,
"EstablishCategoryName": "sample string 2"
},
"TotalMembers": 3,
"TotalHouses": 4
},
"Remarks": "sample string 5",
"Status": "sample string 6",
"PrintStatus": "sample string 7",
"ConfirmUser": 8,
"ConfirmIp": "sample string 9"
}
application/xml, text/xml
Sample:
<EmployeeTransferConfirm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
<CompanyId>2</CompanyId>
<ConfirmIp>sample string 9</ConfirmIp>
<ConfirmUser>8</ConfirmUser>
<EmpTrnfDate>sample string 4</EmpTrnfDate>
<EmpTrnfId>1</EmpTrnfId>
<EmpTrnfRefno>sample string 3</EmpTrnfRefno>
<Employee>
<EmployeeId>1</EmployeeId>
<EmployeeName>sample string 2</EmployeeName>
<EmployeeStatus>sample string 6</EmployeeStatus>
<Prefix>sample string 3</Prefix>
<PresentAddress>sample string 5</PresentAddress>
<PresentHouseName>sample string 4</PresentHouseName>
</Employee>
<EstFrom>
<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>
</EstFrom>
<EstTo>
<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>
</EstTo>
<PrintStatus>sample string 7</PrintStatus>
<Remarks>sample string 5</Remarks>
<Status>sample string 6</Status>
</EmployeeTransferConfirm>
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.