POST api/Operation/DeleteImage?userId={userId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userId

integer

Required

Body Parameters

DeleteImageDTO
NameDescriptionTypeAdditional information
Image

ImagesDTO

None.

SpecialityId

byte

None.

ProcedureId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Image": {
    "Name": "sample string 1",
    "ImagePath": "sample string 2",
    "ApprovalStatus": 3
  },
  "SpecialityId": 64,
  "ProcedureId": "sample string 2"
}

multipart/form-data

Sample:
{"Image":{"Name":"sample string 1","ImagePath":"sample string 2","ApprovalStatus":3},"SpecialityId":64,"ProcedureId":"sample string 2"}

application/xml, text/xml

Sample:
<DeleteImageDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ScrupUpBusinessModel.DTO">
  <Image>
    <ApprovalStatus>3</ApprovalStatus>
    <ImagePath>sample string 2</ImagePath>
    <Name>sample string 1</Name>
  </Image>
  <ProcedureId>sample string 2</ProcedureId>
  <SpecialityId>64</SpecialityId>
</DeleteImageDTO>

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

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>