POST api/CompOffEntry/Save
Request Information
URI Parameters
None.
Body Parameters
CompOffEntrySaveVM| Name | Description | Type | Additional information |
|---|---|---|---|
| BookId | integer |
Required |
|
| Employee | EmployeeLookup |
Required |
|
| CompoffWorkDate | string |
Required |
|
| CompoffHalfDay | string |
Required |
|
| WorkDesc | string |
String length: inclusive between 0 and 2000 |
|
| OrderDtls | string |
String length: inclusive between 0 and 2000 |
|
| CalenderYear | integer |
None. |
|
| CreateUser | integer |
Required |
|
| CreateIp | string |
Required String length: inclusive between 0 and 20 |
Request Formats
application/json, text/json
Sample:
{
"BookId": 1,
"Employee": {
"EmployeeId": 1,
"EmployeeName": "sample string 2",
"Prefix": "sample string 3",
"PresentHouseName": "sample string 4",
"PresentAddress": "sample string 5",
"EmployeeStatus": "sample string 6"
},
"CompoffWorkDate": "sample string 2",
"CompoffHalfDay": "sample string 3",
"WorkDesc": "sample string 4",
"OrderDtls": "sample string 5",
"CalenderYear": 6,
"CreateUser": 7,
"CreateIp": "sample string 8"
}
application/xml, text/xml
Sample:
<CompOffEntrySaveVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
<BookId>1</BookId>
<CalenderYear>6</CalenderYear>
<CompoffHalfDay>sample string 3</CompoffHalfDay>
<CompoffWorkDate>sample string 2</CompoffWorkDate>
<CreateIp>sample string 8</CreateIp>
<CreateUser>7</CreateUser>
<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>
<OrderDtls>sample string 5</OrderDtls>
<WorkDesc>sample string 4</WorkDesc>
</CompOffEntrySaveVM>
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.