POST api/PayrollEmpWorkdays/Save

Request Information

URI Parameters

None.

Body Parameters

PayrollEmpWorkdaysSaveVM
NameDescriptionTypeAdditional information
ProcessYear

integer

Required

ProcessMonth

integer

Required

Employee

EmployeeLookup

Required

BookId

integer

Required

WorkDays

decimal number

Required

Status

string

Required

Matching regular expression pattern: A|I

CreateUser

integer

Required

CreateIp

string

Required

String length: inclusive between 0 and 20

Request Formats

application/json, text/json

Sample:
{
  "ProcessYear": 1,
  "ProcessMonth": 2,
  "Employee": {
    "EmployeeId": 1,
    "EmployeeName": "sample string 2",
    "Prefix": "sample string 3",
    "PresentHouseName": "sample string 4",
    "PresentAddress": "sample string 5",
    "EmployeeStatus": "sample string 6"
  },
  "BookId": 3,
  "WorkDays": 4.0,
  "Status": "sample string 5",
  "CreateUser": 6,
  "CreateIp": "sample string 7"
}

application/xml, text/xml

Sample:
<PayrollEmpWorkdaysSaveVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
  <BookId>3</BookId>
  <CreateIp>sample string 7</CreateIp>
  <CreateUser>6</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>
  <ProcessMonth>2</ProcessMonth>
  <ProcessYear>1</ProcessYear>
  <Status>sample string 5</Status>
  <WorkDays>4</WorkDays>
</PayrollEmpWorkdaysSaveVM>

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.