DELETE api/Valuation/{id}

Cancel a valuation appointment by id if it exists.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

the valuation appointment id

integer

Required

Body Parameters

The cancellation details, including reason of cancellation

Dezrez.Core.DataContracts.External.Api.Events.Appointments.Command.DeleteAppointmentCommandDataContract
NameDescriptionTypeAdditional information
ReasonForDeletion

string

None.

Id

integer

None.

Request Formats

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

application/json, text/json

Sample:
{
  "ReasonForDeletion": "sample string 1",
  "Id": 2
}

Response Information

Resource Description

System.Net.Http.HttpResponseMessage
NameDescriptionTypeAdditional information
Version

System.Version

None.

Content

System.Net.Http.HttpContent

None.

StatusCode

System.Net.HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

System.Net.Http.HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.