POST Api/ScheduleApi/AgentSubmitVisitWithoutSaving

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-05-25T19:48:53.1245255+04:00",
  "EndAnswerTime": "2025-05-25T19:48:53.1245255+04:00",
  "AnsweringSeconds": 5.1,
  "RequesterType": 1
}

text/html, multipart/form-data

Sample:
{"Id":1,"ScheduleCheckListId":2,"StartAnswerTime":"2025-05-25T19:48:53.1245255+04:00","EndAnswerTime":"2025-05-25T19:48:53.1245255+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-05-25T19:48:53.1245255+04:00</EndAnswerTime>
  <Id>1</Id>
  <RequesterType>WEB</RequesterType>
  <ScheduleCheckListId>2</ScheduleCheckListId>
  <StartAnswerTime>2025-05-25T19:48:53.1245255+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

string

Response Formats

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

Sample:
"sample string 1"

application/xml, text/xml

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