POST Api/ScheduleApi/AnswerDraftVisitWithoutSaving

Request Information

URI Parameters

None.

Body Parameters

SubmitedScheduleDTO
NameDescriptionTypeAdditional information
Id

integer

None.

ScheduleCheckListId

integer

None.

StartAnswerTime

date

None.

EndAnswerTime

date

None.

AnsweringSeconds

decimal number

None.

RequesterType

RequesterType

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "ScheduleCheckListId": 2,
  "StartAnswerTime": "2025-07-12T10:51:22.3721568+04:00",
  "EndAnswerTime": "2025-07-12T10:51:22.3721568+04:00",
  "AnsweringSeconds": 5.1,
  "RequesterType": 1
}

text/html, multipart/form-data

Sample:
{"Id":1,"ScheduleCheckListId":2,"StartAnswerTime":"2025-07-12T10:51:22.3721568+04:00","EndAnswerTime":"2025-07-12T10:51:22.3721568+04:00","AnsweringSeconds":5.1,"RequesterType":1}

application/xml, text/xml

Sample:
<SubmitedScheduleDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSMChecklistFlow.DTO">
  <AnsweringSeconds>5.1</AnsweringSeconds>
  <EndAnswerTime>2025-07-12T10:51:22.3721568+04:00</EndAnswerTime>
  <Id>1</Id>
  <RequesterType>WEB</RequesterType>
  <ScheduleCheckListId>2</ScheduleCheckListId>
  <StartAnswerTime>2025-07-12T10:51:22.3721568+04:00</StartAnswerTime>
</SubmitedScheduleDTO>

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

Response Information

Resource Description

integer

Response Formats

application/json, text/json, text/html, multipart/form-data

Sample:
1

application/xml, text/xml

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