POST Api/ScheduleApi/DeleteScheduleById

Request Information

URI Parameters

None.

Body Parameters

DeletedScheduleDTO
NameDescriptionTypeAdditional information
Id

integer

None.

Schedule_Id

integer

None.

Reason

string

None.

CreatedBy

integer

None.

CreatedOn

date

None.

DeletedBy

string

None.

DeletedOn

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Schedule_Id": 2,
  "Reason": "sample string 3",
  "CreatedBy": 1,
  "CreatedOn": "2025-05-25T20:08:52.3792526+04:00",
  "DeletedBy": "sample string 4",
  "DeletedOn": "sample string 5"
}

text/html, multipart/form-data

Sample:
{"Id":1,"Schedule_Id":2,"Reason":"sample string 3","CreatedBy":1,"CreatedOn":"2025-05-25T20:08:52.3792526+04:00","DeletedBy":"sample string 4","DeletedOn":"sample string 5"}

application/xml, text/xml

Sample:
<DeletedScheduleDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSMChecklistFlow.DTO">
  <CreatedBy>1</CreatedBy>
  <CreatedOn>2025-05-25T20:08:52.3792526+04:00</CreatedOn>
  <DeletedBy>sample string 4</DeletedBy>
  <DeletedOn>sample string 5</DeletedOn>
  <Id>1</Id>
  <Reason>sample string 3</Reason>
  <Schedule_Id>2</Schedule_Id>
</DeletedScheduleDTO>

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

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>