POST api/treatmentservice/DeleteTreatmentService

Request Information

URI Parameters

None.

Body Parameters

ProductServiceModel
NameDescriptionTypeAdditional information
Id

integer

None.

Category

string

None.

ServiceId

string

None.

Service_DE

string

None.

Service_EN

string

None.

Description

string

None.

Amount

decimal number

None.

OrganizationId

string

None.

ProfileId

integer

None.

Image

string

None.

Title

string

None.

PagePath

string

None.

SortOrder

integer

None.

TreatmentType

TreatmentType

None.

Email

string

None.

DepositAmount

decimal number

None.

Percentage

decimal number

None.

IsPercentage

boolean

None.

BookingAppId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Category": "sample string 1",
  "ServiceId": "sample string 2",
  "Service_DE": "sample string 3",
  "Service_EN": "sample string 4",
  "Description": "sample string 5",
  "Amount": 1.1,
  "OrganizationId": "sample string 6",
  "ProfileId": 7,
  "Image": "sample string 8",
  "Title": "sample string 9",
  "PagePath": "sample string 10",
  "SortOrder": 11,
  "TreatmentType": 1,
  "Email": "sample string 12",
  "DepositAmount": 1.1,
  "Percentage": 1.1,
  "IsPercentage": true,
  "BookingAppId": 13
}

application/xml, text/xml

Sample:
<ProductServiceModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Silver.Agenda.Core.Domain.Model">
  <Amount>1.1</Amount>
  <BookingAppId>13</BookingAppId>
  <Category>sample string 1</Category>
  <DepositAmount>1.1</DepositAmount>
  <Description>sample string 5</Description>
  <Email>sample string 12</Email>
  <Id>1</Id>
  <Image>sample string 8</Image>
  <IsPercentage>true</IsPercentage>
  <OrganizationId>sample string 6</OrganizationId>
  <PagePath>sample string 10</PagePath>
  <Percentage>1.1</Percentage>
  <ProfileId>7</ProfileId>
  <ServiceId>sample string 2</ServiceId>
  <Service_DE>sample string 3</Service_DE>
  <Service_EN>sample string 4</Service_EN>
  <SortOrder>11</SortOrder>
  <Title>sample string 9</Title>
  <TreatmentType>EmergencyRequest</TreatmentType>
</ProductServiceModel>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.