POST api/Preparation/DeleteCheckList?userId={userId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userId

integer

Required

Body Parameters

DeleteCheckListDTO
NameDescriptionTypeAdditional information
CheckList

CheckListDTO

None.

SpecialityId

byte

None.

ProcedureId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CheckList": {
    "StepNo": 1,
    "Description": "sample string 2"
  },
  "SpecialityId": 64,
  "ProcedureId": "sample string 2"
}

multipart/form-data

Sample:
{"CheckList":{"StepNo":1,"Description":"sample string 2"},"SpecialityId":64,"ProcedureId":"sample string 2"}

application/xml, text/xml

Sample:
<DeleteCheckListDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ScrupUpBusinessModel.DTO">
  <CheckList>
    <Description>sample string 2</Description>
    <StepNo>1</StepNo>
  </CheckList>
  <ProcedureId>sample string 2</ProcedureId>
  <SpecialityId>64</SpecialityId>
</DeleteCheckListDTO>

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

Response Information

Resource Description

string

Response Formats

application/json, text/json, 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>