POST api/PayrollPeriodManagement/approvepayperiod

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
objDat
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "Id": 1,
  "PayrollSetupId": 2,
  "PayMonth": "2025-01-11T12:51:56.1388161+03:00",
  "PayMonthFormat": "sample string 3",
  "PayPeriodName": "sample string 4",
  "PayMonthStartDate": "2025-01-11T12:51:56.1388161+03:00",
  "PayMonthEndDate": "2025-01-11T12:51:56.1388161+03:00",
  "PayPeriodFormat": "sample string 5",
  "PayMonthTotalDays": 6,
  "PayrollPeriodManagementStatus": 7,
  "PayrollPeriodManagementStatusName": "sample string 8",
  "CapturePeriodStartDate": "2025-01-11T12:51:56.1388161+03:00",
  "CapturePeriodEndDate": "2025-01-11T12:51:56.1388161+03:00",
  "CapturePeriodFormat": "sample string 9",
  "CapturePeriodTotalDays": 1,
  "TimeCardCutOffDate": "2025-01-11T12:51:56.1388161+03:00",
  "TimeCardCutOffDateFormat": "sample string 10",
  "CreatedDate": "2025-01-11T12:51:56.1388161+03:00",
  "CreatedBy": 1,
  "ClosedDate": "2025-01-11T12:51:56.1388161+03:00",
  "ClosedBy": 1,
  "ReOpenedDate": "2025-01-11T12:51:56.1388161+03:00",
  "ReOpenedBy": 1,
  "ApprovedDate": "2025-01-11T12:51:56.1388161+03:00",
  "ApprovedBy": 1,
  "OpenedDate": "2025-01-11T12:51:56.1388161+03:00",
  "OpenedBy": 1,
  "ExpectedNextPayMonth": "2025-01-11T12:51:56.1544318+03:00",
  "ExpectedNextPayMonthFormat": "sample string 11",
  "ExpectedNextPayMonthStartDate": "2025-01-11T12:51:56.1544318+03:00",
  "IsAdjusendMonth": true
}

application/xml, text/xml

Sample:
<PayrollPeriodManagement xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ComsipApi.Models.Payroll">
  <ApprovedBy>1</ApprovedBy>
  <ApprovedDate>2025-01-11T12:51:56.1388161+03:00</ApprovedDate>
  <CapturePeriodEndDate>2025-01-11T12:51:56.1388161+03:00</CapturePeriodEndDate>
  <CapturePeriodFormat>sample string 9</CapturePeriodFormat>
  <CapturePeriodStartDate>2025-01-11T12:51:56.1388161+03:00</CapturePeriodStartDate>
  <CapturePeriodTotalDays>1</CapturePeriodTotalDays>
  <ClosedBy>1</ClosedBy>
  <ClosedDate>2025-01-11T12:51:56.1388161+03:00</ClosedDate>
  <CreatedBy>1</CreatedBy>
  <CreatedDate>2025-01-11T12:51:56.1388161+03:00</CreatedDate>
  <ExpectedNextPayMonth>2025-01-11T12:51:56.1544318+03:00</ExpectedNextPayMonth>
  <ExpectedNextPayMonthFormat>sample string 11</ExpectedNextPayMonthFormat>
  <ExpectedNextPayMonthStartDate>2025-01-11T12:51:56.1544318+03:00</ExpectedNextPayMonthStartDate>
  <Id>1</Id>
  <IsAdjusendMonth>true</IsAdjusendMonth>
  <OpenedBy>1</OpenedBy>
  <OpenedDate>2025-01-11T12:51:56.1388161+03:00</OpenedDate>
  <PayMonth>2025-01-11T12:51:56.1388161+03:00</PayMonth>
  <PayMonthEndDate>2025-01-11T12:51:56.1388161+03:00</PayMonthEndDate>
  <PayMonthFormat>sample string 3</PayMonthFormat>
  <PayMonthStartDate>2025-01-11T12:51:56.1388161+03:00</PayMonthStartDate>
  <PayMonthTotalDays>6</PayMonthTotalDays>
  <PayPeriodFormat>sample string 5</PayPeriodFormat>
  <PayPeriodName>sample string 4</PayPeriodName>
  <PayrollPeriodManagementStatus>7</PayrollPeriodManagementStatus>
  <PayrollPeriodManagementStatusName>sample string 8</PayrollPeriodManagementStatusName>
  <PayrollSetupId>2</PayrollSetupId>
  <ReOpenedBy>1</ReOpenedBy>
  <ReOpenedDate>2025-01-11T12:51:56.1388161+03:00</ReOpenedDate>
  <TimeCardCutOffDate>2025-01-11T12:51:56.1388161+03:00</TimeCardCutOffDate>
  <TimeCardCutOffDateFormat>sample string 10</TimeCardCutOffDateFormat>
</PayrollPeriodManagement>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'PayrollPeriodManagement'.