PUT api/CompOffEntry/Update

Request Information

URI Parameters

None.

Body Parameters

CompOffEntryUpdateVM
NameDescriptionTypeAdditional information
CompoffEntryId

integer

Required

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.

UpdateUser

integer

Required

UpdateIp

string

Required

String length: inclusive between 0 and 20

Request Formats

application/json, text/json

Sample:
{
  "CompoffEntryId": 1,
  "BookId": 2,
  "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 3",
  "CompoffHalfDay": "sample string 4",
  "WorkDesc": "sample string 5",
  "OrderDtls": "sample string 6",
  "CalenderYear": 7,
  "UpdateUser": 8,
  "UpdateIp": "sample string 9"
}

application/xml, text/xml

Sample:
<CompOffEntryUpdateVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
  <BookId>2</BookId>
  <CalenderYear>7</CalenderYear>
  <CompoffEntryId>1</CompoffEntryId>
  <CompoffHalfDay>sample string 4</CompoffHalfDay>
  <CompoffWorkDate>sample string 3</CompoffWorkDate>
  <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 6</OrderDtls>
  <UpdateIp>sample string 9</UpdateIp>
  <UpdateUser>8</UpdateUser>
  <WorkDesc>sample string 5</WorkDesc>
</CompOffEntryUpdateVM>

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.