POST api/TimeTableManagement/AddStaffToLines
Request Information
URI Parameters
None.
Body Parameters
AddTimeRools| Name | Description | Type | Additional information |
|---|---|---|---|
| FromDate | date |
None. |
|
| ToDate | date |
None. |
|
| DiaryNumber | integer |
None. |
|
| JumpWeek | boolean |
None. |
|
| WithVisit | boolean |
None. |
|
| changeStaff | boolean |
None. |
|
| DaysData | Collection of OneDay |
None. |
|
| commitee | integer |
None. |
|
| AddTimesType | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"FromDate": "2026-01-23T00:00:00+02:00",
"ToDate": "2026-01-23T00:00:00+02:00",
"DiaryNumber": 3,
"JumpWeek": true,
"WithVisit": true,
"changeStaff": true,
"DaysData": [
{
"FromTime": "sample string 1",
"ToTime": "sample string 2",
"Dif": 3,
"Cap": 4,
"Surg1": 1,
"Tech1": 1,
"Committee": 1,
"Insur": 1,
"Oper": [
1,
2
],
"DayNumber": 1,
"tFromTime": "00:00:00.1234567",
"tToTime": "00:00:00.1234567",
"ForInet": "sample string 5"
},
{
"FromTime": "sample string 1",
"ToTime": "sample string 2",
"Dif": 3,
"Cap": 4,
"Surg1": 1,
"Tech1": 1,
"Committee": 1,
"Insur": 1,
"Oper": [
1,
2
],
"DayNumber": 1,
"tFromTime": "00:00:00.1234567",
"tToTime": "00:00:00.1234567",
"ForInet": "sample string 5"
}
],
"commitee": 1,
"AddTimesType": 1
}
application/xml, text/xml
Sample:
<AddTimeRools xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DiarysManagement">
<AddTimesType>1</AddTimesType>
<DaysData>
<OneDay>
<Cap>4</Cap>
<Committee>1</Committee>
<DayNumber>1</DayNumber>
<Dif>3</Dif>
<ForInet>sample string 5</ForInet>
<FromTime>sample string 1</FromTime>
<Insur>1</Insur>
<Oper xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:int>1</d4p1:int>
<d4p1:int>2</d4p1:int>
</Oper>
<Surg1>1</Surg1>
<Tech1>1</Tech1>
<ToTime>sample string 2</ToTime>
<tFromTime>PT0.1234567S</tFromTime>
<tToTime>PT0.1234567S</tToTime>
</OneDay>
<OneDay>
<Cap>4</Cap>
<Committee>1</Committee>
<DayNumber>1</DayNumber>
<Dif>3</Dif>
<ForInet>sample string 5</ForInet>
<FromTime>sample string 1</FromTime>
<Insur>1</Insur>
<Oper xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:int>1</d4p1:int>
<d4p1:int>2</d4p1:int>
</Oper>
<Surg1>1</Surg1>
<Tech1>1</Tech1>
<ToTime>sample string 2</ToTime>
<tFromTime>PT0.1234567S</tFromTime>
<tToTime>PT0.1234567S</tToTime>
</OneDay>
</DaysData>
<DiaryNumber>3</DiaryNumber>
<FromDate>2026-01-23T00:00:00+02:00</FromDate>
<JumpWeek>true</JumpWeek>
<ToDate>2026-01-23T00:00:00+02:00</ToDate>
<WithVisit>true</WithVisit>
<changeStaff>true</changeStaff>
<commitee>1</commitee>
</AddTimeRools>
application/x-www-form-urlencoded
Sample:
Sample not available.
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.
Response Information
Resource Description
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.