POST api/v1/Appointments/Delete

Request Information

URI Parameters

None.

Body Parameters

AppointmentsParams
NameDescriptionTypeAdditional information
IdApp

string

None.

IdCompany

string

None.

Type

integer

None.

Pager

Pager

None.

idAppointment

string

None.

idBranch

string

None.

Request Formats

application/json, text/json

Sample:
{
  "IdApp": "sample string 1",
  "IdCompany": "sample string 2",
  "Type": 3,
  "Pager": {
    "PageSize": 1,
    "CurrentPage": 1,
    "TotalPages": 2,
    "TotalElements": 3
  },
  "idAppointment": "sample string 4",
  "idBranch": "sample string 5"
}

application/xml, text/xml

Sample:
<GeneralModels.AppointmentsParams xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/api.mybooker.it.Models">
  <IdApp>sample string 1</IdApp>
  <IdCompany>sample string 2</IdCompany>
  <Pager xmlns:d2p1="http://schemas.datacontract.org/2004/07/api.mybooker.it.models">
    <d2p1:CurrentPage>1</d2p1:CurrentPage>
    <d2p1:PageSize>1</d2p1:PageSize>
    <d2p1:TotalElements>3</d2p1:TotalElements>
    <d2p1:TotalPages>2</d2p1:TotalPages>
  </Pager>
  <Type>3</Type>
  <idAppointment>sample string 4</idAppointment>
  <idBranch>sample string 5</idBranch>
</GeneralModels.AppointmentsParams>

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

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

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