POST api/PaySlipAPI/ImportPaySlipExcel

Lite1.1 工资单导入 接口

Request Information

URI Parameters

None.

Body Parameters

PaySlipExcelInput
NameDescriptionTypeAdditional information
Data

string

None.

SlipTitle

string

None.

SlipMonth

date

None.

Remark

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Data": "sample string 1",
  "SlipTitle": "sample string 2",
  "SlipMonth": "2025-05-04T15:35:13.5445046+08:00",
  "Remark": "sample string 4"
}

application/xml, text/xml

Sample:
<PaySlipExcelInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JetHR.PayrollItem.Model">
  <Data>sample string 1</Data>
  <Remark>sample string 4</Remark>
  <SlipMonth>2025-05-04T15:35:13.5445046+08:00</SlipMonth>
  <SlipTitle>sample string 2</SlipTitle>
</PaySlipExcelInput>

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 'PaySlipExcelInput'.

Response Information

Resource Description

Lite1.1 工资单导入 接口

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>