POST api/TimeTableManagement/GetLastAdd?pDiaryNum={pDiaryNum}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
pDiaryNum | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
AddTimeRoolsName | 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. |
|
AddTimesType | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "FromDate": "2024-11-21T00:00:00+02:00", "ToDate": "2024-11-21T00: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" } ], "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>2024-11-21T00:00:00+02:00</FromDate> <JumpWeek>true</JumpWeek> <ToDate>2024-11-21T00:00:00+02:00</ToDate> <WithVisit>true</WithVisit> <changeStaff>true</changeStaff> </AddTimeRools>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.