POST api/AttendanceAPI/SaveWorkCalendar

保存工作日历

Request Information

URI Parameters

None.

Body Parameters

WorkCalendarSaveInput
NameDescriptionTypeAdditional information
Year

integer

None.

Calendars

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Year": 1,
  "Calendars": "sample string 2"
}

application/xml, text/xml

Sample:
<WorkCalendarSaveInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JetHR.OpenAPI.Model">
  <Calendars>sample string 2</Calendars>
  <Year>1</Year>
</WorkCalendarSaveInput>

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

Response Information

Resource Description

保存工作日历

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>